There are 120+ videos. The blazor tutorials sent me here, but I don't know how much I need to learn here before I can continue with my main focus of the blazor tutorials.
Thank you venkat! your an awesome programming teacher, where you from? I can learn from you very quickly. You teach correctly, just like it is. You should have your channel on the Television
I am big fan of your,I have watch your Manny video series, I will watch all .net core video series , So please upload remaining video series of asp.net core ,I need it
@@Csharp-video-tutorialsBlogspot How do you monetize? Many other instructors earn from Udemy and other sites? Thanks very much for these valuable videos.
For those who wondering why he cleared the default file names is because by default there are 4 default files in the DefaultFileNames list that you can serve to the client. 1. default.html 2. default.htm 3. index.html 4. index.html If you don't clear the list, these will look up for the file in wwwroot directory so you must clear the list and add your default static file to serve. Then you only remain with one item in the list.
9:06 at this point I have the exact same code as you do in my Visual Studio, but the .html file that appeared in your browser is default.html, while in my browser foo.html appeared again. I wonder why Edit: ok, at 10:16 everything became clear, the same situation happened to me at 9:06 that happened to you at 10:16
Hello Kudvenkat, You are doing a great job! I want to ask what is the difference between FileServerOptions and DefaultFilesOptions. What i understand these both methods are the same, in which we can set any startup page. ??
I did not get why the need of too many middlewares. The serving of static files is the primary function any website. Wouldn't it better if it added inbuilt like other dot net technologies?
Thank you very much for the tutorial. Can you explain what is the difference between UseStaticFiles and UseSpaStaticFiles? How to configure the middleware if I am creating 'Asp.net core app + React js' and deploying it?
It should be noted that allowing directory browsing with the UseFileServer middleware is most likely something that should not be enabled on a public facing web site as this compromises security.
I am new to .net core, i am trying to show the image same as yours but by using 'OutOfProcess' hosting. Why is it that using 'InProcess' hosting everything works as expected whereas while using 'OutOfProcess' hosting it says 'access denied' with 404 error while accessing the .jpg image from the browser.
Hi Sir, I used both "DefaultFilesOptions" and "FileServerOptions" along with "app.UseFileServer(fileServerOptions)" and "app.UseDefaultFiles(defaultFilesOptions)" respectively in Startup.cs but default.html page is not opening. I'm using VS19 with NETCORE 3.1 Could you please help me on this.
Hello Sir thank you very much for your effort! Could you please add a video of ASP.NET CORE ANGULAR TEMPLATE, connecting to a database? Pretty please:)
Hello! Im doing same thing as you did, using app.UseDefaultFiles(); but my default.html page isnt showing, im using VS 2019 .net core 3.0 have they changed somtheing there
Before I did not need to rebuild the project after the changes., It was done automatically after I saved the changes. Now I need to rebuild to see the change from default to foo. Why is this?
Getting error -Severity Code Description Project File Line Suppression State Error MSB3021 Unable to copy file and for that tried with Rebuild application ,restarting VS ,restart machine but still not working
when i publish this application to IIS from visual studio, it's not working. its creating my app name 'chatbot' under the wwwroot folder and inside the chatbot folder, its again creating wwwroot folder with the .html file inside it. can you help me here?
Hello Dania - I have included all the Bootstrap tutorial videos, slides and text articles in sequence on the following page. Hope you will find it handy. www.pragimtech.com/courses/bootstrap-tutorial-for-beginners/ When you have some time, can you please leave your rating and valuable feedback on the REVIEWS tab. It really helps us. Thank you. Good luck and all the very best with everything you are doing.
Why is the UseFileServer not taking precedence and responding with foo.html in ASP.NET core v3.1? It always prints Hello World. Anyone knows how this changed from Core v2.2 to v3.1?
Anyone learning from this tutorial in 2024, hit like!
You are a superb teacher. Your explanations are crystal clear and it makes sense to the programmers at all level of experience.
Thanks Venkat, you are doing a great public service. Many developers like me have been able to earn money and respect because of you.
Thank you Venkat! This was the solution to loading javascript files in my .NET core Razor app.
Excellent way of teaching.
Thanks for the summary it is very useful.
Excellent video. Thank you.
OMG! how smart u are! best teacher! do more videos!
Thank you sir.
Lots of respect.
#FromNepal
There are 120+ videos. The blazor tutorials sent me here, but I don't know how much I need to learn here before I can continue with my main focus of the blazor tutorials.
tyvm for the shared knowledge, and you do it very well !!
Really so nice tutorial. All works when I am following your code!
Graet Tutorial great tutor!!!! love to see it!!
Thanks for this, this was annoying me for 40 mins! Life saver!
Hi Venkat teacher , check in today. Hope you have nice day
Thanks again venkat! :-)
Thank you venkat! your an awesome programming teacher, where you from? I can learn from you very quickly. You teach correctly, just like it is. You should have your channel on the Television
Hi Toalopez, Venkat is from India.
sir you are truly a great teacher :) love from pakistan
I LOVE YOU MAN good SCHOOL this is :D.
I kill the add block when i watch your videos son keep it up
Thank you sir..very helpful
thank you, this is excellent.
Super venkat sirrr
Awesome videos! Do a Vue Asp.Net Core web app!!
I am big fan of your,I have watch your Manny video series,
I will watch all .net core video series ,
So please upload remaining video series of asp.net core ,I need it
Sure Deepak - Will try and upload as fast as I can.
@@Csharp-video-tutorialsBlogspot How do you monetize? Many other instructors earn from Udemy and other sites? Thanks very much for these valuable videos.
For those who wondering why he cleared the default file names is because by default there are 4 default files in the DefaultFileNames list that you can serve to the client.
1. default.html
2. default.htm
3. index.html
4. index.html
If you don't clear the list, these will look up for the file in wwwroot directory so you must clear the list and add your default static file to serve. Then you only remain with one item in the list.
Super and thank you...
excellent
god bless you.
Thank you sir,
Thank you sir...
9:06 at this point I have the exact same code as you do in my Visual Studio, but the .html file that appeared in your browser is default.html, while in my browser foo.html appeared again. I wonder why
Edit: ok, at 10:16 everything became clear, the same situation happened to me at 9:06 that happened to you at 10:16
Sir please start a video series on Xamarin mobile development and on WPF.
Thanks.
Hello Kudvenkat, You are doing a great job! I want to ask what is the difference between FileServerOptions and DefaultFilesOptions. What i understand these both methods are the same, in which we can set any startup page. ??
Thumbs up if you noticed that first he added the UseStaticFiles middleware instead of the UseDefaultFiles middleware so you didn't had to change it.
12/124, at least 90% more to go!
Much Respect
I did not get why the need of too many middlewares. The serving of static files is the primary function any website. Wouldn't it better if it added inbuilt like other dot net technologies?
Thank you very much for the tutorial. Can you explain what is the difference between UseStaticFiles and UseSpaStaticFiles?
How to configure the middleware if I am creating 'Asp.net core app + React js' and deploying it?
Have you figured out the solution?
@@KhoaTran-oj3wm not yet.
It should be noted that allowing directory browsing with the UseFileServer middleware is most likely something that should not be enabled on a public facing web site as this compromises security.
Directory Browsing will be enabled only when you pass true as argument to the method.
Can you please explain about await method as well ??
Hello Hossan - We discussed C# Async and Await in the following video. Hope this helps.
th-cam.com/video/C5VhaxQWcpE/w-d-xo.html
I am new to .net core, i am trying to show the image same as yours but by using 'OutOfProcess' hosting. Why is it that using 'InProcess' hosting everything works as expected whereas while using 'OutOfProcess' hosting it says 'access denied' with 404 error while accessing the .jpg image from the browser.
can we server static file and other middleware response together ?
Thank you.
Hi Sir,
I used both "DefaultFilesOptions" and "FileServerOptions" along with "app.UseFileServer(fileServerOptions)" and "app.UseDefaultFiles(defaultFilesOptions)" respectively in Startup.cs but default.html page is not opening. I'm using VS19 with NETCORE 3.1
Could you please help me on this.
put it before userouting
app.UseDefaultFiles();
app.UseStaticFiles();
app.UseRouting();
Thanks
If you deploy this app to IIS and have a different order of default within IIS, will that override the default files set within the application?
Hello Sir thank you very much for your effort! Could you please add a video of ASP.NET CORE ANGULAR TEMPLATE, connecting to a database? Pretty please:)
SQL DATABASE.... maybe you know a simpler solution than this docs.microsoft.com/en-us/ef/core/get-started/aspnetcore/new-db?tabs=visual-studio
Hello! Im doing same thing as you did, using app.UseDefaultFiles(); but my default.html page isnt showing, im using VS 2019 .net core 3.0 have they changed somtheing there
ITS NOT WORKING FOR ME WITH ASP.NET CORE 3.1 .. WHAT HAS CHANGED?
Before I did not need to rebuild the project after the changes., It was done automatically after I saved the changes. Now I need to rebuild to see the change from default to foo. Why is this?
Hi Everyone image is not loading for me ...what could be the problem?
Thank you
Getting error -Severity Code Description Project File Line Suppression State
Error MSB3021 Unable to copy file and for that tried with Rebuild application ,restarting VS ,restart machine but still not working
I need to redirect all requests to home/index. What is the best way to do this? Please help
Hi sir... Is there any change in syntax for dot net core 3.1? I am unable to set default.htm as the webpage on load. Thanks
Not sure but one person commented that you have to put use static files before use routing.
app.UseDefaultFiles();
app.UseStaticFiles();
app.UseRouting();
Directory Browsing is not enabled by default in FileServerOptions.
To Enable this
fileServerOptions.EnableDirectoryBrowsing = true;
when i publish this application to IIS from visual studio, it's not working. its creating my app name 'chatbot' under the wwwroot folder and inside the chatbot folder, its again creating wwwroot folder with the .html file inside it. can you help me here?
Where can I download these files?
pls what is the shortcut to see the overloaded methods ?
Hello Dania - I have included all the Bootstrap tutorial videos, slides and text articles in sequence on the following page. Hope you will find it handy.
www.pragimtech.com/courses/bootstrap-tutorial-for-beginners/
When you have some time, can you please leave your rating and valuable feedback on the REVIEWS tab. It really helps us. Thank you. Good luck and all the very best with everything you are doing.
Why is the UseFileServer not taking precedence and responding with foo.html in ASP.NET core v3.1? It always prints Hello World. Anyone knows how this changed from Core v2.2 to v3.1?
in vs2019 default.hrml page not showing first
Use default.html not hrml
25 April 2021