https://github.com/brandonhenricks/hci.aspnetcore.extensions
C# Standard Library for use with AspNetCore. This is mostly a time saver for my projects.
https://github.com/brandonhenricks/hci.aspnetcore.extensions
asp-net-core aspnetcore csharp csharp-library dotnet-core dotnet-library dotnet-standard
Last synced: about 1 month ago
JSON representation
C# Standard Library for use with AspNetCore. This is mostly a time saver for my projects.
- Host: GitHub
- URL: https://github.com/brandonhenricks/hci.aspnetcore.extensions
- Owner: brandonhenricks
- License: gpl-3.0
- Created: 2019-03-21T21:59:43.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-28T20:13:59.000Z (about 7 years ago)
- Last Synced: 2025-05-16T00:14:17.508Z (about 1 year ago)
- Topics: asp-net-core, aspnetcore, csharp, csharp-library, dotnet-core, dotnet-library, dotnet-standard
- Language: C#
- Size: 43.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HCI.AspNetCore.Extensions
HCI.AspNetCore.Extensions is a .net standard 2.0 library for dealing with AspNetCore projects.
## Installation
Use the package manager [nuget](https://nuget.org) to install HCI.AspNetCore.Extensions.
```bash
nuget install HCI.AspNetCore.Extensions
```
## Usage
ServiceCollectionExtensions are used in the StartUp class.
```csharp
using HCI.AspNetCore.Extensions;
public void ConfigureServices(IServiceCollection services)
{
services.AddCustomApiVersioning();
}
```
WebHostExtensions are used in the Program.cs class.
```csharp
using HCI.AspNetCore.Extensions;
public static void Main(string[] args)
{
var host = CreateWebHostBuilder(args)
.Build()
.ApplyPendingDatabaseMigrations();
}
```
## 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](https://choosealicense.com/licenses/gpl-3.0/)