The. NET 7 preview is here, I have upgraded my experience

The. NET 7 preview is here, I have upgraded my experience

I heard that '. NET 7' is here, how can webmasters not try it? Give a brief report on the experience on New Year's Eve, and then welcome the New Year

最后更新 1/31/2022 10:35 AM
沙漠尽头的狼
预计阅读 4 分钟
分类
.NET
标签
.NET C#

听说.NET 7 来了,站长怎能不尝鲜呢,在除夕当天将体验情况简单汇报下,然后迎新春喽:

Contents of this article

  1. Details of. NET 7 (Proposed. NET 7 Breaking Changes #7131)
  2. NET 7 SDK Download
  3. Taste experience
  • 3.1 Install the. NET 7 SDK
  • 3.2 Hello Word
  • 3.3 Personal website (Dotnet9) embraces. NET 7
  1. end

1. Details of. NET 7 (Proposed. NET 7 Breaking Changes #7131)

#7131 issure

https://github.com/dotnet/core/issues/7131

Original screenshot:

7131-1

Online translation screenshots:

7131-2

2. NET 7 SDK Download

See the following address for installation information description

https://github.com/dotnet/installer

Mac 下的 SDK 下载地址

https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-osx-x64.pkg

Windows X64下的 SDK 下载地址

https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-win-x64.exe

3. Taste experience

3.1 Install the. NET 7 SDK

站长使用 Windows 11 开发,所以安装的 Windows X64 版本,简单放几张截图证明我装过,哈哈

Installation interface:

安装界面

Interface under installation:

安装中界面

Installation complete:

安装完成

3.2 Hello Word

创建 Blazor Server 空项目,运行内存占用情况(28.3MB),其他类型项目模板就不折腾了,各位自行尝试:

Hello World

3.3 Personal website (Dotnet9) embraces. NET 7

本站采用 ABP vNext + MASA Blazor 搭建,升级 .NET 7 及其他 NuGet 包后,无缝编译成功,现已成功上线运行:https://dotnet9.com

Dotnet9 网站无缝编译成功:

Dotnet9无缝编译成功

Dotnet9 网站运行情况:

Dotnet9运行情况

Dotnet9 网站使用.NET 7上线正常运行:

Dotnet9使用.NET 7上线正常运行

The website is under development and has been optimized. It currently occupies about 400MB of memory. Don't worry, take your time.

4. end

至此,Dotnet9 网站拥抱.NET 7完美升级,至少到现在(2021-01-31 11:38)已经稳定运行快 12 个小时了,哈哈,祝福各位:

  1. Give you Huhu's blessings, Huhu's sweetness, Huhu's luck, Huhu's health, Huhu's happiness, Huhu's mood, Huhu's gratification, Huhu's success, Huhu's happiness, and Huhu's life!

  2. Welcoming the New Year, text messages spread, and thousands of households burst into smiles; high spirits, unlimited love, farewell to the old and welcome the new; prosperous career, happy family, new clothes to wear on the streets; friends get together, make a good relationship, and love relatives and friends are connected; Respect your elders, love your young people, and live happily all night long; in good health, make more money, and have a happy New Year forever!

  3. In the Year of the Tiger, I wish you a lot of money. Be rich like a fat tiger, be strong like a tiger with a head, be sweet in love like a milk tiger, be lucky like a tiger hair, and be prosperous like a tiger!

  4. When the New Year is here, get up quickly and eat dumplings. Relatives and friends run around more, and it will get higher every year! I wish you eat and drink well, sleep well, win more, and sleep well!

  5. I have your blessings when I am happy, and your comfort when I am frustrated. It is my happiness to meet you. I am content to have you in my life. In the new year, let us wish each other together and have a happy New Year!

  6. Be happy every second, be safe and sound every moment, always harmonious, be proud every day, be healthy every month, and have abundant financial resources every year. I hope that your emotions will change with each passing day in the new year, happiness will be as sweet as honey, friends will value love and righteousness, lovers will never abandon, good results will be reported frequently in your work, and everything will be satisfactory!

虎年祝福

Keep Exploring

延伸阅读

更多文章
同分类 / 同标签 4/22/2026

Support for. NET by operating system versions (250707 update)

Use virtual machines and test machines to test the support of each version of the operating system for. NET. After installing the operating system, it is passed by measuring the corresponding running time of the installation and being able to run the Stardust Agent.

继续阅读
同分类 / 同标签 2/7/2026

Summary of experience in using AOT

From the very beginning of project creation, you should develop a good habit of conducting AOT release testing in a timely manner whenever new features are added or newer syntax is used.

继续阅读