Purpose of ClientSettingsProvider.ServiceUri in app.config
What is he doing
<appSettings> <add key="ClientSettingsProvider.ServiceUri" value=""/> </appSettings> do?
Since the value is an empty string, can I remove the item?
This is due to ASP / Ajax Client Application Services ( http://msdn.microsoft.com/en-us/library/bb384297 (v = VS.100) .aspx )
I also ran into this code in the app.config file and was baffled since I developed our entire application from scratch and did not add this.
I found that this line (and others below the tags) are automatically added to the app.config file of the project when the "Enable client application services" checkbox is selected. It turned out that mine was, although I still do not know why and how it happened.
To find out if this option is selected in your projects, right-click on the project and select "Properties". Go to the Services tab and check if the checkbox is selected. If so, uncheck the box and the XML you see should disappear from the app.config file.
IMPORTANT! . There seems to be a bug in VS2010 (and possibly in other versions for everything I know) where, if you go to the Services tab, it will automatically check this box for you, adding the wrong XML to your app file. config. Therefore, as soon as you untie the box and save the project, go to another tab in the properties section before closing it. You will also get an unnecessary link to the "System.Web.Extensions" added to your project. If you are not using this for something else, you can remove it.
used by ClientFormsAuthenticationMembershipProvider .
You can remove it if you are not using this model, but it should be there if you are using it, even if it is empty.
Check out my answer here - ASP.NET Membership Authentication Through Service
Is customization a link anywhere in your code?
If not, you can delete it. If so, you can determine what the removal effect may be.
Please note that this can be used by a third-party assembly, and it can still find it and throw an exception if it does not exist. That would be easy to notice (your application will crash)