Ed Andersen

Software Developer and Architect in Japan

Category: .NET

  • .NET Aspire and the future of .NET

    .NET Aspire and the future of .NET

    Ed Andersen Avatar

    by

    in , ,

    In less than a year, .NET Aspire has made it from a preview release all the way through to General Availability and its inclusion in Visual Studio. The marketing keeps saying that the important part of .NET Aspire is that it makes apps “cloud-native”, but that is only a fraction of the story – and…

  • Why Microsoft Orleans is important for .NET Developers

    Why Microsoft Orleans is important for .NET Developers

    Ed Andersen Avatar

    by

    in , ,

    Small to medium sized development teams often grapple with the complexities of microservices architecture. While the distributed approach offers scalability and flexibility, it can quickly become overwhelming, especially without a large team to manage the infrastructure. Enter Microsoft Orleans, a framework designed to simplify building scalable, resilient, and distributed backends. This post delves into how…

  • C# 11 and .NET 7 – early look at new features

    C# 11 and .NET 7 – early look at new features

    Ed Andersen Avatar

    by

    in ,

    .NET 7 is coming soon alongside C# 11. It’s possible to take a look at some of the new features now, including the bang bang (!!) operator and List patterns, which I think are really cool. Here is a video on the topic:

  • Converting .NET 6 Minimal API back to Startup.cs

    Converting .NET 6 Minimal API back to Startup.cs

    Ed Andersen Avatar

    by

    in ,

    I’ve had to convert a Minimal API app back to Startup.cs a few times now. Here are some reasons why you might want to do it: Incompatible NuGet packages For example as of time of writing Amazon.Lambda.AspNetCoreServer doesn’t work with Minimal APIs. If you didn’t know that Amazon.Lambda.AspNetCoreServer.Hosting was what you needed for Minimal APIs, you’d…

  • Adding Razor cshtml view runtime re-compilation to a ASP.NET Core 5.0 app after creating it

    Adding Razor cshtml view runtime re-compilation to a ASP.NET Core 5.0 app after creating it

    Ed Andersen Avatar

    by

    in ,

    I recently came across an interesting issue where after starting a new ASP.NET Core 5.0 .NET 5 project using the “ASP.NET Core Web App (Model-View-Controller)” template did not include the ability to update .cshtml Razor files without recompiling and restarting the whole app. There is a checkbox to “Enable Razor Runtime Compilation” during project setup…