In this tutorial I show you how to make a view counter and how to sweetly hook it up with entity framework in the model structure.
Source Code: https://github.com/T0shik/raw-coding-view-counter-example
Social:
Twitch: https://www.twitch.tv/raw_coding
Discord: https://discord.gg/R9A8yq4
Github: https://github.com/T0shik
Twitter: https://twitter.com/anton_t0shik
Instagram: https://www.instagram.com/anton_t0shik/
Support:
Patreon: https://www.patreon.com/raw_coding
Donate: https://streamelements.com/raw_coding/tip
Affiliate Links
Shared Hosting or ASP.NET Core: http://www.SmarterASP.NET/index?r=Toshik
Kojos Trick Lab (Tricking Tutorials) - https://www.kojostricklab.com/?wpam_id=93
...
https://www.youtube.com/watch?v=SdiBfJ7LjXM
Source: https://github.com/raw-coding-youtube/intermediate-shop-aspnetcore2 In this episode I show you how to handle if the item is low or out of stock.
Social:
Twitch: https://www.twitch.tv/raw_coding
Discord: https://discord.gg/R9A8yq4
Github: https://github.com/T0shik
Twitter: https://twitter.com/anton_t0shik
Instagram: https://www.instagram.com/anton_t0shik/
Support:
Patreon: https://www.patreon.com/raw_coding
Donate: https://streamelements.com/raw_coding/tip
Affiliate Links
Shared Hosting or ASP.NET Core: http://www.SmarterASP.NET/index?r=Toshik
Kojos Trick Lab (Tricking Tutorials) - https://www.kojostricklab.com/?wpam_id=93
...
https://www.youtube.com/watch?v=N6WEDbtgI5Y
In this episode we dip our toe in to implicit flow and take a look at manually setting up signing redirect and storage of tokens.
Source: https://github.com/T0shik/aspnetcore3-authentication
Shop ? https://shop.raw-coding.dev
Twitch ? https://www.twitch.tv/raw_coding
Discord ? https://discord.gg/R9A8yq4
Github ?️ https://github.com/T0shik
Twitter ? https://twitter.com/anton_t0shik
Instagram ? https://www.instagram.com/anton_t0shik/
Patreon ? https://www.patreon.com/raw_coding
Donate ? https://streamelements.com/raw_coding/tip
Linode ? https://www.linode.com/rawcoding
#csharp #aspnetcore #auth
...
https://www.youtube.com/watch?v=WQM_3Mm1Ewo
In this episode we dissect the mechanism behind Authorization - Policies. We explore the 3 main moving parts of Policies exposed to you:
- AuthorizationPolicy (Created by using an AuthorizationPolicyBuilder)
- IAuthorizationRequirement (This is your request for a specific type of authorization)
- AuthorizationHandler (This is the function which knows how to process the requirement)
Roles are just claims. rant over. Why have them? the concept of a role is more familiar than a claim to a human. For example what is easier to understand? - "What is your Role?" or "What do you claim to be?"
Source: https://github.com/T0shik/aspnetcore3-authentication
Shop ? https://shop.raw-coding.dev
Twitch ? https://www.twitch.tv/raw_coding
Discord ? https://discord.gg/R9A8yq4
Github ?️ https://github.com/T0shik
Twitter ? https://twitter.com/anton_t0shik
Instagram ? https://www.instagram.com/anton_t0shik/
Patreon ? https://www.patreon.com/raw_coding
Donate ? https://streamelements.com/raw_coding/tip
Linode ? https://www.linode.com/rawcoding
#csharp #aspnetcore #auth
...
https://www.youtube.com/watch?v=RBMO_hruKaI
In this video I show you how you can build your own mocking library so you don't have to beg maintainers of libraries to behave a certain way.
Support my Work ? https://www.patreon.com/raw_coding
Buy my Courses ? https://learning.raw-coding.dev
Buy my Merch ? https://shop.raw-coding.dev
Join the Community ? https://discord.gg/Qp6hdq3
Tweet Tweet ? https://twitter.com/anton_t0shik
Tune in LIVE! ? https://www.twitch.tv/raw_coding
#csharp #mocking #moq
...
https://www.youtube.com/watch?v=AgjTl2rRPoc
In this video I show my reasons for not using MediatR package. The bottom line is it gives me more maintainable code, specifically less code mass, readable control flow, faster code and one less dependency.
Patreon ? https://www.patreon.com/raw_coding
Courses ? https://learning.raw-coding.dev
Shop ? https://shop.raw-coding.dev
Discord ? https://discord.gg/Qp6hdq3
Twitter ? https://twitter.com/anton_t0shik
Twitch ? https://www.twitch.tv/raw_coding
#csharp #mediatr #aspnetcore
...
https://www.youtube.com/watch?v=gIVtrBtR-Yw
.NET Aspire is a way to define your distributed system, and then IaC & Deployment tooling have to pick up the slack getting your definition out there, is this a good thing?
Support my Work ? https://www.patreon.com/raw_coding
Buy my Courses ? https://learning.raw-coding.dev
Buy my Merch ? https://shop.raw-coding.dev
Join the Community ? https://discord.gg/Qp6hdq3
Tweet Tweet ? https://twitter.com/anton_t0shik
Tune in LIVE! ? https://www.twitch.tv/raw_coding
#aspnetcore #csharp
...
https://www.youtube.com/watch?v=ALR9NnlmL_c
In this episode we take a look at how the refresh token works and how to refresh access tokens.
Razor Compilation: Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation
Source: https://github.com/T0shik/aspnetcore3-authentication
Shop ? https://shop.raw-coding.dev
Twitch ? https://www.twitch.tv/raw_coding
Discord ? https://discord.gg/R9A8yq4
Github ?️ https://github.com/T0shik
Twitter ? https://twitter.com/anton_t0shik
Instagram ? https://www.instagram.com/anton_t0shik/
Patreon ? https://www.patreon.com/raw_coding
Donate ? https://streamelements.com/raw_coding/tip
Linode ? https://www.linode.com/rawcoding
#csharp #aspnetcore #auth
...
https://www.youtube.com/watch?v=POGXYbqhL3M
In this episode we take a look at some refactoring functionalities that I use often or when needed are very useful.
0:56 - Method Signature
2:54 - Interface Implementation
3:26 - Class Extraction
4:28 - Transforming Parameters
6:10 - Apply Refactor Action
7:01 - Code Improvements
9:40 - Search Refactor
1. Download Rider
https://www.jetbrains.com/rider/
2. Trial Extension Code
RD5K9-4TXXW-KMV3G-NYWSF-3ZSTP
3. Redeem the Code Here:
https://www.jetbrains.com/store/redeem/
4. More help on the Rider Software:
https://www.jetbrains.com/help/rider
https://www.jetbrains.com/dotnet/guide/
Social:
Twitch: https://www.twitch.tv/raw_coding
Discord: https://discord.gg/R9A8yq4
Github: https://github.com/T0shik
Twitter: https://twitter.com/anton_t0shik
Instagram: https://www.instagram.com/anton_t0shik/
Support:
Patreon: https://www.patreon.com/raw_coding
Donate: https://streamelements.com/raw_coding/tip
Affiliate Links
Shared Hosting or ASP.NET Core: http://www.SmarterASP.NET/index?r=Toshik
Kojos Trick Lab (Tricking Tutorials) - https://www.kojostricklab.com/?wpam_id=93
...
https://www.youtube.com/watch?v=EYXyj_Ilrg0