U
Ulrich Schumacher
Guest
Hi blazor experts,
first of all: A great job so far, it is a joy to make a project with blazor webassembly, thanks to the team!
There is a problem left by deploying an app on iis. My project is a blazor webassembly asp.net core hosted one.
I choose publish of the server project to a folder and i've copied the files to my iis dir.
My service controllers route is always [Route("/api/[controller]")].
So my service is working and is responding to http://localhost/abc/api/...
But my web app does not work on http://localhost/abc.
I think, the right combination of
index.html: <base href="/..." />
web.config: aspNetCore handlers
web.config: URL rewrite configuration
is needed here.
Does anyone have a sample web.config for an asp.net core hosted blazor webassembly app?
Thanks a lot and have a nice day,
Ulrich
visual studio 16.7.7
.NET core 3.1
Continue reading...
first of all: A great job so far, it is a joy to make a project with blazor webassembly, thanks to the team!
There is a problem left by deploying an app on iis. My project is a blazor webassembly asp.net core hosted one.
I choose publish of the server project to a folder and i've copied the files to my iis dir.
My service controllers route is always [Route("/api/[controller]")].
So my service is working and is responding to http://localhost/abc/api/...
But my web app does not work on http://localhost/abc.
I think, the right combination of
index.html: <base href="/..." />
web.config: aspNetCore handlers
web.config: URL rewrite configuration
is needed here.
Does anyone have a sample web.config for an asp.net core hosted blazor webassembly app?
Thanks a lot and have a nice day,
Ulrich
visual studio 16.7.7
.NET core 3.1
Continue reading...