Is there are any way to remove #
in URL of .NET Core project? My project is using app.UseFileServer()
to serve react application (production/build from react app) inside wwwroot. It is working properly if only we acess the root URL of .NET Core that serves using IIS, for example:
https://yourdomain.com
But if we want to go to the route of react for example route about, it needs a URL like this:
https://yourdomain.com/#/about
I don't know why the #
sign should be there, is there are any way to make the URL like this:
https://yourdomain.com/about
so it directly accesses the route about
of react?