﻿<?xml version="1.0" encoding="utf-8" ?>
<configuration>

  <configSections>
	<!-- BEGIN ASPSmith VControl Required Configuration Block *** REQUIRED IF USING CUSTOM DEFAULT VControl BEHAVIOR *** -->
	<sectionGroup name="VControls">
	  <sectionGroup name="VTextBox">
		<section name="CreditCardBox" type="System.Configuration.NameValueSectionHandler,System"></section>
		<section name="EmailBox" type="System.Configuration.NameValueSectionHandler,System"></section>
		<section name="NumberBox" type="System.Configuration.NameValueSectionHandler,System"></section>
		<section name="PhoneBox" type="System.Configuration.NameValueSectionHandler,System"></section>
		<section name="PostalCodeBox" type="System.Configuration.NameValueSectionHandler,System"></section>
		<section name="SsnBox" type="System.Configuration.NameValueSectionHandler,System"></section>
		<section name="UrlBox" type="System.Configuration.NameValueSectionHandler,System"></section>
		<section name="ZipBox" type="System.Configuration.NameValueSectionHandler,System"></section>
	  </sectionGroup>
	  <section name="VControl" type="System.Configuration.NameValueSectionHandler,System"></section>
	</sectionGroup>
	<!-- END ASPSmith VControl Required Configuration Block -->
  </configSections>

