Relative Content

Tag Archive for asp.net.net-coreiisblazorblazor-server-side

Puzzled about UsePathBase on Blazor Server App, please make me understand it

Good day, sorry for my english I will try to explain myself as best as I can. I want to deploy in local network a small web server application I did using Blazor Net 6, I did deploy my application called APP inside a folder callde DEMO in the inetpub on and IIS I using for testing, I copied in the folder all the files and folders from the publish destination folder inside my local development machine. Then inside IIS I did create an applicationpool and I did create a new website and as binding I set up port 4000 as well as set up in the kestrel appsettings too. Associated the website with the applicationpool and installed websocket and all went pretty nicely. I can access my application via browser just using the name of the server and port assigned.
Now is the difficult point, I want to hide the port from the link and possibly I want to just type in the address bar the http://nameofserver/DEMO only.
I did try to read some guides around but I got pretty confused on what to change and what to look after, I did try this: