I have a Multi-tenant Deployment projects . I have about 150 tenants, each tenant represents an ASP.net site. Each of this ASP.net site has a web.config file with different connection string and other client specific settings. But there is a common tag that is in all the web.config files that we don’t it need any more and needs to be deleted . We need a way to find this tag and then delete it. This is the tag
<add name="Elmah" path="elmah.axd" />
in the web.config it is defined like this
<handlers>
<add name="Elmah" path="elmah.axd" /> (We only need to delete this)
</handlers>
Thanks for getting in touch! You can delete elements in your config file by using the Transform="Remove" syntax in your transform file. In your case, it would probably look something like this:
Thank you for your reply. This tag will remove everything I only want to remove one tag . Also how do we deploy this in a multi tenant deployment?. Do we need to create a package which will only have 1 transform file?