.NET 5 Web API & Entity Framework Crash Course
- 3 hours on-demand video
- 2 articles
- 2 downloadable resources
- Full lifetime access
- Access on mobile and TV
- Certificate of Completion
Get your team access to 4,000+ top Udemy courses anytime, anywhere.Try Udemy for Business
- Build RESTful web services with .NET 5 Web API
- Object-relational mapping with Entity Framework
- Save data persistently in a SQL Server database
- Entity Framework Code-First Migrations
- Use Postman to test your web service calls
- All CRUD operations (Create, Read, Update, Delete)
- HTTP Request Methods GET, POST, PUT, DELETE
Welcome to the "ASP.NET Web API 2 Hands-On" course and thank you very much for signing up!
In this short introduction, you will see what you're going to learn in this course. Have fun!
When you want to create a Web Service with Web API 2, you may find yourself in two different situations. You either want to build a new Web Application from scratch and use Web API 2 with that application, or you already have build a Web Application and add Web API 2 afterwards. In this lecture, we cover the first situation.
In this lecture, you will learn how to add Web API 2 to an already built Web Application in Visual Studio.
Web API uses the Model-View-Controller pattern. In this lecture, you will learn what this pattern actually means, and you will create your first model class in C#.
The controller implements the actual logic to a corresponding model. You learn to build your first controller in this lecture.
You're ready to start creating web applications with Web API 2. Congratulations! The next step is to save your data persistently in a database. Entity Framework enables you to do this. In this lecture, you will learn the first steps of how to use Web API with Entity Framework and look for changes on your objects in the database.
- You should have a little experience in C#
.NET 5 is the future.
It will combine the old .NET framework with .NET Core and that's why it’s about time to update this course with the latest version of .NET.
You will learn the crucial stuff about web development with Web API and Entity Framework in .NET 5 in no time so that you're able to join new projects and companies who are craving for .NET developers like you very soon.
With the example application, we're going to build you will be able to create, read, update, and delete contacts. We will use people you might even know, like Peter Parker or Tony Stark.
The tools we’re going to use are the .NET SDK, of course, together with Visual Studio to write our code, Postman to make our REST calls and SQL Server Express for our database.
Everything is available for free! So you already have everything you need to start developing with .NET 5.
A few minutes into the course, you will already make your first Web API call.
After that you create your own model and controller to make use of the Model-View-Controller pattern and implement all CRUD operations, meaning create, read, update and delete with the corresponding HTTP methods GET, POST, PUT and DELETE.
Then you will make your data persistent with the help of the object-relational mapper Entity Framework and code-first migration.
With all that knowledge, you are ready to conquer any .NET 5 back end application.
What You Will Learn
Download & install the .NET 5 SDK, Visual Studio 2019 Community Edition & Postman
Create your first Web API call within the first minutes
Initialize a Git repository for your source control
The Model-View-Controller (MVC) pattern
Create models and controllers
Attribute routing (with parameters)
All CRUD operations (Create, Read, Update, Delete)
The HTTP request methods GET, POST, PUT & DELETE
SQL Server Express
How to use a DataContext and a proper ConnectionString
All previous HTTP requests with Entity Framework to save your data in a SQL Server database
My name is Patrick and I will be your instructor in this course. I’m a web developer for over a decade now, I have worked for big corporations and small teams, as an employee and a contractor and I just love to see the way Microsoft is going with .NET and how important it gets day by day.
To this date, I was able to run seven courses on web development here on Udemy about NET Core, single-page applications, Angular, and DevOps with a total of almost 50.000 unique students and more than 4.000 reviews.
If you have any questions, feel free to connect.
And if you still have any doubts, you have a 30-day money-back guarantee, no questions asked.
So, I hope you’re ready for your new skills and your new projects! ;)
I’m looking forward to seeing you in the course!
- This course is for students who want to use .NET 5 to build a RESTful web service for their web application and save the data persistently with the help of Entity Framework and SQL Server