Coding Shorts: DaisyUI
15:56
2 ай бұрын
Пікірлер
@tifactlong7431
@tifactlong7431 17 минут бұрын
That's a great tutorial. Short and straight forward no wasting time
@aaqilansari5702
@aaqilansari5702 3 сағат бұрын
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
@michaeIbonq Күн бұрын
thank you so much!!!
@anascimento
@anascimento Күн бұрын
Thank you so much for this content, it helped me a lot. Regards from Brazil.
@kinsondigital
@kinsondigital 2 күн бұрын
Great explanation!! Love it!
@swildermuth
@swildermuth Күн бұрын
So glad!
@thygrrr
@thygrrr 2 күн бұрын
Lol, historical refactoring / back porting to various dialects? Super nerd content. I love it.
@RobertSagoe
@RobertSagoe 2 күн бұрын
Your explanation is clear and concise, making the process easy to understand. Thank you for the details and excellent graphical explanation .. really helpful
@swildermuth
@swildermuth 2 күн бұрын
Glad you enjoyed it!
@theAutomaTom
@theAutomaTom 2 күн бұрын
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! 👉👉💯
@nickguerra8460
@nickguerra8460 3 күн бұрын
Nice explanation. It helped clarify a few things. Thank you for your efforts!
@swildermuth
@swildermuth 3 күн бұрын
You are welcome!
@otrieZ
@otrieZ 3 күн бұрын
This is really useful thanks!
@LUNTE1337
@LUNTE1337 3 күн бұрын
Excellent explanation and visualization!
@swildermuth
@swildermuth 3 күн бұрын
Glad you liked it!
@adsfaedaer
@adsfaedaer 4 күн бұрын
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 ?
@swildermuth
@swildermuth 3 күн бұрын
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?
@heavypeki
@heavypeki 3 күн бұрын
@@swildermuth Perfectly makes sense. Struct in itself is a value type, but isn't responsible for its own members which could be address pointer.
@williamliu8985
@williamliu8985 4 күн бұрын
Is it able to see if the target is in stack or heap when debugging?
@swildermuth
@swildermuth 3 күн бұрын
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).
@williamliu8985
@williamliu8985 3 күн бұрын
@@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.
@noops2110
@noops2110 4 күн бұрын
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!
@TomislavKimovski
@TomislavKimovski 5 күн бұрын
Brilliant, thanks Shawn.
@abouttimebrewing3215
@abouttimebrewing3215 5 күн бұрын
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.
@sh00termacg
@sh00termacg 7 күн бұрын
Awesome thanks a lot Shawn! Love how concise you are.
@kralickomut3148
@kralickomut3148 7 күн бұрын
Really cool, thank you sir! But with this method, how can i send token via api endpoint?
@swildermuth
@swildermuth 7 күн бұрын
You send it as a bearer token in an http header
@kralickomut3148
@kralickomut3148 7 күн бұрын
@@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.
@Yous0147
@Yous0147 8 күн бұрын
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.
@johnycache
@johnycache 8 күн бұрын
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?)
@dareljohnson5770
@dareljohnson5770 9 күн бұрын
Fantastic analysis of C#.
@antondoit
@antondoit 9 күн бұрын
Great
@daveblack6951
@daveblack6951 9 күн бұрын
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 🙂
@KingTambay
@KingTambay 9 күн бұрын
Hi sir, I am looking for a mentor, can you teach me your tech skills, I am willing to work no fees.
@hendrykhoza4782
@hendrykhoza4782 9 күн бұрын
Maybe I like you... I can't wait for that gRPC cause
@n8wrl
@n8wrl 9 күн бұрын
Wow, 1.0 and 2.0 - what a blast from the past. Mixed memories for sure! Thank you!!
@swildermuth
@swildermuth 9 күн бұрын
You bet!
@farzadmf
@farzadmf 9 күн бұрын
Walking down the memory lane 🙂
@iabloko1272
@iabloko1272 9 күн бұрын
Incredible content, thank you very much!
@YariRu
@YariRu 9 күн бұрын
We're too old. I remember my first book was of .NET version 1.1 and google was failing to search ".net"
@marna_li
@marna_li 10 күн бұрын
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.
@johnnymoreno4575
@johnnymoreno4575 10 күн бұрын
Excellent content. Thanks for explaining the technical and not being judgemental of those of us stuck in framework.
@EK-hm1lg
@EK-hm1lg 10 күн бұрын
Thanks for the video! As interesting as always
@Radddan
@Radddan 11 күн бұрын
Hey Shawn, can you make a general c# video on streams?
@user-xs6xu8om1e
@user-xs6xu8om1e 11 күн бұрын
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.
@draganradovac8803
@draganradovac8803 13 күн бұрын
Nice, looking forward to Part 3
@swildermuth
@swildermuth 12 күн бұрын
Um, there were only two parts. What would you want me to cover?
@draganradovac8803
@draganradovac8803 13 күн бұрын
That was really cool. Thanks
@palpie
@palpie 14 күн бұрын
It was just a small part of this, but you should use ILogger as it is meant to, without string interpolation.
@swildermuth
@swildermuth 12 күн бұрын
So we should avoid $""? Why?
@nirajchandrajoshi
@nirajchandrajoshi 16 күн бұрын
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.
@swildermuth
@swildermuth 16 күн бұрын
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.
@nirajchandrajoshi
@nirajchandrajoshi 16 күн бұрын
@@swildermuth Thank you very much
@davood7497
@davood7497 16 күн бұрын
Coolio !!! 💯💯💯💯💯
@bernpaul9868
@bernpaul9868 17 күн бұрын
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
@swildermuth
@swildermuth 16 күн бұрын
You don't have to drink through the firehose. Focus on making code that accomplishes the task .
@heavypeki
@heavypeki 17 күн бұрын
Like as always, concise and straight to the point. You are amazing Shawn. Keep it up.
@PankajNikam
@PankajNikam 17 күн бұрын
Thanks for this video :)
@swildermuth
@swildermuth 17 күн бұрын
My pleasure!
@waelhabbal1923
@waelhabbal1923 17 күн бұрын
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.
@swildermuth
@swildermuth 17 күн бұрын
Many many thanks
@ghaf222
@ghaf222 17 күн бұрын
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.
@alfonsdeda8912
@alfonsdeda8912 17 күн бұрын
Hi, great video! What are the advantages over hangfire?
@swildermuth
@swildermuth 17 күн бұрын
Hangfile requires data storage - there is no non-durable jobs. That's all.
@adamoneil7435
@adamoneil7435 18 күн бұрын
really cool! I knew Quartz was a thing, but had never seen a demo until now. Love it!
@swildermuth
@swildermuth 17 күн бұрын
Nice.
@Qrzychu92
@Qrzychu92 18 күн бұрын
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 :)
@lyudmilpetrov79
@lyudmilpetrov79 18 күн бұрын
Thank you so much for your teaching great and simple presentation God bless you
@swildermuth
@swildermuth 18 күн бұрын
So nice of you
@nixnemo
@nixnemo 18 күн бұрын
The unit test are more looking like integration, agree? I have not noticed you mocked anything...
@swildermuth
@swildermuth 18 күн бұрын
Actually I usually mock when I need something specific. I'm kinda cheating by using an In-Memory DB to 'mock' the DbContext.
@PelFox
@PelFox 18 күн бұрын
How does it keep state if your app crashes / restarts? Can you store the jobs in a queue or database?
@swildermuth
@swildermuth 18 күн бұрын
You can configure it to store in state (look for Durable and StoreDurably)