DotNetCore.AspNetCore
19.3.0
dotnet add package DotNetCore.AspNetCore --version 19.3.0
NuGet\Install-Package DotNetCore.AspNetCore -Version 19.3.0
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="DotNetCore.AspNetCore" Version="19.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DotNetCore.AspNetCore --version 19.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DotNetCore.AspNetCore, 19.3.0"
#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.
// Install DotNetCore.AspNetCore as a Cake Addin #addin nuget:?package=DotNetCore.AspNetCore&version=19.3.0 // Install DotNetCore.AspNetCore as a Cake Tool #tool nuget:?package=DotNetCore.AspNetCore&version=19.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
DotNetCore.AspNetCore
Attributes
EnumAuthorizeAttribute
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true)]
public sealed class EnumAuthorizeAttribute : AuthorizeAttribute
{
public EnumAuthorizeAttribute(params object[] roles) { }
}
Extensions
ApplicationBuilderExtensions
public static class ApplicationBuilderExtensions
{
public static void UseCorsAllowAny(this IApplicationBuilder application) { }
public static void UseException(this IApplicationBuilder application) { }
public static void UseLocalization(this IApplicationBuilder application, params string[] cultures) { }
public static void ConfigureFormOptions(this IServiceCollection services) { }
}
BinaryFileExtensions
public static class BinaryFileExtensions
{
public static IActionResult FileResult(this Task<BinaryFile> binaryFile) { }
}
HttpRequestExtensions
public static class HttpRequestExtensions
{
public static IList<BinaryFile> Files(this HttpRequest request) { }
}
ResultExtensions
public static class ResultExtensions
{
public static IActionResult ApiResult<T>(this Result<T> result) { }
public static IActionResult ApiResult<T>(this Task<Result<T>> result) { }
public static IActionResult ApiResult(this Result result) { }
public static IActionResult ApiResult(this Task<Result> result) { }
public static IActionResult ApiResult<T>(this T result) { }
public static IActionResult ApiResult<T>(this Task<T> result) { }
}
ServiceCollectionExtensions
public static class ServiceCollectionExtensions
{
public static IMvcBuilder AddAuthorizationPolicy(this IMvcBuilder builder) { }
public static IServiceCollection AddCorsAllowAny(this IServiceCollection services) { }
public static IServiceCollection AddFileExtensionContentTypeProvider(this IServiceCollection services) { }
public static IMvcBuilder AddJsonOptions(this IMvcBuilder builder) { }
public static void AddSwaggerDefault(this IServiceCollection services) { }
public static IServiceCollection ConfigureFormOptionsMaxLengthLimit(this IServiceCollection services) { }
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net9.0
- DotNetCore.Objects (>= 19.3.0)
- DotNetCore.Results (>= 19.3.0)
- Microsoft.AspNetCore.Authentication.JwtBearer (>= 9.0.0)
- Swashbuckle.AspNetCore.SwaggerGen (>= 7.0.0)
- Swashbuckle.AspNetCore.SwaggerUI (>= 7.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on DotNetCore.AspNetCore:
Repository | Stars |
---|---|
rafaelfgx/Architecture
.NET 9, Angular 18, Clean Architecture, Clean Code, SOLID Principles, KISS Principle, DRY Principle, Fail Fast Principle, Common Closure Principle, Common Reuse Principle, Acyclic Dependencies Principle, Mediator Pattern, Result Pattern, Folder-by-Feature Structure, Separation of Concerns.
|
Version | Downloads | Last updated |
---|---|---|
19.3.0 | 28 | 11/14/2024 |