Coding Shorts: 100 & More
0:48
2 күн бұрын
Coding Shorts: C# Dialects and Idioms
19:13
Coding Shorts: DaisyUI
15:56
3 ай бұрын
Пікірлер
@paulh6933
@paulh6933 21 сағат бұрын
ran into some issue w/ my m3: (linux/amd64) does not match the detected host platform (linux/arm64/v8)
@sarthakchauhan4163
@sarthakchauhan4163 2 күн бұрын
Your hairs got cut from thumbnail to actual video 😅 Nice video btw
@swildermuth
@swildermuth 2 күн бұрын
It's there, just in a pony tail.
@sanglin9387
@sanglin9387 3 күн бұрын
my opinion no unit test junk , integeration test
@Simon-th6jj
@Simon-th6jj 3 күн бұрын
Great video as always. I've watched a lot of your courses on pluralsight over the years and you're the best teacher by far. Thanks for producing this concise, clear example of how to use docker for sql server
@olivier0003
@olivier0003 4 күн бұрын
Clear and useful, even on Windows. I didn't understand how to access your persistent sql-data folder with Windows explorer ?
@vr77323
@vr77323 4 күн бұрын
He didn't show it. Basically, you need to find where the folder he specified with -name in the volume was created and it will be there. I am pretty sure there was an option to specify a path in which to create the folder (so you tell it where to create it instead of it's default location) which I'm not sure why he didn't show it here.
@swildermuth
@swildermuth 4 күн бұрын
Yeah, I didn't show that, sorry. It depends on what OS you're on, but usually docker desktop's data in your user folder. If you look in Docker Desktop, look for volumes and can nagivate to the specific folder (when you setup volumes, you can also specify where the volume is): imgur.com/a/hLbvDg6
@vr77323
@vr77323 4 күн бұрын
@@swildermuth thanks for replying with more info!
@hemant-sathe
@hemant-sathe 4 күн бұрын
Super useful. Most of the search results showed manually creating the database on docker CLI and then adding that image to docker compose. I needed a way to start with barebones Microsoft image and pass all the parameters to create the image. This way I could always be on the latest version. Request to do another video showing how to build a k8s cluster on the dev machine and how to map volumes in cloud environment, preferably Azure. And also how to attach existing database files if that's the right approach. Once again thanks. Super useful.
@swildermuth
@swildermuth 4 күн бұрын
I'm working on an Aspire of that story, but not sure i'm expert enough on kube to show this. But I'll add it to my list of topics.
@BrianHallmanac
@BrianHallmanac 5 күн бұрын
The timing of this video is uncanny. I am literally setting up Windows 11 ARM on Parallels on my M3 macbook pro right now. I was starting to work through setting up a SQL container on my Mac to use with my Windows VM. Great video!
@swildermuth
@swildermuth 4 күн бұрын
Glad I could help!
@Octopie18
@Octopie18 5 күн бұрын
Awesome video!!! Somehow, it always seems like your new videos are discussing exactly what me and my team have planned for our upcoming work. This was a great overview on this topic and has helped me understand it better and see the full big picture. Also, there is something about this video that feels extra great. It might be the editing, or just the great planning for this demonstration, but I love it. Keep it up!
@LUNTE1337
@LUNTE1337 5 күн бұрын
You're one of the best .NET-teachers on here. Great stuff. Just a friendly suggestion: Maybe put the link to your webpage in the description?
@swildermuth
@swildermuth 5 күн бұрын
Done!
@rd_45
@rd_45 5 күн бұрын
Thanks
@FortranCastle
@FortranCastle 5 күн бұрын
Thank you so much for making these videos, Shawn! I hope your channel grows exponentially and reaches more and more developers who are hungry for this kind of knowledge you are sharing.
@larrye
@larrye 5 күн бұрын
We did this several years ago on a complex project and it was great. Not sure this is still the case, but using the SQL Server image that runs on Linux was way faster and took up 1/5th of the memory to run.
@aron-gx9mh
@aron-gx9mh 6 күн бұрын
i understand all this but how do i add this to my project? i want to run a website that gets data from an Api. unfortunately, this didn't help me
@vitalina1807
@vitalina1807 6 күн бұрын
Helo, can you help me please? i use Typescript, and in Main.tsx : import React from 'react' import ReactDOM from 'react-dom/client' import App from './App.tsx' import './index.css' ReactDOM.createRoot(document.getElementById('root')!).render( <React.StrictMode> <App /> </React.StrictMode>, ) how i can have "id=app"?
@AceSyntaxx
@AceSyntaxx 6 күн бұрын
Thanks Shawn for a succinct explanation of the basics.
@reallifegambits
@reallifegambits 7 күн бұрын
Awesome video. So in one of my project I am using Microsoft.ApplicationInsights.AspNetCore to connect with Azure Application Insights with method AddApplicationInsightsTelemetry() with instrumentation key. At end of your video, were you suggesting to migrate to opentelemetry because application insights is getting depricated? If yes, can you point me to any official doc?
@ChrisBrandsma
@ChrisBrandsma 9 күн бұрын
Just to add, be sure to do code reviews after you add this endpoint. I built and api, added health checks, and then a couple frontend developers decided that absolutely HAD to call the healthcheck before every single call they made to my api.
@swildermuth
@swildermuth 9 күн бұрын
Absolutely!
@mohamedbalighhamdi1931
@mohamedbalighhamdi1931 11 күн бұрын
Great work shawn. It is may be useful to mention that the same github repository exposes another package called health check UI. A website will be hosted along with the web api, summarising the state of the configured health checks. An extra work is to be done too on the site css to match the solution’s web design requirements. I do this extra to all my clients requiring a health check and they are generally happy to see this visual representation of what is exposes by the readiness endpoint.
@willembeltman
@willembeltman 11 күн бұрын
I love how we end up writing more code in order to safe writing code. There is a good reason why you should create a new class for the result: It allows you find out you are writing a lot of the same classes.
@swildermuth
@swildermuth 11 күн бұрын
But does it need to be a 'class'? I find this issue where everyone wants to think everything is a class in C#. Could be a struct, a tuple, a record. Data structures matter.
@oh-digital
@oh-digital 11 күн бұрын
Thanks Shawn, i've been googling how to do this and was thinking I might have to learn Svelte until i found your video. How would you keep the store scoped to each instance? We are doing an event feed that is going to be embedded on external websites and there may be multiple instances on the same page, so filtering would need to be kept separate
@swildermuth
@swildermuth 11 күн бұрын
Each component should be isolated, you have to do extra work to share usually.
@event-sourcing
@event-sourcing 12 күн бұрын
Another great, useful video. The redesigned site looks good!
@syedhoque9057
@syedhoque9057 12 күн бұрын
For next one, blast that IDE font size up
@ehvlullo
@ehvlullo 12 күн бұрын
Thanks. The website redesign looks great. A few times already now some of your articles have been a great help for some specific issues I was running into.
@EricOnYouTube
@EricOnYouTube 12 күн бұрын
I am still very new to your channel. Do you provide this as a download or a github link? I'd like to read this on my own time. Just wondering. Thanks! :)
@swildermuth
@swildermuth 11 күн бұрын
Forgot to include it this time. I'll add it to the description. Give me 30 minutes.
@EricOnYouTube
@EricOnYouTube 10 күн бұрын
@@swildermuth Thank you very much. :)
@ahjsbkdjhavkcjhvac
@ahjsbkdjhavkcjhvac 12 күн бұрын
amazing video! very insightful! I think you deserve more recognition!
@saefulrahman3478
@saefulrahman3478 12 күн бұрын
thanks shawn,
@user-mp2vx3ss1c
@user-mp2vx3ss1c 13 күн бұрын
Keep doing what you're doing, Shawn!
@_rcs
@_rcs 13 күн бұрын
Thanks for putting this useful knowledge out here for free.
@swildermuth
@swildermuth 13 күн бұрын
My pleasure!
@rogerpence
@rogerpence 13 күн бұрын
Keep at it Shawn. Your videos and knowledge are very much appreciated.
@n8wrl
@n8wrl 13 күн бұрын
Love the content, thank you! I'm a retired developer and still like to keep up with personal projects. I'm also an amateur radio op so I build a lot of tools related to controlling radios, antenna switches, databases, etc. Anyway, I have several older WinForms apps I'd like to "modernize" and am very confused by the landscape - and /Build wasn't much help. There is a new version of WinForms coming with .NET 9, WinUI3 is supposedly the new-hotness but it seems to be missing a lot of controls. In fact, I've seen videos from Microsot pushing WinUI3 and WPF at the same time. Do you have any insight into where this is going? What is the "UI of choice" for desktop development? The last 20 years of my career were all web developmnet. I really don't want to do that again with Blazor. Thanks for all you do!
@swildermuth
@swildermuth 13 күн бұрын
Both are xaml based, so you can't go wrong with either. But if you already know webdev, you might consider PWAs
@hozmannew896
@hozmannew896 14 күн бұрын
thank you for all what you learned me and still.
@antondoit
@antondoit 14 күн бұрын
Thanks
@olivier0003
@olivier0003 14 күн бұрын
Good work
@montana3426
@montana3426 14 күн бұрын
Thanks Shawn!
@rollthers3157
@rollthers3157 14 күн бұрын
Keep 'em coming!
@kstddrd
@kstddrd 14 күн бұрын
Thank you for your good work.
@tifactlong7431
@tifactlong7431 16 күн бұрын
That's a great tutorial. Short and straight forward no wasting time
@aaqilansari5702
@aaqilansari5702 16 күн бұрын
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 18 күн бұрын
thank you so much!!!
@anascimento
@anascimento 18 күн бұрын
Thank you so much for this content, it helped me a lot. Regards from Brazil.
@kinsondigital
@kinsondigital 18 күн бұрын
Great explanation!! Love it!
@swildermuth
@swildermuth 18 күн бұрын
So glad!
@thygrrr
@thygrrr 18 күн бұрын
Lol, historical refactoring / back porting to various dialects? Super nerd content. I love it.
@RobertSagoe
@RobertSagoe 19 күн бұрын
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 19 күн бұрын
Glad you enjoyed it!
@gandodiallo4146
@gandodiallo4146 11 күн бұрын
You are the best Shawn
@theAutomaTom
@theAutomaTom 19 күн бұрын
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 20 күн бұрын
Nice explanation. It helped clarify a few things. Thank you for your efforts!
@swildermuth
@swildermuth 20 күн бұрын
You are welcome!
@otrieZ
@otrieZ 20 күн бұрын
This is really useful thanks!
@LUNTE1337
@LUNTE1337 20 күн бұрын
Excellent explanation and visualization!
@swildermuth
@swildermuth 20 күн бұрын
Glad you liked it!
@adsfaedaer
@adsfaedaer 20 күн бұрын
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 20 күн бұрын
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 19 күн бұрын
@@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 20 күн бұрын
Is it able to see if the target is in stack or heap when debugging?
@swildermuth
@swildermuth 20 күн бұрын
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 20 күн бұрын
@@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 21 күн бұрын
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!