Learn .NET Core Web API Development
Build the Stacked Series REST API backend with .NET Core
Setting up our Development Environment
Setting up the project and using GitHub
Creating the .NET Solution (.sln)
Generating the .NET Web API Project
Making a GET Request to the API
Setting up launchsettings.json for non-Windows setup
Creating Services, Data, and Models Projects
Adding Data Layer dependencies
Adding Service Layer and Web Layer dependencies
Creating Entity Models and DbContext
Wiring up a PostgreSQL connection
Generating a Database Migration
Setting up docker-compose
Starting the PostgreSQL Container and Running a Migration
Running SQL Queries using pgadmin
Creating IBlogRepository, BlogRepository in Data Project
Implementing BlogRepository
Starting the Article Controller
Creating ServiceResult and Starting DTOs
Completing our DTOs
Add Functionality to Article Controller
Add Functionality to Article Service
Continue Extending Article Service
Dependency Injection Setup
Debugging with Postman
Finishing Article Controller
Add FluentValidation
Register Validators, Newtonsoft.JSON
Allowing specific origins with CORS
Finish Implementing Article Service
Unit Test Project Introduction
Creating the xUnit Test Project
Starting ArticleService Unit Tests
Using Bogus to generate Test Data
Running our Unit Tests
Testing Validators
Overview of Remaining Code
Comment Service
Comment Controller
Tag Service
Tag Controller
User Service
User Controller
Completing and Reviewing Startup.cs
Running the API and Testing new Routes with Postman
Congrats! Next Steps...