0

I am converting below code from .NET framework 4.7.2 to .NET 5 but system.web.routing is not available anymore in .NET 5. Wondering is there any workaround for it?

         RouteTable.Routes.Add(new Route
        (
            "sample",
            new SampleHandler()
        ));
  • 1
    Maybe you are looking for [this](https://learn.microsoft.com/en-us/aspnet/core/fundamentals/routing?view=aspnetcore-6.0#routing-basics)? – Neistow Oct 18 '22 at 11:29

0 Answers0