# Asp.Net Core Extension **Repository Path**: N-Y/asp-net-core-extension ## Basic Information - **Project Name**: Asp.Net Core Extension - **Description**: asp.net core 3.1 扩展,包括鉴权功能、全局访问日志、异常记录,支持本地日志文件存储和elk日志存储 - **Primary Language**: C# - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 3 - **Created**: 2020-11-25 - **Last Updated**: 2023-09-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Asp.Net Core Extension #### Description Asp.net core 3.1 extension, including authentication, global access logging, exception logging, support for local log file storage and elk log storage. Global exception record: Used to reduce the global exception record in the Controller try catch; Global access log: records the routing and body data of all IP requests; Authentication function: This function mainly includes the Funcion automatic migration and request authentication function (currently no caching mechanism is added, it will be added later); Note: The current function is not perfect, we will try to add Nuget in the future; #### How to use it + 1. Synchronize the warehouse code + > git clone git@gitee.com:N-Y/asp-net-core-extension.git + 2, reference extension package + Nuanyang.Asp.Net.Core.Extension\Nuanyang.Asp.Net.Core.Extension.csproj + 3. Add the pipeline and Services according to the way used in the WebApplicationDemo; + 4, join the database connection address + Note: Database migration and new Controller data import will be carried out automatically after the program is run;