Тёмный
Shawn Wildermuth
Shawn Wildermuth
Shawn Wildermuth
Подписаться
An Introduction
2:24
Месяц назад
Coding Shorts: 100 & More
0:48
2 месяца назад
Coding Shorts: C# Dialects and Idioms
19:13
2 месяца назад
Man Enough to Heal (2024) 30 Second Spot
0:39
3 месяца назад
Man Enough to Heal (2024) Full Trailer
1:26
3 месяца назад
Coding Shorts: .NET Aspire - Databases
10:52
3 месяца назад
Coding Shorts: .NET Aspire - The Host
13:32
4 месяца назад
Coding Shorts: DaisyUI
15:56
5 месяцев назад
Комментарии
@dotnetMasterCSharp
@dotnetMasterCSharp 7 часов назад
This is absolutely useful video, thanks!
@AJHF1991
@AJHF1991 8 часов назад
Really good, thanks 😎
@CrankViewer
@CrankViewer 2 дня назад
Interesting approach taken by MS. Nice vid. Thanks
@swildermuth
@swildermuth 2 дня назад
Very welcome
@russellf
@russellf 3 дня назад
Came back for a refresher. A great summary, thanks! One thing I still ponder about is nullability on classes and records that are loading, e.g. config from disk etc., where you want to almost tell the compiler, “these fields are always set”. I guess this is adding ! to members but maybe there is a better way?
@swildermuth
@swildermuth 2 дня назад
You can say "required" and use non-nullable - they just need to be initialized in the constructor or object syntax.
@russellf
@russellf 2 дня назад
I completely missed the required keyword - thanks!
@vidhyafernandez
@vidhyafernandez 4 дня назад
How would a collection of objects work inside a record? Would it still be value type?
@swildermuth
@swildermuth 2 дня назад
The container for the collection would be, but, obviously, not the objects themselves. So very little savings.
@ADEN-cq4hx
@ADEN-cq4hx 4 дня назад
Its alright
@dotnetMasterCSharp
@dotnetMasterCSharp 5 дней назад
This is awesome and useful content
@swildermuth
@swildermuth 2 дня назад
Glad to hear that!
@mahfuznazib6395
@mahfuznazib6395 5 дней назад
Coding Shorts: Really informative and helpful.
@swildermuth
@swildermuth 2 дня назад
awesome!
@frankoppermann1877
@frankoppermann1877 6 дней назад
Great content.
@arnjmllr
@arnjmllr 14 дней назад
great tutorial. I must have missed something though as even when I log in and get the token, pass it to the web api I am getting a 401 error. I've gone over the code and tutorial and I'm not seeing my mistake. Any "usual suspects" for this issue? I am able to display my name once logged, it's just the call to the weatherforecast that is denied. truly appreciate any ideas.
@swildermuth
@swildermuth 14 дней назад
Are you sure you have the middleware in the server app correctly setup with the same client/tenant ids and client secret? Are you sure you're setting the auth header correctly? Those are two places I'd start
@arnjmllr
@arnjmllr 14 дней назад
@@swildermuth thanks so much for the reply, I'm not quite sure what you mean by client secret. I've checked the clientid/tenantid, authority, scopes and the "bearer " + token... all look good. I'll keep looking :)
@swildermuth
@swildermuth 13 дней назад
If you go to your App Registration for your app and look at "Manage->Certificates and Secrets" - you'll need to create a new secret and pass it into the options.ClientSecret where you set the clientid and the tenant id.
@AkashAggarwal-d4x
@AkashAggarwal-d4x 16 дней назад
is there a way to make these settings region independent? configuration is definitely one of issues when you have so many azure app services and function apps but the other issue I see is also creating one function app for each region. Ideally Microsoft should have setting when you create an app service or function app it should ask if you want regional redundancy (and then let you pick which region, ) just like zone redundancy and then it should automatically give you the new url which is created with front gate and application gateway preconfigured /predeployed vs us having to create one in say East region one in West region. Are there other cloud providers that offer this kind of region redundancy by default as part of code deployment? is this something planned for future or maybe its out there and I am not aware.
@swildermuth
@swildermuth 16 дней назад
I don't know. But if it doesn't support it, you could use a prefix (e.g. ASIA:...) to have region specific. I think it only georeps the whole one. Also, these are cheap, so you could just have one for each region.
@SachinDewan12
@SachinDewan12 16 дней назад
Hi shawn , great example. Got confused in one place where you have configured app config connection in app settings file this is fine for local but when we deploy application from where we read this connection string.
@swildermuth
@swildermuth 16 дней назад
It's just a configuration setting, so as an Environment Variable is usually how it is done (this is the one bootstrapping config that you need to read the rest of the app configuration)
@cdnkarasu
@cdnkarasu 17 дней назад
This seems great for a production setup. For local dev would you just wrap the .Add with #if RELEASE or would you recreate all the keys in the Azure App Configuration with a Dev label and dev values, but then how would other devs have different settings?
@swildermuth
@swildermuth 17 дней назад
I would use appsettings.{buildtype}.json for dev-time configuration. I wouldn't even apply the App Configuration at dev time. For secrets, User Secrets. In .NET Core, I would never do #if RELEASE as Environment.IsDevelopment() is preferred.
@JacobSnover
@JacobSnover 20 дней назад
All the quick edits add a choppiness reminiscent of Max Headroom
@swildermuth
@swildermuth 20 дней назад
You sure I'm not Max Headroom?
@JacobSnover
@JacobSnover 19 дней назад
@@swildermuth 🤯
@dotnetMasterCSharp
@dotnetMasterCSharp 20 дней назад
This is most awesome and useful content for devs; Thank you this great content!
@swildermuth
@swildermuth 20 дней назад
My pleasure!
@ciorchinos
@ciorchinos 21 день назад
nice video BTW thanks for it
@swildermuth
@swildermuth 21 день назад
No problem
@ciorchinos
@ciorchinos 21 день назад
It is like asking: Can you mom do better than this, well for sure but here we are 🤣🤣 (the wisdom in this is that we already have it, we already use it no worry to work more to improve it)
@andtkach
@andtkach 21 день назад
Great content as usual! Thanks Shawn! I performed some modifications in the "Configure Code Cleanup" settings and I wish all of these settings were applied to all projects in the solution. But, it seems these settings are Visual Studio specific because I do not see any changes in .editorconfig or any other file I can transport with the code to have solution-specific settings.
@anonlegion9096
@anonlegion9096 21 день назад
I just discovered your channel now and I don't know what it is, but you are great at explaining things without dumbing it down. You take us through your thought process and it is evident you have a very lucid understanding of the subject matter edit: its too bad that the FluentValidation.AspNetCore package is no longer being maintained. Perhaps a follow-up video using the standard FluentValidation package would be helpful. :)
@jonny.rubber
@jonny.rubber 22 дня назад
OneOf<GeneralFailResponse, IReadOnlyList<Customer>> custResult = GetCustomers(); or var custResult = GetCustomers(); I choose to hover with my mouse for this one.
@viniciussilvadeandrade243
@viniciussilvadeandrade243 22 дня назад
Shawn, I loved when you just said, make sense!? AMAZING!!! Thank you for sharing man!
@swildermuth
@swildermuth 21 день назад
You got it!
@Comphonia
@Comphonia 22 дня назад
I honestly like swagger UI as-is. Grouping, Auth configuration, versioning, layout, try-me-out etc just with a few lines of code. It's snappy and works great for devs.
@swildermuth
@swildermuth 21 день назад
I don't think you have to give it up, they're just not requiring this implementation and allowing themselves to keep up with the latest versions of OpenAPI separate.
@cdarrigo
@cdarrigo 22 дня назад
Microsoft is really dropping the ball up and not producing a UI solution that consumes the open api's Package generates. I like the idea that it's extensible and that the community can write other different friends of the Jews to, but we shouldn't be reliant on that for a solution. Microsoft should offer a default UI experience and if we don't like that we can swap it out for a community alternative
@swildermuth
@swildermuth 21 день назад
I wouldn't be surprised if (by release) they don't put one of hte options in the default templates - but I doubt they will make their own.
@timmark4190
@timmark4190 22 дня назад
Can we set a variable in one http file and then read that in another http file. Basically a global value
@j2csharp
@j2csharp 22 дня назад
Yes, SwaggerUI is in need of a major revamp (or replacement) .
@irvinwaldman4233
@irvinwaldman4233 23 дня назад
Awesome, thanks.
@PaulPendor
@PaulPendor 23 дня назад
I like the more compact UI, but what I am not seeing, and can't see when looking at the documentation is how authentication is handled. SwaggerUI has configuration to configure your authentication mechanism, which for us is an OpenID Connect integration with our federated auth service. Swagger UI presents you with an "Authorize" button, which when clicked presents you with a modal form to kick off the auth process. I'm not seeing that mentioned in the Elements WebComponent documentation. I guess we could use the Angular or React route and build in an authorization path. But SwaggerUI gives us this level of configuration out of the box. Looking at the Issues on the Elements github, it looks like there is Authorization in some form, as I can see Issues with basic auth not working as some people expected. So maybe some more digging required on my part to understand how the OpenId Connect auth can be integrated.
@swildermuth
@swildermuth 23 дня назад
Open API is just and endpoint, you can decide whether to authenticate it or not
@user-tk7os4dm5j
@user-tk7os4dm5j 23 дня назад
super helpful
@alexlo5655
@alexlo5655 24 дня назад
Hi Shawn, Thank you for the interesting video. Do you have the GitHub link related to this video?
@WahidBitar
@WahidBitar 24 дня назад
Thank you, wonderful as usual 🌷
@ALDUIINN
@ALDUIINN 24 дня назад
I was JUST searching for, this when this came out Actually i was tired of how hard it was to find anything Glad i'm subscribed, thank god \o/
@swildermuth
@swildermuth 24 дня назад
Here's the replacement video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-gAUaRslamYs.html
@swildermuth
@swildermuth 24 дня назад
Oh No! My QA department is failing me (By that, I mean me!) Will post a link here when it's uploaded. Sorry!
@valeriesimpleton2525
@valeriesimpleton2525 24 дня назад
Great timing. I've been wanting to get rid of swashbuckle
@andrewiecisa2907
@andrewiecisa2907 24 дня назад
It's black magic😂
@lowlandtech
@lowlandtech 24 дня назад
coding shorts is now a audio podcast no video ...
@AlexPigida
@AlexPigida 24 дня назад
Can we do better than audio? ;)
@kenlee2540
@kenlee2540 24 дня назад
Only Audio, no Audio???
@dcernach
@dcernach 24 дня назад
Where is the video? Audio only? kkkkk
@sudheervajrapu
@sudheervajrapu 24 дня назад
no video? only audio.
@Ewoof
@Ewoof 24 дня назад
There is no video. Only audio
@Octopie18
@Octopie18 24 дня назад
You might already know, but there is no video, only audio uploaded.
@SuperJB1981
@SuperJB1981 24 дня назад
Seeing the same
@SuperJB1981
@SuperJB1981 24 дня назад
Or not seeing 😅
@alexlo5655
@alexlo5655 24 дня назад
@@SuperJB1981 The same
@PankajNikam
@PankajNikam 25 дней назад
Hi Shawn, I would like to learn more about it like how did you manage this on production? Were both sites deployed, or the new site was deployed after the migration process was done completely? What about third-party components? Did you face any challenge during migration?
@naveduddin5445
@naveduddin5445 28 дней назад
This is the only video I needed. I have been stuck on how should I make my web app offline and found this guy explaining pwa in very simple terms. Thank you sir, it was a very informational video
@michaelduren3907
@michaelduren3907 29 дней назад
Such a great simple video. Appreciate it thank you
@AngeloMiranda1999
@AngeloMiranda1999 29 дней назад
Thank you Shawn, rocking as per usual
@pralay1991
@pralay1991 Месяц назад
Can you help us with installation process for >.NET 4.8 application ?
@swildermuth
@swildermuth Месяц назад
Depends on the issue. You can reach me at wildermuth.com/#contact
@pawoodtv
@pawoodtv Месяц назад
Really useful tutorial, nice work! Tried it out and it works like a charm. Also, tried importing bootstrap and font-awesome into the custom element but they don’t seem to work correctly. Any idea what could be the issue?
@chairmakerPete
@chairmakerPete Месяц назад
That was like a super-concentrated C# learning syrup. Brilliant! Not sure I'll ever use records, but it's great to at least understand what they're for as I'm sure a use-case will pop up at some point. Great work - thank you!
@swildermuth
@swildermuth Месяц назад
Thanks!
@nathanwaterman4380
@nathanwaterman4380 Месяц назад
What was the next lesson in the middleware series called?
@swildermuth
@swildermuth Месяц назад
Not sure I had a 2nd part, did I promise one? (been a while since I made this).
@nathanwaterman4380
@nathanwaterman4380 Месяц назад
@@swildermuth Yes you had mentioned at the start of the video it was going to be multi-part I believe.