
Learn the standard http verbs for rest api operations, mapping create to post, read to get, update to put, and delete remains delete, with practical code comparisons.
Implement a get method in the songs controller to return a hardcoded list of songs as IEnumerable, importing the song model and testing with swagger and postman.
Update a record with an http put by passing the id in the url, replacing the list item, and verifying the change with a get request.
Compare code first and database first approaches in entity framework, where code first creates the database from C# model classes and database first builds it manually to create C# classes.
Install and configure the Entity Framework Core and SQL Server NuGet packages to connect the web API with a database, enabling data retrieval from SQL Server.
Examine code-first database creation with ensure created versus migrations, configure the db context in the controller, and implement CRUD for songs using entity framework.
learn to implement a get request that returns a single song by id using the DB context find method, alongside the get all songs endpoint.
Implement exception handling in restful apis by returning user friendly messages, using not found and ok status codes for get and delete operations, and handling null records.
Learn why async programming boosts scalability in REST APIs by freeing threads during database input/output. See how this approach handles multiple concurrent requests without blocking the thread pool.
Learn why code first migrations are needed when updating a model, see how ensure created fails with new properties, and prepare to implement migrations in an ASP.NET Core Web API.
Seed the songs table using the own model creating method, add a seed migration, update the database, and verify the api returns seeded song data.
Install the Azure Storage Blobs NuGet package in the rest api project to enable uploading files to an Azure container via restful APIs.
Upload files in a dotnet core web api by adding an IFormFile image property, not mapped, and store the image in Azure blob storage, saving its path in the database.
Upload the image to Azure Blob storage, then save the JSON data and the image URL in the database using DbContext with AddAsync and SaveChangesAsync, returning 201.
Explore model validation in ASP.NET Core, MVC, and Web API, why it's necessary, and how backend developers enforce rules to prevent null or empty data in post requests.
Explore how validations enforce data integrity in rest api by adding required attributes to song title, language, and duration, and customize error messages for clear guidance on missing data.
Discover attribute routing in dotnet core web api and how http get attributes prevent duplicate actions by differentiating id parameter methods.
Apply attribute routing in ASP.NET Core to resolve method ambiguity between get methods, define routes like api/songs and api/songs/{id}, and access tests via api/songs/test.
Design the backend restful APIs for a songs app, exposing home, song and artist detail pages, music, search, and album pages, while understanding the relation between tables and entities.
Add and configure artist, album, and song models in the rest api project, including uploading artist and album images and song audio, and define one-to-many relationships via Entity Framework conventions.
Register artist and album dbset properties in the api dbcontext. Remove old data seeding and the songs controller, then create an initial migration and update the database to reveal tables.
Are you tired of boring the outdated and incomplete courses , then let's dive in to the world of Rest Api's. I'm Asfend Microsoft Most Valuable Professional (MVP) and in this course I'll explain what basically the Rest Api is and how you can create the Rest Api's in ASP.NET Core and C#.
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 so if you've no prior knowledge of Rest Api's then don't worry we'll cover everything from absolute beginning. The only thing you need to know is C# programming language.
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 Setup the Development Environment For Building Rest Api's
Create Restful Api's via Entity Framework Code First Approach
Create Api Documentation
Implement Status Codes
How to add the Routing & Custom Methods
Adding Migrations in Rest Api's
Data Seeding in Rest Api's
Adding Content Negotiation
Implement Validation in Rest Api's
Implement Pagination in Rest Api's
Rest Api's File Uploading with Azure Blob Storage
Create SQL Database on Microsoft Azure
Deploy Web Api on Microsoft Azure
Create A Real World Music Api From Scratch to End (No Copy paste code I'll explain you each and every single line of code so that you can create a complete Real World Api's in .Net Core happily)
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 5.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 Validations, Paging , Api Documentation , Deployment , Blob Storage etc.
After this course you can also apply those Rest Api's concepts in some other programming language.