ASP.NET Core C# Integration Testing - Mocking Cookie Authentication
Raw Coding
How to mock cookie authentication? Step by step explanation which things to pay attention to and how to arrive to a clean working solution.
Timestamps 00:00 Introduction 02:50 Tests Setup 09:35 Code Exploration 20:15 Mocking IAuthenticationSchemeProvider 36:30 Mocking Claims
Integration Testing Introduction: https://youtu.be/OPEC_7J1LOw Middleware: https://youtu.be/xWWj0zGKS-k Dependency Injection: https://youtu.be/NkTF_6IQPiY Playlist: https://www.youtube.com/playlist?list=PLOeFnOV9YBa4Q1a7V5jWTGG9RSpKMYTpK Source: https://github.com/raw-coding-youtube/testing-101
dotPeek: https://www.jetbrains.com/decompiler/ Rider trial extension:
- Code: RD5K9-4TXXW-KMV3G-NYWSF-3ZSTP
- Redeem: www.jetbrains.com/store/redeem/
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 #testing #aspnetcore ... https://www.youtube.com/watch?v=b1-KG_x-Y5Q
186908071 Bytes