Hey guys,
This is my latest .NET Core tutorial, in this video, we built a full RESTful web service for a fictitious Travel Company for Hotel and Restaurant Listing using C#, ASP.NET Core 3.1, Entity Framework Core, SQL Server,
We also added pagination and swagger.
Link to Github Repository: https://github.com/propenster/YouTube...
STEPS
==============
Create a boilerplate ASP.NET Core Web API Project in Visual Studio 2019 Community Edition
Create our TravelAnytime Project
Create our Restaurant, Hotel, RestaurantReview, HotelReview models.
Create a DataContext and
Add Microsoft.EntityFrameworkCore package from the Nuget Package Manager
Configure our DbContext to an SQL instance in our Dependency injection container in startup.cs
Add our ConnectionString in appsettings.json
Run "Add-Migration"
Update-Database
Create Our Controllers using Visual Studio Code Generation Tool
Create a Response Wrapper for our models
Create PaginationFilter class
Add Pagination support to our controllers
Add Swagger
Thank you very much.
If you like this video, kindly subscribe, like, share, comment and have a good one!
That's how to build a REST API with C# and ASP.NET Core with Entity FrameworkCore etc
Buy me a coffee: https://www.buymeacoffee.com/propenster