Skip to content

C# Standard Library for use with AspNetCore. This is mostly a time saver for my projects.

License

Notifications You must be signed in to change notification settings

brandonhenricks/HCI.AspNetCore.Extensions

Repository files navigation

HCI.AspNetCore.Extensions

HCI.AspNetCore.Extensions is a .net standard 2.0 library for dealing with AspNetCore projects.

Installation

Use the package manager nuget to install HCI.AspNetCore.Extensions.

nuget install HCI.AspNetCore.Extensions

Usage

ServiceCollectionExtensions are used in the StartUp class.

using HCI.AspNetCore.Extensions;

public void ConfigureServices(IServiceCollection services)
{
    services.AddCustomApiVersioning();
}

WebHostExtensions are used in the Program.cs class.

using HCI.AspNetCore.Extensions;

public static void Main(string[] args)
{
    var host = CreateWebHostBuilder(args)
        .Build()
        .ApplyPendingDatabaseMigrations<DbContext>();
}

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

GNU

About

C# Standard Library for use with AspNetCore. This is mostly a time saver for my projects.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages