Skip to content

This is a boilerplate asp.net core webapi project design with clean arquitecture in mind and more stuffs

License

Notifications You must be signed in to change notification settings

cesarj41/AspNetCoreBoilerplateWebApi

Repository files navigation

ASPNET Core WebApi Boilerplate

This is a project boilerplate web api for asp.net core, designed using clean arquitecture, it comes with logging (serilog), authentication (signed cookie), swagger, exception and error handling configured and implemented:

Getting Started

Use these instructions to get the project up and running.

Prerequisites

You will need the following tools:

Setup

Follow these steps to get your development environment set up:

  1. Clone the repository

  2. Set DbConnection string either on the appsettings.json file or on the os enviroment variables (recommended way).

  3. At the root directory, restore projects:

    dotnet restore
    
  4. Within the src.Infrastructure directory, run database migrations:

    dotnet ef database update
    
  5. Within the src.Web directory, run:

    dotnet run
    
  6. Launch https://localhost:5001/swagger in your browser to view the endpoints.

Technologies

  • .NET Core 2.2
  • ASP.NET Core 2.2
  • Entity Framework Core 2.2

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

About

This is a boilerplate asp.net core webapi project design with clean arquitecture in mind and more stuffs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published