Try Now
More in this section

Forums / General Discussions / webconfig urlmapping

webconfig urlmapping

2 posts, 0 answered
  1. Rick
    Rick avatar
    2 posts
    20 May 2009
    05 Apr 2010
    Link to this post
    Is there a way to programatically up the <urlmapping> section of the web config file.  I have only been able to get a Read Only handle to that section.

    Or, is there a better approach to handle multiple subdomain mappings?  I am thinking there will be upwards of 100+ subdomains defined.

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    25 Oct 2016
    06 Apr 2010
    Link to this post
    Hi Rick,

    The properties of UrlMappingElement has only get accessor. You could use some of the standard ASP.NET ways to read and write the over the config file like XmlTextWriter.

    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
2 posts, 0 answered