question

Robdob-4164 avatar image
0 Votes"
Robdob-4164 asked JiadongMeng-MSFT answered

converting Web app to Blazor Server side. which uses iis url rewrite module

HI,

I have an old aspx web app which I'm trying to convert to a blazor server app and I have a question? my current app makes use of the iis url rewrite module in order to allow my app to make use of variety of SEO friendly html pages.

 i.e. http://mysite/{param}-information.html 

is this something that I can do in blazor without the use of the url rewrite module or will I need to still make use of it or something else?

thanks in advance..

dotnet-aspnet-core-blazor
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

JiadongMeng-MSFT avatar image
0 Votes"
JiadongMeng-MSFT answered

Hi @Robdob-4164 ,

Asp.net core use URL Rewriting Middleware to do this, which is provided by the Microsoft.AspNetCore.Rewrite package.

https://docs.microsoft.com/en-us/aspnet/core/fundamentals/url-rewriting?view=aspnetcore-5.0


If the answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our  documentation  to enable e-mail notifications if you want to receive the related email notification for this thread.

Best Regards,
Jiadong Meng


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.