276
 
 

a new NuGet dependency graph resolver built to dramatically improve performance

The new algorithm they developed uses a more streamlined approach, representing the graph as a flattened set where each node is created only once. This makes the in-memory dependency graph much smaller and easier to work with. Conflicts are resolved as the graph is being built, which avoids the need for the repetitive passes that the old dependency graph resolution algorithm required.

This new approach had dramatic results. The original dependency graph, which in our testing would create 1.6 million nodes for a complex project, was reduced to just 1,200 nodes. With fewer nodes to process, restore times dropped significantly; from 16 minutes down to just 2 minutes.

277
278
 
 

An interactive dotnet tool dotnet scaffold has been released in preview.

dotnet tool install --global Microsoft.dotnet-scaffold

dotnet scaffold has support for the following ASP.NET Core project types:

  • Web app
  • Web API
  • .NET Aspire
  • Blazor

From the README:

For more information on ASP.NET scaffolding, see the following tutorials:

  • Add a model to an ASP.NET Core MVC app
  • Add a model to a Razor Pages app
  • Tutorial: Create a web API with ASP.NET Core
  • Scaffold Identity

For context: Entity Framework has Reverse Engineering with the dotnet ef dbcontext scaffold command/tool.

279
280
281
282
283
284
285
Announcing .NET 9 - .NET Blog (devblogs.microsoft.com)
submitted 2 years ago* (last edited 2 years ago) by to c/dotnet@programming.dev
286
287
 
 

cross-posted from: https://programming.dev/post/21685196

Beware if you're updating to .NET 9 and need your MAUI Windows app working

288
What's new in .NET 9 (learn.microsoft.com)
289
Announcing .NET 9 - .NET Blog (devblogs.microsoft.com)
290
291
submitted 2 years ago* (last edited 2 years ago) by to c/dotnet@programming.dev
 
 

Lots of focus on AI, as you would expect from Microsoft, but also sessions on C#, Blazor, Entity Framework, VS and VS Code, microservices, performance, testing, security, and accessibility

292
293
294
295
296
submitted 2 years ago* (last edited 2 years ago) by to c/dotnet@programming.dev
297
298
Software-Engineer----NET-WebAssembly (jobs.careers.microsoft.com)
299
300
view more: ‹ prev next ›