Upgrading to .NET 10 and Aspire 13.0: A Technical Guide
Migration Overview
1.1 Background
The framework has been updated to leverage the latest Long-Term Support (LTS) version of .NET, version 10, alongside Aspire 13.0. This release marks a significant evolution, transforming Aspire from a .NET-specific toolkit into a true multi-language application platform.
1.2 Scope of Upgrade
✅ All project ...
Posted on Fri, 06 Nov 2026 16:16:33 +0000 by celeb-x2
Implementing WeChat Pay Order Inquiry with ASP.NET Core and API V3
Official Documentation Reference
Order Status Inquiry Implementation
The WeChat Pay API provides two methods for order lookup: querying by merchant-generated identifiers or WeChat-generated transaction IDs. This implementation utilizes the merchant-specific approach.
To query payment status, the request must include proper authentication header ...
Posted on Fri, 16 Oct 2026 16:24:42 +0000 by Jorge
Eliminating Conflicting CORS Headers When Using nginx with ASP.NET Core
When an ASP.NET Core application runs behind nginx acting as a reverse proxy, duplicate CORS headers may appear in the HTTP response. Browsers reject such responses because the Access-Control-Allow-Origin header must appear at most once.
A typical browser error looks like this:
Access to XMLHttpRequest at 'http://10.0.0.5:8080/api/auth' from or ...
Posted on Wed, 07 Oct 2026 16:33:40 +0000 by dr bung
Implementing WeChat Pay V3 Unified Order API in ASP.NET Core
Offficial API Documentation
Signature Generation: https://pay.weixin.qq.com/wiki/doc/apiv3/wechatpay/wechatpay4_0.shtml
Unified Order API: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_2_1.shtml
Certificate Serial Number: https://wechatpay-api.gitbook.io/wechatpay-api-v3/chang-jian-wen-ti/zheng-shu-xiang-guan#ru-he-cha-kan-zheng-shu-xu ...
Posted on Mon, 05 Oct 2026 16:26:14 +0000 by Tony187uk
Managing Launch and Runtime Environments in ASP.NET Core
Launch Environments vs. Runtime Environments
In ASP.NET Core applications, it is crucial to distinguish between the environment used to start the application and the environment in which the application runs. The development setup described here targets .NET Core 3.1.
Configuring Launch Profiles
The launch environment determines the web serve ...
Posted on Sat, 26 Sep 2026 16:00:41 +0000 by Dlex
Custom Field Logging with NLog and Oracle
Oracle Table Schema for NLog Integration
Create a data base table to store structured log entries:
CREATE TABLE APPLICATION_LOGS (
log_id VARCHAR2(60) NOT NULL,
application VARCHAR2(20),
component VARCHAR2(30),
function_name VARCHAR2(30),
action_type VARCHAR2(20),
source_class VARCHAR2(500),
message ...
Posted on Sat, 19 Sep 2026 16:51:22 +0000 by PRodgers4284
Handling CORS in .NET Framework and ASP.NET Core with DeveloperSharp
Cross-Origin Resource Sharing (CORS) restrictions typically surface when browser-based clients initiate HTTP requests to backend APIs. The browser enforces security policies that differentiate between standard requests and preflighted (complex) requests, the latter triggering an OPTIONS call before the actual payload transmission. Many traditio ...
Posted on Thu, 17 Sep 2026 16:25:01 +0000 by cainscripter
Building Minimal APIs with ASP.NET Core
Overview of Minimal APIs
In the expansive landscape of ASP.NET Core, "minimal API applications" function as compact yet powerful tools designed for rapidly constructing efficient HTTP APIs. These APIs natively support JSON data serialization, making them ideal for seamless interactions with single-page applications (SPAs) or mobile applications ...
Posted on Sun, 06 Sep 2026 16:24:41 +0000 by Gruzin
Integrating NLog in a .NET Core Web API
1. Installing the NLog Packages
Add the following NuGet packages to your project:
NLog
NLog.Web.AspNetCore
These can be installed via the Package Manager Console or the .NET CLI.
2. Configuring NLog
Create an NLog.config XML file in the project root. Set its Build Action to Content and Copy to Output Directory to Copy if newer. Below is a sam ...
Posted on Thu, 03 Sep 2026 16:41:06 +0000 by mgzee
Converting IdentityServer4 from In-Memory Stores to a Database-Backed User Service
This guide demonstrates how to replace the default in-memory user store in IdentityServer4 with a custom service that queries a database. While IdentityServer4 provides Entity Framework (EF) based data sources, this approach shows how to implement a database-driven user store by extending its core interfaces. The focus will be on the user authe ...
Posted on Thu, 03 Sep 2026 16:33:26 +0000 by inferium