.net/iis6 Limitations of the urlMappings in web.config for extensionless url rewriting
        Posted  
        
            by ScottE
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by ScottE
        
        
        
        Published on 2010-04-13T21:15:02Z
        Indexed on 
            2010/04/14
            13:53 UTC
        
        
        Read the original article
        Hit count: 483
        
I'm investigating a simple url rewriting setup for iis6 / net 2.0 sites.
I've added a . wildcard mapping in IIS that points to the .net executable. I'm also using the urlMappings element in the web.config to add some rewritting urls. I've moved the config outside of the web.config so I can make changes to the list without forcing application restarts, like so:
  <urlMappings configSource="config\urlMappings.config">
  </urlMappings>
I'd like to allow our content management to add urls to this file so that we can have extensionless friendly urls.
<add url="~/someurl" mappedUrl="index.aspx?page=123" />
This works just fine, but I'm concerned about limitations in the number of entries that I can map in the urlMappings config. I can't seem to find any documentation on this. Has anyone found any limitations?
Thanks.
© Stack Overflow or respective owner