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

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

@ -1,7 +1,6 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// This code was generated by a tool. // 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 // Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. // the code is regenerated.

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

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

Loading…
Cancel
Save