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

Robdob 1 Reputation point
2021-05-05T15:59:18.647+00:00

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..

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,390 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jiadong Meng - MSFT 121 Reputation points
    2021-05-11T01:42:51.817+00:00

    Hi @Robdob ,

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

    https://learn.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