
Create a public user interface in an Interfaces folder with async methods for get all users, get user by id, add, update, and delete, enabling dependency injection to wire services.
Implement a code-first DbContext in EF Core, configure it with DbContextOptions, and expose a users DbSet to map to the database.
Install the migration tools package, add migrations with the appropriate command, then run update-database to create the database and tables in SQL Server Object Explorer.
Add and implement a user service, injecting the deep context, and build async crud methods (get all, get by id, add, update, delete) with save changes.
Apply dependency injection in the Gore project by using interfaces and the built-in IOC container to resolve dependencies, then register the interface and service with add scope for constructor injection.
Develop add, update, and delete methods in the service class, validate the user object via the interface, and return success status or error messages to support robust rest operations.
Apply and verify rest api operations in a .net core project by sending post, get, put, and delete requests, observing 201 created, 200 ok, and 204 no content status codes.
Explore data transfer objects and how they mirror model properties to safely send data from the api in enterprise applications, avoiding exposure of model classes in api responses.
Implement auto mapper in the user service to map user detail to the user entity, replacing manual mapping and ensuring data flows to and from the database.
Register an in-memory rate limit store and configure the IP rate limiting middleware to enforce a rule of ten requests per three minutes across all endpoints.
Set up MongoDB by downloading the MongoDB community server and MongoDB Compass, connect to localhost, create a database and collection, and insert documents with fields like phone and address.
Remove the SQL context and switch to a MongoDB client, configure the connection string via app settings, and initialize the users collection with the database and collection names.
Master MongoDB CRUD operations in a .NET Core RESTful API by learning to retrieve data with find and firstOrDefaultAsync, insert, replace, and delete using lambda expressions.
Connects an Azure MongoDB instance to a Rest API, updates the service with the database and collection names, and validates data via the data explorer in the Azure portal.
Publish the Asia web application to Microsoft Azure using the Azure published profile, then configure Swagger to expose API documentation and verify the API endpoints, including the MongoDB API.
In this course we'll cover all the advanced functionality of Rest Api's with .Net Core and C#. This course is designed for those who are familiar with .Net Core Rest Api's.
The main focus of this course is on the Restful Web Api via ASP.NET Core and C#. So if you're familiar with C# , ASP.NET Core and Entity Framework Core Or if you want to create the Restful Api's with .Net Core then this is the right course for you.
In this course we'll start our work from the scratch and we will not use any copy paste technique. We'll write all the code from scratch.
By getting this course, you can be rest assured that the course is carefully thought out and edited. And I'm always happy to make the helpful content for the students.
So by the end of the course, you'll completely understand:
How to Create Rest Api's with Dependency Injection Or repository Layer Pattern
Create Restful Api's via Entity Framework Code First Approach
Connect Api's with MS-SQL Database
Add Migrations in Rest Api's
Implement Status Codes & Error Handling with Service Layer Pattern
Integrate DTO's and Automapper in Rest Api's
Integrate OData and Rate Limiting functionality in Rest Api's
Install MongoDB Compass GUI, Connect MongoDB with .Net Core Rest Api's
Perform CRUD with .Net Core Rest Api's and MongoDB
Integrate Azure CosmosDB Api for MongoDB
Deploy Rest Api to Microsoft Azure
A valuable Skill at Your Fingertips Learning the Rest Api 's put a powerful and attractive look in your Resume .Both C# and ASP.NET are open source, easy to learn and has an excellent Microsoft support.
Jobs in Rest Api's are plentiful, and being able to learn the Web Api 's with a professional way will give you a strong background to more easily pick up other challenging platforms and create the Rest Api's for other platforms.
Content and Overview Suitable for C# programmers, Asp.Net Developers , Software engineers or Backend Developers. Through this course , you’ll create a Restful Api's and establish a strong understanding of the concept behind Restful Api's.
What am I going to get from this course?
Learn Rest Api's from a Microsoft (MVP), Xamarin MVP from your own desk.
Create Restful Api in ASP.NET Core 6.0 with me.
Suitable for intermediate & advanced programmers, C# Asp.Net developers and ideal for users who learn faster when shown.
Visual training method, with Hands on Lab Practice and coding.
Breaks even the most complex scenarios down into simplistic steps.
Also you'll be able to learn all the Advanced concepts of Rest Api's like OData , rate Limiting , DTO's , Automapper , MongoDB, CosmosDB and Deployment etc.
After this course you can also apply those Rest Api's concepts in some other programming language.