- 218
- 4 836 706
Patrick God
Germany
Registrace 30. 11. 2012
Teaching .NET & Blazor in a (hopefully) simple and fun way. Any requests? Tell me in the comments, please. Happy coding! đ
.NET 9 Changes The Way You're Using Dependency Injection with Blazor Forever đ„
đ Join the .NET Web Academy: learn.dotnetwebacademy.com
đ Support me on Patreon for exclusive source code access: patreon.com/_PatrickGod
đŠ Let's get social on Twitter/X: _PatrickGod
đ Let's connect on LinkedIn: www.linkedin.com/in/patrickgod/
đ Get the .NET 8 Web Dev Jump-Start Course for FREE: dotnet8.patrickgod.com
đ Support me on Patreon for exclusive source code access: patreon.com/_PatrickGod
đŠ Let's get social on Twitter/X: _PatrickGod
đ Let's connect on LinkedIn: www.linkedin.com/in/patrickgod/
đ Get the .NET 8 Web Dev Jump-Start Course for FREE: dotnet8.patrickgod.com
zhlĂ©dnutĂ: 4 062
Video
File Uploads with Blazor SSR (Static Server-Side Rendering) in .NET 8đ„ EditForm & Classic HTML Form
zhlĂ©dnutĂ 1,7KPĆed 19 hodinami
đ Join the .NET Web Academy: learn.dotnetwebacademy.com đ Support me on Patreon for exclusive source code access: patreon.com/_PatrickGod đŠ Let's get social on Twitter/X: _PatrickGod đ Let's connect on LinkedIn: www.linkedin.com/in/patrickgod/ đ Get the .NET 8 Web Dev Jump-Start Course for FREE: dotnet8.patrickgod.com #DotNet #Blazor #AspNetCore
Unique Properties in ASP.NET Core Identity đ
zhlĂ©dnutĂ 2,8KPĆed 14 dny
đ Join the .NET Web Academy: learn.dotnetwebacademy.com đ Support me on Patreon for exclusive source code access: patreon.com/_PatrickGod đ Get the .NET 8 Web Dev Jump-Start Course for FREE: dotnet8.patrickgod.com đŠ Let's get social on Twitter/X: _PatrickGod đ Let's connect on LinkedIn: www.linkedin.com/in/patrickgod/ #DotNet #Blazor #AspNetCore
New LINQ Methods in .NET 9 đ
zhlĂ©dnutĂ 3,6KPĆed 21 dnem
đ Join the .NET Web Academy: learn.dotnetwebacademy.com đ Support me on Patreon for exclusive source code access: patreon.com/_PatrickGod đŠ Let's get social on Twitter/X: _PatrickGod đ Let's connect on LinkedIn: www.linkedin.com/in/patrickgod/ đ Get the .NET 8 Web Dev Jump-Start Course for FREE: dotnet8.patrickgod.com
This C# Feature Is Everywhere, and You Didn't Even Notice!
zhlĂ©dnutĂ 3,6KPĆed 28 dny
đ Join the .NET Web Academy: learn.dotnetwebacademy.com đ Support me on Patreon for exclusive source code access: patreon.com/_PatrickGod đŠ Let's get social on Twitter/X: _PatrickGod đ Let's connect on LinkedIn: www.linkedin.com/in/patrickgod/ đ Get the .NET 8 Web Dev Jump-Start Course for FREE: dotnet8.patrickgod.com
How SEO Works With Each Blazor Render Mode in .NET 8 đ„
zhlĂ©dnutĂ 2,5KPĆed mÄsĂcem
đ Join the .NET Web Academy: learn.dotnetwebacademy.com đ Support me on Patreon for exclusive source code access: patreon.com/_PatrickGod đŠ Let's get social on Twitter/X: _PatrickGod đ Let's connect on LinkedIn: www.linkedin.com/in/patrickgod/ đ Get the .NET 8 Web Dev Jump-Start Course for FREE: dotnet8.patrickgod.com #DotNet #Blazor #AspNetCore
Create Cascading Dropdowns with Blazor in .NET 8 đ„
zhlĂ©dnutĂ 5KPĆed mÄsĂcem
đ Join the .NET Web Academy: learn.dotnetwebacademy.com đ Support me on Patreon for exclusive source code access: patreon.com/_PatrickGod đŠ Let's get social on Twitter/X: _PatrickGod đ Let's connect on LinkedIn: www.linkedin.com/in/patrickgod/ đ Get the .NET 8 Web Dev Jump-Start Course for FREE: dotnet8.patrickgod.com #DotNet #Blazor #AspNetCore
Build a Real-Time App with Blazor & SignalR in .NET 8 đ„
zhlĂ©dnutĂ 8KPĆed mÄsĂcem
đ Join the .NET Web Academy: learn.dotnetwebacademy.com đ Support me on Patreon for exclusive source code access: patreon.com/_PatrickGod đŠ Let's get social on Twitter/X: _PatrickGod đ Let's connect on LinkedIn: www.linkedin.com/in/patrickgod/ đ Get the .NET 8 Web Dev Jump-Start Course for FREE: dotnet8.patrickgod.com 00:00:00 Introduction 00:01:30 Creating a Project & a GameHub 00:0...
Save Hours Of Struggle Knowing How To Solve This Blazor SSR (Static Server Side Rendering) Issueđ„
zhlĂ©dnutĂ 3,5KPĆed mÄsĂcem
đ Join the .NET Web Academy: learn.dotnetwebacademy.com đ Support me on Patreon for exclusive source code access: patreon.com/_PatrickGod đ Get the .NET 8 Web Dev Jump-Start Course for FREE: dotnet8.patrickgod.com đŠ Let's get social on Twitter/X: _PatrickGod đ Let's connect on LinkedIn: www.linkedin.com/in/patrickgod/ #DotNet #Blazor #AspNetCore
Blazor Devs, Beware of This Looping Error!đ„
zhlĂ©dnutĂ 3,4KPĆed 2 mÄsĂci
đ Join the .NET Web Academy: learn.dotnetwebacademy.com đ Support me on Patreon for exclusive source code access: patreon.com/_PatrickGod đ Get the .NET 8 Web Dev Jump-Start Course for FREE: dotnet8.patrickgod.com đŠ Let's get social on Twitter/X: _PatrickGod đ Let's connect on LinkedIn: www.linkedin.com/in/patrickgod/ #DotNet #Blazor #AspNetCore
This Blazor Issue Could Ruin Your Project đ„ Learn How to Avoid It!
zhlĂ©dnutĂ 12KPĆed 2 mÄsĂci
đ Join the .NET Web Academy: learn.dotnetwebacademy.com đ Support me on Patreon for exclusive source code access: patreon.com/_PatrickGod đ Get the .NET 8 Web Dev Jump-Start Course for FREE: dotnet8.patrickgod.com đŠ Let's get social on Twitter/X: _PatrickGod đ Let's connect on LinkedIn: www.linkedin.com/in/patrickgod/ #DotNet #Blazor #AspNetCore
A Better Way to Transfer Your Objects in .NET đ
zhlĂ©dnutĂ 9KPĆed 2 mÄsĂci
đ Join the .NET Web Academy: learn.dotnetwebacademy.com đ Support me on Patreon for exclusive source code access: patreon.com/_PatrickGod đ Get the .NET 8 Web Dev Jump-Start Course for FREE: dotnet8.patrickgod.com đŠ Let's get social on Twitter/X: _PatrickGod đ Let's connect on LinkedIn: www.linkedin.com/in/patrickgod/ #DotNet #AspNetCore #WebAPI
Entity Framework Code-First Migration Mistakes in .NET 8 & How to Fix Them đĄ
zhlĂ©dnutĂ 4KPĆed 2 mÄsĂci
đ Join the .NET Web Academy: learn.dotnetwebacademy.com đ Support me on Patreon for exclusive source code access: patreon.com/_PatrickGod đ Get the .NET 8 Web Dev Jump-Start Course for FREE: dotnet8.patrickgod.com đŠ Let's get social on Twitter/X: _PatrickGod đ Let's connect on LinkedIn: www.linkedin.com/in/patrickgod/ #DotNet #AspNetCore #EntityFramework
.NET Mistakes That Happen Too Often (Not Only to Beginners!) â ïž
zhlĂ©dnutĂ 3,9KPĆed 3 mÄsĂci
đ Join the .NET Web Academy: learn.dotnetwebacademy.com đ Support me on Patreon for exclusive source code access: patreon.com/_PatrickGod đ Get the .NET 8 Web Dev Jump-Start Course for FREE: dotnet8.patrickgod.com đŠ Let's get social on Twitter/X: _PatrickGod đ Let's connect on LinkedIn: www.linkedin.com/in/patrickgod/ #DotNet #AspNetCore #WebAPI
What Exactly is a Webhook & How Do You Build One with .NET? đ
zhlĂ©dnutĂ 5KPĆed 3 mÄsĂci
đ Join the .NET Web Academy: learn.dotnetwebacademy.com đ Support me on Patreon for exclusive source code access: patreon.com/_PatrickGod đ Get the .NET 8 Web Dev Jump-Start Course for FREE: dotnet8.patrickgod.com đŠ Let's get social on Twitter/X: _PatrickGod đ Let's connect on LinkedIn: www.linkedin.com/in/patrickgod/ #DotNet #Webhook #WebAPI
It's the Fastest Way with Blazor, Really đ
zhlĂ©dnutĂ 7KPĆed 3 mÄsĂci
It's the Fastest Way with Blazor, Really đ
Here's the Best Architecture for Your Blazor Web Apps in .NET 8 đ„
zhlĂ©dnutĂ 28KPĆed 3 mÄsĂci
Here's the Best Architecture for Your Blazor Web Apps in .NET 8 đ„
.NET Web Academy đ Now Open for Enrollment!
zhlĂ©dnutĂ 2,2KPĆed 3 mÄsĂci
.NET Web Academy đ Now Open for Enrollment!
This Little-Known C# Feature Will Change How You Code đ»
zhlĂ©dnutĂ 6KPĆed 3 mÄsĂci
This Little-Known C# Feature Will Change How You Code đ»
Forms with .NET 8 Blazor SSR (Static Server-Side Rendering) & Enhanced Navigationđ„
zhlĂ©dnutĂ 7KPĆed 4 mÄsĂci
Forms with .NET 8 Blazor SSR (Static Server-Side Rendering) & Enhanced Navigationđ„
.NET 8 Blazorđ„All Render Modes (SSR, Server, WebAssembly, Auto) Explained for Beginners
zhlĂ©dnutĂ 17KPĆed 4 mÄsĂci
.NET 8 Blazorđ„All Render Modes (SSR, Server, WebAssembly, Auto) Explained for Beginners
String Interpolation & Raw String Literals in C# đ Best Practices for Beginners
zhlĂ©dnutĂ 2,9KPĆed 4 mÄsĂci
String Interpolation & Raw String Literals in C# đ Best Practices for Beginners
Delegates & Events in C# Explained for Beginners (a little of Event-Driven Development)đ
zhlĂ©dnutĂ 16KPĆed 4 mÄsĂci
Delegates & Events in C# Explained for Beginners (a little of Event-Driven Development)đ
What's the Ternary Conditional Operator in C#?
zhlĂ©dnutĂ 3,7KPĆed 4 mÄsĂci
What's the Ternary Conditional Operator in C#?
Build a Chat with SignalR & Blazor WebAssembly in .NET 8 đ
zhlĂ©dnutĂ 8KPĆed 4 mÄsĂci
Build a Chat with SignalR & Blazor WebAssembly in .NET 8 đ
CRUD with the Blazor WebAssembly Render Mode in .NET 8 đ„
zhlĂ©dnutĂ 14KPĆed 5 mÄsĂci
CRUD with the Blazor WebAssembly Render Mode in .NET 8 đ„
CRUD with the Blazor Server Render Mode in .NET 8 đ„
zhlĂ©dnutĂ 11KPĆed 5 mÄsĂci
CRUD with the Blazor Server Render Mode in .NET 8 đ„
To Prerender or Not To Prerender đ„ .NET 8 & Blazor Server/WebAssembly/Auto Render Mode
zhlĂ©dnutĂ 6KPĆed 5 mÄsĂci
To Prerender or Not To Prerender đ„ .NET 8 & Blazor Server/WebAssembly/Auto Render Mode
The Options Pattern in a .NET 8 Web API đ Better than using IConfiguration?
zhlĂ©dnutĂ 7KPĆed 5 mÄsĂci
The Options Pattern in a .NET 8 Web API đ Better than using IConfiguration?
CRUD with Blazor SSR (Static Server-Side Rendering) in .NET 8 đ„
zhlĂ©dnutĂ 16KPĆed 6 mÄsĂci
CRUD with Blazor SSR (Static Server-Side Rendering) in .NET 8 đ„
This tutorial saved my life. Thank you.
Just started using blazer 8 and itâs been driving me crazy. This is exactly what I needed. Thank you sir
I actually find constructor inyection pretty unreadable so I don't think I'll start using it in blazor if they give me the choice.
thank you, there are not much reference about blazor and quickgrid
Same coder for request keyedservices ?
Finally :)
Thank you for the update
Great, so we now have constructor injection, which was sorely needed. Is this truly only for the code-behind? The reason I ask, is for nullability concerns. Without constructors, in the razor file or code-behind, this forced us to mark internal fields as nullable, simply because we were initializing them in OnInitialized(). Now that we have constructor injection, we shouldn't need to mark as many fields as nullable, but only if constructor injection is available in the razor file as well. What say you?
Can you use the new class level constructor in c# to avoid having to create the constructor and private variable. E.g.: class Home (IMyService MyService)?
I would like to know this as well. Or else, this new, better way of DI would reintroduce a nasty side-effect I was glad we got rid of by using the primary constructors: the underscore
awesome content
You can also use constructor injection in the ".razor" file not only in ".razor.cs" file.
Does this resolved as scoped, transient or singleton service?
Depends which way you registered it in the program.cs.
Hey Patrick, is it worth to change my .net 6 api to use the identity resources on .net 8? Or isnt that difference that big?
Is it worth it to change my .net 6 API to use identity's resources on .net 8? Or this difference isnt that big?
finally they thought about this.
would you recommend blazor or django for fast development?
No! If you want to build fast application, you should using php
absolutely amazing content
Yesssss!
How can we mock a dependency which is injected through attribute. Since the class members would have to be protected or public for mocking it. Isn't that against OOP Principles?
Hello Patrick. Thank yor for this video.
Hi Patrick, first thank you. can you please explain why this approach is better than the [inject]-approach ?
I wouldn't say better, but I'm not expert so maybe there's something I'm not seeing that can be done this way and not the previous one. What I can say is that it's a far more coherent way to do it as it resonates with how DI is done in every other type of .NET class that is not a razor component.
Really thank you Patrick, saving my times. I already observe there is something wrong /unusual behavior of new .Net 8 Blazor Web App
thanks!
Hi Patrick! I can't figure out how to change the time the token expires from 3600 to something like 30 days. I tried even to ask Copilot but it gives me wrong source code to change it. I even told it that I am using .NET 8. If you could give me a hint how to do it in .NET 8 it be great.
Brilliant video. Thanks a lot.
Thank you. I hope you will make Role-based authorization for .net 8 in a web API
Not well explained...
Thank you Very much for this amazing video
Great tutorial Patrick, as always!! Quick question, how do you get that Bootstrap autocompletion? I saw the letter "B" prefixing the bootstrap related suggestions. And it seems to appear only when you type the word "Class" within the html section of the page. How do you get that? Thanks!
Very good! Do you have example code in git? I wanted to see the file 'PersistingRevalidatingAuthenticationStateProvider.cs'. Thanks.
What about m2m and reference tokens? Also what about protecting api resources and using introspection to authenticate tokens? Also what about scopes
Thanks that was really helpful.
Excellent video, as usual!!! Thank you.
Thankyou! Have been driving myself nuts trying to figure this out. I don't understand Microsofts reasoning here, pure WASM apps are toys without access to a server apie.
It always amazes me that folks demoing CRUD with blazor, Implement Delete without any confirmation dialog whatsoever. Not exactly Production ready.
It wasn't intended to be production ready, but rather to demonstrate the core principles of this interaction render mode in the context of CRUD ops.
Sorry to be late to the comments. How would your Architecture work with MS Identity? Its heavily tied to both AspNet and EF. So how can you create a DataContext inside the Infrastructure Layer that has all these AspNet dependencies?
What is your favorite .NET book, for not only learning basics but a bit more advanced? I've just started working my way through "C# 12 and .NET 8 - Modern Cross-Platform Development Fundamentals" by Mark J. Price
ti amo grazie a te posso adottare coccioli yeahh
Thank you so much. What is the name of the community on twitter?
Not sure if anyone has insight on this but I am making a Blazor wasm / server app that can work online and offline. I have a page in the client that I specify the render mode as InteractiveWebAssembly and when I go to the page none of the methods get called like if I click a button, nothing happens, breakpoints not hit etc. But when I convert it to a component and specify the render mode on the component like <Mycomponent @rendermode =...> then it works and methods are hit. Anyone got any idea why that is?
Excellent! Thank you so much! Tried it my side and it works well. One question, how can I get access to the current user's logged in details (more specifically the added properties?
Thanks!
Thank YOU! Very kind of you! â€ïž
Thank you.â€
You are so welcome
Hi Patrick, love your teaching approach, thank you so much.
Como fazer isso de deferĂȘncia do chrome
@patrickgod Nice video bro, I make web Api for file upload and hosted in Linux ubuntu vps, but I got an error Method not allowed (405 I think this code). Why this error bro, I run in VS2022 from windows its working fine. can you please explain bro.
what is a reposiitory? a code repositiory? or somethnig dfiferent? also could youu show how to implement a service and a repository? can't fiind any info really onlinie, just argumments by people
Hi, You saved my mental health! :-) This is really good stuff. Thank you very much.
Happy to help! đ
@@PatrickGod My joy was a bit premature :-( No matter what I try, when attempting to call an action in the API controller, I get the message: Cannot establish a connection because the target computer actively refuses it. (localhost:7270) Can You help?
after I set user secrets, I have error "NETSDK1082: There was no runtime pack for "Microsoft.AspNetCore.App" available for the specified RuntimeIdentifier 'browser-wasm'.", any leads?