Thread: configSections
View Single Post
Old 08-22-2008   #3 (permalink)
MCM


 
 

RE: configSections

I'm sorry, but this is still not very clear to me. What do configSections do?
It sounds like they tell the compiler to look for other sections within
web.config - is that correct? But if that is true, then why don't I need
configSections for all my other web.config elements?

""Ji Zhou [MSFT]"" wrote:
Quote:

> Hello MCM,
>
> Thanks for using Microsoft Newsgroup Support Service, my name is Ji Zhou
> [MSFT] and I will be working on this issue with you.
>
> Based on my understanding, what we concern about now is the purpose of
> configSections element in our Web.config file. If I have misunderstood,
> please let me know. These declarations in the configSections element enable
> us to configure ASP.NET applications that can be used by AJAX-enabled
> clients, Windows Communication Foundation (WCF) clients (SOAP clients), and
> .NET Framework clients.
>
> * Enabling ASP.NET application services through the authenticationService,
> roleService, and profileService elements.
> * Configuring the script handler through the enableCompression and
> enableCaching attributes of the scriptResourceHandler element.
> * Configuring JSON serialization through the jsonSerialization element.
>
> See this document: http://msdn.microsoft.com/en-us/library/bb546044.aspx.
> We can delete them, if we do not configure about these features.
>
> To know more general information about the ASP.NET configuration file,
> please refer this document
> http://msdn.microsoft.com/en-us/library/ms228256.aspx.
>
> If you have any future questions about this, please feel free to let me
> know.
>
> Best regards,
> Ji Zhou (v-jzho@xxxxxx, remove 'online.')
> Microsoft Online Community Support
>
> Delighting our customers is our #1 priority. We welcome your comments and
> suggestions about how we can improve the support we provide to you. Please
> feel free to let my manager know what you think of the level of service
> provided. You can send feedback directly to my manager at:
> msdnmg@xxxxxx.
>
> ==================================================
> Get notification to my posts through email? Please refer to
> http://msdn.microsoft.com/en-us/subs...#notifications.
>
> Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
> where an initial response from the community or a Microsoft Support
> Engineer within 1 business day is acceptable. Please note that each follow
> up response may take approximately 2 business days as the support
> professional working with you may need further investigation to reach the
> most efficient resolution. The offering is not appropriate for situations
> that require urgent, real-time or phone-based interactions or complex
> project analysis and dump analysis issues. Issues of this nature are best
> handled working with a dedicated Microsoft Support Engineer by contacting
> Microsoft Customer Support Services (CSS) at
> http://support.microsoft.com/select/...tance&ln=en-us.
> ==================================================
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
My System SpecsSystem Spec