DotaNet.AspNetCore 18.16.2

dotnet add package DotaNet.AspNetCore --version 18.16.2                
NuGet\Install-Package DotaNet.AspNetCore -Version 18.16.2                
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="DotaNet.AspNetCore" Version="18.16.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DotaNet.AspNetCore --version 18.16.2                
#r "nuget: DotaNet.AspNetCore, 18.16.2"                
#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 DotaNet.AspNetCore as a Cake Addin
#addin nuget:?package=DotaNet.AspNetCore&version=18.16.2

// Install DotaNet.AspNetCore as a Cake Tool
#tool nuget:?package=DotaNet.AspNetCore&version=18.16.2                

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

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
18.16.2 275 9/14/2024
18.16.0 114 9/1/2024