Siemens.AspNet.MinimalApi.Sdk 0.1.0-alpha.46

Prefix Reserved
This is a prerelease version of Siemens.AspNet.MinimalApi.Sdk.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Siemens.AspNet.MinimalApi.Sdk --version 0.1.0-alpha.46
                    
NuGet\Install-Package Siemens.AspNet.MinimalApi.Sdk -Version 0.1.0-alpha.46
                    
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="Siemens.AspNet.MinimalApi.Sdk" Version="0.1.0-alpha.46" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Siemens.AspNet.MinimalApi.Sdk" Version="0.1.0-alpha.46" />
                    
Directory.Packages.props
<PackageReference Include="Siemens.AspNet.MinimalApi.Sdk" />
                    
Project file
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 Siemens.AspNet.MinimalApi.Sdk --version 0.1.0-alpha.46
                    
#r "nuget: Siemens.AspNet.MinimalApi.Sdk, 0.1.0-alpha.46"
                    
#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 Siemens.AspNet.MinimalApi.Sdk@0.1.0-alpha.46
                    
#: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=Siemens.AspNet.MinimalApi.Sdk&version=0.1.0-alpha.46&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Siemens.AspNet.MinimalApi.Sdk&version=0.1.0-alpha.46&prerelease
                    
Install as a Cake Tool

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 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.  net10.0 was computed.  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.

NuGet packages (2)

Showing the top 2 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

Siemens.AspNet.DbProvider

A library which contains following functions: - Siemens.AspNet.DbProvider

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-alpha.229 0 7/31/2025
0.1.0-alpha.228 0 7/31/2025
0.1.0-alpha.227 9 7/31/2025
0.1.0-alpha.225 7 7/31/2025
0.1.0-alpha.224 10 7/30/2025
0.1.0-alpha.222 172 7/16/2025
0.1.0-alpha.219 155 7/14/2025
0.1.0-alpha.217 72 7/11/2025
0.1.0-alpha.212 160 7/8/2025
0.1.0-alpha.211 136 7/3/2025
0.1.0-alpha.207 106 7/3/2025
0.1.0-alpha.206 283 6/30/2025
0.1.0-alpha.205 89 6/27/2025
0.1.0-alpha.202 83 6/27/2025
0.1.0-alpha.200 89 6/27/2025
0.1.0-alpha.198 90 6/27/2025
0.1.0-alpha.196 96 6/27/2025
0.1.0-alpha.195 87 6/27/2025
0.1.0-alpha.194 89 6/27/2025
0.1.0-alpha.193 97 6/27/2025
0.1.0-alpha.192 89 6/27/2025
0.1.0-alpha.191 87 6/27/2025
0.1.0-alpha.189 106 6/26/2025
0.1.0-alpha.188 161 6/26/2025
0.1.0-alpha.187 110 6/26/2025
0.1.0-alpha.186 129 6/26/2025
0.1.0-alpha.185 109 6/26/2025
0.1.0-alpha.184 108 6/26/2025
0.1.0-alpha.183 108 6/26/2025
0.1.0-alpha.182 108 6/26/2025
0.1.0-alpha.181 129 6/25/2025
0.1.0-alpha.180 114 6/24/2025
0.1.0-alpha.179 111 6/23/2025
0.1.0-alpha.178 191 6/23/2025
0.1.0-alpha.176 110 6/23/2025
0.1.0-alpha.174 121 6/19/2025
0.1.0-alpha.173 151 6/19/2025
0.1.0-alpha.172 114 6/17/2025
0.1.0-alpha.171 188 6/16/2025
0.1.0-alpha.169 115 6/16/2025
0.1.0-alpha.165 283 6/13/2025
0.1.0-alpha.164 222 6/13/2025
0.1.0-alpha.163 227 6/13/2025
0.1.0-alpha.160 264 6/12/2025
0.1.0-alpha.159 358 6/11/2025
0.1.0-alpha.158 266 6/11/2025
0.1.0-alpha.143 262 6/11/2025
0.1.0-alpha.142 261 6/11/2025
0.1.0-alpha.140 264 6/11/2025
0.1.0-alpha.139 309 6/10/2025
0.1.0-alpha.138 253 6/9/2025
0.1.0-alpha.137 49 6/7/2025
0.1.0-alpha.136 44 6/7/2025
0.1.0-alpha.135 73 6/6/2025
0.1.0-alpha.134 69 6/6/2025
0.1.0-alpha.130 123 6/5/2025
0.1.0-alpha.129 116 6/4/2025
0.1.0-alpha.128 119 6/4/2025
0.1.0-alpha.122 178 6/3/2025
0.1.0-alpha.121 129 6/1/2025
0.1.0-alpha.120 79 6/1/2025
0.1.0-alpha.118 128 5/28/2025
0.1.0-alpha.117 121 5/28/2025
0.1.0-alpha.116 149 5/28/2025
0.1.0-alpha.115 122 5/26/2025
0.1.0-alpha.114 148 5/22/2025
0.1.0-alpha.112 122 5/21/2025
0.1.0-alpha.111 117 5/20/2025
0.1.0-alpha.108 171 5/19/2025
0.1.0-alpha.104 483 5/18/2025
0.1.0-alpha.102 347 5/14/2025
0.1.0-alpha.101 200 5/14/2025
0.1.0-alpha.100 203 5/12/2025
0.1.0-alpha.99 228 5/12/2025
0.1.0-alpha.98 45 5/10/2025
0.1.0-alpha.97 46 5/10/2025
0.1.0-alpha.86 144 5/8/2025
0.1.0-alpha.85 113 5/8/2025
0.1.0-alpha.84 112 5/8/2025
0.1.0-alpha.82 125 5/7/2025
0.1.0-alpha.81 115 5/6/2025
0.1.0-alpha.76 48 5/3/2025
0.1.0-alpha.75 67 5/2/2025
0.1.0-alpha.74 74 5/2/2025
0.1.0-alpha.56 135 4/28/2025
0.1.0-alpha.55 129 4/28/2025
0.1.0-alpha.54 200 4/14/2025
0.1.0-alpha.53 187 4/14/2025
0.1.0-alpha.48 446 4/14/2025
0.1.0-alpha.47 173 4/9/2025
0.1.0-alpha.46 242 4/9/2025
0.1.0-alpha.44 130 4/7/2025
0.1.0-alpha.41 127 4/7/2025
0.1.0-alpha.40 133 4/7/2025
0.1.0-alpha.39 89 4/4/2025
0.1.0-alpha.38 96 4/4/2025
0.1.0-alpha.37 97 4/4/2025
0.1.0-alpha.33 134 4/4/2025
0.1.0-alpha.29 137 4/3/2025
0.1.0-alpha.28 135 4/3/2025
0.1.0-alpha.27 134 4/3/2025
0.1.0-alpha.26 139 4/2/2025