VOOZH about

URL: https://www.nuget.org/packages/IkeMtz.NRSRx.Core.WebApi/

⇱ NuGet Gallery | IkeMtz.NRSRx.Core.WebApi 9.2.118.8




👁 Image
IkeMtz.NRSRx.Core.WebApi 9.2.118.8

dotnet add package IkeMtz.NRSRx.Core.WebApi --version 9.2.118.8
 
 
NuGet\Install-Package IkeMtz.NRSRx.Core.WebApi -Version 9.2.118.8
 
 
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="IkeMtz.NRSRx.Core.WebApi" Version="9.2.118.8" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="IkeMtz.NRSRx.Core.WebApi" Version="9.2.118.8" />
 
Directory.Packages.props
<PackageReference Include="IkeMtz.NRSRx.Core.WebApi" />
 
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 IkeMtz.NRSRx.Core.WebApi --version 9.2.118.8
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: IkeMtz.NRSRx.Core.WebApi, 9.2.118.8"
 
 
#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 IkeMtz.NRSRx.Core.WebApi@9.2.118.8
 
 
#: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=IkeMtz.NRSRx.Core.WebApi&version=9.2.118.8
 
Install as a Cake Addin
#tool nuget:?package=IkeMtz.NRSRx.Core.WebApi&version=9.2.118.8
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

IkeMtz.NRSRx.Core.WebApi

👁 Nuget Package

Overview

IkeMtz.NRSRx.Core.WebApi is a foundational library for building RESTful Web API microservices with the NRSRx framework. NRSRx is an opinionated framework that configures common cross-cutting concerns, allowing developers to focus on business logic rather than infrastructure setup.

Features

  • JWT Authentication & Authorization: Pre-configured OAuth2/OIDC authentication with role-based authorization
  • API Versioning: URL segment-based versioning following Microsoft REST Guidelines
  • Swagger/OpenAPI Integration: Auto-generated API documentation with OAuth2 client support
  • Health Checks: Built-in endpoint (/healthz) with extensible health check configuration
  • JSON & XML Support: Newtonsoft.Json with camel casing, null handling, and XML serialization
  • Configuration Management: Support for appsettings.json, user secrets, and environment variables
  • Logging Integration: Extensible logging setup (supports Application Insights, Elasticsearch, Splunk)
  • Event Publishing: Extensible publisher setup for Azure Service Bus and Redis Streams
  • Entity Framework Support: Database context configuration with connection string management

Key Components

CoreWebApiStartup

The abstract base class that provides the core Web API setup. Key methods to override:

Required Overrides
  • ServiceTitle: Display name for your microservice
  • StartupAssembly: Assembly containing your controllers
Optional Overrides
  • SetupDatabase(): Configure Entity Framework DbContext
  • SetupHealthChecks(): Add custom health checks
  • SetupPublishers(): Configure event publishers (Service Bus, Redis)
  • SetupMiscDependencies(): Register additional services
  • SetupLogging(): Configure logging providers
  • SetupAuthentication(): Customize JWT authentication
  • SetupSwagger(): Customize Swagger/OpenAPI configuration

Built-in Configuration

API Versioning
  • URL segment-based: /v1/products, /v2/products
  • Headers: api-supported-versions and api-deprecated-versions
  • Format: v{major}.{minor}
JSON Serialization
  • Camel case property names
  • Null value ignoring
  • Enum string conversion
  • Reference loop handling
Authentication
  • JWT Bearer token authentication
  • Configurable claim mappings (name, role)
  • Multi-audience support
Swagger UI
  • OAuth2 Authorization Code Flow with PKCE
  • Auto-discovery from OIDC provider
  • XML documentation comments
  • Versioned endpoint organization

Endpoints

Health Check

  • URL: /healthz
  • Method: GET
  • Response: 200 OK (Healthy) or 503 Service Unavailable (Unhealthy)

API Endpoints

All controllers inherit API versioning and are automatically registered with Swagger documentation.

Related Packages

Samples

See the sample WebApi project for a complete working example.

Documentation

For complete framework documentation, visit the NRSRx GitHub repository.

License

MIT © IkeMtz

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 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on IkeMtz.NRSRx.Core.WebApi:

Package Downloads
IkeMtz.NRSRx.Core.Unigration

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
9.2.118.8 7,023 4/28/2026
9.2.118.6 127 4/28/2026
9.2.118.5 126 4/28/2026
9.2.118.3 228 4/28/2026
9.2.117.2 219 4/27/2026
9.2.112.2 135 4/22/2026
9.2.32.1 311 2/1/2026
9.1.296.2 15,429 10/23/2025
9.1.289.3 513 10/16/2025
9.1.250.2 3,708 9/7/2025
9.1.238.3 2,211 8/27/2025
9.1.31.5 150 1/31/2026
9.1.31.4 141 1/31/2026
9.1.31.3 151 1/31/2026
8.1.198.6 774 7/17/2025
8.1.96.2 12,709 4/6/2025
8.1.54.4 1,961 2/23/2025
8.1.52.6 9,530 2/21/2025
8.1.51.7 315 2/21/2025
8.1.51.2 284 2/20/2025
Loading failed