Changeset 23728 for platform/silverlight
- Timestamp:
- 11/15/08 01:12:25 (5 years ago)
- Location:
- platform/silverlight/Swit/trunk
- Files:
-
- 2 added
- 1 removed
- 15 modified
-
lib/net-3.5/System.Web.Abstractions.dll (modified) (previous)
-
lib/net-3.5/System.Web.Mvc.dll (modified) (previous)
-
lib/net-3.5/System.Web.Routing.dll (modified) (previous)
-
src (modified) (1 prop)
-
src/Swit/Page.xaml (modified) (3 diffs)
-
src/Swit/Page.xaml.cs (modified) (7 diffs)
-
src/Swit/Swit.csproj (modified) (4 diffs)
-
src/Swit/Swit.csproj.user (modified) (1 diff)
-
src/Swit_Web/App_Data/msgLog.xml (modified) (1 diff)
-
src/Swit_Web/Controllers/SwitController.cs (modified) (8 diffs)
-
src/Swit_Web/Default.aspx (modified) (1 diff)
-
src/Swit_Web/Default.aspx.cs (added)
-
src/Swit_Web/Default.aspx.designer.cs (added)
-
src/Swit_Web/Global.asax.cs (modified) (2 diffs)
-
src/Swit_Web/Swit_Web.csproj (modified) (7 diffs)
-
src/Swit_Web/Swit_Web.csproj.user (modified) (1 diff)
-
src/Swit_Web/Views (deleted)
-
src/Swit_Web/Web.config (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
platform/silverlight/Swit/trunk/src
-
Property
svn:ignore set
to
Swit.suo
-
Property
svn:ignore set
to
-
platform/silverlight/Swit/trunk/src/Swit/Page.xaml
r10491 r23728 38 38 <TextBlock Text="{Binding User}" FontSize="12" TextDecorations="Underline" /> 39 39 40 <TextBlock Text="{Binding DateString}" FontSize="12" Margin="0,0,8,0" HorizontalAlignment="Right" /> 41 </Grid> 42 40 <TextBlock Text="{Binding DateString}" FontSize="12" Margin="0,0,8,0" HorizontalAlignment="Right" /> 41 </Grid> 43 42 <TextBlock Text="{Binding Message}" FontSize="16" TextWrapping="Wrap" /> 44 </StackPanel>43 </StackPanel> 45 44 </DataTemplate> 46 45 </ListBox.ItemTemplate> … … 55 54 <TextBox x:Name="msgInput" FontSize="14" Margin="0,0,5,0" KeyDown="msgInput_KeyDown" /> 56 55 57 <Button x:Name="sendButton" Grid.Column="1" Content="送信" Cursor="Hand" 58 Click="sendButton_Click" MouseMove="sendButton_MouseMove" MouseLeave="sendButton_MouseLeave">56 <Button x:Name="sendButton" Grid.Column="1" Content="送信" Cursor="Hand" Foreground="White" 57 Click="sendButton_Click" MouseMove="sendButton_MouseMove" MouseLeave="sendButton_MouseLeave"> 59 58 <Button.Background> 60 59 <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1"> … … 68 67 <ControlTemplate TargetType="Button"> 69 68 <Border Background="{TemplateBinding Background}" CornerRadius="6" 70 BorderBrush="Black" BorderThickness="1">71 <ContentPresenter Content="{TemplateBinding Content}" Foreground="White"69 BorderBrush="Black" BorderThickness="1"> 70 <ContentPresenter Content="{TemplateBinding Content}" 72 71 HorizontalAlignment="Center" VerticalAlignment="Center" /> 73 72 </Border> -
platform/silverlight/Swit/trunk/src/Swit/Page.xaml.cs
r10491 r23728 29 29 using System.Text; 30 30 using System.Windows; 31 using System.Windows.Media.Animation;32 31 using System.Windows.Input; 33 32 using System.Windows.Browser; … … 101 100 /// <param name="message">メッセージ</param> 102 101 /// <param name="callback">送信が完了した時に呼び出されるコールバック</param> 103 privatevoid SendMessage(string message, Action callback) {102 void SendMessage(string message, Action callback) { 104 103 var webReq = (HttpWebRequest)HttpWebRequest.Create(new Uri(AppBase + "Swit/Send.aspx")); 105 104 webReq.Post(new Dictionary<string, object>() { … … 107 106 108 107 }, webRes => { 109 if(callback != null) callback();108 if(callback != null) this.Dispatcher.BeginInvoke(callback); 110 109 }); 111 110 } … … 115 114 /// </summary> 116 115 /// <param name="callback">取得が完了した時に呼び出されるコールバック</param> 117 privatevoid GetLog(Action callback) {116 void GetLog(Action callback) { 118 117 lock(this) { 119 118 if(downloading) return; … … 157 156 /// </summary> 158 157 /// <param name="callback">取得が完了した時に呼び出されるコールバック</param> 159 privatevoid GetLoginUsers(Action callback) {158 void GetLoginUsers(Action callback) { 160 159 var webClient = new WebClient(); 161 160 webClient.DownloadStringCompleted += (s, e) => { … … 177 176 /// </summary> 178 177 /// <param name="message">メッセージ</param> 179 private void PrintMessage(string message) { 178 [DebuggerStepThrough] 179 void PrintMessage(string message) { 180 180 statusText.Text = message; 181 181 … … 212 212 private void msgInput_KeyDown(object sender, KeyEventArgs e) { 213 213 if(e.Key == Key.Enter) { 214 sendButton_Click(sendButton, new RoutedEventArgs { Source = sendButton });214 sendButton_Click(sendButton, new RoutedEventArgs()); 215 215 } 216 216 } -
platform/silverlight/Swit/trunk/src/Swit/Swit.csproj
r10215 r23728 3 3 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> 4 4 <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> 5 <ProductVersion>9.0. 21022</ProductVersion>5 <ProductVersion>9.0.30729</ProductVersion> 6 6 <SchemaVersion>2.0</SchemaVersion> 7 7 <ProjectGuid>{2009A19A-9237-43D8-A985-E39FFD8231E4}</ProjectGuid> … … 20 20 <TestPageFileName>TestPage.html</TestPageFileName> 21 21 <CreateTestPage>true</CreateTestPage> 22 <ValidateXaml>true</ValidateXaml> 23 <ThrowErrorsInValidation>false</ThrowErrorsInValidation> 22 24 </PropertyGroup> 23 25 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> … … 48 50 <Reference Include="system" /> 49 51 <Reference Include="System.Core" /> 52 <Reference Include="System.Windows.Controls, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> 50 53 <Reference Include="System.Xml" /> 51 54 <Reference Include="System.Windows.Browser" /> 52 <Reference Include="System.Windows.Controls">53 <Private>True</Private>54 </Reference>55 <Reference Include="System.Windows.Controls.Extended">56 <Private>True</Private>57 </Reference>58 55 <Reference Include="System.Xml.Linq, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> 59 56 </ItemGroup> … … 69 66 </ItemGroup> 70 67 <ItemGroup> 71 < SilverlightPageInclude="App.xaml">72 <Generator>MSBuild: CompileXaml</Generator>73 </ SilverlightPage>74 < SilverlightPage Include="Page.xaml">75 <Generator>MSBuild: CompileXaml</Generator>76 </ SilverlightPage>68 <ApplicationDefinition Include="App.xaml"> 69 <Generator>MSBuild:MarkupCompilePass1</Generator> 70 </ApplicationDefinition> 71 <Page Include="Page.xaml"> 72 <Generator>MSBuild:MarkupCompilePass1</Generator> 73 </Page> 77 74 </ItemGroup> 78 75 <ItemGroup> -
platform/silverlight/Swit/trunk/src/Swit/Swit.csproj.user
r10215 r23728 18 18 <StartWorkingDirectory> 19 19 </StartWorkingDirectory> 20 <EnableENC>False</EnableENC>21 20 <ShowWebRefOnDebugPrompt>True</ShowWebRefOnDebugPrompt> 22 21 </SilverlightProjectProperties> -
platform/silverlight/Swit/trunk/src/Swit_Web/App_Data/msgLog.xml
r10491 r23728 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <logs> 3 <log> 4 <user>coma2n</user> 5 <message>hoge</message> 6 <date>2008-04-25T16:42:05.3437</date> 7 </log> 8 <log> 9 <user>coma2n</user> 10 <message>>coma2n hello</message> 11 <date>2008-04-25T16:44:07.1875</date> 12 </log> 13 </logs> 2 <logs /> -
platform/silverlight/Swit/trunk/src/Swit_Web/Controllers/SwitController.cs
r10491 r23728 27 27 using System.Web.Mvc; 28 28 using System.Xml.Linq; 29 using System.Text;30 29 using System.Linq; 31 30 using System.Collections.Generic; 32 using System.Diagnostics;33 31 34 32 #endregion … … 39 37 40 38 /// <summary> 41 /// ...のクラス39 /// Switのクラス 42 40 /// </summary> 43 public class SwitController : Controller {41 public sealed class SwitController : Controller { 44 42 45 43 #region const 46 44 47 45 /// <summary> 48 /// 46 /// メッセージログファイルの場所 49 47 /// </summary> 50 48 private const string DATA_FILE_PATH = "~/App_Data/msgLog.xml"; … … 86 84 /// </summary> 87 85 /// <param name="message">メッセージ</param> 88 public void Send(string message) { 86 /// <returns></returns> 87 public ActionResult Send(string message) { 89 88 var user = this.User != null ? this.User.Identity.Name : "名無しさん"; 90 89 var date = DateTime.Now; … … 100 99 xml.Save(fileName); 101 100 102 OutputValue(0);101 return Content("0", "text/plain"); 103 102 } 104 103 … … 106 105 /// 指定した日付以降に追加されたメッセージを取得します。 107 106 /// </summary> 108 public void Get() { 107 /// <returns></returns> 108 public ActionResult Get() { 109 109 var fileName = Request.MapPath(DATA_FILE_PATH); 110 110 var lwDate = File.GetLastWriteTime(fileName); 111 111 112 if(lwDate > LastWriteTime) { 113 var xml = XDocument.Load(fileName); 112 string content = "0", mimeType = "text/plain"; 113 114 if(lwDate > LastWriteTime) { 115 var xml = XDocument.Load(fileName); 114 116 115 117 var result = from log in xml.Descendants("log") … … 121 123 outXml.Add(new XElement("logs", result)); 122 124 123 OutputValue(outXml, "text/xml"); 125 content = outXml.ToString(); 126 mimeType = "text/xml"; 127 } 128 LastWriteTime = lwDate; 124 129 125 } else OutputValue(0); 126 127 LastWriteTime = lwDate; 130 return Content(content, mimeType); 128 131 } 129 132 … … 131 134 /// 現在ログインしているユーザの一覧を取得します。 132 135 /// </summary> 133 public void Users() { 136 /// <returns></returns> 137 public ActionResult Users() { 134 138 var loginUsers = (List<string>)HttpContext.Application["loginUsers"]; 135 139 … … 141 145 loginUsers.Select(name => new XElement("user", name)) 142 146 )); 143 OutputValue(outXml.ToString(), "text/xml");147 return Content(outXml.ToString(), "text/xml"); 144 148 } 149 return Content("0"); 145 150 } 146 147 #region private148 149 /// <summary>150 /// 指定した値をレスポンスとして出力します。151 /// </summary>152 /// <param name="value">値</param>153 /// <param name="contentType">種類</param>154 private void OutputValue(object value, string contentType) {155 Response.ContentType = contentType;156 Response.ContentEncoding = Encoding.UTF8;157 Response.Output.Write(value);158 //Response.End();159 }160 /// <summary>161 /// 指定した値をレスポンスとして出力します。162 /// </summary>163 /// <param name="value">値</param>164 private void OutputValue(object value) { OutputValue(value, "text/plain"); }165 166 #endregion167 151 168 152 #endregion -
platform/silverlight/Swit/trunk/src/Swit_Web/Default.aspx
r10215 r23728 1 <!-- Please do not delete this file. It is used to ensure that ASP.NET MVC is activated by IIS when a user makes a "/" request to the server. --> 1 <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Swit_Web._Default" %> 2 3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 4 <html xmlns="http://www.w3.org/1999/xhtml" style="height: 100%;"> 5 <head runat="server"> 6 <title>Swit</title> 7 <script type="text/javascript"> 8 window.onload = function() { 9 var sl = document.getElementById("Xaml1"); 10 sl.focus(); 11 } 12 </script> 13 </head> 14 <body style="height: 100%; margin: 0px;"> 15 <form id="form1" runat="server" style="height: 100%;"> 16 <asp:ScriptManager ID="ScriptManager1" runat="server" /> 17 18 <div style="margin: 4px; margin-bottom: 0px; width: 350px; font-size: small;"> 19 <asp:LoginName ID="LoginName1" runat="server" FormatString="ようこそ {0} さん" Style="float: left;" /> 20 21 <div style="float: right; display: inline;"> 22 <asp:LinkButton ID="logoutButton" runat="server" Text="ログアウト" 23 onclick="logoutButton_Click" /> 24 </div> 25 26 </div> 27 28 <div style="height: 400px;"> 29 <asp:Silverlight ID="Xaml1" runat="server" Height="100%" Width="100%" Source="~/ClientBin/Swit.xap" 30 MinimumVersion="2.0.31005.0" /> 31 </div> 32 33 </form> 34 </body> 35 </html> -
platform/silverlight/Swit/trunk/src/Swit_Web/Global.asax.cs
r10491 r23728 23 23 #region namespaces 24 24 25 using System;26 25 using System.Web.Mvc; 27 26 using System.Web.Routing; … … 30 29 31 30 namespace Swit.Web { 32 public class Global : System.Web.HttpApplication { 31 /// <summary> 32 /// 33 /// </summary> 34 public class Global : System.Web.HttpApplication { 35 protected void Application_Start() { 36 RegisterRoutes(RouteTable.Routes); 37 } 33 38 34 protected void Application_Start(object sender, EventArgs e) { 35 RouteTable.Routes.Add(new Route("Default.aspx", new MvcRouteHandler()) { 36 Defaults = new RouteValueDictionary( 37 new { controller="Home", action="Index" } 38 ) 39 }); 40 RouteTable.Routes.Add(new Route("{controller}/{action}.aspx", new MvcRouteHandler())); 41 } 39 /// <summary> 40 /// 41 /// </summary> 42 /// <param name="routes"></param> 43 static void RegisterRoutes(RouteCollection routes) { 44 routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); 42 45 43 } 46 routes.MapRoute( 47 "Default", 48 "{controller}/{action}.aspx" 49 ); 50 } 51 } 44 52 } -
platform/silverlight/Swit/trunk/src/Swit_Web/Swit_Web.csproj
r10215 r23728 3 3 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> 4 4 <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> 5 <ProductVersion>9.0. 21022</ProductVersion>5 <ProductVersion>9.0.30729</ProductVersion> 6 6 <SchemaVersion>2.0</SchemaVersion> 7 7 <ProjectGuid>{CD3AB488-5D3B-411B-8BAC-FA0322EA1CCC}</ProjectGuid> … … 12 12 <AssemblyName>Switt_Web</AssemblyName> 13 13 <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> 14 <SilverlightApplicationList>{2009A19A-9237-43D8-A985-E39FFD8231E4}|..\Swit\Swit.csproj|ClientBin|False</SilverlightApplicationList> 14 15 </PropertyGroup> 15 16 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> … … 40 41 <SpecificVersion>False</SpecificVersion> 41 42 <HintPath>..\..\lib\net-3.5\System.Web.Abstractions.dll</HintPath> 43 <Private>True</Private> 42 44 </Reference> 43 45 <Reference Include="System.Web.Extensions"> … … 47 49 <SpecificVersion>False</SpecificVersion> 48 50 <HintPath>..\..\lib\net-3.5\System.Web.Mvc.dll</HintPath> 51 <Private>True</Private> 49 52 </Reference> 50 53 <Reference Include="System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> 51 54 <SpecificVersion>False</SpecificVersion> 52 55 <HintPath>..\..\lib\net-3.5\System.Web.Routing.dll</HintPath> 56 <Private>True</Private> 53 57 </Reference> 54 58 <Reference Include="System.Web.Silverlight, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> … … 75 79 </Compile> 76 80 <Compile Include="Properties\AssemblyInfo.cs" /> 77 <Compile Include="Controllers\HomeController.cs" /> 78 <Compile Include="Views\Home\Index.aspx.cs"> 79 <DependentUpon>Index.aspx</DependentUpon> 81 <Compile Include="Default.aspx.cs"> 82 <DependentUpon>Default.aspx</DependentUpon> 80 83 <SubType>ASPXCodeBehind</SubType> 81 84 </Compile> 82 <Compile Include=" Views\Home\Index.aspx.designer.cs">83 <DependentUpon> Index.aspx</DependentUpon>85 <Compile Include="Default.aspx.designer.cs"> 86 <DependentUpon>Default.aspx</DependentUpon> 84 87 </Compile> 85 88 </ItemGroup> … … 87 90 <Content Include="App_Data\msgLog.xml" /> 88 91 <Content Include="ClientBin\Swit.xap" /> 89 <Content Include="Default.aspx" />90 92 <Content Include="Global.asax" /> 91 93 <Content Include="Login.aspx" /> 92 <Content Include="Views\Home\Index.aspx" /> 93 <Content Include="Views\Web.config" /> 94 <Content Include="Default.aspx" /> 94 95 </ItemGroup> 95 96 <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> … … 106 107 <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}"> 107 108 <WebProjectProperties> 108 <UseIIS> False</UseIIS>109 <UseIIS>True</UseIIS> 109 110 <AutoAssignPort>False</AutoAssignPort> 110 111 <DevelopmentServerPort>1100</DevelopmentServerPort> 111 112 <DevelopmentServerVPath>/</DevelopmentServerVPath> 112 <IISUrl> 113 </IISUrl> 113 <IISUrl>http://localhost/Swit_Web</IISUrl> 114 114 <NTLMAuthentication>False</NTLMAuthentication> 115 <UseCustomServer>False</UseCustomServer> 116 <CustomServerUrl> 117 </CustomServerUrl> 115 118 <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile> 116 <ProjectOutputReferences>117 <Ref Project="{2009A19A-9237-43D8-A985-E39FFD8231E4}" Folder="" />118 </ProjectOutputReferences>119 119 </WebProjectProperties> 120 120 </FlavorProperties> -
platform/silverlight/Swit/trunk/src/Swit_Web/Swit_Web.csproj.user
r10491 r23728 24 24 <EnableENC>False</EnableENC> 25 25 <AlwaysStartWebServerOnDebug>True</AlwaysStartWebServerOnDebug> 26 <EnableWcfTestClientForSVC>False</EnableWcfTestClientForSVC> 26 27 <ProjectOutputReferences> 27 <Ref Project="{2009A19A-9237-43D8-A985-E39FFD8231E4}" Folder=" ">ClientBin\Swit.xap</Ref>28 <Ref Project="{2009A19A-9237-43D8-A985-E39FFD8231E4}" Folder="ClientBin">Swit.xap</Ref> 28 29 </ProjectOutputReferences> 29 30 </WebProjectProperties> -
platform/silverlight/Swit/trunk/src/Swit_Web/Web.config
r10215 r23728 2 2 <configuration> 3 3 4 <system.web> 5 <compilation debug="true"> 6 <assemblies> 7 <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> 8 <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> 9 </assemblies> 10 </compilation> 11 12 <customErrors mode="RemoteOnly"> 13 </customErrors> 14 15 <pages> 16 <controls> 17 <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> 18 <add tagPrefix="asp" namespace="System.Web.UI.SilverlightControls" assembly="System.Web.Silverlight, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> 19 </controls> 20 </pages> 21 22 <httpHandlers> 23 <remove verb="*" path="*.asmx"/> 24 <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> 25 <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> 26 <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/> 27 </httpHandlers> 28 29 <httpModules> 30 <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> 31 <add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> 32 </httpModules> 33 34 <sessionState mode="InProc" timeout="60" /> 35 36 <authentication mode="Forms"> 37 <forms loginUrl="~/Login.aspx" /> 38 </authentication> 39 40 <authorization> 41 <deny users="?" /> 42 </authorization> 43 </system.web> 4 <system.web> 5 <compilation debug="true"> 6 <assemblies> 7 <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> 8 <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> 9 </assemblies> 10 </compilation> 44 11 45 <system.codedom> 46 <compilers> 47 <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 48 <providerOption name="CompilerVersion" value="v3.5"/> 49 <providerOption name="WarnAsError" value="false"/> 50 </compiler> 51 </compilers> 52 </system.codedom> 12 <customErrors mode="RemoteOnly"> 13 </customErrors> 14 15 <pages> 16 <controls> 17 <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> 18 <add tagPrefix="asp" namespace="System.Web.UI.SilverlightControls" assembly="System.Web.Silverlight, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> 19 </controls> 20 </pages> 21 22 <httpHandlers> 23 <remove verb="*" path="*.asmx"/> 24 <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> 25 <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> 26 <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/> 27 <add verb="*" path="*.mvc" validate="false" type="System.Web.Mvc.MvcHttpHandler, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> 28 </httpHandlers> 29 30 <httpModules> 31 <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> 32 <add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> 33 </httpModules> 34 35 <sessionState mode="InProc" timeout="60" /> 36 37 <authentication mode="Forms"> 38 <forms loginUrl="~/Login.aspx" /> 39 </authentication> 40 41 <authorization> 42 <deny users="?" /> 43 </authorization> 44 </system.web> 45 46 <system.codedom> 47 <compilers> 48 <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 49 <providerOption name="CompilerVersion" value="v3.5"/> 50 <providerOption name="WarnAsError" value="false"/> 51 </compiler> 52 </compilers> 53 </system.codedom> 54 55 <runtime> 56 <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> 57 <dependentAssembly> 58 <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/> 59 <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/> 60 </dependentAssembly> 61 <dependentAssembly> 62 <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/> 63 <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/> 64 </dependentAssembly> 65 </assemblyBinding> 66 </runtime> 53 67 </configuration>
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)