Making.AspNetCore
1.0.9-preview
This is a prerelease version of Making.AspNetCore.
dotnet add package Making.AspNetCore --version 1.0.9-preview
NuGet\Install-Package Making.AspNetCore -Version 1.0.9-preview
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Making.AspNetCore" Version="1.0.9-preview" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Making.AspNetCore" Version="1.0.9-preview" />
<PackageReference Include="Making.AspNetCore" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Making.AspNetCore --version 1.0.9-preview
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Making.AspNetCore, 1.0.9-preview"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Making.AspNetCore@1.0.9-preview
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Making.AspNetCore&version=1.0.9-preview&prerelease
#tool nuget:?package=Making.AspNetCore&version=1.0.9-preview&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Making.AspNetCore
ASP.NET Core integration and extensions for the Making framework.
Overview
Making.AspNetCore provides essential components for building web applications with ASP.NET Core using the Making framework. It includes MiniAPI attributes, pagination models, and standardized result DTOs.
Features
- MiniAPI Attributes: Attributes for defining lightweight API endpoints
- Pagination Support: Built-in paging models and result wrappers
- Standardized Results: Consistent DTO patterns for API responses
- ASP.NET Core Integration: Seamless integration with ASP.NET Core pipeline
Installation
dotnet add package Making.AspNetCore
Usage
MiniAPI Attributes
[MiniApi]
public class UserController
{
[HttpGet("/users")]
public async Task<PagedResult<User>> GetUsers([FromQuery] PagingModel paging)
{
// Implementation
}
}
Pagination
public class UserService
{
public async Task<PagedResult<User>> GetUsersAsync(PagingModel paging)
{
var users = await GetUsersFromDatabase(paging.PageNumber, paging.PageSize);
var totalCount = await GetTotalUsersCount();
return new PagedResult<User>
{
Items = users,
TotalCount = totalCount,
PageNumber = paging.PageNumber,
PageSize = paging.PageSize
};
}
}
Result DTOs
public class ApiController : ControllerBase
{
[HttpGet("/api/data")]
public async Task<ResultDto<string>> GetData()
{
return ResultDto<string>.Success("Hello World");
}
}
Requirements
- .NET 9.0+
- ASP.NET Core
License
This project is part of the Making framework.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Making.Core (>= 1.0.9-preview)
- Making.Security (>= 1.0.9-preview)
-
net8.0
- Making.Core (>= 1.0.9-preview)
- Making.Security (>= 1.0.9-preview)
-
net9.0
- Making.Core (>= 1.0.9-preview)
- Making.Security (>= 1.0.9-preview)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
1.0.9-preview | 111 | 8/20/2025 |
1.0.8-preview | 118 | 8/20/2025 |
1.0.6-preview | 112 | 8/19/2025 |
1.0.4-preview | 116 | 8/10/2025 |
1.0.1-preview | 429 | 7/25/2025 |
1.0.0-preview | 405 | 7/25/2025 |