Securing Public APIs in .NET Core
API Security Considerations
When designing APIs, incorporating robust security measures demonstrates both professional rigor and code sophistication.
While authorization via attributes like [Authorize] is commonly used to enforce access control, many public endpoints—such as those used to fetch product SKUs for frontend rendering—intentionally ...
Posted on Tue, 21 Jul 2026 16:21:12 +0000 by jkatcher
Entity Framework Core Integration in .NET Core
Create a class library named NetCoreDemo.EF and reference the packages Microsoft.EntityFrameworkCore, Microsoft.EntityFrameworkCore.SqlServer.Design, Microsoft.EntityFrameworkCore.SqlServer, and Microsoft.EntityFrameworkCore.Tools.
Method 1:
Tools > NuGet Package Manager > Package Manager Console (the default project must be NetCoreDemo.E ...
Posted on Wed, 08 Jul 2026 16:19:46 +0000 by affluent980
Implementing Application Performance Monitoring with SkyWalking in .NET Core Applications
Deploying Elasticsearch with Docker
To begin our monitoring setup, we'll first deploy Elasticsearch which will serve as the storage backend for SkyWalking:
docker run -d -p 9200:9200 -p 9300:9300 --name elastic-search \
-e "discovery.type=single-node" \
-e ES_JAVA_OPTS="-Xms128m -Xmx256m" \
elasticsearch:7.12.0
Deploying Sk ...
Posted on Mon, 06 Jul 2026 16:14:09 +0000 by thaven
Getting Started with Ocelot: A Simple API Gateway Implementation
Ocelot is a popular API gateway solution for .NET developers. In this guide, I'll walk you through a basic implementation to get you started with Ocelot.Before beginning, ensure you have .NET Core installed. For this example, I'm using .NET Core 3.1 with Ocelot package version 16.0.1. Start by creating a new Web API project and installing the O ...
Posted on Thu, 02 Jul 2026 16:45:39 +0000 by rawky
Advanced Excel Export with NPOI in .NET Core: Styling and Formatting Guide
The NPOI library allows .NET applications to generate Excel spreadsheets without requiring Excel to be installed on the server. This guide demonstrates how to programmatically create complex .xls files by defining specific styles, fonts, borders, and cell alignments.InstallationInclude the NPOI library in your project via the NuGet Package Mana ...
Posted on Tue, 30 Jun 2026 18:13:47 +0000 by Gier NL
Semantic Vector Search for Mechanical Drawing Titles with .NET Core and Open-Source Models
Mechanical drawing titles often contain specialized terminology, abbreviations, and non-standard formats (e.g., "Potato Sorter DWG-001 Stainless Steel"). Traditional keyword-based search struggles with such data due to semantic ambiguity and varied user queries (e.g., "Potato Screening Machine"). Semantic search enhancement ...
Posted on Fri, 12 Jun 2026 16:08:47 +0000 by sudhakararaog
Multithreading in .NET Core
Process:
A process is not a physical entity; it is a computer concept (virtual) that represents the collection of all computing resources (CPU, memory, disk, network, etc.) used when a program is running.
Thread:
Also a computer concept (virtual). It is the smallest execution flow of a process (any operation response requires an execution flow) ...
Posted on Sat, 06 Jun 2026 17:54:26 +0000 by eduard
Implementing a Custom PipelineFilter in SuperSocket 2.0
This article walks through the implementation of a custom PipelineFilter in SuperSocket 2.0. The development environment is Windows 10, Visual Studio 2019, .NET Core 3.1, and SuperSocket 2.0.0-beta.8.
1. Project Creation
Create a .NET Core console application using Visual Studio 2019 targeting .NET Core 3.1, and add the SuperSocket (2.0.0-beta. ...
Posted on Thu, 28 May 2026 18:30:21 +0000 by trippyd
Implementing Dependency Injection with Autofac in .NET Core
To integrate Autofac with .NET Core:
Install the Autofac.Extensions.DependencyInjection NuGet package
Replace the built-in DI contanier in Program.cs (Note: This transfers all existing registrations to Autofac)
// Replace default DI container with Autofac
builder.Host.UseServiceProviderFactory(new AutofacServiceProviderFactory());
Service R ...
Posted on Mon, 18 May 2026 15:45:01 +0000 by johnoc
Streamlining WeChat API Integration Using Magicodes.Wx.Sdk and WebApiClientCore
The Magicodes.Wx.Sdk aims to provide the most straightforward approach to handling WeChat integrations, covering Official Accounts, Mini Programs, and Enterpirse WeChat, including support for Abp VNext modules. This guide focuses on how to contribute to the SDK by defining new API interfaces efficiently.
Core Dependency: WebApiClientCore
The si ...
Posted on Tue, 12 May 2026 17:18:31 +0000 by doddatika