Udemy
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
Development
Web Development Data Science Mobile Development Programming Languages Game Development Database Design & Development Software Testing Software Engineering Development Tools No-Code Development
Business
Entrepreneurship Communications Management Sales Business Strategy Operations Project Management Business Law Business Analytics & Intelligence Human Resources Industry E-Commerce Media Real Estate Other Business
Finance & Accounting
Accounting & Bookkeeping Compliance Cryptocurrency & Blockchain Economics Finance Finance Cert & Exam Prep Financial Modeling & Analysis Investing & Trading Money Management Tools Taxes Other Finance & Accounting
IT & Software
IT Certification Network & Security Hardware Operating Systems Other IT & Software
Office Productivity
Microsoft Apple Google SAP Oracle Other Office Productivity
Personal Development
Personal Transformation Personal Productivity Leadership Career Development Parenting & Relationships Happiness Esoteric Practices Religion & Spirituality Personal Brand Building Creativity Influence Self Esteem & Confidence Stress Management Memory & Study Skills Motivation Other Personal Development
Design
Web Design Graphic Design & Illustration Design Tools User Experience Design Game Design Design Thinking 3D & Animation Fashion Design Architectural Design Interior Design Other Design
Marketing
Digital Marketing Search Engine Optimization Social Media Marketing Branding Marketing Fundamentals Marketing Analytics & Automation Public Relations Advertising Video & Mobile Marketing Content Marketing Growth Hacking Affiliate Marketing Product Marketing Other Marketing
Lifestyle
Arts & Crafts Beauty & Makeup Esoteric Practices Food & Beverage Gaming Home Improvement Pet Care & Training Travel Other Lifestyle
Photography & Video
Digital Photography Photography Portrait Photography Photography Tools Commercial Photography Video Design Other Photography & Video
Health & Fitness
Fitness General Health Sports Nutrition Yoga Mental Health Dieting Self Defense Safety & First Aid Dance Meditation Other Health & Fitness
Music
Instruments Music Production Music Fundamentals Vocal Music Techniques Music Software Other Music
Teaching & Academics
Engineering Humanities Math Science Online Education Social Science Language Teacher Training Test Prep Other Teaching & Academics
AWS Certification Microsoft Certification AWS Certified Solutions Architect - Associate AWS Certified Cloud Practitioner CompTIA A+ Cisco CCNA Amazon AWS CompTIA Security+ AWS Certified Developer - Associate
Graphic Design Photoshop Adobe Illustrator Drawing Digital Painting InDesign Character Design Canva Figure Drawing
Life Coach Training Neuro-Linguistic Programming Mindfulness Personal Development Personal Transformation Life Purpose Meditation Coaching Neuroscience
Web Development JavaScript React CSS Angular PHP WordPress Node.Js Python
Google Flutter Android Development iOS Development Swift React Native Dart Programming Language Mobile Development Kotlin SwiftUI
Digital Marketing Google Ads (Adwords) Social Media Marketing Google Ads (AdWords) Certification Marketing Strategy Internet Marketing YouTube Marketing Email Marketing Retargeting
SQL Microsoft Power BI Tableau Business Analysis Business Intelligence MySQL Data Analysis Data Modeling Big Data
Business Fundamentals Entrepreneurship Fundamentals Business Strategy Online Business Business Plan Startup Freelancing Blogging Home Business
Unity Game Development Fundamentals Unreal Engine C# 3D Game Development C++ Unreal Engine Blueprints 2D Game Development Blender
30-Day Money-Back Guarantee

This course includes:

  • 5 hours on-demand video
  • 2 articles
  • Full lifetime access
  • Access on mobile and TV
Development Web Development ASP.NET Core

.NET Core 3.1 Web API & Entity Framework Core Jumpstart

Build the back-end of a .NET Core 3.1 web application with Web API, Entity Framework Core & SQL Server in no time!
Rating: 4.5 out of 54.5 (520 ratings)
2,694 students
Created by Patrick God
Last updated 1/2021
English
English [Auto]
30-Day Money-Back Guarantee

What you'll learn

  • Build a complete .NET Core 3.1 back-end with Web API, Entity Framework Core, SQL Server & SQLite
  • 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
  • Use the HTTP request methods GET, POST, PUT & DELETE
  • Implement best practices that are used in the real world like a proper structure for your Web API, Dependency Injection, asynchronous calls with async/await and Data-Transfer-Objects (DTOs)
  • Use LINQ to filter, sort, map, select and access your entities.
  • Seed data with code-first migrations programmatically
  • Migrate from .NET Core 3.1 to .NET 5
Curated for the Udemy for Business collection

Course content

