I have an ASP.NET web application which I am migrating to Microsoft Azure. For various reasons, our web config file has grown to be rather large. On our "on site" instance, we have solved this by modifying a registry key as recommended in this post. We have also split our web.config into smaller files, but we now have sub files which have also exceeded the limit, so splitting the files is not an option anymore.

I am assuming this is not possible in an Azure Website, and only if I am running a Virtual Machine in Azure. Is there any solution to this without creating a virtual machine?

  • 1
    Could you re-architect your configuration logic to pull at least some of this information from a database rather than from a config file? – Simon W Feb 19 '15 at 0:29
  • Unfortunately the excess file size is coming from IIS rewrite rules. Moving to a DB would require writing a custom rewriter – Chris Summers Feb 19 '15 at 1:22
  • 2
    Does this not apply to the IIS setup you have? iis.net/learn/extensions/url-rewrite-module/… – Simon W Feb 19 '15 at 2:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.