Sending DingTalk Messages with .NET Core Applications
Implementing DingTalk Webhook Integration
This implementation demonstrates how to send notifications to DingTalk using .NET Core console applications. The solution supports both text and markdown message formats with flexible configuration options.
Required Dependencies
The project requires the following NuGet packages:
<PackageReference Inc ...
Posted on Mon, 14 Sep 2026 16:13:01 +0000 by PoOP
Dependency Injection in .NET Core Using Autofac
Official Documentation
https://autofaccn.readthedocs.io/zh/latest/index.html
Creating a .NET Core Console Application
Registering Types – Example One
Define an interface IPerson
public interface IPerson
{
void Introduce();
}
Implemant the interface with a Worker class
public class Worker : IPerson
{
public void Introduce()
{
...
Posted on Fri, 11 Sep 2026 16:39:24 +0000 by Brad420
Automated Nuget Package Creation and Publishing with Batch Scripts for .NET and .NET Core
Recently, while trying to package a .NET Core project using a previous written batch script, the old approach failed completely. After considerablle debugging, the issues were resolved. This article shares the solution and provides a refined script.
For details about Nuget, visit: https://docs.microsoft.com/en-us/nuget/
Download Nuget.exe
Downl ...
Posted on Wed, 09 Sep 2026 16:17:20 +0000 by amal.barman
Implementing Log4Net in .NET Core Applications
Adding Log4Net to .NET 6 Projects
Install the Log4Net NuGet package (version 2.0.15) in you're utility project
Create a logging helper class:
public class LoggerService
{
private static readonly ILog log = LogManager.GetLogger(typeof(LoggerService));
public static void LogInformation(string message)
{
log.Info(message ...
Posted on Sat, 05 Sep 2026 16:56:43 +0000 by _OwNeD.YoU_
SuperSocket 2.0 Server Startup via Configuration
1. Create the project
Create a .NET Core console application in Visual Studio 2019, selecting .NET Core 3.1 as the target framework. Add the SuperSocket (2.0.0-beta.8) package via NuGet.
2. Add configuration file
Place a appsettings.json file in the project root and set its Copy to Output Directory property to Copy if newer.
// Configuration o ...
Posted on Fri, 04 Sep 2026 16:11:16 +0000 by Jakehh
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
Integrating Redis Bloom Filters in .NET Core Applications
A colleague recently asked how to add Bloom filter capabilities into an existing system, noting the scarcity of clear documentation and code examples online. After reviewing the codebase, I’ve outlined a straightforward approach to integrate Redis-backed Bloom filters into .NET Core projects.
Start by installing the RedisBloom module in your Re ...
Posted on Sun, 30 Aug 2026 16:35:47 +0000 by Bman900
Magicodes.IE 2.3 Release - .NET Core Import/Export Library Updates
Formula Export Support
Excel template exports now support formulas using the following syntax:
{{Formula::AVERAGE?params=G4:G6}}
{{Formula::SUM?params=G4:G6&G4}}
Multi-Column and Multi-Sheet Export
The update introduces chained programming for Excel exports with column separation:
exporter.Append(list1).SeparateByColumn().Append(list2).Exp ...
Posted on Thu, 27 Aug 2026 16:25:58 +0000 by Dixsta
Building Cross-Platform CAPTCHA Solutions Using SkiaSharp on Linux
Overview
Rendering graphical user interface elements such as verification codes typically relies on GDI+ in Windows environments. However, implementing these features in a Linux-based .NET Core ecosystem requires avoiding platform-specific dependencies. SkiaSharp provides a robust, cross-platform solution for high-fidelity 2D graphics rendering ...
Posted on Wed, 19 Aug 2026 16:35:05 +0000 by sb
Implementing Log4Net Logging in .NET Core Applications
Overview
This guide covers integrating log4net logging into .NET Core applications, from basic setup to advanced implementation patterns.
Getting Started
Prerequisites
Install the required NuGet packages for logging functionality:
Microsoft.Extensions.Logging.Log4Net.AspNetCore
log4net
Configuring the Application
Enable log4net in the aplicat ...
Posted on Tue, 18 Aug 2026 16:28:38 +0000 by dupreelove