GlueFramework.WebCore
1.0.3
dotnet add package GlueFramework.WebCore --version 1.0.3
NuGet\Install-Package GlueFramework.WebCore -Version 1.0.3
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="GlueFramework.WebCore" Version="1.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="GlueFramework.WebCore" Version="1.0.3" />
<PackageReference Include="GlueFramework.WebCore" />
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 GlueFramework.WebCore --version 1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: GlueFramework.WebCore, 1.0.3"
#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 GlueFramework.WebCore@1.0.3
#: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=GlueFramework.WebCore&version=1.0.3
#tool nuget:?package=GlueFramework.WebCore&version=1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Glue Framework Web Core
Web layer abstractions and utilities for ASP.NET Core applications.
Features
Exception Handling
BusinessException/BusinessAcceptedException- Domain-level exceptions with HTTP status mappingAPIExceptionFilterAttribute- Global exception filter for API controllersUnauthorizedTenantException/RoleNotPermittedException- Authorization exceptions
Validation Framework
ValidatorBase<T>- Base class for FluentValidation-style validatorsClientValidationAttribute- Client-side validation supportValidatorFactoryAttribute- Automatic validator discovery
Extension Methods
HttpContextExtensions- HTTP context utilities (tenant resolution, correlation IDs)IApplicationBuilderExtensions- Middleware pipeline configuration helpersIHostBuilderExtensions- Host configuration helpers
Swagger Integration
Built-in Swagger configuration with:
- JWT authentication support
- XML documentation generation
- Multi-tenant API grouping
Usage
// In Startup.cs
public void Configure(IApplicationBuilder app)
{
app.UseGlueFrameworkWebCore(); // Extension from this package
app.UseSwaggerWithJwtAuth(); // Swagger with auth
}
// Validation example
public class CreateOrderValidator : ValidatorBase<CreateOrderDto>
{
public CreateOrderValidator()
{
RuleFor(x => x.CustomerId).NotEmpty();
RuleFor(x => x.Items).NotEmpty();
}
}
Depends on GlueFramework.Core.
| 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 was computed. 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.
-
net8.0
- GlueFramework.Core (>= 1.0.3)
- Microsoft.AspNetCore.Authentication.OpenIdConnect (>= 8.0.0)
- Microsoft.Extensions.Caching.SqlServer (>= 9.0.0)
- Microsoft.Extensions.Logging (>= 9.0.0)
- Microsoft.Identity.Web (>= 3.5.0)
- Microsoft.Identity.Web.MicrosoftGraph (>= 3.5.0)
- Microsoft.Identity.Web.UI (>= 3.5.0)
- Swashbuckle.AspNetCore (>= 7.1.0)
- Swashbuckle.AspNetCore.SwaggerGen (>= 7.1.0)
- Swashbuckle.AspNetCore.SwaggerUI (>= 7.1.0)
- System.Drawing.Common (>= 9.0.0)
- System.Windows.Extensions (>= 9.0.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on GlueFramework.WebCore:
| Package | Downloads |
|---|---|
|
GlueFramework.OrchardCoreModule
Package Description |
|
|
GlueFramework.CustomSysSettingsModule
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.