Siemens.AspNet.MinimalApi.Sdk
0.1.0-alpha.29
Prefix Reserved
See the version list below for details.
dotnet add package Siemens.AspNet.MinimalApi.Sdk --version 0.1.0-alpha.29
NuGet\Install-Package Siemens.AspNet.MinimalApi.Sdk -Version 0.1.0-alpha.29
<PackageReference Include="Siemens.AspNet.MinimalApi.Sdk" Version="0.1.0-alpha.29" />
<PackageVersion Include="Siemens.AspNet.MinimalApi.Sdk" Version="0.1.0-alpha.29" />
<PackageReference Include="Siemens.AspNet.MinimalApi.Sdk" />
paket add Siemens.AspNet.MinimalApi.Sdk --version 0.1.0-alpha.29
#r "nuget: Siemens.AspNet.MinimalApi.Sdk, 0.1.0-alpha.29"
#addin nuget:?package=Siemens.AspNet.MinimalApi.Sdk&version=0.1.0-alpha.29&prerelease
#tool nuget:?package=Siemens.AspNet.MinimalApi.Sdk&version=0.1.0-alpha.29&prerelease
Siemens.AspNet.Minimal.Sdk
The Siemens.AspNet.Minimal.Sdk
NuGet package offers a streamlined approach to building Minimal APIs in ASP.NET Core. It includes pre-configured defaults, opinionated helpers, and seamless integrations that accelerate development and simplify application setup.
📖 1. Overview
This SDK is designed to remove boilerplate code and help you focus on what matters: your business logic.
✅ Key Features
- ⚙️ Pre-configured application startup
- ☁️ AWS integration (optional)
- 🗄️ Database connectivity (supports AWS DynamoDB)
- 🔄 Consistent JSON serialization settings
- 🔐 Security best practices (JWT, OAuth2, security headers)
- ✔️ Custom validation support
- 📘 Auto-configured OpenAPI/Swagger
📦 2. Installation
2.1 Using the .NET CLI
dotnet add package Siemens.AspNet.Minimal.Sdk
⚡ 3. Quickstart Example
Below is a minimal setup using ServerlessMinimalWebApi, designed to get you started in seconds:
using Pulse.FieldingTool.Api;
using Siemens.AspNet.MinimalApi.Sdk;
// Create the minimal API host
var webApi = new ServerlessMinimalWebApi();
// Optionally set a global base path for all endpoints
webApi.BasePath = "api/fieldingtool";
// Register application services
webApi.RegisterServices = (services, config) =>
{
services.AddApi(config);
};
// Map API endpoints
webApi.MapEndpoints = endpoints =>
{
endpoints.MapApi();
};
// Run the application
webApi.Run(args);
// Enable testing via WebApplicationFactory<Program>
namespace Pulse.FieldingTool
{
public partial class Program {}
}
🧠 4. Key Concepts
Component | Description |
---|---|
ServerlessMinimalWebApi |
Opinionated builder for hosting, logging, and config setup |
RegisterServices |
Delegate for adding services to the DI container |
MapEndpoints |
Delegate for defining endpoint mappings using Minimal API routing |
Run |
Starts the web application |
partial Program |
Enables integration testing with WebApplicationFactory<Program> |
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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. |
-
net9.0
- Amazon.Lambda.AspNetCoreServer.Hosting (>= 1.7.4)
- Asp.Versioning.Http (>= 8.1.0)
- Asp.Versioning.Mvc.ApiExplorer (>= 8.1.0)
- AspNetCore.HealthChecks.DynamoDb (>= 9.0.0)
- AspNetCore.HealthChecks.UI.Client (>= 9.0.0)
- AWSSDK.DynamoDBv2 (>= 3.7.406.11)
- AWSSDK.SecretsManager (>= 3.7.400.125)
- AWSSDK.StepFunctions (>= 3.7.403.67)
- Extensions.Pack (>= 6.0.6)
- Microsoft.AspNetCore.Authentication.JwtBearer (>= 9.0.3)
- Microsoft.AspNetCore.OpenApi (>= 9.0.3)
- Siemens.AspNet.ErrorHandling (>= 5.0.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Siemens.AspNet.MinimalApi.Sdk:
Package | Downloads |
---|---|
Siemens.AspNet.MsTest.Sdk
A library which contains following functions: - Siemens.AspNet.MsTest.Sdk |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.1.0-alpha.54 | 118 | 4/14/2025 |
0.1.0-alpha.53 | 137 | 4/14/2025 |
0.1.0-alpha.48 | 149 | 4/14/2025 |
0.1.0-alpha.47 | 140 | 4/9/2025 |
0.1.0-alpha.46 | 179 | 4/9/2025 |
0.1.0-alpha.44 | 115 | 4/7/2025 |
0.1.0-alpha.41 | 111 | 4/7/2025 |
0.1.0-alpha.40 | 118 | 4/7/2025 |
0.1.0-alpha.39 | 74 | 4/4/2025 |
0.1.0-alpha.38 | 77 | 4/4/2025 |
0.1.0-alpha.37 | 79 | 4/4/2025 |
0.1.0-alpha.33 | 117 | 4/4/2025 |
0.1.0-alpha.29 | 120 | 4/3/2025 |
0.1.0-alpha.28 | 115 | 4/3/2025 |
0.1.0-alpha.27 | 119 | 4/3/2025 |
0.1.0-alpha.26 | 122 | 4/2/2025 |