<!-- BEGIN ASPSmith VControl Configuration Block *** ALL ITEMS ARE OPTIONAL *** -->
  <VControls>
	<VTextBox>
		<CreditCardBox>
			<!-- Determines the display mode for the validator controls - choose either Static, Dynamic, or None. -->
			<add key="Display" value="Dynamic" />
			<!-- Determines the error icon to show for each validator - default is a *. -->
			<add key="ErrorIcon" value="(*)"/>
			<!-- If set, FieldName is prepended to the error messages set here. -->
			<add key="FieldName" value="DefaultCC"/>
			<!-- Displayed when validation fails due to regular expression. -->
			<add key="InvalidErrorMessage" value=" is invalid." />
			<!-- Determines if the control requires some input to be valid. -->
			<add key="IsRequired" value="true" />
			<!-- The error message to display if the field is required and not entered. -->
			<add key="RequiredErrorMessage" value=" is required." />
			<!-- This determines whether the control will use validation AT ALL -->
			<add key="RequiresValidation" value="true" />
			<!-- The default HTML to use to separate this control from its validators. -->
			<add key="SeparatorHtml" value="&lt;/td&gt;&lt;td&gt;" />
			<!-- Determines whether or not this control should use a regular expression for validation. -->
			<add key="UseRegExValidation" value="true" />
			<!-- Sets the default regular expression to use to validate this control.  
				If set, this will override the default valid format(s) expected for this control. -->
			<!-- <add key="ValidationExpression" value="^(6011(-?\d{4}){3})|(5[1-5]\d{2}(-?\d{4}){3})|(4\d{3}(-?\d{4}){3})|(3[4,7]\d{13})$"/> -->
		</CreditCardBox>
		<EmailBox>
			<!-- Determines the display mode for the validator controls - choose either Static, Dynamic, or None. -->
			<add key="Display" value="Dynamic" />
			<!-- Determines the error icon to show for each validator - default is a *. -->
			<add key="ErrorIcon" value="(*)"/>
			<!-- If set, FieldName is prepended to the error messages set here. -->
			<add key="FieldName" value="DefaultEmail"/>
			<!-- Displayed when validation fails due to regular expression or MX check. -->
			<add key="InvalidErrorMessage" value=" is invalid." />
			<!-- Determines if the control requires some input to be valid. -->
			<add key="IsRequired" value="true" />
			<!-- Displayed when no MX record is found for the associated email address. -->
			<add key="MXNotFoundErrorMessage" value=" not associated with a valid mail server." />
			<!-- Your access code to use your MXChecker web service, if any. -->
			<add key="MXServiceAccessCode" value="0" />
			<!-- The timeout, in seconds, for the MXChecker service. -->
			<add key="MXServiceTimeout" value="5" />
			<!-- The error message to display if the field is required and not entered. -->
			<add key="RequiredErrorMessage" value=" is required." />
			<!-- This determines whether the control will use validation AT ALL -->
			<add key="RequiresValidation" value="true" />
			<!-- The default HTML to use to separate this control from its validators. -->
			<add key="SeparatorHtml" value="&lt;/td&gt;&lt;td&gt;" />
			<!-- Determines if a timeout while accessing the MXChecker service should be treated as an invalid response. -->
			<add key="TreatTimeoutAsInvalid" value="true" />
			<!-- Determines whether or not this control should use a regular expression for validation. -->
			<add key="UseRegExValidation" value="true" />
			<!-- Sets the default regular expression to use to validate this control. -->
			<add key="ValidationExpression" value="^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})|([a-zA-Z0-9\-\.]+))\.([a-zA-Z]{2,3}|[0-9]{1,3})(\]?)$"/>
			<!-- Determines whether or not an MX record check is used for this controls. -->
			<add key="VerifyMXRecord" value="true" />
		</EmailBox>
		<NumberBox>
			<!-- Determines the display mode for the validator controls - choose either Static, Dynamic, or None. -->
			<add key="Display" value="Dynamic" />
			<!-- Determines the error icon to show for each validator - default is a *. -->
			<add key="ErrorIcon" value="(*)"/>
			<!-- If set, FieldName is prepended to the error messages set here. -->
			<add key="FieldName" value="DefaultNumber"/>
			<!-- Displayed when validation fails due to regular expression. -->
			<add key="InvalidErrorMessage" value=" is invalid." />
			<!-- Determines if the control requires some input to be valid. -->
			<add key="IsRequired" value="true" />
			<!-- The error message to display if the field is required and not entered. -->
			<add key="RequiredErrorMessage" value=" is required." />
			<!-- This determines whether the control will use validation AT ALL -->
			<add key="RequiresValidation" value="true" />
			<!-- The default HTML to use to separate this control from its validators. -->
			<add key="SeparatorHtml" value="&lt;/td&gt;&lt;td&gt;" />
			<!-- Determines whether or not this control should use a regular expression for validation. -->
			<add key="UseRegExValidation" value="true" />
			<!-- Sets the default regular expression to use to validate this control.  
				If set, this will override the default valid format(s) expected for this control. -->
			<!-- <add key="ValidationExpression" value="^([-+]?\d*\.?\d*)$"/> -->
		</NumberBox>
		<PhoneBox>
			<!-- Determines the display mode for the validator controls - choose either Static, Dynamic, or None. -->
			<add key="Display" value="Dynamic" />
			<!-- Determines the error icon to show for each validator - default is a *. -->
			<add key="ErrorIcon" value="(*)"/>
			<!-- If set, FieldName is prepended to the error messages set here. -->
			<add key="FieldName" value="DefaultPhone"/>
			<!-- Displayed when validation fails due to regular expression. -->
			<add key="InvalidErrorMessage" value=" is invalid." />
			<!-- Determines if the control requires some input to be valid. -->
			<add key="IsRequired" value="true" />
			<!-- The error message to display if the field is required and not entered. -->
			<add key="RequiredErrorMessage" value=" is required." />
			<!-- This determines whether the control will use validation AT ALL -->
			<add key="RequiresValidation" value="true" />
			<!-- The default HTML to use to separate this control from its validators. -->
			<add key="SeparatorHtml" value="&lt;/td&gt;&lt;td&gt;" />
			<!-- Determines whether or not this control should use a regular expression for validation. -->
			<add key="UseRegExValidation" value="true" />
			<!-- Sets the default regular expression to use to validate this control.  
				If set, this will override the default valid format(s) expected for this control. -->
			<!-- <add key="ValidationExpression" value="^[2-9]\d{9}$"/> -->
		</PhoneBox>
		<PostalCodeBox>
			<!-- Determines the display mode for the validator controls - choose either Static, Dynamic, or None. -->
			<add key="Display" value="Dynamic" />
			<!-- Determines the error icon to show for each validator - default is a *. -->
			<add key="ErrorIcon" value="(*)"/>
			<!-- If set, FieldName is prepended to the error messages set here. -->
			<add key="FieldName" value="DefaultPostalCodeBox"/>
			<!-- Displayed when validation fails due to regular expression. -->
			<add key="InvalidErrorMessage" value=" is invalid." />
			<!-- Determines if the control requires some input to be valid. -->
			<add key="IsRequired" value="true" />
			<!-- The error message to display if the field is required and not entered. -->
			<add key="RequiredErrorMessage" value=" is required." />
			<!-- This determines whether the control will use validation AT ALL -->
			<add key="RequiresValidation" value="true" />
			<!-- The default HTML to use to separate this control from its validators. -->
			<add key="SeparatorHtml" value="&lt;/td&gt;&lt;td&gt;" />
			<!-- Determines whether or not this control should use a regular expression for validation. -->
			<add key="UseRegExValidation" value="true" />
			<!-- Sets the default regular expression to use to validate this control.  
				If set, this will override the default valid format(s) expected for this control. -->
			<!-- <add key="ValidationExpression" value="^\d{5}$"/> -->
		</PostalCodeBox>
		<SsnBox>
			<!-- Determines the display mode for the validator controls - choose either Static, Dynamic, or None. -->
			<add key="Display" value="Dynamic" />
			<!-- Determines the error icon to show for each validator - default is a *. -->
			<add key="ErrorIcon" value="(*)"/>
			<!-- If set, FieldName is prepended to the error messages set here. -->
			<add key="FieldName" value="DefaultSSN"/>
			<!-- Displayed when validation fails due to regular expression. -->
			<add key="InvalidErrorMessage" value=" is invalid." />
			<!-- Determines if the control requires some input to be valid. -->
			<add key="IsRequired" value="true" />
			<!-- The error message to display if the field is required and not entered. -->
			<add key="RequiredErrorMessage" value=" is required." />
			<!-- This determines whether the control will use validation AT ALL -->
			<add key="RequiresValidation" value="true" />
			<!-- The default HTML to use to separate this control from its validators. -->
			<add key="SeparatorHtml" value="&lt;/td&gt;&lt;td&gt;" />
			<!-- Determines whether or not this control should use a regular expression for validation. -->
			<add key="UseRegExValidation" value="true" />
			<!-- Sets the default regular expression to use to validate this control.  
				If set, this will override the default valid format(s) expected for this control. -->
			<!-- <add key="ValidationExpression" value="^\d{5}$"/> -->
		</SsnBox>
		<UrlBox>
			<!-- Determines the display mode for the validator controls - choose either Static, Dynamic, or None. -->
			<add key="Display" value="Dynamic" />
			<!-- Determines the error icon to show for each validator - default is a *. -->
			<add key="ErrorIcon" value="(*)"/>
			<!-- If set, FieldName is prepended to the error messages set here. -->
			<add key="FieldName" value="DefaultURL"/>
			<!-- Displayed when validation fails due to regular expression. -->
			<add key="InvalidErrorMessage" value=" is invalid." />
			<!-- Determines if the control requires some input to be valid. -->
			<add key="IsRequired" value="true" />
			<!-- The error message to display if the field is required and not entered. -->
			<add key="RequiredErrorMessage" value=" is required." />
			<!-- This determines whether the control will use validation AT ALL -->
			<add key="RequiresValidation" value="true" />
			<!-- The default HTML to use to separate this control from its validators. -->
			<add key="SeparatorHtml" value="&lt;/td&gt;&lt;td&gt;" />
			<!-- Determines whether or not this control should use a regular expression for validation. -->
			<add key="UseRegExValidation" value="true" />
			<!-- Sets the default regular expression to use to validate this control.  
				If set, this will override the default valid format(s) expected for this control. -->
			<!-- <add key="ValidationExpression" value="^\d{5}$"/> -->
		</UrlBox>
		<ZipBox>
			<!-- Determines the display mode for the validator controls - choose either Static, Dynamic, or None. -->
			<add key="Display" value="Dynamic" />
			<!-- Determines the error icon to show for each validator - default is a *. -->
			<add key="ErrorIcon" value="(*)"/>
			<!-- If set, FieldName is prepended to the error messages set here. -->
			<add key="FieldName" value="DefaultZIP"/>
			<!-- Displayed when validation fails due to regular expression. -->
			<add key="InvalidErrorMessage" value=" is invalid." />
			<!-- Determines if the control requires some input to be valid. -->
			<add key="IsRequired" value="true" />
			<!-- The error message to display if the field is required and not entered. -->
			<add key="RequiredErrorMessage" value=" is required." />
			<!-- This determines whether the control will use validation AT ALL -->
			<add key="RequiresValidation" value="true" />
			<!-- The default HTML to use to separate this control from its validators. -->
			<add key="SeparatorHtml" value="&lt;/td&gt;&lt;td&gt;" />
			<!-- Determines whether or not this control should use a regular expression for validation. -->
			<add key="UseRegExValidation" value="true" />
			<!-- Sets the default regular expression to use to validate this control.  
				If set, this will override the default valid format(s) expected for this control. -->
			<!-- <add key="ValidationExpression" value="^\d{5}$"/> -->
		</ZipBox>
	</VTextBox>
	<VControl>
		<!-- The default HTML to use to separate the control from its validatiors for all VControls -->
		<add key="SeparatorHtml" value="&lt;/td&gt;&lt;td&gt;"/>
	</VControl>
  </VControls>
