How do I troubleshoot auto-refresh failing silently in ASP.NET Core 5? - asp.net-core

I read about the Auto-refresh capability introduced in ASP.NET Core 5 with .NET 5. I upgraded my Blazor site to .NET 5, and thought it would just work, but it doesn't seem to be working for me.
I used to use Westwind.AspNetCore.LiveReload, but I have removed it to try this out.
When I make a change, the app rebuilds and restarts web server for me, but the browser doesn't refresh. This is a project I upgraded from .NET Core 3.1. Is there anything that needs to be done in startup.cs to enable this? What else could be interfering? How can I troubleshoot?

You can livereload page using methods mentioned in that question answers
.NET Core MVC Page Not Refreshing After Changes

Related

ASP.NET CORE do not render ViewComponents when the application is part of website

I deployed ASP.NET core 2.2 application to IIS 6. It is working and displays all forms. I have a request to have this application to be part of big website. I copied application to another directory and changed hostingModel from inprocess to outofprocess in web.config file. Now the application can be viewed with other applications, however it does not display any ViewComponents in it. Any advice will be greatly appreciated.
Thank you.
I was using JavaScript to invoke ViewComponents and it was worked good when the web application is stand alone. However, if it is a part of web site it is not working. I did not find the reason, I just set invocation of ViewComponents in Razor page, instead of JavaScript, and it started to work normally.

Can ASP.NET CORE MVC be hosted in Xamarin App(Android)?

I have a ASP.NET CORE MVC (.NET CORE 3.1) application running well on Kestrel in Windows, Now I'm wondering if possible to migrate it to Android via Xamarin?
The purpose of this move is the lower cost of Android device.
And I noticed: Run ASP.NET Core 3.0 apps with MonoVM
but seems no details?
No, Not yet (Jan 2021).
Xamarin, NetFramework, Net5, NetCore3 all support NetStandard. AspNetCore is based on NetCore, not NetStandard. If AspNetCore was a NetStandard library, it would support it, but AspNetCore uses other libraries in NetCore which do not exist on Xamarin.
By the way, if you need just a simple web server running on android like Kestrel, you can use EmdedIO. Indeed it doesn't support MVC, MVP, and MVVM, so you can not run AspNetCore app on Xamarin:
https://github.com/unosquare/embedio

Web page not found .net core 2.1

I am new to working with asp.net core 2.1, I have added few Razor Views but on publishing application to azure, I am unable to access those pages. I get "no web page was found" error.
Here is My Solution explorer
I guess there is an issue with StartUp.cs wherein, I need to route things but I didn't find proper documentation since I am using .net core 2.1.

How to enable trace.axd in ASP.NET core?

Our app is based on ASP.NET Core 2.0. It works fine in development environment but we see an oauth error when published to production.
All the documentation on asp.net core seems to point to using ILoggingxxx interfaces. The examples I found typically call logging.AddConsole() method so that the log lines can be viewed in VIsual Studio debug window. I am wondering if the good old trace.axd is still available under asp.net core. If so, I would appreciate the steps to enable tracing. Regards.
trace.axd is exclusive to applications based on .NET Framework and ASP.NET 4.x. It is not available in ASP.NET Core applications at all.

ASP.NET Core Web Application Template for VB.NET

I know that for some reason VB.NET was not supported in the first release of Core, but this is meant to be fixed in 2.0...
Can someone tell me where they hide the ASP.NET Core Web Application template? It's there for C# but is missing for VB.NET
VS version 15.3.4
.NET Core 2.0 SDK has been installed
Thank you
As far as I know, Asp.Net Core doesn't support VB.Net in .Net Core. you can see detailed information from the following a link https://github.com/dotnet/cli/issues/587