Debugging and Dependency Injection for Blazor WebAssembly (.NET 5.0)
In my last video, I covered the basics of starting with a Blazor WebAssembly application. The video is available here: https://youtu.be/tTOqibCjNwc In today's video, I will continue from where I left on my last video. And in this video, I will cover the following: 1. Debugging Blazor WebAssembly application in a browser (in my case Chrome) 2. How to use Dependency Injection in Blazor WebAssembly Application The debugging of Blazor WebAssmebly applications is not as straight forward as other JavaScript applications, but it is definitely doable. And it is not very complex. Though there are still some glitches here and there, bit definitely getting better with every build. When it comes to Dependency Injection, the code behind dependency injection works a little different compared to normal classes. But once you understand the reason behind it, it will make a lot of sense. At this point, I am getting confident that Blazor is definitely a strong alternative for JavaScript SPA (Single Page Application) framework like Angular. I will continue my investment in Blazor WebAssembly and see if this is something I can use in production applications. If you would like to support this channel, you can also buy me a coffee here: https://www.buymeacoffee.com/dotnetcorecntrl My blog URL: https://dotnetcorecentral.com/ Source code for this video is available here: https://github.com/choudhurynirjhar/blazor-demo
In my last video, I covered the basics of starting with a Blazor WebAssembly application. The video is available here: https://youtu.be/tTOqibCjNwc In today's video, I will continue from where I left on my last video. And in this video, I will cover the following: 1. Debugging Blazor WebAssembly application in a browser (in my case Chrome) 2. How to use Dependency Injection in Blazor WebAssembly Application The debugging of Blazor WebAssmebly applications is not as straight forward as other JavaScript applications, but it is definitely doable. And it is not very complex. Though there are still some glitches here and there, bit definitely getting better with every build. When it comes to Dependency Injection, the code behind dependency injection works a little different compared to normal classes. But once you understand the reason behind it, it will make a lot of sense. At this point, I am getting confident that Blazor is definitely a strong alternative for JavaScript SPA (Single Page Application) framework like Angular. I will continue my investment in Blazor WebAssembly and see if this is something I can use in production applications. If you would like to support this channel, you can also buy me a coffee here: https://www.buymeacoffee.com/dotnetcorecntrl My blog URL: https://dotnetcorecentral.com/ Source code for this video is available here: https://github.com/choudhurynirjhar/blazor-demo