![]() |
VOOZH | about |
dotnet add package Archetypical.Software.Vega.Api.Abstractions --version 2.7.1
NuGet\Install-Package Archetypical.Software.Vega.Api.Abstractions -Version 2.7.1
<PackageReference Include="Archetypical.Software.Vega.Api.Abstractions" Version="2.7.1" />
<PackageVersion Include="Archetypical.Software.Vega.Api.Abstractions" Version="2.7.1" />Directory.Packages.props
<PackageReference Include="Archetypical.Software.Vega.Api.Abstractions" />Project file
paket add Archetypical.Software.Vega.Api.Abstractions --version 2.7.1
#r "nuget: Archetypical.Software.Vega.Api.Abstractions, 2.7.1"
#:package Archetypical.Software.Vega.Api.Abstractions@2.7.1
#addin nuget:?package=Archetypical.Software.Vega.Api.Abstractions&version=2.7.1Install as a Cake Addin
#tool nuget:?package=Archetypical.Software.Vega.Api.Abstractions&version=2.7.1Install as a Cake Tool
Base controllers, dependency injection helpers, and common abstractions for building ASP.NET Core APIs, often used with Dapr.
This package provides a set of tools and conventions to accelerate the development of robust, observable, and configurable web APIs. It includes:
CreateVegaApi, UseVegaApiDefaults).VegaDbContext) with multi-provider support.VegaApiOptions) to easily enable/disable features like OData, Swagger, OpenTelemetry, Health Checks, etc.appsettings.json and environment variables.Install the package via NuGet:
# .NET CLI
dotnet add package Archetypical.Software.Vega.Api.Abstractions
# Package Manager
Install-Package Archetypical.Software.Vega.Api.Abstractions
You will also likely need packages for the features you intend to use, such as:
Microsoft.EntityFrameworkCore.SqlServer / Npgsql.EntityFrameworkCore.PostgreSQL / etc. (for DbContext)Dapr.AspNetCore (for Dapr integration)Swashbuckle.AspNetCore (for Swagger, often included by default)OpenTelemetry.Extensions.Hosting / OpenTelemetry.Instrumentation.AspNetCore / etc. (for OpenTelemetry)Program.cs)using Archetypical.Software.Vega.Api.Abstractions;
var builder = VegaApiApplication.CreateVegaApi(options =>
{
// --- Configure Core API Options ---
options.ServiceName = "MyMicroservice";
options.ServiceDescription = "Provides core business logic.";
// --- Toggle Features ---
// options.TurnOff.OData = true; // Example: Disable OData
// options.TurnOff.Dapr = true; // Example: Disable Dapr (and related features)
// --- Custom Configuration Actions ---
options.ODataBuilder = modelBuilder =>
{
// Configure your OData model here
// modelBuilder.EntitySet<Product>("Products");
};
options.HealthChecks = healthChecksBuilder =>
{
// Add custom health checks
// healthChecksBuilder.AddCheck<MyCustomHealthCheck>("custom_check");
};
}, args);
// --- Register Application Services ---
// builder.Services.AddScoped<IMyService, MyService>();
// --- Register DbContext (if using VegaDbContext) ---
// Must inherit from VegaDbContext
// builder.Services.AddDbContext<MyAppContext>();
var app = builder.Build();
// --- Apply Vega Middleware & Initializers ---
app.UseVegaApiDefaults();
// --- Configure Standard ASP.NET Core Middleware ---
// app.UseHttpsRedirection();
app.UseAuthentication();
app.UseAuthorization();
app.MapControllers();
// Optional: Map Dapr subscription handler if using pub/sub
// app.MapSubscribeHandler();
app.Run();
For detailed information on configuration and features, please refer to the documentation in the docs folder:
Key areas include:
[Details on contributing, code of conduct, etc.]
[License information]
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 1 NuGet packages that depend on Archetypical.Software.Vega.Api.Abstractions:
| Package | Downloads |
|---|---|
|
Archetypical.Software.Vega.Api.IntegrationTests.Framework
Reusable integration test framework for applications built on Archetypical.Software.Vega.Api.Abstractions. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.7.1 | 230 | 1/10/2026 |
| 2.7.0 | 97 | 1/9/2026 |
| 2.6.0 | 92 | 1/9/2026 |
| 2.5.0 | 121 | 12/31/2025 |
| 2.4.0 | 197 | 10/13/2025 |
| 2.3.0 | 219 | 9/22/2025 |
| 2.2.0 | 184 | 9/8/2025 |
| 2.1.1 | 183 | 9/8/2025 |
| 2.1.0 | 258 | 5/5/2025 |
| 2.0.3 | 247 | 4/12/2025 |
| 2.0.2 | 161 | 4/11/2025 |
| 2.0.1 | 243 | 4/10/2025 |
| 2.0.0 | 262 | 4/9/2025 |
| 1.5.0 | 232 | 4/7/2025 |
| 1.4.0 | 233 | 4/2/2025 |
| 1.3.0 | 199 | 4/1/2025 |
| 1.2.8 | 210 | 3/31/2025 |
| 1.2.7 | 215 | 3/31/2025 |
| 1.2.6 | 190 | 3/27/2025 |
| 1.2.5 | 195 | 3/27/2025 |