#Aspnet-Core
11 notas · última:
Deploying a asp.net core container with Zeit "now"
The post shows how to deploy a sample ASP.NET Core Web API with Zeit now by adding a Dockerfile, installing the CLI, and running `now`, while noting the free-plan file-size limit and its workarounds.
Falco
Toolkit for building full-stack web applications in F# with ASP.NET Core, focused on simplicity, integration with .NET libraries, and features like routing, request handling, and authentication.
Asynchronous Programming
The page collects guidance for writing asynchronous code in .NET and ASP.NET Core. It emphasizes that async should propagate through the call stack, and it warns against blocking patterns, fire-and-forget mistakes, and misuse of task and cancellation APIs.
Chain of Responsibility Design Pattern in C#
The article explains the Chain of Responsibility pattern in C#, shows the middleware case in ASP.NET Core, and refactors a book loan flow into chained handlers.
How to Implement Multitenancy in ASP.NET Core with EF Core
The post explains multitenancy with a discriminator column, then shows how EF Core query filters and SaveChanges can isolate tenant data, set TenantId automatically, and support login and header-based tenant selection.
How to Implement Audit Trail in ASP.NET Core with EF Core
The post shows how to add audit trails in an ASP.NET Core app with EF Core by using a separate AuditTrail entity, current-user lookup, and DbContext change tracking.
Create a Minimal Web API With ASP.NET Core and Publish To Azure API Management With Visual Studio
The tutorial shows how to create a minimal ASP.NET Core Web API with .NET CLI or Visual Studio 2022, then publish it to Azure App Service and import it into Azure API Management.
The setup "trick" that .NET libraries use and you should too
Nick says the video shows a C# feature that is not obvious at first glance and is used widely by ASP.NET Core and other .NET libraries to simplify how configuration details and settings are provided.
Header propagation using ASP.NET Core
The post shows how to propagate a custom request header from one ASP.NET Core Web API to another by using Microsoft.AspNetCore.HeaderPropagation and wiring it into HttpClient and middleware.
Distributed Tracing using Header Propagation Middleware in ASP.NET Core
Explains how ASP.NET Core header propagation middleware forwards selected headers from an incoming request to outgoing HTTP client calls, with examples for custom headers, B3 trace headers, and correlation IDs.
Improvements in .NET Core 3.0 for troubleshooting and monitoring distributed apps
The post shows how ASP.NET Core 3.0 correlates logs across services, propagates distributed trace context, supports W3C Trace Context, and integrates with OpenTelemetry and baggage.
