.NET

1637 readers
6 users here now

Getting started

Useful resources

IDEs and code editors

Tools

Rules

Related communities

Wikipedia pages

founded 2 years ago
MODERATORS
1
3
submitted 14 hours ago* (last edited 14 hours ago) by [email protected] to c/dotnet
 
 
2
2
submitted 17 hours ago* (last edited 16 hours ago) by Kissaki to c/dotnet
 
 

This first push resulted in NuGet Restore times being cut in half, which was a reasonable stopping point for our work. However, along the way, we realized that a more extensive rewrite could improve performance by a factor of 5x or more.

Written from the perspective of several team members, this entry provides a deep dive into the internals of NuGet, as well as strategies to identify and address performance issues.

3
4
submitted 2 days ago* (last edited 2 days ago) by Kissaki to c/dotnet
 
 

In the rapidly evolving world of AI and machine learning, effective communication between models and applications is critical. The Model Context Protocol (MCP) is a standardized protocol designed to facilitate this communication by providing a structured way to exchange context and data between AI models and their clients.

The MCP C# SDK is in preview and APIs may change. We will continuously update this blog as the SDK evolves.

4
5
 
 

The Push Notification Hub (PNH) service recently went through significant modernization. We migrated from legacy components like .NET Framework 4.7.2 and custom HTTP server called “RestServer”, to .NET 8 and ASP.NET Core 8. Moreover, for handling outgoing requests, we moved from custom HTTP client/handler called “HttpPooler”, to Polly v8 and SocketsHttpHandler. This article describes the journey thus far and its impact on PNH performance.

Sections: Intro (what is PNH), expectations, measurement, migration phases (concrete tech and measurements), closing thoughts, next steps.

PNH is deriving great benefits from .NET 8. Overall performance improved, as evidenced by the Q-Factor metric, by about 70%. Performance is a major factor for a service like this and will reflect positively in basically all flows on Teams platform that got to do with messaging. The results actually exceeded our expectations by significant margin.

6
 
 

In order to ensure the long-term sustainability of my OSS projects, I will be commercializing AutoMapper and MediatR.

What Will This Look Like?

The short answer is "I don't know exactly". I'm working out those details now and will share them when I figure it out.

7
8
9
10
4
submitted 1 week ago by SmartmanApps to c/dotnet
11
12
 
 

Dev containers are pre-configured, isolated environments that allow developers to work on projects without worrying about dependencies and configurations. They are particularly useful for trying out new technologies, as they provide a consistent and reproducible setup.

The containers are docker containers.

13
14
11
Cysharp libraries (cysharp.co.jp)
submitted 2 weeks ago* (last edited 2 weeks ago) by Kissaki to c/dotnet
 
 

Working together with Cygames to push the limits of performance of both server-side(.NET) and client-side(Unity) C# through open source.

GitHub https://github.com/Cysharp

  • MemoryPack: Extreme performance binary serializer for C# and Unity.
  • MagicOnion: Unified Realtime/API framework for .NET platform and Unity.
  • ConsoleAppFramework: Micro-framework for console applications to building CLI tools for .NET.
  • MasterMemory: Embedded Typed Readonly In-Memory Document Database for .NET and Unity.
  • ZString: Zero Allocation StringBuilder for .NET and Unity.
  • UniTask: Provides an efficient async/await integration for Unity.

The libraries look very interesting.

15
 
 

These services run on Azure compute and are primarily .NET based.

[.NET Aspire] lets us find all of those minor issues locally, and removes much of the need for full deployment to do our basic hookup validation.

.NET Aspire also automates emulator usage for Azure dependencies out of the box

16
17
18
5
.NET Metrics (developmentwithadot.blogspot.com)
submitted 2 weeks ago by SmartmanApps to c/dotnet
19
20
21
22
23
4
.NET 10 Preview 2 is now available! (devblogs.microsoft.com)
submitted 3 weeks ago by [email protected] to c/dotnet
24
25
view more: next ›