0

We are trying to handle URL redirects by using FileMapProvider on Azure app service, however we get the following error:

System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Web.Iis.Rewrite.Providers, Version=7.1.761.0, Culture=neutral, PublicKeyToken=0545b0627da60a5f' or one of its dependencies. The system cannot find the file specified.

Does anybody know if Azure anyhow supports FileMapProvider?

user2083513
  • 21
  • 1
  • 5
  • See this answer. https://stackoverflow.com/questions/36630536/rewriting-a-url-in-an-azure-web-app – Ken W - Zero Networks Aug 12 '19 at 15:44
  • Thanks @KenWMSFT I saw the answer you mentioned however I need to use this one because of more than 10K redirects. Using the aforementioned will lead to a huge xml file which will exceed the allowed size. – user2083513 Aug 12 '19 at 15:55

1 Answers1

0

There are some Azure services (Front Door and Application Gateway) that can do URL rewrites but they have limits under the 10K you mentioned in the comments of you question. I would suggest looking in the Azure Marketplace for a Network Virtual Appliance you can front-end your Azure Web app with to support this requirement.

Ken W - Zero Networks
  • 3,533
  • 1
  • 13
  • 18