Create a server for your Unity game using .NET Core (Part 2)
https://www.youtube.com/watc...Create a custom server using .NET Core and host it in the cloud to act as your games backend. A custom server specifically designed for your game gives you the greatest freedom to deliver your ideal product.
Go watch part one: https://youtu.be/jLy7A702GhA
In this video we learn about:
Database management using an ORM (Entity Framework)
Authentication & Authorization
Json Web Tokens (JWT)
A bunch of common attack vectors and security tricks
Password security (hashing & salting)
Environmental variables
A custom server you can provide your game with features such as:
Achievements, leaderboards, synced player data, guilds, friends lists, real time chatting, loot boxes, matchmaking, player progress, and much much more.
Full project on my Patreon: https://www.patreon.com/tarodev
This tutorial is information dense... there's a huge amount to get through, so buckle up and get ready to learn.
â¤ď¸ Become a Tarobro on Patreon: https://www.patreon.com/tarodev
=========
đ SUBSCRIBE: https://bit.ly/3eqG1Z6
đ¨ď¸ DISCORD: https://discord.gg/tarodev
â
MORE TUTORIALS: https://www.youtube.com/tarodev
0:00 - Overview
0:40 - Adding Newtonsoft
1:50 - Database (ORM) / Entity Framework
3:15 - User Model
7:45 - Pushing Models/Tables to DB (Navicat, Powershell)
10:23 - Adding Data to Tables
12:35 - Authentication
14:23 - Authentication Controller
16:39 - Authentication Service
17:38 - PW Salt & Hash
22:11 - JWT
32:10 - Hero Refactor
34:12 - Adding Authentication package
37:33 - Authorization
38:07 - Creating CreateHeroRequest
41:54 - Testing CreateHeroRequest
45:30 - Advanced Authorization / Changing Hero Name
50:05 - Closing