.NET 7 Web API & Entity Framework Jumpstart

  • Overview
  • Curriculum
  • Instructor
  • Review

About This Course

Build the back-end of a .NET 7 web application with a Web API, Entity Framework 7 & SQL Server in no time!

The .NET framework is getting better and better and more important in the web development world nowadays.

Almost every request I get for new web development projects is asking for knowledge in .NET, including Web API and Entity Framework.

So, knowing the fundamentals of back-end web development with .NET can be highly beneficial to your career. And that’s where this course comes in.

In a short period of time, you will learn how to set up a Web API, make restful calls to this Web API and also save data persistently with Entity Framework, Code-First Migration, a SQL Server database, and all three types of relationships in this database.

We will get right to the point, you will see every single step of writing the necessary code and by the end of this course, you will have what it takes to say ‘yes’ to all the .NET project requests from any recruiter.

The only tool you need in the beginning is Visual Studio Code which is available for free.

We will use Visual Studio Code for our implementations and make calls to the Web API with the help of Swagger UI - an interface that lets you consume the API out-of-the-box, thanks to the latest version of the .NET framework.

Later, we will also utilize SQL Server Express and the SQL Server Management Studio to manage our database. These are also available for free.

The back-end application we’re going to build is a small text-based role-playing game where different users can register (we’re going to use JSON web tokens for authentication) and create their own characters like a mage or a knight, add some skills and a weapon, and also let the characters fight against each other to see who is the best of them all.


What You Will Learn

Introduction

  • Create your first Web API call in less than 10 minutes

  • Initialize a Git repository for your source control

Web API

  • The Model-View-Controller (MVC) pattern

  • Create models and controllers

  • Attribute routing (with parameters)

  • The HTTP request methods GET, POST, PUT & DELETE

  • Best practices for your Web API like a ServiceResponse class and Data-Transfer-Objects (DTOs)

  • Map your models with AutoMapper

Entity Framework Core

  • Object-Relational-Mapping

  • Code-First Migration

  • SQL Server Express

  • How to use a DataContext and a proper ConnectionString

  • All previous HTTP requests with Entity Framework Core to save your data in a SQL Server database

  • Data Seeding: Insert data with a migration programmatically

Authentication

  • Token Authentication with JSON Web Tokens

  • Claims

  • Secure controllers with the Authorize attribute

  • Add roles to the users

Advanced Relationships with Entity Framework Core

  • One-to-one relationships

  • One-to-many relationships

  • Many-to-many relationships

  • Include entities with Entity Framework Core

  • Get the proper relations between entities

More Than Just CRUD

  • Start automatic fights

  • Filter and order RPG characters by their highscore


This course has been completely re-recorded with .NET 7.

The lectures with the older versions of the .NET (Core) Framework - .NET 6, 5 & .NET Core 3.1 - are still available for reference.


Your Instructor

My name is Patrick and I will be your instructor for 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 ten courses on web development here on Udemy about ASP.NET, Blazor, single-page applications, Angular, and DevOps, with a total of over 75.000 unique students and more than 10.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!


Course image: practicuum/Shutterstock


  • Build a complete .NET 7 back-end with Web API, Entity Framework Core, SQL Server

  • Implement Token Authentication with JSON Web Tokens & Roles

  • Utilize all three types of relationships in your database: one-to-one, one-to-many, many-to-many

Course Curriculum

Instructor

Profile photo of Patrick God
Patrick God

Writing code is what drives me. Creating software out of nothing is a skill I truly am passionate about and I want to share this astonishing feeling of making stuff with you.I started to learn several programming languages as a teenager and always wanted to create software ever since I first played a game on a Commodore 64. During my...

Review
4.9 course rating
4K ratings
ui-avatar of Samuel Christopherson
Samuel C.
5.0
7 months ago

Just what I needed for my job.

  • Helpful
  • Not helpful
ui-avatar of Nhan Nguyen Quang
Nhan N. Q.
5.0
7 months ago

very good

  • Helpful
  • Not helpful
ui-avatar of Griffith Kalpokas
Griffith K.
5.0
8 months ago

Thank you sir, I've learnt a lot from this course

  • Helpful
  • Not helpful
ui-avatar of Leopoldo Gamelas
Leopoldo G.
4.0
8 months ago

The explanations are great, however as the course hasnt been updated since dec/22, some things changed and need to be troubleshooted

  • Helpful
  • Not helpful
ui-avatar of Dat Vu
Dat V.
4.0
9 months ago

too long course and duplicated contents

  • Helpful
  • Not helpful
ui-avatar of Zdeněk Novák
Zdeněk N.
5.0
1 year ago

I loved this course. I looked forward to every new chapter. I found this course useful even though I'm already almost senior programmer. Albeit with completely different specialization and languages.

  • Helpful
  • Not helpful
ui-avatar of Petr ZĂĄvodnĂ˝
Petr Z.
5.0
1 year ago

Very informative and easy to follow. Great examples and I appreciate a lot to show an approach to topics as close to production level as possible for such a small project. Awesome course!

  • Helpful
  • Not helpful
ui-avatar of Francisco Ferreira
Francisco F.
5.0
1 year ago

For new users it teaches a lot while being fun with the everything being developed.

For experienced users, it's always a nice way to remember what has been done on a daily basis and also how it was done in older versions of .Net

  • Helpful
  • Not helpful
ui-avatar of Thong Ly Ngoc
Thong L. N.
4.5
1 year ago

good for my study at school

  • Helpful
  • Not helpful
ui-avatar of Laurent Dehon
Laurent D.
2.5
1 year ago

Why did you repeat the course 3 times for each .NET Core version ?
It's a bit annoying, Let's just keep the latest version.

Otherwise the course is very good.

  • Helpful
  • Not helpful
Leave A Reply

Your email address will not be published. Required fields are marked *

Ratings

Courses You May Like

Lorem ipsum dolor sit amet elit
Show More Courses