<!-- END ASPSmith VControl Required Configuration Block -->
 
  
  
  <system.web>

    <!--  DYNAMIC DEBUG COMPILATION
          Set compilation debug="true" to enable ASPX debugging.  Otherwise, setting this value to
          false will improve runtime performance of this application. 
          Set compilation debug="true" to insert debugging symbols (.pdb information)
          into the compiled page. Because this creates a larger file that executes
          more slowly, you should set this value to true only when debugging and to
          false at all other times. For more information, refer to the documentation about
          debugging ASP.NET files.
    -->
    <compilation 
         defaultLanguage="c#"
         debug="true"
    />

    <!--  CUSTOM ERROR MESSAGES
          Set mode="on" or "remoteonly" to enable custom error messages, "off" to disable. Add
          <error> tags for each of the errors you want to handle.
    -->
    <customErrors 
    mode="Off" 
    /> 

    <!--  AUTHENTICATION 
          This section sets the authentication policies of the application. Possible modes are "Windows", "Forms", 
          "Passport" and "None"
    -->
    <authentication mode="None" /> 

    <!--  APPLICATION-LEVEL TRACE LOGGING
          Application-level tracing enables trace log output for every page within an application. 
          Set trace enabled="true" to enable application trace logging.  If pageOutput="true", the
          trace information will be displayed at the bottom of each page.  Otherwise, you can view the 
          application trace log by browsing the "trace.axd" page from your web application
          root. 
    -->
    <trace
        enabled="false"
        requestLimit="10"
        pageOutput="true"
        traceMode="SortByTime"
		localOnly="true"
    />

    <!--  SESSION STATE SETTINGS
          By default ASP.NET uses cookies to identify which requests belong to a particular session. 
          If cookies are not available, a session can be tracked by adding a session identifier to the URL. 
          To disable cookies, set sessionState cookieless="true".
    -->
    <sessionState 
            mode="InProc"
            stateConnectionString="tcpip=127.0.0.1:42424"
            sqlConnectionString="data source=127.0.0.1;user id=sa;password="
            cookieless="false" 
            timeout="20" 
    />

    <!--  PREVENT SOURCE CODE DOWNLOAD
          This section sets the types of files that will not be downloaded. As well as entering
          a httphandler for a file type, you must also associate that file type with the aspnet_isapi.dll
          in the App Mappings property of the web site, or the file can be downloaded.
          It is recommended that you use this section to prevent your sources being downloaded.
    -->
    <httpHandlers>
            <add verb="*" path="*.vb" type="System.Web.HttpNotFoundHandler,System.Web" />
            <add verb="*" path="*.cs" type="System.Web.HttpNotFoundHandler,System.Web" />
            <add verb="*" path="*.vbproj" type="System.Web.HttpNotFoundHandler,System.Web" />
            <add verb="*" path="*.csproj" type="System.Web.HttpNotFoundHandler,System.Web" />
            <add verb="*" path="*.webinfo" type="System.Web.HttpNotFoundHandler,System.Web" />
    </httpHandlers>

    <!--  GLOBALIZATION
          This section sets the globalization settings of the application. 
    -->
    <globalization 
            requestEncoding="utf-8" 
            responseEncoding="utf-8" 
   />
   
 </system.web>

</configuration>
