What's New with .NET 9?!
12:40
2 ай бұрын
What's NEW in Blazor in .NET 8?!
17:55
Getting Ready for .NET Conf 2023!
4:13
Пікірлер
@officialVIGNUM
@officialVIGNUM 4 күн бұрын
In VS 17.13.0 Preview 2.1 it doesn’t work for me. Which version are you using? Thanks! It only shows the Linux scaffolding option (not windows in the dropdown menu) and when executing it cannot attatch and container logs display ‘DistrolessHelper.dll does not exist,
@ClaudioBernasconi
@ClaudioBernasconi 3 күн бұрын
Great question. I used the stable version of the regular Visual Studio 2022. Not a preview version. If the problem persists, I suggest asking your question in the Visual Studio support forums. Feel free to link this video to let them know what steps you tried. I hope you'll be able to fix your issue.
@BikramjitBiswas-t1s
@BikramjitBiswas-t1s 9 күн бұрын
Please make a video on Blazor United
@ClaudioBernasconi
@ClaudioBernasconi 9 күн бұрын
@@BikramjitBiswas-t1s there is a video on my channel about the new Blazor Web App project template. It's the implementation of what was previously called Blazor United.
@BikramjitBiswas-t1s
@BikramjitBiswas-t1s 8 күн бұрын
@@ClaudioBernasconi Thanks for your reply. Actually I was trying to say that I want a Blazor Localization video in Blazor United and .NET 8.
@sudiptoatutube
@sudiptoatutube 10 күн бұрын
Thanks a lot! It helped.
@ClaudioBernasconi
@ClaudioBernasconi 10 күн бұрын
Glad to hear that!
@xarzu
@xarzu 10 күн бұрын
This is a great lesson and answered many of my questions and addressed y issues. Well done !!
@ClaudioBernasconi
@ClaudioBernasconi 10 күн бұрын
Awesome! I'm happy I could help. Comments like yours is the reason I create those videos.
@KittyMeow012
@KittyMeow012 12 күн бұрын
thanks
@ClaudioBernasconi
@ClaudioBernasconi 12 күн бұрын
Glad it was helpful.
@KaiHenningsen
@KaiHenningsen 13 күн бұрын
Tried going to .NET 9. Shortly after went bck to .NET 8 which was ... let's say less buggy.
@KaiHenningsen
@KaiHenningsen 13 күн бұрын
More precisely, dotnet hanging when trying to build and several related actions was a fatal blocker for me.
@ClaudioBernasconi
@ClaudioBernasconi 13 күн бұрын
@@KaiHenningsen If you find issues with .NET, it's best to report them to their GitHub repository, and it will be fixed. That's the power of open source. I hope your issue will be resolved soon. I didn't have any issues.
@KaiHenningsen
@KaiHenningsen 12 күн бұрын
@@ClaudioBernasconi It was already reported when I hit on the problem. No real solution from the report(s, I think there were at least 2), so ...
@estebanmercier5731
@estebanmercier5731 15 күн бұрын
response : no.
@ClaudioBernasconi
@ClaudioBernasconi 15 күн бұрын
@@estebanmercier5731 concise
@aymon21ify
@aymon21ify 16 күн бұрын
You can use filament with laravel that look easy 😅
@dx30-ln3blank7
@dx30-ln3blank7 16 күн бұрын
neovim with lsp server also provides very good csharp developer experience.
@ClaudioBernasconi
@ClaudioBernasconi 16 күн бұрын
@@dx30-ln3blank7 that's great to hear!
@yannansun5232
@yannansun5232 21 күн бұрын
Hi, thanks for your video. I have added the C# extension to my Visual Studio Code, but the welcome page pop-up is not appearing. How can I connect my Microsoft account here?
@ClaudioBernasconi
@ClaudioBernasconi 20 күн бұрын
@@yannansun5232 I think this page explains what you are looking for: code.visualstudio.com/docs/editor/settings-sync
@ClaudioBernasconi
@ClaudioBernasconi 20 күн бұрын
@@yannansun5232 look for "vs code connect ms account" on Google. First hit. I cannot share links in the comments.
@Poeisible
@Poeisible 23 күн бұрын
How is about reporting?
@ClaudioBernasconi
@ClaudioBernasconi 22 күн бұрын
If you are talking about PDF creation, I have a video about QuestPDF on my channel: kzbin.info/www/bejne/immccpJtmd9khpo
@СергейИванченков-ДляСвоих
@СергейИванченков-ДляСвоих 23 күн бұрын
Excellent first quick look video, thank you! Seems like if you already have telemetry collected in Azure Application Insights then pretty much all of the benefits of Aspire already are covered for you. Seems like Aspire is for cases when you don't have Azure hosting or do not have App Insights services available for any reason. And if your projects are hosted in AKS, than Aspire may not help in any way or deployment would become so much more complex.
@ClaudioBernasconi
@ClaudioBernasconi 22 күн бұрын
You're right, the Azure ecosystem already offers great tools for observability and deployment. Aspire provides additional benefits and might be a good choice when those aren't available, but it's not a must-have. Also, it provides the service orchestration tooling for deployments without AKS or similar services. For me, Aspire is not a fit for all scenarios, but it's a great tool for lifting simple apps to the next level.
@MohammedAbdallatif-t3u
@MohammedAbdallatif-t3u 24 күн бұрын
Thanks!
@ClaudioBernasconi
@ClaudioBernasconi 24 күн бұрын
You absolutely made my day. Thank you so much! 🙏
@argjendsejfullai8304
@argjendsejfullai8304 24 күн бұрын
can't we import the components in routes like in hybrid maui with additionalassembly so i dont have to create multiple files in blazor web app and sharedcomponents at the same time?
@ClaudioBernasconi
@ClaudioBernasconi 22 күн бұрын
I'm not sure about the Hybrid MAUI scenario. I haven't done any work with it so far. Did you find anything that works for you?
@argjendsejfullai8304
@argjendsejfullai8304 22 күн бұрын
@ i did it, and its the same way for both blazor web app and hybrid maui, you just add an additionalassembly as the first route and then the other routes are replaced by its self, now i work with shared components for both of the other projects
@legendgod
@legendgod 25 күн бұрын
How can we find the 'principalId' of Azure Databricks cluster? One of our cluster is corrupted. After recreate a new one we need to update the ARM template json file.
@ClaudioBernasconi
@ClaudioBernasconi 24 күн бұрын
@@legendgod I have never worked with that Azure service, I'm sorry. Open a support ticket in the Azure portal.
@SuperDre74
@SuperDre74 25 күн бұрын
Hardest thing to find is a numbers component that really let's you only type the restricted format, like only 3 digitsvin front of the decimal separator and 2 decimals and not any number of digits and decimals which after leaving the editbox is truncated. I think I only saw 1 blazor ui library that had that, but it was freaking expensive using a subscription.
@ClaudioBernasconi
@ClaudioBernasconi 25 күн бұрын
Understandable. I think that's a specialized case where implementing your own input field makes sense. You can bind to the onChange event to validate the input or use other approaches to show the format and validate the input. I wouldn't buy such an input field but implement my own, I guess.
@SuperDre74
@SuperDre74 24 күн бұрын
@@ClaudioBernasconi You call inputting a percentage or money amount a specialized case? if you think validation is the place to just tell if a person is inputting a correct figure, then you really are a crappy developer. If there is a limit on 2 decimals, the user should not be able to input more decimals, if there is a limit on the digits before the decimals, the user shouldn't be able to enter more digits as allowed. if my input is only lowercase alfabetic characters, I should never be able to enter anything else (and capital characters should automatically be lowercased).. If you as a developer let users type any other characters and are just catching it on the leave cell validation, then you're really just not doing a good job.. Yes there are specialized cases where a specific value might only be caught on validation after leaving the input, but limiting decimals and digits isn't one of those.
@jonijenggo
@jonijenggo 26 күн бұрын
There are no version of .Net Core 4 or .Net 4.. why?
@ClaudioBernasconi
@ClaudioBernasconi 26 күн бұрын
@@jonijenggo to avoid confusion between .NET Framework and .NET (Core).
@jonijenggo
@jonijenggo 26 күн бұрын
@@ClaudioBernasconi Ah ya I repeat ur explanation on the video.. I got it now thankss
@honeycomb101
@honeycomb101 Ай бұрын
Thank you for the video!!! So helpful!
@ClaudioBernasconi
@ClaudioBernasconi Ай бұрын
Glad the video was helpful to you!
@amirfathi9731
@amirfathi9731 Ай бұрын
Thank you For your Tutorial Installing C# & Run It In Terminal In Vs Code , Thank's Buddy!
@ClaudioBernasconi
@ClaudioBernasconi Ай бұрын
Enjoy!
@franciscovilches6839
@franciscovilches6839 Ай бұрын
Am I the only one that thinks Claudio looks like a young Scott Hanselman?
@ClaudioBernasconi
@ClaudioBernasconi Ай бұрын
It's the first time somebody comments that. I'd be honored to get even close to becoming such a humble, knowledgeable and professional person in the future.
@tacolotto
@tacolotto Ай бұрын
Great video thanks so much for the help
@ClaudioBernasconi
@ClaudioBernasconi Ай бұрын
No problem 👍 Thanks for watching.
@ariel795
@ariel795 Ай бұрын
Is Aspire used only for development ? guessing dashboard's no use for cloud native apps and so deployment is not really necessary
@ClaudioBernasconi
@ClaudioBernasconi Ай бұрын
For cloud native apps, you want to see performance metrics and other data, such as whether you're services are available, right? You can do that with the Aspire Dashboard (if you want). You can only use Aspire for local development, or you can orchestrate your production services. I haven't gotten into it more than shown in this video, but I will explore it and plan to deploy a web app with it in the future.
@ariel795
@ariel795 Ай бұрын
@ What I meant is that most cloud platforms already have some sort of dashboard capabilities with features that resemble Aspire, so is there a point in deploying an Aspire project ?
@adefwebserver
@adefwebserver Ай бұрын
Straight to the point. Very helpful.
@ClaudioBernasconi
@ClaudioBernasconi Ай бұрын
Thanks! I appreciate it! I put a lot of effort into getting to the point.
@10Totti
@10Totti Ай бұрын
Great Tutorial!
@ClaudioBernasconi
@ClaudioBernasconi Ай бұрын
Glad it was helpful to you!
@pkmx-um9vb
@pkmx-um9vb Ай бұрын
Thank you 👍
@ClaudioBernasconi
@ClaudioBernasconi Ай бұрын
You are welcome! Thanks for watching.
@orjisamuelobinna9764
@orjisamuelobinna9764 Ай бұрын
Great one
@ClaudioBernasconi
@ClaudioBernasconi Ай бұрын
Thanks! I'm glad you found it useful.
@carlcodes8422
@carlcodes8422 Ай бұрын
Love your work, keep it up 🙂
@ClaudioBernasconi
@ClaudioBernasconi Ай бұрын
@@carlcodes8422 thanks, Carl! You're always supporting. 🙏👏
@321zipzapzoom
@321zipzapzoom Ай бұрын
First-ever!
@ClaudioBernasconi
@ClaudioBernasconi Ай бұрын
@@321zipzapzoom you're a legend! 💪
@chankwowkeung9368
@chankwowkeung9368 Ай бұрын
Which grid lib is better ?
@ClaudioBernasconi
@ClaudioBernasconi Ай бұрын
At this point, I haven't used all of the options in real projects. I'd say MudBlazor offers an overall great experience and I chose it for one of my production applications. I'd say start there to see if it fits your needs and try other libraries if it doesn't suit you. You can always mix and match, just be aware of the additional bloat. I hope this helps getting you started.
@pazzuto
@pazzuto Ай бұрын
This works for simple tasks, but it may still squeeze another Add() if the user clicks very fast (like a double-click), especially since you went all Async. In places where I truly want to avoid this, I change the state to a local var for example, like addingToCart and check it, so no matter how many clicks, only one action will perform, guaranteed. I still like your idea for the visual indication though.
@Linkario86
@Linkario86 Ай бұрын
We're building a new Web App, which is replacing a part of an existing Desktop Application. I'm already Tasked with creating the Architecture of the Web App and the Future Infrastructure to add more parts of the Desktop App as Microservices to a Kubernetes environment. I suggested to use .Net Aspire and was able to sell it as a great go-to solution for what we plan to do. And now I really look forward to work with it at my Job too.
@ClaudioBernasconi
@ClaudioBernasconi Ай бұрын
Sounds like you've got a great project lined up! As stated in the video, I haven't used it for deployment yet. However, there are many success stories online and I believe it's a great tech choice.
@10Totti
@10Totti Ай бұрын
but if I wanted to put it into production on my Linux server is it possible to do so, or at the moment only on Azure?
@ClaudioBernasconi
@ClaudioBernasconi Ай бұрын
I am not familiar with the deployment options that are currently supported. But you can 100% continue using the same deployment as you do today. The AppHost is just another web application.
@MitchDenny
@MitchDenny Ай бұрын
@10Totti you can deploy your application the same way that you always have. If you want to use Azure you can and we streamline the process with the Azure Developer CLI, but nothing in Aspire stops you from taking charge of deployment yourself just like you always have. In a way it makes it easier because it formalizes the appoach to configuration information. Tools like Azure Developer CLI invoke the .NET Aspire AppHost to produce a manifest which describes the relationship between all the application resources. If you wanted to you can generate this manifest yourself using the following command: dotnet run --project Apphost.csproj -- --publisher manifest --output-path aspire-manifest.json.
@StefanoLabate
@StefanoLabate Ай бұрын
I also have the same question....I have a lot of applications running on IIS... can I deploy Aspire in IIS?
@ivandrofly
@ivandrofly Ай бұрын
Thanks very informative
@ClaudioBernasconi
@ClaudioBernasconi Ай бұрын
Glad it was helpful!
@ivandrofly
@ivandrofly Ай бұрын
Cloud native, no reflection - (good explanation on why reflection is not available) Faster start time....
@19balazs86
@19balazs86 Ай бұрын
The more, the merrier when it comes to .NET Aspire, as it is gaining more features and a lot of attention
@ClaudioBernasconi
@ClaudioBernasconi Ай бұрын
I think you can use it for small and larger solutions. I'm curious to lean more into it in the future.
@carlcodes8422
@carlcodes8422 Ай бұрын
Another excellent video Claudio
@ClaudioBernasconi
@ClaudioBernasconi Ай бұрын
@@carlcodes8422 thank you so much for you support, Carl! 🙏
@Tymonello
@Tymonello Ай бұрын
what would be the difference between passing a `params List<string>` instead of just a `List<string>`?
@ClaudioBernasconi
@ClaudioBernasconi Ай бұрын
With the first, you can call a method like this: Method(a, b, c) with each being of type string. And with the second, you need to pass a reference to a list of string like this: Method(d).
@Tymonello
@Tymonello Ай бұрын
@@ClaudioBernasconi but with both, I can call Method([a, b, c]) and it will work in both cases?
@mostafaezz4589
@mostafaezz4589 Ай бұрын
Blazer se..... It doesn't exist in my vsc somone can help?
@ClaudioBernasconi
@ClaudioBernasconi Ай бұрын
@@mostafaezz4589 you need to have the .NET SDK installed. Check with "dotnet --list-sdks" in your terminal.
@Biometrics
@Biometrics Ай бұрын
I am hoping like everyone else that NET 9 will fix the quirks in NET MAUI. Though I love NET MAUI. I also find MAUI to be very erratic on Android. For instance, I found it just impossible to select an image / photo in an Android App that is developed in NET MAUI. I am currently using NET 8.
@ClaudioBernasconi
@ClaudioBernasconi Ай бұрын
@@Biometrics i think it's worth testing with .NET 9. Let me know if it helped you. 😉
@Biometrics
@Biometrics Ай бұрын
@@ClaudioBernasconi I will upgrade to .NET 9 in the course of the week and try again.
@Biometrics
@Biometrics Ай бұрын
I did with NET 9. Take Photo now works fine. I can take photo via phone camera and display it in Maui Android App after capture without it crashing and restarting. NET 9 fixed that issue. Also I can now display several image from a biometric scanner that captures fingerprints connected to the app and display all ten of them without the app crashing after capturing only one or two. NET 9 seems to have fixed that issue too. I am impressed with NET 9. My only concern is that while NET 9 does not have LTS. I hope these fixes will be added to the next NET LTS version. That said, I have moved fully to NET 9 up from NET 8. Moving to NET 9 was not without its own challenges because I struggled with Error ADB0020 but I am glad I made the transition because I am already seeing the benefits of running NET 9 unlike when I was using NET 8.
@19balazs86
@19balazs86 Ай бұрын
Hi Claudio, the live coding you tried is a good approach. Copy-pasting is also fine for longer code, along with an explanation.
@ClaudioBernasconi
@ClaudioBernasconi Ай бұрын
Thanks for your feedback!
@tbt-show1527
@tbt-show1527 Ай бұрын
Why hasn't your course in udemy?
@ClaudioBernasconi
@ClaudioBernasconi Ай бұрын
Thanks for your question. I chose Zero To Mastery because the offer more than just the video course, for example, a whole community of like-minded developers. Also, Zero To Mastery ensures high quality, provides resources and a fair payment model for its instructors. I hope to see you inside Zero To Mastery.
@davidvoney9566
@davidvoney9566 Ай бұрын
First
@tofu1687
@tofu1687 Ай бұрын
Nice video thanks, I cross my fingers for a maui-blazor-web template with authentication
@JoelKaiser-t1p
@JoelKaiser-t1p 2 ай бұрын
schau mal flutter
@DivineGrace323
@DivineGrace323 2 ай бұрын
I did exactly everything and its STILL not working.
@ClaudioBernasconi
@ClaudioBernasconi 12 күн бұрын
It's best practice to provide error message or other indications of what is not working and you did in trying to resolve it. I suggest opening a question on StackOverflow or in the forums.
@gofudgeyourselves9024
@gofudgeyourselves9024 2 ай бұрын
Please create separate videos for all things
@ronnyek4242
@ronnyek4242 2 ай бұрын
whether youw ant to stick with .net 8 or upgrade to .net 9, just remember .net 9 is not a LTS release. If you are building large codebases etc... probably not a fantstic idea to jump to 9 super quick. If you are good for being able to upgrade frameworks, probably not a big deal
@ClaudioBernasconi
@ClaudioBernasconi 2 ай бұрын
It's true that .NET 9 being LTS will have a shorter support period. However, if you stay on .NET 8, the jump to .NET 10 might be bigger. Curious, do you work with a big codebase and are you going from 6 to 8 to 10, or what's your strategy?