9 sections • 79 lectures • 5h 5m total length

  • Preview02:35
  • Tools (VS Code, Postman, .NET Core SDK)
    00:16
  • Preview05:44
  • Preview01:53
  • Preview01:40
  • GitHub Repository
    00:18

  • Preview00:38
  • Preview02:23
  • Preview02:13
  • Preview04:22
  • Preview03:16
  • Preview01:39
  • Preview03:32
  • Preview02:27
  • Preview03:09
  • Preview07:05
  • Preview03:53
  • Preview04:48
  • Preview04:03
  • Preview06:30
  • Preview07:28
  • Preview02:47
  • Preview00:52

  • Preview00:48
  • Preview02:02
  • Installing Entity Framework Core
    01:41
  • Installing SQL Server Express (with Management Studio)
    02:24
  • Implementing the DataContext
    02:29
  • ConnectionString & Adding the DbContext
    02:42
  • First Migration
    02:13
  • GET Implementations
    03:26
  • POST Implementations
    01:41
  • PUT Implementations
    02:06
  • DELETE Implementations
    01:32
  • Summary
    00:58

  • Introduction
    00:48
  • The User Model
    02:40
  • First Relation
    04:06
  • Authentication Theory
    02:13
  • Authentication Repository
    04:32
  • User Registration
    03:54
  • “User already exists.”
    01:49
  • Authentication Controller
    05:37
  • User Login
    07:04
  • Token Authentication with JSON Web Tokens
    02:15
  • JSON Web Tokens (JWT) preparations
    03:15
  • JSON Web Tokens (JWT) implementations
    06:21
  • Authorize Attribute
    05:27
  • Read Claims & Get the User’s RPG Characters
    03:19
  • Summary
    01:42

  • Introduction
    01:26
  • Proper User-Character Relation
    11:15
  • Include Entities with Entity Framework
    04:00
  • One-To-One Relation with Weapons
    05:01
  • Add Weapons to RPG Characters
    14:00
  • Many-To-Many Relation with Skills
    07:05
  • Add Skills to RPG Characters
    17:19
  • Summary
    01:10

  • Introduction
    00:38
  • Prepare to Fight!
    04:12
  • Attack with Weapons
    10:35
  • Attack with Skills
    04:50
  • Start a Fight
    13:35
  • Highscore: Sort & Filter Entities
    04:59
  • Summary
    01:53

  • Introduction
    00:54
  • New User Property: Role & A New Migration
    04:47
  • Extend the JSON Web Token with another Claim
    01:31
  • Restrict Controller Access & Change Service Behavior
    06:06

  • Introduction
    00:54
  • New Package, ConnectionString & Configuration
    02:38
  • Create the SQLite Database
    01:48
  • Use the DB Browser for SQLite
    03:22
  • Data Seeding Preparations
    03:17
  • Seeding Skills
    06:05
  • Seeding Entities with Relations
    09:09

  • Preview02:09
  • Download the SDK & Update Visual Studio Code
    02:06
  • Migrate the Project
    06:25

Requirements

  • You should have basic knowledge of C#.

Description

The .NET Core 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 Core, including Web API and Entity Framework Core.

So, knowing the fundamentals of back end web development with .NET Core 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 Core, Code-First Migration, a SQL Server & SQLite 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 Core project requests from any recruiter.

The only tools you need in the beginning are Visual Studio Code and Postman - both are available for free.

We will use Visual Studio Code for our implementations and Postman to make calls to the Web API. Both tools are available for Windows, Mac OS, and Linux. And since .NET Core is cross-platform, you can follow this course on any of these operating systems. (I know, Microsoft and cross-platform, it still surprises me, too.)

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

By the end of this course, we will also have a look at how to configure the web application to use a SQLite database and also seed data for that database.

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 Core

  • 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 & SQLite 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


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 Core and how important it gets day by day.

To this date, I was able to run five courses on web development here on Udemy about ASP.NET, single-page applications, and Angular, with a total of over 45.000 unique students and about 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!


Course image: practicuum/Shutterstock


Who this course is for:

  • Students who want to build professional .NET Core web development skills.

Featured review

Fjorge Developers
Fjorge Developers
32 courses
17 reviews
Rating: 5.0 out of 58 months ago
Definitely a good introductory jumpstart course. This can be used for a developer to quickly hit the ground running with Web API authentication and basic api endpoints. I have learned a few good tips and tricks along the way.

Instructor

Patrick God
Passionate Software Developer & Teacher
Patrick God
  • 4.5 Instructor Rating
  • 5,344 Reviews
  • 53,138 Students
  • 9 Courses

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 bachelor and master studies, I joined various companies, made desktop and web applications as well as video games professionally and was always anxious to improve my craft, which I have been doing for more than 15 years now.​

For me, the most important part of writing and teaching code is to have fun. If certain ways work for you and the results are maintainable and you have fun with your results, you're doing it the right way. I don't care if you always use your keyboard or switch to the mouse from time to time, so-called best practices are not always best or practical, I want to teach you to develop software in a way it works in the industry, a way it works for you and in a way that makes you happy. 

  • Udemy for Business
  • Teach on Udemy
  • Get the app
  • About us
  • Contact us
  • Careers
  • Blog
  • Help and Support
  • Affiliate
  • Terms
  • Privacy policy
  • Cookie settings
  • Sitemap
  • Featured courses
Udemy
© 2021 Udemy, Inc.