Click here to Skip to main content
Click here to Skip to main content
Articles » Web Development » ASP.NET » Howto » Downloads
 
Add your own
alternative version

Implement ASP.NET custom XML file configuration

, 12 Feb 2013 CPOL
We will see how to implement an ASP.NET web application and have an XML file for configuring some configuration parameters.
TestCustomXmlConfiguration-noexe.zip
packages
Microsoft.AspNet.Mvc.4.0.20710.0
lib
net40
Microsoft.AspNet.Mvc.4.0.20710.0.nupkg
Microsoft.AspNet.Razor.2.0.20710.0
lib
net40
Microsoft.AspNet.Razor.2.0.20710.0.nupkg
Microsoft.AspNet.WebApi.4.0.20710.0
Microsoft.AspNet.WebApi.4.0.20710.0.nupkg
Microsoft.AspNet.WebApi.Client.4.0.20710.0
lib
net40
Microsoft.AspNet.WebApi.Client.4.0.20710.0.nupkg
Microsoft.AspNet.WebApi.Core.4.0.20710.0
content
web.config.transform
lib
net40
Microsoft.AspNet.WebApi.Core.4.0.20710.0.nupkg
Microsoft.AspNet.WebApi.WebHost.4.0.20710.0
lib
net40
Microsoft.AspNet.WebApi.WebHost.4.0.20710.0.nupkg
Microsoft.AspNet.WebPages.2.0.20710.0
lib
net40
Microsoft.AspNet.WebPages.2.0.20710.0.nupkg
Microsoft.Net.Http.2.0.20710.0
lib
net40
net45
_._
Microsoft.Net.Http.2.0.20710.0.nupkg
Microsoft.Web.Infrastructure.1.0.0.0
Microsoft.Web.Infrastructure.1.0.0.0.nupkg
Newtonsoft.Json.4.5.6
lib
net40
Newtonsoft.Json.4.5.6.nupkg
Documentation.docx
CustomXmlConfiguration
Configs
CustomXmlConfiguration.csproj.user
Logger
obj
Debug
Properties
TestCustomXmlConfiguration.zip
System.Web.Mvc.dll
Microsoft.AspNet.Mvc.4.0.20710.0.nupkg
System.Web.Razor.dll
Microsoft.AspNet.Razor.2.0.20710.0.nupkg
Microsoft.AspNet.WebApi.4.0.20710.0.nupkg
System.Net.Http.Formatting.dll
Microsoft.AspNet.WebApi.Client.4.0.20710.0.nupkg
web.config.transform
System.Web.Http.dll
Microsoft.AspNet.WebApi.Core.4.0.20710.0.nupkg
System.Web.Http.WebHost.dll
Microsoft.AspNet.WebApi.WebHost.4.0.20710.0.nupkg
System.Web.Helpers.dll
System.Web.WebPages.Deployment.dll
System.Web.WebPages.dll
System.Web.WebPages.Razor.dll
Microsoft.AspNet.WebPages.2.0.20710.0.nupkg
System.Net.Http.dll
System.Net.Http.WebRequest.dll
_._
Microsoft.Net.Http.2.0.20710.0.nupkg
lib
net40
Microsoft.Web.Infrastructure.dll
Microsoft.Web.Infrastructure.1.0.0.0.nupkg
Newtonsoft.Json.dll
Newtonsoft.Json.4.5.6.nupkg
Documentation.docx
bin
CustomXmlConfiguration.dll
CustomXmlConfiguration.pdb
CustomXmlConfiguration.csproj.user
CustomXmlConfiguration.csprojResolveAssemblyReference.cache
CustomXmlConfiguration.dll
CustomXmlConfiguration.pdb
DesignTimeResolveAssemblyReferencesInput.cache
TempPE
<?xml version="1.0" encoding="utf-8"?>
<doc>
  <assembly>
    <name>System.Net.Http.WebRequest</name>
  </assembly>
  <members>
    <member name="T:System.Net.Http.RtcRequestFactory">
      <summary>Represents the class that is used to create special <see cref="T:System.Net.Http.HttpRequestMessage" /> for use with the Real-Time-Communications (RTC) background notification infrastructure.</summary>
    </member>
    <member name="M:System.Net.Http.RtcRequestFactory.Create(System.Net.Http.HttpMethod,System.Uri)">
      <summary>Creates a special <see cref="T:System.Net.Http.HttpRequestMessage" /> for use with the Real-Time-Communications (RTC) background notification infrastructure.</summary>
      <returns>Returns <see cref="T:System.Net.Http.HttpRequestMessage" />.An HTTP request message for use with the RTC background notification infrastructure.</returns>
      <param name="method">The HTTP method.</param>
      <param name="uri">The Uri the request is sent to.</param>
    </member>
    <member name="T:System.Net.Http.WebRequestHandler">
      <summary>Provides desktop-specific features not available to Windows Store apps or other environments. </summary>
    </member>
    <member name="M:System.Net.Http.WebRequestHandler.#ctor">
      <summary>Initializes a new instance of the <see cref="T:System.Net.Http.WebRequestHandler" /> class.</summary>
    </member>
    <member name="P:System.Net.Http.WebRequestHandler.AllowPipelining">
      <summary> Gets or sets a value that indicates whether to pipeline the request to the Internet resource.</summary>
      <returns>Returns <see cref="T:System.Boolean" />.true if the request should be pipelined; otherwise, false. The default is true. </returns>
    </member>
    <member name="P:System.Net.Http.WebRequestHandler.AuthenticationLevel">
      <summary>Gets or sets a value indicating the level of authentication and impersonation used for this request.</summary>
      <returns>Returns <see cref="T:System.Net.Security.AuthenticationLevel" />.A bitwise combination of the <see cref="T:System.Net.Security.AuthenticationLevel" /> values.  The default value is <see cref="F:System.Net.Security.AuthenticationLevel.MutualAuthRequested" />.</returns>
    </member>
    <member name="P:System.Net.Http.WebRequestHandler.CachePolicy">
      <summary>Gets or sets the cache policy for this request.</summary>
      <returns>Returns <see cref="T:System.Net.Cache.RequestCachePolicy" />.A <see cref="T:System.Net.Cache.RequestCachePolicy" /> object that defines a cache policy. The default is <see cref="P:System.Net.WebRequest.DefaultCachePolicy" />.</returns>
    </member>
    <member name="P:System.Net.Http.WebRequestHandler.ClientCertificates">
      <summary>Gets or sets the collection of security certificates that are associated with this request.</summary>
      <returns>Returns <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" />.The collection of security certificates associated with this request.</returns>
    </member>
    <member name="P:System.Net.Http.WebRequestHandler.ContinueTimeout">
      <summary>Gets or sets the amount of time, in milliseconds, the application will wait for 100-continue from the server before uploading data.</summary>
      <returns>Returns <see cref="T:System.TimeSpan" />.The amount of time, in milliseconds, the application will wait for 100-continue from the server before uploading data. The default value is 350 milliseconds.</returns>
    </member>
    <member name="P:System.Net.Http.WebRequestHandler.ImpersonationLevel">
      <summary>Gets or sets the impersonation level for the current request.</summary>
      <returns>Returns <see cref="T:System.Security.Principal.TokenImpersonationLevel" />.The impersonation level for the request. The default is <see cref="F:System.Security.Principal.TokenImpersonationLevel.Delegation" />.</returns>
    </member>
    <member name="P:System.Net.Http.WebRequestHandler.MaxResponseHeadersLength">
      <summary>Gets or sets the maximum allowed length of the response headers.</summary>
      <returns>Returns <see cref="T:System.Int32" />.The length, in kilobytes (1024 bytes), of the response headers.</returns>
    </member>
    <member name="P:System.Net.Http.WebRequestHandler.ReadWriteTimeout">
      <summary>Gets or sets a time-out in milliseconds when writing a request to or reading a response from a server.</summary>
      <returns>Returns <see cref="T:System.Int32" />.The number of milliseconds before the writing or reading times out. The default value is 300,000 milliseconds (5 minutes). </returns>
    </member>
    <member name="P:System.Net.Http.WebRequestHandler.ServerCertificateValidationCallback">
      <summary>Gets or sets a callback method to validate the server certificate.</summary>
      <returns>Returns <see cref="T:System.Net.Security.RemoteCertificateValidationCallback" />.A callback method to validate the server certificate.</returns>
    </member>
    <member name="P:System.Net.Http.WebRequestHandler.UnsafeAuthenticatedConnectionSharing">
      <summary>Gets or sets a value that indicates whether to allow high-speed NTLM-authenticated connection sharing.</summary>
      <returns>Returns <see cref="T:System.Boolean" />.true to keep the authenticated connection open; otherwise, false.</returns>
    </member>
  </members>
</doc>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Md.Tazul Islam
Software Developer (Senior)
Bangladesh Bangladesh
No Biography provided

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.150301.1 | Last Updated 12 Feb 2013
Article Copyright 2013 by Md.Tazul Islam
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid