Dotnet API Base Component is a class libary or base component that provides a starting point for creating a web API using ASP .NET Core 6. It includes pre-built components and configurations that can help speed up the development process and reduce the amount of repetitive code that needs to be written.
dotnet add package DotnetApiComponent --version 1.0.0
Install-Package DotnetApiComponent -Version 1.0.0
<PackageReference Include="DotnetApiComponent" Version="1.0.0" />
⚙️ Tech Stack | |
---|---|
Progamming Language | CSharp v10.0 |
Target Framework | .NET 6.0 |
Project Type | Class Library |
ORM | Entity Framework Core |
Serialization | JSON using Newtonsoft.Json |
🔥 Features | |
---|---|
Response Wrapper | Response Wrapper in ASP.NET Core 6 Web API is a middleware technique to customize and standardize HTTP response format and metadata. |
Error Exception Handler | Error Exception Handler in ASP.NET Core 6 Web API is a middleware that handles unhandled exceptions and returns a standard error response to the client. |
Custom Validation | Custom Validation in ASP.NET Core 6 Web API is a technique to define and implement custom validation logic for API input data |
Media Service | Media Service in ASP.NET Core 6 Web API is a feature that allows efficient storage, management, and delivery of media files to clients. |
Custom Pagination List | Custom Pagination List in ASP.NET Core 6 Web API is a technique to implement custom pagination logic for API endpoints that return large datasets. |
Client Whitelist | Client Whitelist in ASP.NET Core 6 Web API is a security feature that allows only authorized clients to access the API endpoints. |
📦 Packages | |
---|---|
EntityFrameworkCore.Exceptions.SqlServer | 6.0.3.1 |
FluentValidation.AspNetCore | 11.2.2 |
MediatR.Extensions.Microsoft.DependencyInjection | 11.1.0 |
Microsoft.AspNetCore.Http | 2.2.2 |
Microsoft.AspNetCore.Mvc.Core | 2.2.5 |
Microsoft.AspNetCore.Mvc.NewtonsoftJson | 6.0.14 |
Microsoft.EntityFrameworkCore.Design | 7.0.3 |
Microsoft.EntityFrameworkCore.SqlServer | 7.0.3 |
Microsoft.EntityFrameworkCore.Tools | 7.0.3 |
System.Linq.Dynamic.Core | 1.3.1 |