That's a great tutorial. Short and straight forward no wasting time
@aaqilansari57023 сағат бұрын
Shawn, everything works fine except for the identity default api endpoints which are protected e.g. manage/info doesn’t work with the bearer token and it works only with the generated cookie. Login endpoint is working fine. But once we are logged in and get the bearer token then all the identity api endpoints should be accessible with that bearer token. But the protected ones aren’t working. Any suggestions how to get it working with that bearer token and not the cookies which are http only tokens
@michaeIbonqКүн бұрын
thank you so much!!!
@anascimentoКүн бұрын
Thank you so much for this content, it helped me a lot. Regards from Brazil.
@kinsondigital2 күн бұрын
Great explanation!! Love it!
@swildermuthКүн бұрын
So glad!
@thygrrr2 күн бұрын
Lol, historical refactoring / back porting to various dialects? Super nerd content. I love it.
@RobertSagoe2 күн бұрын
Your explanation is clear and concise, making the process easy to understand. Thank you for the details and excellent graphical explanation .. really helpful
@swildermuth2 күн бұрын
Glad you enjoyed it!
@theAutomaTom2 күн бұрын
Thanks for this part of the chat! I would love to hear more about how the Asp project must be acting as the pwa's server. It's got me a little stumped, and the plugin's deploy docs don't include .Net. You are the best! 👉👉💯
@nickguerra84603 күн бұрын
Nice explanation. It helped clarify a few things. Thank you for your efforts!
@swildermuth3 күн бұрын
You are welcome!
@otrieZ3 күн бұрын
This is really useful thanks!
@LUNTE13373 күн бұрын
Excellent explanation and visualization!
@swildermuth3 күн бұрын
Glad you liked it!
@adsfaedaer4 күн бұрын
when the stack pops what happens to a struct - which is a value type - that contains a string. is the string immediately culled (because the struct has been cleaned up) or does it wait around for the GC? - also how many pancakes where consumed after you did this ?
@swildermuth3 күн бұрын
any reference types that the struct is holding on to will be released to the GC but not disappear immediately. The Struct is a value type but it doesn't promote members of the struct to value types, remember the reference types in the struct are just the addresses of the reference types in the heap. Does that make sense?
@heavypeki3 күн бұрын
@@swildermuth Perfectly makes sense. Struct in itself is a value type, but isn't responsible for its own members which could be address pointer.
@williamliu89854 күн бұрын
Is it able to see if the target is in stack or heap when debugging?
@swildermuth3 күн бұрын
I don't see a way, but of course, you can see the type (and infer it's on the stack) - might want to look at C# boxing too (essentially making a reference to a value type so that it becomes a reference type).
@williamliu89853 күн бұрын
@@swildermuth Thanks! It would be nice if their locations were clearly indicated in the debugger so that programmers don't have to guess about such a basic but important concept.
@noops21104 күн бұрын
Awesome tutorial! Every other FluentValidation tutorial is copy/ pasting from the documentation site which is ok but might just help the beginners. This one helps the advanced users too! Kudos!
@TomislavKimovski5 күн бұрын
Brilliant, thanks Shawn.
@abouttimebrewing32155 күн бұрын
Excellent, thank you! I've been a software engineer since 1981 and I started writing code in machine language and punching the finished product onto cards. Yikes! I moved to C when the company started running Bell UNIX which at the time was like science fiction. I think that is why I am ALL OVER the newest and latest version of anything. I'll go back and rewrite sections of code if there is a notable improvement in functionality or syntax. Old dog, new tricks: no problem.
@sh00termacg7 күн бұрын
Awesome thanks a lot Shawn! Love how concise you are.
@kralickomut31487 күн бұрын
Really cool, thank you sir! But with this method, how can i send token via api endpoint?
@swildermuth7 күн бұрын
You send it as a bearer token in an http header
@kralickomut31487 күн бұрын
@@swildermuth yeah, but i mean, you did command to console, and it blew up new bearer jtw in the console, but how to get it in variable and work with that if you understand me. Sorry if its weird question.. Im a begginner.
@Yous01478 күн бұрын
I learned C# when MVC5 was still brand new (according to google C# 5 with .Net 4.5), I came from a Java 7 and 8 background. I wasn't a big fan of C# back then, I think likely because of how MVC5 worked overall, but getting used to var and weird concepts like async, delegate, yield, and other such keywords (which I saw being used in codebases at the time). It was only when I started working with C# 7+ that the language clicked for me and async became second nature, it felt like much of what was clear and important to make things work got consolidated slowly over 7 and really took root in 8 with .Net Core which has cemented this language as one of my favourites.
@johnycache8 күн бұрын
Subscribed. Great stuff. Thanks. It's good to know this is available. Have you built something with it that was released as an app? (working on android and ios?)
@dareljohnson57709 күн бұрын
Fantastic analysis of C#.
@antondoit9 күн бұрын
Great
@daveblack69519 күн бұрын
For those that are new here, note: - When the glasses come on; you're about to learn something. - When the glasses come off; a point is about to be hammered in. You're welcome 🙂
@KingTambay9 күн бұрын
Hi sir, I am looking for a mentor, can you teach me your tech skills, I am willing to work no fees.
@hendrykhoza47829 күн бұрын
Maybe I like you... I can't wait for that gRPC cause
@n8wrl9 күн бұрын
Wow, 1.0 and 2.0 - what a blast from the past. Mixed memories for sure! Thank you!!
@swildermuth9 күн бұрын
You bet!
@farzadmf9 күн бұрын
Walking down the memory lane 🙂
@iabloko12729 күн бұрын
Incredible content, thank you very much!
@YariRu9 күн бұрын
We're too old. I remember my first book was of .NET version 1.1 and google was failing to search ".net"
@marna_li10 күн бұрын
Thank you! This kind of series put things into perspective. Although having coded C# before that, I learned Visual C# 2005, from the Step by Step book in the summer of 2007. It demonstrated boxing and then introduced generics. That version didn't include LINQ. But I barely remember those loops you used to do. Except in other languages.
@johnnymoreno457510 күн бұрын
Excellent content. Thanks for explaining the technical and not being judgemental of those of us stuck in framework.
@EK-hm1lg10 күн бұрын
Thanks for the video! As interesting as always
@Radddan11 күн бұрын
Hey Shawn, can you make a general c# video on streams?
@user-xs6xu8om1e11 күн бұрын
thanks for posting Shawn. Looks to me like middleware is technically a node in a linked list, passing request http context to the next node and back recursively.
@draganradovac880313 күн бұрын
Nice, looking forward to Part 3
@swildermuth12 күн бұрын
Um, there were only two parts. What would you want me to cover?
@draganradovac880313 күн бұрын
That was really cool. Thanks
@palpie14 күн бұрын
It was just a small part of this, but you should use ILogger as it is meant to, without string interpolation.
@swildermuth12 күн бұрын
So we should avoid $""? Why?
@nirajchandrajoshi16 күн бұрын
Great video I have one query - can I run a stored proc on crown schedule where that sproc took 20 minutes to complete. And What happen if IIS pool recycles in between while this job is running do I need to reschedule or quartz will take care of this. Please reply.
@swildermuth16 күн бұрын
Look at quartz's durable jobs. Though in the case of a store proc, I might kick it off, not hold a connection the entire time.
@nirajchandrajoshi16 күн бұрын
@@swildermuth Thank you very much
@davood749716 күн бұрын
Coolio !!! 💯💯💯💯💯
@bernpaul986817 күн бұрын
what advice you would giive to a seasonal dotnet developer like me ? or a beginner T_T my mind is sooo overwhelmed with a lot of informations need to understand
@swildermuth16 күн бұрын
You don't have to drink through the firehose. Focus on making code that accomplishes the task .
@heavypeki17 күн бұрын
Like as always, concise and straight to the point. You are amazing Shawn. Keep it up.
@PankajNikam17 күн бұрын
Thanks for this video :)
@swildermuth17 күн бұрын
My pleasure!
@waelhabbal192317 күн бұрын
Dear Sir, I would like to express my sincere appreciation for the valuable information you shared with us. Your presentation was truly remarkable and provided me with a wealth of knowledge that I found extremely useful. I am grateful for the opportunity to have learned from your expertise.
@swildermuth17 күн бұрын
Many many thanks
@ghaf22217 күн бұрын
This is interesting. So far I’ve gone down my own route using BackgroundService, and Channel to send it data. It’s fine, but if you’re using IIS you need to watch out for application pool recycling, which has shut down my long running processes many a time! It took a few iterations before I got the configuration right in IIS Manager.
@alfonsdeda891217 күн бұрын
Hi, great video! What are the advantages over hangfire?
@swildermuth17 күн бұрын
Hangfile requires data storage - there is no non-durable jobs. That's all.
@adamoneil743518 күн бұрын
really cool! I knew Quartz was a thing, but had never seen a demo until now. Love it!
@swildermuth17 күн бұрын
Nice.
@Qrzychu9218 күн бұрын
anybody can compare Quartz and Hangfire? they seem very similar. Also, now that MasTransit can use SQL as a transport (instead of RabbitMQ), there is another player to consider :)
@lyudmilpetrov7918 күн бұрын
Thank you so much for your teaching great and simple presentation God bless you
@swildermuth18 күн бұрын
So nice of you
@nixnemo18 күн бұрын
The unit test are more looking like integration, agree? I have not noticed you mocked anything...
@swildermuth18 күн бұрын
Actually I usually mock when I need something specific. I'm kinda cheating by using an In-Memory DB to 'mock' the DbContext.
@PelFox18 күн бұрын
How does it keep state if your app crashes / restarts? Can you store the jobs in a queue or database?
@swildermuth18 күн бұрын
You can configure it to store in state (look for Durable and StoreDurably)