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

Robdob 1 Reputation point


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

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

1 answer

Sort by: Most helpful
  1. Jiadong Meng - MSFT 121 Reputation points

    Hi @Robdob , core use URL Rewriting Middleware to do this, which is provided by the Microsoft.AspNetCore.Rewrite package.

    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