Numeric data types
12:45
3 ай бұрын
How CRUD Mentality Ruins Your App
11:23
Microfrontends with Blazor
13:16
8 ай бұрын
Why Do I Sponsor OSS Projects?
9:03
You Are Using HttpClient Wrong
9:06
Пікірлер
@TheinTunZaw-uj1un
@TheinTunZaw-uj1un 10 сағат бұрын
Can i call the stored procedures of SQL Server of Azure via serverless functions?
@user-vv3fm1nn9j
@user-vv3fm1nn9j 17 сағат бұрын
i''ve gone through this step by step. It's a good class, but there are a few KEY things done behind the scenes that aren't shown and it has my application running into a lot of errors. I'm not understanding how you have IdentityUserLogin in the configurations and not IdentityUser. Really wish there was more clarity. But thanks anyways
@nasih6474
@nasih6474 Күн бұрын
Just want to ask..i read before people said dont try implement your own authentication but use like azure ad...i am abit confuse to implement which method in my application
@bradmca2022
@bradmca2022 Күн бұрын
00:01 Creating professional API clients for .NET applications 01:46 Building API clients in .NET using Refit library 03:15 Refit allows creating professional API clients in minutes 04:51 Rapid API client configuration is straightforward and utilizes common patterns. 06:25 Creating API client library requires multiple classes 07:57 Setting up and using Mentor API options in .NET 09:31 Configuring HTTP client Factory 11:10 Designing the API client for ease of resource management Crafted by Merlin AI.
@VinhPham-hz8ny
@VinhPham-hz8ny 3 күн бұрын
Thank you for the great tutorial. I don't know why many tutorial is only showing the unsecure way. Why can we do one that show actual authenticated request?
@patsy02
@patsy02 3 күн бұрын
What are the practical benefits of having separate DataAccess, Domain, and Application projects? Why not just organise with folders/namespaces and classes inside the api project?
@manojnaik5643
@manojnaik5643 3 күн бұрын
Hi Sir, I am working on client server interactive mode blazor project and could not persist the user login details state even using middleware, can you please guide on same.
@rorypayne642
@rorypayne642 3 күн бұрын
Do we handle this the same way if we're authenticating with Azure AD? I tried to implement what you suggest but I'm still not hitting the RedirectToLogin component
@manojnaik5643
@manojnaik5643 4 күн бұрын
Good explanation here, have tried same way but custom authentication state is not persist after redirect to different page using interactive auto render mode.
@adelmourad8024
@adelmourad8024 4 күн бұрын
I have really enjoyed every minute of the discussion, although it took me ~2.5 hours to complete it. I'm eagerly waiting for the next event about modular monolith. Thank you very much for the time and effort and for sharing this with us on KZbin :) ---- I would be grateful if you could share the slides with us.
@cmo4ever
@cmo4ever 6 күн бұрын
WHen I try this, or any redirect from program.cs, I am getting a Console error of failing to load _framework/Blazor.web.js < unexpected token. This only happens with redirects from program. I cannot figure out why.
@manojnaik5643
@manojnaik5643 6 күн бұрын
nice demonstration on this things, need an urgent help on creating user identity and maintain state using client server interactive auto mode, did not find any correct documentation on this, user session process made very complicated by ms. need help on this.
@andreas7944
@andreas7944 7 күн бұрын
Maybe you want to have a look at the Nuget package OneOf for discriminated unions as replacement for your Result-class. I think you may enjoy it.
@andyellis7051
@andyellis7051 8 күн бұрын
This is the best video I could find on this. Thanks for tour help.
@alirezaalizadehkalantari6200
@alirezaalizadehkalantari6200 9 күн бұрын
Great video! Thank you so much man!
@JPScerri
@JPScerri 9 күн бұрын
Thanks for the EXCELLENT video explaining .Net 8 Blazor Authentication. You make it feel so simple! But I need to go a bit further. I have 3 applications and need to have a common Login Authentication and need to jump from one app to another. If I logout from on app then it has to logout on the others too (the same way you explained on the different tabs). How can I achieve this please? JP
@bizneslupa3629
@bizneslupa3629 10 күн бұрын
Thank you very much, you are Excellent teacher and coder, nobody can do it better than you. You show hard topics in easy way.
@sniperated
@sniperated 10 күн бұрын
So.. the only point of a/a is to not freeze the UI. Isn't async/ await naming a bit misleading? Wouldn't have be better something like "var xyz = dontfreezeui DoLongJob();"? And, as it is a bit obvious that we don't ever want to freeze the UI, why isn't this by default? And last, using Task.Run(...), if I understand correctly, achive the same because you are forcing the operation on an other thread. So, it's the same, unless you have just one thread?
@jmarbutt23
@jmarbutt23 10 күн бұрын
Thanks!
@justfair4181
@justfair4181 11 күн бұрын
The video is not up to date or is a modified Blazor Server app or even a Blazor Server app created from .NET 7 migrated to .NET8 later. There is no InteractiveServer rendermode in Blazor Server in .NET8 . Also under Pages in the video I am not seeing _Host.cstml file.
@Codewrinkles
@Codewrinkles 10 күн бұрын
Sorry, but you're totally off on this one. The entire model has changed in .NET 8 and everything is SSR by default. Even if youwant to create a Blazor Server application it just creates a Blazor SSR one (for auth components) and adds server interactivity globally via an if check. Same goes for assembly. I also have a video on getting started with Blazor on .NET 8. I think that one might be really useful.
@justfair4181
@justfair4181 9 күн бұрын
@@Codewrinkles You are right on this word: you're 'totally' wrong. Please read my comments again. I am using .NET since 2003 and these days I'm under . NET 8. so 100% you're wrong.
@Angelrush91
@Angelrush91 12 күн бұрын
Hi, how would you go around publishing this application and still use this way of login, do i need to migrate the user db context? Great video, have been looking for something like this!
@marekiaro636
@marekiaro636 12 күн бұрын
Sorry Dan, Why didn't you extend the Identity user to the athlete? Is it for your specific app?
@skelaw
@skelaw 13 күн бұрын
I appreciate your work
@EniloracCodes
@EniloracCodes 13 күн бұрын
Thank you for the clear explanation!
@EniloracCodes
@EniloracCodes 14 күн бұрын
Thank you for this video. Very nice explanation and you always teach me something new!
@pramod.kulkarni9607
@pramod.kulkarni9607 14 күн бұрын
Hi, iI want to know is that okey if we create appdbcontext in background service like this because it will create new service for every 30 seconds if my background service is triggering for every30 seconds creating app db context like this, WILL THIS NOT EFFECT SYSTEM...?
@Jabby97
@Jabby97 15 күн бұрын
HOw would i make it so i can make already registered users an admin instead of making it on create account?
@Jabby97
@Jabby97 15 күн бұрын
Fantastic video, easy to follow. Thank you <3
@spudhead70
@spudhead70 15 күн бұрын
Great video as always! Goes a bit fast in the Azure section as I find the menus in that very confusing and unintuitive! Also, minutes (1-6) of the video you could just right-click on the project and 'Add' Docker Support - boom!
@shabanelmogy7912
@shabanelmogy7912 16 күн бұрын
i need example if i use api and jwt with blazor server how can i implement RevalidatingServerAuthenticationStateProvider
@YngvinLion
@YngvinLion 16 күн бұрын
throwing exceptions has never been so much fun, thx)) Great video, very clear explanation and good comparison!
@wusswuzz5818
@wusswuzz5818 17 күн бұрын
I was getting this error "System.ArgumentException: IDX12401: Expires:[somedate] must be after NotBefore[somedate]:" In identityService.cs changing "Expires = DateTime.Now.AddHours(2)" to "Expires = DateTime.UtcNow.AddHours(2)" is one of the ways that resolved it for me. Very helpful video.
@zohirbensalem7622
@zohirbensalem7622 18 күн бұрын
Very good explained ..Thanks So Much and Good Luck .hope you will bring to us code in github or any thing else. that will help me
@Ghani-zm8yy
@Ghani-zm8yy 18 күн бұрын
.
@viktoreigenseer3401
@viktoreigenseer3401 20 күн бұрын
I watched a video about Crud Apis 2-3 years ago. I really liked the content. Now i typed azure logging and yeah, saw you again. Looks so professional now. Thanks for the content, great stuff again. GJ & GL
@Codewrinkles
@Codewrinkles 20 күн бұрын
Welcome back!
@Tamer_Ali
@Tamer_Ali 22 күн бұрын
Thanks a lot for that awesome video why don't lazy loading/eager loading the Repositories in the UnitOfWork implementation to load what we need only instead of inject them in the constructor?
@Codewrinkles
@Codewrinkles 22 күн бұрын
Because in my opinion the complexity to do that doesn't justify doing it. That's not where performance bottlenecks in applications happen.
@ambassadorofserotonin8957
@ambassadorofserotonin8957 22 күн бұрын
Thanks for another template. It was really needed
@Codewrinkles
@Codewrinkles 22 күн бұрын
Glad you like it!
@shakhriyorakhadov8244
@shakhriyorakhadov8244 22 күн бұрын
Is there source code?
@Codewrinkles
@Codewrinkles 22 күн бұрын
As I mentioned in the video all Codewrinkles Ambassador members and higher get the source code after each video. Please join as a member and check then the Membership tab on the channel homepage for info
@saber.tabatabaee
@saber.tabatabaee 23 күн бұрын
thank you very much. very very very good cbt here. congress. i enjoy it very much. is there any github repo there for codes that you write?
@EniloracCodes
@EniloracCodes 23 күн бұрын
Thank you for this video. It's very helpful to see an entire app with clean architecture. I would love to see the video on the Angular front end. In general, do you recommend WebAPI plus Angular front end over other things like MVC or Razor pages?
@Codewrinkles
@Codewrinkles 23 күн бұрын
I wouldn't say I recommend that. Having an API in the backend and a SPA on the front (either React, Angular and Vue) is a common architectural choice during the last 10 years. It has some advantages if you want to decouple your frontend from your backend, usually for scaling purposses, but it also brings a lot of complexity and additional latency due to countless HTTP calls. Also, if I would develop for Windows and rely on Windows Auth, AD and so on, MVC or Blazor would be probably my choice. In this order :)
@o_glethorpe
@o_glethorpe 22 күн бұрын
In my opinion, having an API with all the business logic serving dummy clients (Angular, React, Android, iOS) is still the way to go. However, if you know for sure that you will only have a web client, I would go with MVC/Razor. I can't recommend Blazor because, at least for me, I can't expect my clients to download 10MB to use my project.
@EniloracCodes
@EniloracCodes 22 күн бұрын
@@Codewrinkles Thank you very much! That clarifies a lot for me. Do you have any thoughts on using the scaffolded Identity in combination with AD? I typically only rely on AD for my user information and roles but I've seen some people like to combine the two and I wasn't sure if there's a good reason for that.
@pilotboba
@pilotboba 21 күн бұрын
@@o_glethorpe "blazor" is a loaded term now that .Net 8 is out. You can have SSR blazor and it is supper fast, doesn't need a persistent connection at all. You can use advance navigation to make it really responsive. It solves a lot of the issues you run into with fully javascript SPA client and you can do 99% of the app without writing javascript at all.
@adedoyinphilip8647
@adedoyinphilip8647 24 күн бұрын
Thank you
@teamnotleafy6887
@teamnotleafy6887 24 күн бұрын
Too quick for a beginner to .NET
@user-vi7xn1tj9f
@user-vi7xn1tj9f 24 күн бұрын
Very nice, but still a workaround of sorts. Would be nice all those features to be exposed without writing all of the extra code.
@pdrferrari
@pdrferrari 25 күн бұрын
THE IMPLICIT OPERATOR WAS MIND BLOWING
@helshabini
@helshabini 25 күн бұрын
Is there a way to ONLY use external authentication is this type of project? I simply have a single IDP that I need to authenticate against with OIDC. I've managed to accomplish that but I have two problems: 1- Is there a way to implement refresh tokens? 2- Logout is broken. It just won't remove the cookie no matter what I do. A tutorial on how to do that would be greatly appreciated.
@Mohamed-pu7so
@Mohamed-pu7so 26 күн бұрын
You're explanation is insanely awesome, no one talks about the n-layered architecture like you! they often put their domain models inside the Data Access layer!!! Not like you separated the domain model into a specific layer and made it below the Data Access layer so BAL and DAL both can use it. Thank you, sir.
@somatichuman8752
@somatichuman8752 29 күн бұрын
Most strange thing to me is when you are using IResult, the final response is wrapped in the special object with fields like: status, errors, traceId.... . So, for example lets take an implementation of pagination. The props like pageNumber and pageCount must be presented in the final response. So We have to create another level of wrappers for your response or change the IResult wrapper object. How can we put the pageNumber and pageCount prop inside IResult wrapper object?
@saber.tabatabaee
@saber.tabatabaee Ай бұрын
very usefull. very good thank you very much in this world and hope all best wishes in the future worlds
@MilvioLuA
@MilvioLuA Ай бұрын
Indeed it fixes. However, when you switch to @rendermode @(new InteractiveServerRenderMode(prerender:false)), you're indicating that you want to disable prerendering. Prerendering can sometimes cause issues with JavaScript execution because the page content is generated on the server and sent to the client before JavaScript can fully load and execute. This can lead to JavaScript code not finding elements it expects to interact with. I know you can do OnAfterRenderAsync and call your js functions there, but it can be a pain for apps that are migrating to Blazer and already have extensive javascript. This is still the best way to fix it so far.
@abuuthmaan
@abuuthmaan Ай бұрын
You're the man, Dan! This is the best tutorial on the topic I've found.