Browse Source

Fix requestValidation in web.config (happened on conversion to .NET 4.0)

Minor change in wording in snippet converter

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6423 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
pull/1/head
Christoph Wille 15 years ago
parent
commit
bafecf9e86
  1. 2
      samples/CodeConverter/Source/CCSite/SnippetConverter.aspx
  2. 3
      samples/CodeConverter/Source/CCSite/SnippetConverter.aspx.designer.cs
  3. 23
      samples/CodeConverter/Source/CCSite/Web.Config

2
samples/CodeConverter/Source/CCSite/SnippetConverter.aspx

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
<%@ Page Language="C#" MasterPageFile="~/ProzacAfternoon.master" AutoEventWireup="true"
Inherits="SnippetConverterPage"
Title="Snippet Converter for .NET 2.0"
Title="Snippet Converter for .NET 4.0"
ValidateRequest="false" Codebehind="SnippetConverter.aspx.cs" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="Server">

3
samples/CodeConverter/Source/CCSite/SnippetConverter.aspx.designer.cs generated

@ -1,10 +1,9 @@ @@ -1,10 +1,9 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.4927
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

23
samples/CodeConverter/Source/CCSite/Web.Config

@ -8,24 +8,26 @@ @@ -8,24 +8,26 @@
\Windows\Microsoft.Net\Framework\v2.x\Config
-->
<configuration>
<appSettings/>
<connectionStrings/>
<system.web>
<!--
<appSettings/>
<connectionStrings/>
<system.web>
<httpRuntime requestValidationMode="2.0" />
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<compilation debug="true" targetFramework="4.0">
</compilation>
<!--
<compilation debug="true" targetFramework="4.0">
</compilation>
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<authentication mode="Windows"/>
<!--
<authentication mode="Windows"/>
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
@ -37,5 +39,6 @@ @@ -37,5 +39,6 @@
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
-->
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/></system.web>
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/>
</system.web>
</configuration>

Loading…
Cancel
Save