A new refreshed UI, with new icons, new font (Cascadia), and coloured tabs by project
Visual Studio is now using x64architecture!
A new Hot Reload feature/ button for running apps – no more stopping and rebuilding projects while debugging! Code changes are visible in running apps right away
Hot Reload is available for WPF, Blazor, and ASP.NET Core MVC with CSS
Hot Reload can also be bound to the Save button
New and updated project templates, including ASP.NET Core 6 and Angular
E.g., top level statements in Program.cs
Startup.cs + Prgram.cs = Program.cs
IntelliCode – auto code snippets/ templates accessible with a [tab] key
// global namespace
namespace MyNamespace;
// generic attribute example
public class GenericAttribute<T> : Attribute { }
[GenericAttribute<string>()]
public string Method() => default;
// record struct example
public record Person(string FirstName, string LastName);
public static void Main()
{
Person person = new("Joe", "Doe");
Console.WriteLine(person); // output: Person { FirstName = Joe, LastName = Doe}
// assignment and declaration in same deconstruction
int x = 0;
(x, int y) = point;
}
ASP.NET Core 6
ASP.NET Core 6
ASP.NET Core MVC – server-side web apps using the MVC model
ASP.NET Core Razor Pages – simpler server-side web apps
ASP.NET Core Blazor or Blazor – client-side apps with C#
Blazor code now compiled into WebAssembly
Error boundaries, e.g., at the component level
Blazor (cross-platform) MAUI apps, dynamic widgets and more!