.NET

1808 readers
3 users here now

Getting started

Useful resources

IDEs and code editors

Tools

Rules

Related communities

Wikipedia pages

founded 2 years ago
MODERATORS
226
227
228
229
230
231
 
 

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.

232
233
 
 

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.

234
235
236
237
238
239
240
7
Announcing .NET 9 - .NET Blog (devblogs.microsoft.com)
submitted 1 year ago* (last edited 1 year ago) by Kissaki@programming.dev to c/dotnet@programming.dev
241
242
 
 

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

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

243
244
245
246
 
 

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

247
248
249
250
view more: ‹ prev next ›