RBS doesn't open browser, http://localhost:5000 not working

RBS doesn't open on browser on Run.

If I go to URL css isn't being picked up and I can't login

Any details on how to replicate the problem?

1 Like

not really, it's very strange. I don't use RBS a lot, so I can't tie it to a recent code change or anything. I haven't changed my dev machine, it's just odd.

here is my launch settings file, no recent changes, it makes no sense that RBS would suddenly stop even trying to launch a browser...

Everything working fine using Visual Studio 2022

{
"profiles": {
"RadzenBlazorServerApp": {
"commandName": "Project",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"dotnetRunMessages": true,
"applicationUrl": "http://localhost:5001;http://localhost:5000"
},
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"IIS": {
"commandName": "IIS",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"nativeDebugging": false,
"sqlDebugging": false
}
},
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iis": {
"applicationUrl": "http://xxxxxxxxxxxxxxxxx.local.com:81/",
//"applicationUrl": "http://xxxxxxxxxxxxxxxx.local.com:84/",
"sslPort": 0
},
"iisExpress": {
"applicationUrl": "http://localhost:19712",
"sslPort": 44395
}
}
}

it's running, it just didn't open a browser window

Radzen Blazor Studio doesn't manually open the browser when you click the Run button. It execute dotnet watch run for the application. The latter is responsible for opening the browser (which is in turn determined by the "launchBrowser" setting). More info is available here: How to suppress dotnet whatch run to open a browser

it use to just open the browser and run.

the browser not opening isn't the biggest issue.

The issue is if I navigate to localhost:5000 the css doesn't pick up and I can't login to the app

it has to be something I changed in my app because it used to work.

I created a new application and it works as my main app used to, you click run and it opens a browser and shows the app

I'll dig through recent code changes to try and figure it out...