Blazor Tutorial : Code Faster Using dotnet watch run - EP27

preview_player
Показать описание
Hey Coders,

Find code here...

In this #Blazor tutorial, I am showing how you can use "dotnet watch run" CLI command to code faster. "dotnet watch" keeps an eye on your project and looks for the changes that you are making. And then the only thing that you need to do is to reload the browser page.

Content -
1. Developer powershell
2. CLI commands
3. dotnet watch run
4. Running "dotnet watch run" in Visual Studio

Happy Coding!!!
Рекомендации по теме
Комментарии
Автор

Thanks for watching, please share with your friends :)

CuriousDrive
Автор

Thank you very much for this tutorial! I searched a whole day for this kind of information and your video enlightened me in only 6 minutes. Have a good one.

bobocrazvan-marius
Автор

Went back to this and actually listened to the

If your'e dumb like me, don't run the application by using F5 as you would normally - you literally go to powershell, then type dotnet watch run to start the server and everything should be good after that.

I was making the mistake of pressing F5, then doing the whole dotnet watch run thing and getting errors about a dll being already used by another process.

Thanks again :)

acidhauss
Автор

Actually you can achieve the same feature by running it without debug mode (Ctrl + F5). Then the page reloads after every changes by pressing save. Is there any difference compare this watch run mode?

Istvan_
Автор

I was looking for something like the live server plugin in visual code. Thanks a Ton. I like the way you think, hope to see more from you

charles-yzc
Автор

How does your localhost:5001 port has SSL? The localhost SSL range is between 44300 and 44399.

umair_me
Автор

Fantastic thanks for this - I'm porting a Lavarel site to Blazor Clientside and was pretty bummed WestWind doesnt work so well - good to see that theres something very close to live reload thats good enough for the job.

Looking forward to going through all your other tutorials at some point, many thanks.

acidhauss
Автор

can you debug a blazor client wasm project using dotnet watch run ? (ie hitting the breakpoints set in visual studio)

dianaboone
Автор

its not working perfect. css wont reload after saving changes (yes cache disabled in browser).

ModeEmoON
Автор

does anyone know if it's possible to debug the application while on watch mode from vscode?

kapdark
Автор

Sir can pls upload latest bookstore-master project and database on github

rajank
Автор

how to make this work for wasm blazor?

dopify
Автор

You can achieve the exact same thing if you use BrowserLink

thyssenbot
Автор

Good video but I dont think this would save any time while doing real world development. Im tipicaly coding whole features. Ill be working on the data api, page and all the underlying logic. Then Ill just click run to test it.

bgrant
visit shbcf.ru