Skip to content
Browse files

Added Integration Test project for debugging live sites

  • Loading branch information...
1 parent 2c5fef7 commit 6e5d6d945b2325f3d4870227069aacbfed6b2c43 unknown committed
Showing with 2,750 additions and 4 deletions.
  1. +1,643 −0 src/ServiceStack.Common.5.1.ReSharper.user
  2. +11 −0 src/ServiceStack.Common.sln
  3. BIN src/ServiceStack.Common.suo
  4. +16 −0 src/ServiceStack.WebHost.IntegrationTests/Default.aspx
  5. +23 −0 src/ServiceStack.WebHost.IntegrationTests/Default.aspx.cs
  6. +27 −0 src/ServiceStack.WebHost.IntegrationTests/Default.aspx.designer.cs
  7. +1 −0 src/ServiceStack.WebHost.IntegrationTests/Global.asax
  8. +68 −0 src/ServiceStack.WebHost.IntegrationTests/Global.asax.cs
  9. +18 −0 src/ServiceStack.WebHost.IntegrationTests/Operations/Reverse.cs
  10. +39 −0 src/ServiceStack.WebHost.IntegrationTests/Properties/AssemblyInfo.cs
  11. +123 −0 src/ServiceStack.WebHost.IntegrationTests/ServiceStack.WebHost.IntegrationTests.csproj
  12. +31 −0 src/ServiceStack.WebHost.IntegrationTests/ServiceStack.WebHost.IntegrationTests.csproj.user
  13. +16 −0 src/ServiceStack.WebHost.IntegrationTests/Services/ReverseService.cs
  14. +141 −0 src/ServiceStack.WebHost.IntegrationTests/Web.config
  15. +1 −4 tests/ServiceStack.WebHost.Endpoints.Tests/ServiceStack.WebHost.Endpoints.Tests.csproj
  16. +5 −0 tests/ServiceStack.WebHost.Endpoints.Tests/ServiceStack.WebHost.Endpoints.Tests.csproj.user
  17. +16 −0 tests/ServiceStack.WebHost.IntegrationTests/Default.aspx
  18. +23 −0 tests/ServiceStack.WebHost.IntegrationTests/Default.aspx.cs
  19. +27 −0 tests/ServiceStack.WebHost.IntegrationTests/Default.aspx.designer.cs
  20. +1 −0 tests/ServiceStack.WebHost.IntegrationTests/Global.asax
  21. +68 −0 tests/ServiceStack.WebHost.IntegrationTests/Global.asax.cs
  22. +18 −0 tests/ServiceStack.WebHost.IntegrationTests/Operations/Reverse.cs
  23. +18 −0 tests/ServiceStack.WebHost.IntegrationTests/Operations/Rot13.cs
  24. +39 −0 tests/ServiceStack.WebHost.IntegrationTests/Properties/AssemblyInfo.cs
  25. +134 −0 tests/ServiceStack.WebHost.IntegrationTests/ServiceStack.WebHost.IntegrationTests.csproj
  26. +31 −0 tests/ServiceStack.WebHost.IntegrationTests/ServiceStack.WebHost.IntegrationTests.csproj.user
  27. +16 −0 tests/ServiceStack.WebHost.IntegrationTests/Services/ReverseService.cs
  28. +16 −0 tests/ServiceStack.WebHost.IntegrationTests/Services/Rot13Service.cs
  29. +1 −0 tests/ServiceStack.WebHost.IntegrationTests/Soap11WebService.asmx
  30. +38 −0 tests/ServiceStack.WebHost.IntegrationTests/Soap11WebService.asmx.cs
  31. +141 −0 tests/ServiceStack.WebHost.IntegrationTests/Web.config
View
1,643 src/ServiceStack.Common.5.1.ReSharper.user
1,643 additions, 0 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
11 src/ServiceStack.Common.sln
@@ -52,6 +52,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{EB65E771
..\build\build.bat = ..\build\build.bat
EndProjectSection
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServiceStack.WebHost.IntegrationTests", "..\tests\ServiceStack.WebHost.IntegrationTests\ServiceStack.WebHost.IntegrationTests.csproj", "{2A632D57-2260-4AB7-96F6-AF8FBB5D0E5B}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -210,6 +212,14 @@ Global
{55C5C6DA-1834-4BA8-8D2F-19C091B6FC81}.Release|Any CPU.Build.0 = Release|Any CPU
{55C5C6DA-1834-4BA8-8D2F-19C091B6FC81}.STATIC_ONLY NO_EXPRESSIONS|Any CPU.ActiveCfg = STATIC_ONLY NO_EXPRESSIONS|Any CPU
{55C5C6DA-1834-4BA8-8D2F-19C091B6FC81}.STATIC_ONLY NO_EXPRESSIONS|Any CPU.Build.0 = STATIC_ONLY NO_EXPRESSIONS|Any CPU
+ {2A632D57-2260-4AB7-96F6-AF8FBB5D0E5B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {2A632D57-2260-4AB7-96F6-AF8FBB5D0E5B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {2A632D57-2260-4AB7-96F6-AF8FBB5D0E5B}.MonoTouch|Any CPU.ActiveCfg = Release|Any CPU
+ {2A632D57-2260-4AB7-96F6-AF8FBB5D0E5B}.MonoTouch|Any CPU.Build.0 = Release|Any CPU
+ {2A632D57-2260-4AB7-96F6-AF8FBB5D0E5B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {2A632D57-2260-4AB7-96F6-AF8FBB5D0E5B}.Release|Any CPU.Build.0 = Release|Any CPU
+ {2A632D57-2260-4AB7-96F6-AF8FBB5D0E5B}.STATIC_ONLY NO_EXPRESSIONS|Any CPU.ActiveCfg = Release|Any CPU
+ {2A632D57-2260-4AB7-96F6-AF8FBB5D0E5B}.STATIC_ONLY NO_EXPRESSIONS|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -222,6 +232,7 @@ Global
{94A33BC4-AC22-49A3-A38E-2ABFCD997ABA} = {4EBD29DD-21A1-47B5-80DB-F9D58C91BED5}
{A5646013-C243-453F-A2B6-3B6870A9637D} = {4EBD29DD-21A1-47B5-80DB-F9D58C91BED5}
{55C5C6DA-1834-4BA8-8D2F-19C091B6FC81} = {4EBD29DD-21A1-47B5-80DB-F9D58C91BED5}
+ {2A632D57-2260-4AB7-96F6-AF8FBB5D0E5B} = {4EBD29DD-21A1-47B5-80DB-F9D58C91BED5}
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
StartupItem = ServiceStack.ServiceClient.Web\ServiceStack.ServiceClient.Web.csproj
View
BIN src/ServiceStack.Common.suo
Binary file not shown.
View
16 src/ServiceStack.WebHost.IntegrationTests/Default.aspx
@@ -0,0 +1,16 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="ServiceStack.WebHost.IntegrationTests._Default" %>
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" >
+<head runat="server">
+ <title>Untitled Page</title>
+</head>
+<body>
+ <form id="form1" runat="server">
+ <div>
+
+ </div>
+ </form>
+</body>
+</html>
View
23 src/ServiceStack.WebHost.IntegrationTests/Default.aspx.cs
@@ -0,0 +1,23 @@
+using System;
+using System.Collections;
+using System.Configuration;
+using System.Data;
+using System.Linq;
+using System.Web;
+using System.Web.Security;
+using System.Web.UI;
+using System.Web.UI.HtmlControls;
+using System.Web.UI.WebControls;
+using System.Web.UI.WebControls.WebParts;
+using System.Xml.Linq;
+
+namespace ServiceStack.WebHost.IntegrationTests
+{
+ public partial class _Default : System.Web.UI.Page
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+
+ }
+ }
+}
View
27 src/ServiceStack.WebHost.IntegrationTests/Default.aspx.designer.cs
@@ -0,0 +1,27 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+// This code was generated by a tool.
+// Runtime Version:2.0.50727.42
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace ServiceStack.WebHost.IntegrationTests
+{
+
+
+ public partial class _Default
+ {
+
+ /// <summary>
+ /// form1 control.
+ /// </summary>
+ /// <remarks>
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ /// </remarks>
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+ }
+}
View
1 src/ServiceStack.WebHost.IntegrationTests/Global.asax
@@ -0,0 +1 @@
+<%@ Application Codebehind="Global.asax.cs" Inherits="ServiceStack.WebHost.IntegrationTests.Global" Language="C#" %>
View
68 src/ServiceStack.WebHost.IntegrationTests/Global.asax.cs
@@ -0,0 +1,68 @@
+using System;
+using System.Collections;
+using System.Configuration;
+using System.Data;
+using System.Linq;
+using System.Reflection;
+using System.Web;
+using System.Web.Security;
+using System.Web.SessionState;
+using System.Xml.Linq;
+using Funq;
+using ServiceStack.WebHost.Endpoints;
+using ServiceStack.WebHost.IntegrationTests.Operations;
+
+namespace ServiceStack.WebHost.IntegrationTests
+{
+ public class Global : System.Web.HttpApplication
+ {
+ public class AppHost
+ : AppHostBase
+ {
+ public AppHost()
+ : base("ServiceStack WebHost IntegrationTests", typeof(Reverse).Assembly)
+ {
+ }
+
+ public override void Configure(Container container)
+ {
+ }
+ }
+
+ protected void Application_Start(object sender, EventArgs e)
+ {
+ var appHost = new AppHost();
+ appHost.Init();
+ }
+
+ protected void Session_Start(object sender, EventArgs e)
+ {
+
+ }
+
+ protected void Application_BeginRequest(object sender, EventArgs e)
+ {
+
+ }
+
+ protected void Application_AuthenticateRequest(object sender, EventArgs e)
+ {
+
+ }
+
+ protected void Application_Error(object sender, EventArgs e)
+ {
+
+ }
+
+ protected void Session_End(object sender, EventArgs e)
+ {
+
+ }
+
+ protected void Application_End(object sender, EventArgs e)
+ {
+
+ }
+ }
+}
View
18 src/ServiceStack.WebHost.IntegrationTests/Operations/Reverse.cs
@@ -0,0 +1,18 @@
+using System.Runtime.Serialization;
+
+namespace ServiceStack.WebHost.IntegrationTests.Operations
+{
+ [DataContract]
+ public class Reverse
+ {
+ [DataMember]
+ public string Value { get; set; }
+ }
+
+ [DataContract]
+ public class ReverseResponse
+ {
+ [DataMember]
+ public string Result { get; set; }
+ }
+}
View
39 src/ServiceStack.WebHost.IntegrationTests/Properties/AssemblyInfo.cs
@@ -0,0 +1,39 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Runtime.Serialization;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("ServiceStack.WebHost.IntegrationTests")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Microsoft")]
+[assembly: AssemblyProduct("ServiceStack.WebHost.IntegrationTests")]
+[assembly: AssemblyCopyright("Copyright © Microsoft 2010")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("3d5900ae-111a-45be-96b3-d9e4606ca793")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Revision and Build Numbers
+// by using the '*' as shown below:
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
+
+[assembly: ContractNamespace("http://schemas.servicestack.net/types", ClrNamespace = "ServiceStack.WebHost.IntegrationTests.Operations")]
+
View
123 src/ServiceStack.WebHost.IntegrationTests/ServiceStack.WebHost.IntegrationTests.csproj
@@ -0,0 +1,123 @@
+<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>9.0.21022</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{2A632D57-2260-4AB7-96F6-AF8FBB5D0E5B}</ProjectGuid>
+ <ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>ServiceStack.WebHost.IntegrationTests</RootNamespace>
+ <AssemblyName>ServiceStack.WebHost.IntegrationTests</AssemblyName>
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="ServiceStack.Interfaces, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>..\..\..\release\lib\ServiceStack.Interfaces.dll</HintPath>
+ </Reference>
+ <Reference Include="System" />
+ <Reference Include="System.Data" />
+ <Reference Include="System.Core">
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
+ </Reference>
+ <Reference Include="System.Data.DataSetExtensions">
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
+ </Reference>
+ <Reference Include="System.Runtime.Serialization">
+ <RequiredTargetFramework>3.0</RequiredTargetFramework>
+ </Reference>
+ <Reference Include="System.Web.Extensions">
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
+ </Reference>
+ <Reference Include="System.Xml.Linq">
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
+ </Reference>
+ <Reference Include="System.Drawing" />
+ <Reference Include="System.Web" />
+ <Reference Include="System.Xml" />
+ <Reference Include="System.Configuration" />
+ <Reference Include="System.Web.Services" />
+ <Reference Include="System.EnterpriseServices" />
+ <Reference Include="System.Web.Mobile" />
+ </ItemGroup>
+ <ItemGroup>
+ <Content Include="Default.aspx" />
+ <Content Include="Global.asax" />
+ <Content Include="Web.config" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Default.aspx.cs">
+ <SubType>ASPXCodeBehind</SubType>
+ <DependentUpon>Default.aspx</DependentUpon>
+ </Compile>
+ <Compile Include="Default.aspx.designer.cs">
+ <DependentUpon>Default.aspx</DependentUpon>
+ </Compile>
+ <Compile Include="Global.asax.cs">
+ <DependentUpon>Global.asax</DependentUpon>
+ </Compile>
+ <Compile Include="Operations\Reverse.cs" />
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ <Compile Include="Services\ReverseService.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="..\Funq\Funq.csproj">
+ <Project>{56656B0F-90BB-44D1-8A70-D004F940E0D2}</Project>
+ <Name>Funq</Name>
+ </ProjectReference>
+ <ProjectReference Include="..\ServiceStack.ServiceInterface\ServiceStack.ServiceInterface.csproj">
+ <Project>{5A315F92-80D2-4C60-A5A4-22E027AC7E7E}</Project>
+ <Name>ServiceStack.ServiceInterface</Name>
+ </ProjectReference>
+ <ProjectReference Include="..\ServiceStack.WebHost.Endpoints\ServiceStack.WebHost.Endpoints.csproj">
+ <Project>{680A1709-25EB-4D52-A87F-EE03FFD94BAA}</Project>
+ <Name>ServiceStack.WebHost.Endpoints</Name>
+ </ProjectReference>
+ </ItemGroup>
+ <ItemGroup>
+ <Folder Include="App_Data\" />
+ </ItemGroup>
+ <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+ <Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v9.0\WebApplications\Microsoft.WebApplication.targets" />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+ <ProjectExtensions>
+ <VisualStudio>
+ <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
+ <WebProjectProperties>
+ <UseIIS>True</UseIIS>
+ <AutoAssignPort>True</AutoAssignPort>
+ <DevelopmentServerPort>64790</DevelopmentServerPort>
+ <DevelopmentServerVPath>/</DevelopmentServerVPath>
+ <IISUrl>http://localhost/ServiceStack.WebHost.IntegrationTests</IISUrl>
+ <NTLMAuthentication>False</NTLMAuthentication>
+ <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
+ </WebProjectProperties>
+ </FlavorProperties>
+ </VisualStudio>
+ </ProjectExtensions>
+</Project>
View
31 src/ServiceStack.WebHost.IntegrationTests/ServiceStack.WebHost.IntegrationTests.csproj.user
@@ -0,0 +1,31 @@
+<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ProjectExtensions>
+ <VisualStudio>
+ <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
+ <WebProjectProperties>
+ <StartPageUrl>
+ </StartPageUrl>
+ <StartAction>CurrentPage</StartAction>
+ <AspNetDebugging>True</AspNetDebugging>
+ <NativeDebugging>False</NativeDebugging>
+ <SQLDebugging>False</SQLDebugging>
+ <PublishCopyOption>RunFiles</PublishCopyOption>
+ <PublishTargetLocation>
+ </PublishTargetLocation>
+ <PublishDeleteAllFiles>False</PublishDeleteAllFiles>
+ <PublishCopyAppData>True</PublishCopyAppData>
+ <ExternalProgram>
+ </ExternalProgram>
+ <StartExternalURL>
+ </StartExternalURL>
+ <StartCmdLineArguments>
+ </StartCmdLineArguments>
+ <StartWorkingDirectory>
+ </StartWorkingDirectory>
+ <EnableENC>False</EnableENC>
+ <AlwaysStartWebServerOnDebug>True</AlwaysStartWebServerOnDebug>
+ </WebProjectProperties>
+ </FlavorProperties>
+ </VisualStudio>
+ </ProjectExtensions>
+</Project>
View
16 src/ServiceStack.WebHost.IntegrationTests/Services/ReverseService.cs
@@ -0,0 +1,16 @@
+using System;
+using ServiceStack.ServiceInterface;
+using ServiceStack.WebHost.IntegrationTests.Operations;
+
+namespace ServiceStack.WebHost.IntegrationTests.Services
+{
+ public class ReverseService : ServiceBase<Reverse>
+ {
+ protected override object Run(Reverse request)
+ {
+ var valueBytes = request.Value.ToCharArray();
+ Array.Reverse(valueBytes);
+ return new ReverseResponse { Result = new string(valueBytes) };
+ }
+ }
+}
View
141 src/ServiceStack.WebHost.IntegrationTests/Web.config
@@ -0,0 +1,141 @@
+<?xml version="1.0"?>
+<configuration>
+ <configSections>
+ <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
+ <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
+ <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
+ <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
+ <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>
+ <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
+ <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
+ <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
+ </sectionGroup>
+ </sectionGroup>
+ </sectionGroup>
+ </configSections>
+ <appSettings/>
+ <connectionStrings/>
+ <system.web>
+ <!--
+ 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">
+ <assemblies>
+ <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
+ <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
+ <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
+ <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
+ </assemblies>
+ </compilation>
+ <!--
+ The <authentication> section enables configuration
+ of the security authentication mode used by
+ ASP.NET to identify an incoming user.
+ -->
+ <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,
+ it enables developers to configure html error pages
+ to be displayed in place of a error stack trace.
+
+ <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
+ <error statusCode="403" redirect="NoAccess.htm" />
+ <error statusCode="404" redirect="FileNotFound.htm" />
+ </customErrors>
+ -->
+ <pages>
+ <controls>
+ <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
+ <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
+ </controls>
+ </pages>
+ <httpHandlers>
+ <remove verb="*" path="*.asmx"/>
+ <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
+ <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"/>
+ <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"/>
+ <!--[ServiceStack Specific]: Enable all endpoints handlers that you want available to handle your request -->
+ <add path="ServiceStack/Soap11*" type="ServiceStack.WebHost.Endpoints.Soap11MessageSyncReplyHttpHandler, ServiceStack.WebHost.Endpoints" verb="*"/>
+ <add path="ServiceStack/Soap12*" type="ServiceStack.WebHost.Endpoints.Soap12MessageSyncReplyHttpHandler, ServiceStack.WebHost.Endpoints" verb="*"/>
+ <add path="Public/Metadata*" type="ServiceStack.WebHost.Endpoints.Metadata.IndexMetadataHandler, ServiceStack.WebHost.Endpoints" verb="*"/>
+ <add path="Public/Soap11/Wsdl*" type="ServiceStack.WebHost.Endpoints.Metadata.Soap11WsdlMetadataHandler, ServiceStack.WebHost.Endpoints" verb="*"/>
+ <add path="Public/Soap11/Metadata*" type="ServiceStack.WebHost.Endpoints.Metadata.Soap11MetadataHandler, ServiceStack.WebHost.Endpoints" verb="*"/>
+ <add path="Public/Soap12/Wsdl*" type="ServiceStack.WebHost.Endpoints.Metadata.Soap12WsdlMetadataHandler, ServiceStack.WebHost.Endpoints" verb="*"/>
+ <add path="Public/Soap12/Metadata*" type="ServiceStack.WebHost.Endpoints.Metadata.Soap12MetadataHandler, ServiceStack.WebHost.Endpoints" verb="*"/>
+ <add path="Public/Xml/Metadata*" type="ServiceStack.WebHost.Endpoints.Metadata.XmlMetadataHandler, ServiceStack.WebHost.Endpoints" verb="*"/>
+ <add path="Public/Xml/AsyncOneWay/*" type="ServiceStack.WebHost.Endpoints.XmlAsyncOneWayHandler, ServiceStack.WebHost.Endpoints" verb="*"/>
+ <add path="Public/Xml/SyncReply/*" type="ServiceStack.WebHost.Endpoints.XmlSyncReplyHandler, ServiceStack.WebHost.Endpoints" verb="*"/>
+ <add path="Public/Json/Metadata*" type="ServiceStack.WebHost.Endpoints.Metadata.JsonMetadataHandler, ServiceStack.WebHost.Endpoints" verb="*"/>
+ <add path="Public/Json/AsyncOneWay/*" type="ServiceStack.WebHost.Endpoints.JsonAsyncOneWayHandler, ServiceStack.WebHost.Endpoints" verb="*"/>
+ <add path="Public/Json/SyncReply/*" type="ServiceStack.WebHost.Endpoints.JsonSyncReplyHandler, ServiceStack.WebHost.Endpoints" verb="*"/>
+ <add path="Public/Jsv/Metadata*" type="ServiceStack.WebHost.Endpoints.Metadata.JsvMetadataHandler, ServiceStack.WebHost.Endpoints" verb="*"/>
+ <add path="Public/Jsv/AsyncOneWay/*" type="ServiceStack.WebHost.Endpoints.JsvAsyncOneWayHandler, ServiceStack.WebHost.Endpoints" verb="*"/>
+ <add path="Public/Jsv/SyncReply/*" type="ServiceStack.WebHost.Endpoints.JsvSyncReplyHandler, ServiceStack.WebHost.Endpoints" verb="*"/>
+ </httpHandlers>
+ <httpModules>
+ <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
+ </httpModules>
+ </system.web>
+ <system.codedom>
+ <compilers>
+ <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+ <providerOption name="CompilerVersion" value="v3.5"/>
+ <providerOption name="WarnAsError" value="false"/>
+ </compiler>
+ </compilers>
+ </system.codedom>
+ <!--
+ The system.webServer section is required for running ASP.NET AJAX under Internet
+ Information Services 7.0. It is not necessary for previous version of IIS.
+ -->
+ <system.webServer>
+ <validation validateIntegratedModeConfiguration="false"/>
+ <modules>
+ <remove name="ScriptModule"/>
+ <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
+ </modules>
+ <handlers>
+ <remove name="WebServiceHandlerFactory-Integrated"/>
+ <remove name="ScriptHandlerFactory"/>
+ <remove name="ScriptHandlerFactoryAppServices"/>
+ <remove name="ScriptResource"/>
+ <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
+ <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
+ <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
+ <!--[ServiceStack Specific]: Enable all endpoints handlers that you want available to handle your request -->
+ <add name="ServiceStack.Soap11" path="ServiceStack/Soap11" type="ServiceStack.WebHost.Endpoints.Soap11MessageSyncReplyHttpHandler, ServiceStack.WebHost.Endpoints" verb="*" preCondition="integratedMode" resourceType="Unspecified"/>
+ <add name="ServiceStack.Soap12" path="ServiceStack/Soap12" type="ServiceStack.WebHost.Endpoints.Soap12MessageSyncReplyHttpHandler, ServiceStack.WebHost.Endpoints" verb="*" preCondition="integratedMode" resourceType="Unspecified"/>
+ <add name="Endpoints.Index" path="Public/Metadata" type="ServiceStack.WebHost.Endpoints.Metadata.IndexMetadataHandler, ServiceStack.WebHost.Endpoints" verb="*" preCondition="integratedMode" resourceType="Unspecified"/>
+ <add name="Soap11.Wsdl" path="Public/Soap11/Wsdl" type="ServiceStack.WebHost.Endpoints.Metadata.Soap11WsdlMetadataHandler, ServiceStack.WebHost.Endpoints" verb="*" preCondition="integratedMode" resourceType="Unspecified"/>
+ <add name="Soap11.Metadata" path="Public/Soap11/Metadata" type="ServiceStack.WebHost.Endpoints.Metadata.Soap11MetadataHandler, ServiceStack.WebHost.Endpoints" verb="*" preCondition="integratedMode" resourceType="Unspecified"/>
+ <add name="Soap12.Wsdl" path="Public/Soap12/Wsdl" type="ServiceStack.WebHost.Endpoints.Metadata.Soap12WsdlMetadataHandler, ServiceStack.WebHost.Endpoints" verb="*" preCondition="integratedMode" resourceType="Unspecified"/>
+ <add name="Soap12.Metadata" path="Public/Soap12/Metadata" type="ServiceStack.WebHost.Endpoints.Metadata.Soap12MetadataHandler, ServiceStack.WebHost.Endpoints" verb="*" preCondition="integratedMode" resourceType="Unspecified"/>
+ <add name="Xml.Metadata" path="Public/Xml/Metadata" type="ServiceStack.WebHost.Endpoints.Metadata.XmlMetadataHandler, ServiceStack.WebHost.Endpoints" verb="*" preCondition="integratedMode" resourceType="Unspecified"/>
+ <add name="Xml.AsyncOneWay" path="Public/Xml/AsyncOneWay" type="ServiceStack.WebHost.Endpoints.XmlAsyncOneWayHandler, ServiceStack.WebHost.Endpoints" verb="*" preCondition="integratedMode" resourceType="Unspecified"/>
+ <add name="Xml.SyncReply" path="Public/Xml/SyncReply" type="ServiceStack.WebHost.Endpoints.XmlSyncReplyHandler, ServiceStack.WebHost.Endpoints" verb="*" preCondition="integratedMode" resourceType="Unspecified"/>
+ <add name="Json.Metadata" path="Public/Json/Metadata" type="ServiceStack.WebHost.Endpoints.Metadata.JsonMetadataHandler, ServiceStack.WebHost.Endpoints" verb="*" preCondition="integratedMode" resourceType="Unspecified"/>
+ <add name="Json.AsyncOneWay" path="Public/Json/AsyncOneWay" type="ServiceStack.WebHost.Endpoints.JsonAsyncOneWayHandler, ServiceStack.WebHost.Endpoints" verb="*" preCondition="integratedMode" resourceType="Unspecified"/>
+ <add name="Json.SyncReply" path="Public/Json/SyncReply" type="ServiceStack.WebHost.Endpoints.JsonSyncReplyHandler, ServiceStack.WebHost.Endpoints" verb="*" preCondition="integratedMode" resourceType="Unspecified"/>
+ <add name="Jsv.Metadata" path="Public/Jsv/Metadata" type="ServiceStack.WebHost.Endpoints.Metadata.JsvMetadataHandler, ServiceStack.WebHost.Endpoints" verb="*" preCondition="integratedMode" resourceType="Unspecified"/>
+ <add name="Jsv.AsyncOneWay" path="Public/Jsv/AsyncOneWay" type="ServiceStack.WebHost.Endpoints.JsvAsyncOneWayHandler, ServiceStack.WebHost.Endpoints" verb="*" preCondition="integratedMode" resourceType="Unspecified"/>
+ <add name="Jsv.SyncReply" path="Public/Jsv/SyncReply" type="ServiceStack.WebHost.Endpoints.JsvSyncReplyHandler, ServiceStack.WebHost.Endpoints" verb="*" preCondition="integratedMode" resourceType="Unspecified"/>
+ </handlers>
+ </system.webServer>
+ <runtime>
+ <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+ <dependentAssembly>
+ <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
+ <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>
+ <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
+ </dependentAssembly>
+ </assemblyBinding>
+ </runtime>
+</configuration>
View
5 tests/ServiceStack.WebHost.Endpoints.Tests/ServiceStack.WebHost.Endpoints.Tests.csproj
@@ -3,7 +3,7 @@
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>9.0.30729</ProductVersion>
+ <ProductVersion>9.0.21022</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{55C5C6DA-1834-4BA8-8D2F-19C091B6FC81}</ProjectGuid>
<OutputType>Library</OutputType>
@@ -179,9 +179,6 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
- <ItemGroup>
- <Folder Include="Lib\" />
- </ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
View
5 tests/ServiceStack.WebHost.Endpoints.Tests/ServiceStack.WebHost.Endpoints.Tests.csproj.user
@@ -0,0 +1,5 @@
+<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <ProjectView>ProjectFiles</ProjectView>
+ </PropertyGroup>
+</Project>
View
16 tests/ServiceStack.WebHost.IntegrationTests/Default.aspx
@@ -0,0 +1,16 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="ServiceStack.WebHost.IntegrationTests._Default" %>
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" >
+<head runat="server">
+ <title>Untitled Page</title>
+</head>
+<body>
+ <form id="form1" runat="server">
+ <div>
+
+ </div>
+ </form>
+</body>
+</html>
View
23 tests/ServiceStack.WebHost.IntegrationTests/Default.aspx.cs
@@ -0,0 +1,23 @@
+using System;
+using System.Collections;
+using System.Configuration;
+using System.Data;
+using System.Linq;
+using System.Web;
+using System.Web.Security;
+using System.Web.UI;
+using System.Web.UI.HtmlControls;
+using System.Web.UI.WebControls;
+using System.Web.UI.WebControls.WebParts;
+using System.Xml.Linq;
+
+namespace ServiceStack.WebHost.IntegrationTests
+{
+ public partial class _Default : System.Web.UI.Page
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+
+ }
+ }
+}
View
27 tests/ServiceStack.WebHost.IntegrationTests/Default.aspx.designer.cs
@@ -0,0 +1,27 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+// This code was generated by a tool.
+// Runtime Version:2.0.50727.42
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace ServiceStack.WebHost.IntegrationTests
+{
+
+
+ public partial class _Default
+ {
+
+ /// <summary>
+ /// form1 control.
+ /// </summary>
+ /// <remarks>
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ /// </remarks>
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+ }
+}
View
1 tests/ServiceStack.WebHost.IntegrationTests/Global.asax
@@ -0,0 +1 @@
+<%@ Application Codebehind="Global.asax.cs" Inherits="ServiceStack.WebHost.IntegrationTests.Global" Language="C#" %>
View
68 tests/ServiceStack.WebHost.IntegrationTests/Global.asax.cs
@@ -0,0 +1,68 @@
+using System;
+using System.Collections;
+using System.Configuration;
+using System.Data;
+using System.Linq;
+using System.Reflection;
+using System.Web;
+using System.Web.Security;
+using System.Web.SessionState;
+using System.Xml.Linq;
+using Funq;
+using ServiceStack.WebHost.Endpoints;
+using ServiceStack.WebHost.IntegrationTests.Operations;
+
+namespace ServiceStack.WebHost.IntegrationTests
+{
+ public class Global : System.Web.HttpApplication
+ {
+ public class AppHost
+ : AppHostBase
+ {
+ public AppHost()
+ : base("ServiceStack WebHost IntegrationTests", typeof(Reverse).Assembly)
+ {
+ }
+
+ public override void Configure(Container container)
+ {
+ }
+ }
+
+ protected void Application_Start(object sender, EventArgs e)
+ {
+ var appHost = new AppHost();
+ appHost.Init();
+ }
+
+ protected void Session_Start(object sender, EventArgs e)
+ {
+
+ }
+
+ protected void Application_BeginRequest(object sender, EventArgs e)
+ {
+
+ }
+
+ protected void Application_AuthenticateRequest(object sender, EventArgs e)
+ {
+
+ }
+
+ protected void Application_Error(object sender, EventArgs e)
+ {
+
+ }
+
+ protected void Session_End(object sender, EventArgs e)
+ {
+
+ }
+
+ protected void Application_End(object sender, EventArgs e)
+ {
+
+ }
+ }
+}
View
18 tests/ServiceStack.WebHost.IntegrationTests/Operations/Reverse.cs
@@ -0,0 +1,18 @@
+using System.Runtime.Serialization;
+
+namespace ServiceStack.WebHost.IntegrationTests.Operations
+{
+ [DataContract]
+ public class Reverse
+ {
+ [DataMember]
+ public string Value { get; set; }
+ }
+
+ [DataContract]
+ public class ReverseResponse
+ {
+ [DataMember]
+ public string Result { get; set; }
+ }
+}
View
18 tests/ServiceStack.WebHost.IntegrationTests/Operations/Rot13.cs
@@ -0,0 +1,18 @@
+using System.Runtime.Serialization;
+
+namespace ServiceStack.WebHost.IntegrationTests.Operations
+{
+ [DataContract]
+ public class Rot13
+ {
+ [DataMember]
+ public string Value { get; set; }
+ }
+
+ [DataContract]
+ public class Rot13Response
+ {
+ [DataMember]
+ public string Result { get; set; }
+ }
+}
View
39 tests/ServiceStack.WebHost.IntegrationTests/Properties/AssemblyInfo.cs
@@ -0,0 +1,39 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Runtime.Serialization;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("ServiceStack.WebHost.IntegrationTests")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Microsoft")]
+[assembly: AssemblyProduct("ServiceStack.WebHost.IntegrationTests")]
+[assembly: AssemblyCopyright("Copyright © Microsoft 2010")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("3d5900ae-111a-45be-96b3-d9e4606ca793")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Revision and Build Numbers
+// by using the '*' as shown below:
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
+
+[assembly: ContractNamespace("http://schemas.servicestack.net/types", ClrNamespace = "ServiceStack.WebHost.IntegrationTests.Operations")]
+
View
134 tests/ServiceStack.WebHost.IntegrationTests/ServiceStack.WebHost.IntegrationTests.csproj
@@ -0,0 +1,134 @@
+<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>9.0.21022</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{2A632D57-2260-4AB7-96F6-AF8FBB5D0E5B}</ProjectGuid>
+ <ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>ServiceStack.WebHost.IntegrationTests</RootNamespace>
+ <AssemblyName>ServiceStack.WebHost.IntegrationTests</AssemblyName>
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="ServiceStack.Interfaces, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>..\..\..\release\lib\ServiceStack.Interfaces.dll</HintPath>
+ </Reference>
+ <Reference Include="ServiceStack.Text, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>..\..\lib\ServiceStack.Text.dll</HintPath>
+ </Reference>
+ <Reference Include="System" />
+ <Reference Include="System.Data" />
+ <Reference Include="System.Core">
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
+ </Reference>
+ <Reference Include="System.Data.DataSetExtensions">
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
+ </Reference>
+ <Reference Include="System.Runtime.Serialization">
+ <RequiredTargetFramework>3.0</RequiredTargetFramework>
+ </Reference>
+ <Reference Include="System.Web.Extensions">
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
+ </Reference>
+ <Reference Include="System.Xml.Linq">
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
+ </Reference>
+ <Reference Include="System.Drawing" />
+ <Reference Include="System.Web" />
+ <Reference Include="System.Xml" />
+ <Reference Include="System.Configuration" />
+ <Reference Include="System.Web.Services" />
+ <Reference Include="System.EnterpriseServices" />
+ <Reference Include="System.Web.Mobile" />
+ </ItemGroup>
+ <ItemGroup>
+ <Content Include="Default.aspx" />
+ <Content Include="Global.asax" />
+ <Content Include="Soap11WebService.asmx" />
+ <Content Include="Web.config" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Default.aspx.cs">
+ <SubType>ASPXCodeBehind</SubType>
+ <DependentUpon>Default.aspx</DependentUpon>
+ </Compile>
+ <Compile Include="Default.aspx.designer.cs">
+ <DependentUpon>Default.aspx</DependentUpon>
+ </Compile>
+ <Compile Include="Global.asax.cs">
+ <DependentUpon>Global.asax</DependentUpon>
+ </Compile>
+ <Compile Include="Operations\Rot13.cs" />
+ <Compile Include="Operations\Reverse.cs" />
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ <Compile Include="Services\Rot13Service.cs" />
+ <Compile Include="Services\ReverseService.cs" />
+ <Compile Include="Soap11WebService.asmx.cs">
+ <DependentUpon>Soap11WebService.asmx</DependentUpon>
+ <SubType>Component</SubType>
+ </Compile>
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="..\..\src\Funq\Funq.csproj">
+ <Project>{56656B0F-90BB-44D1-8A70-D004F940E0D2}</Project>
+ <Name>Funq</Name>
+ </ProjectReference>
+ <ProjectReference Include="..\..\src\ServiceStack.ServiceInterface\ServiceStack.ServiceInterface.csproj">
+ <Project>{5A315F92-80D2-4C60-A5A4-22E027AC7E7E}</Project>
+ <Name>ServiceStack.ServiceInterface</Name>
+ </ProjectReference>
+ <ProjectReference Include="..\..\src\ServiceStack.WebHost.Endpoints\ServiceStack.WebHost.Endpoints.csproj">
+ <Project>{680A1709-25EB-4D52-A87F-EE03FFD94BAA}</Project>
+ <Name>ServiceStack.WebHost.Endpoints</Name>
+ </ProjectReference>
+ </ItemGroup>
+ <ItemGroup>
+ <Folder Include="App_Data\" />
+ </ItemGroup>
+ <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+ <Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v9.0\WebApplications\Microsoft.WebApplication.targets" />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+ <ProjectExtensions>
+ <VisualStudio>
+ <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
+ <WebProjectProperties>
+ <UseIIS>True</UseIIS>
+ <AutoAssignPort>True</AutoAssignPort>
+ <DevelopmentServerPort>64790</DevelopmentServerPort>
+ <DevelopmentServerVPath>/</DevelopmentServerVPath>
+ <IISUrl>http://localhost/ServiceStack.WebHost.IntegrationTests</IISUrl>
+ <NTLMAuthentication>False</NTLMAuthentication>
+ <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
+ </WebProjectProperties>
+ </FlavorProperties>
+ </VisualStudio>
+ </ProjectExtensions>
+</Project>
View
31 ...s/ServiceStack.WebHost.IntegrationTests/ServiceStack.WebHost.IntegrationTests.csproj.user
@@ -0,0 +1,31 @@
+<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ProjectExtensions>
+ <VisualStudio>
+ <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
+ <WebProjectProperties>
+ <StartPageUrl>
+ </StartPageUrl>
+ <StartAction>CurrentPage</StartAction>
+ <AspNetDebugging>True</AspNetDebugging>
+ <NativeDebugging>False</NativeDebugging>
+ <SQLDebugging>False</SQLDebugging>
+ <PublishCopyOption>RunFiles</PublishCopyOption>
+ <PublishTargetLocation>
+ </PublishTargetLocation>
+ <PublishDeleteAllFiles>False</PublishDeleteAllFiles>
+ <PublishCopyAppData>True</PublishCopyAppData>
+ <ExternalProgram>
+ </ExternalProgram>
+ <StartExternalURL>
+ </StartExternalURL>
+ <StartCmdLineArguments>
+ </StartCmdLineArguments>
+ <StartWorkingDirectory>
+ </StartWorkingDirectory>
+ <EnableENC>False</EnableENC>
+ <AlwaysStartWebServerOnDebug>True</AlwaysStartWebServerOnDebug>
+ </WebProjectProperties>
+ </FlavorProperties>
+ </VisualStudio>
+ </ProjectExtensions>
+</Project>
View
16 tests/ServiceStack.WebHost.IntegrationTests/Services/ReverseService.cs
@@ -0,0 +1,16 @@
+using System;
+using ServiceStack.ServiceInterface;
+using ServiceStack.WebHost.IntegrationTests.Operations;
+
+namespace ServiceStack.WebHost.IntegrationTests.Services
+{
+ public class ReverseService : ServiceBase<Reverse>
+ {
+ protected override object Run(Reverse request)
+ {
+ var valueBytes = request.Value.ToCharArray();
+ Array.Reverse(valueBytes);
+ return new ReverseResponse { Result = new string(valueBytes) };
+ }
+ }
+}
View
16 tests/ServiceStack.WebHost.IntegrationTests/Services/Rot13Service.cs
@@ -0,0 +1,16 @@
+using System;
+using ServiceStack.ServiceInterface;
+using ServiceStack.Text;
+using ServiceStack.WebHost.IntegrationTests.Operations;
+
+namespace ServiceStack.WebHost.IntegrationTests.Services
+{
+ public class Rot13Service
+ : ServiceBase<Rot13>
+ {
+ protected override object Run(Rot13 request)
+ {
+ return new Rot13Response { Result = request.Value.ToRot13() };
+ }
+ }
+}
View
1 tests/ServiceStack.WebHost.IntegrationTests/Soap11WebService.asmx
@@ -0,0 +1 @@
+<%@ WebService Language="C#" CodeBehind="Soap11WebService.asmx.cs" Class="ServiceStack.WebHost.IntegrationTests.Soap11WebService" %>
View
38 tests/ServiceStack.WebHost.IntegrationTests/Soap11WebService.asmx.cs
@@ -0,0 +1,38 @@
+using System;
+using System.Collections;
+using System.ComponentModel;
+using System.Data;
+using System.Linq;
+using System.Web;
+using System.Web.Services;
+using System.Web.Services.Protocols;
+using System.Xml.Linq;
+using ServiceStack.WebHost.IntegrationTests.Operations;
+using ServiceStack.WebHost.IntegrationTests.Services;
+
+namespace ServiceStack.WebHost.IntegrationTests
+{
+ /// <summary>
+ /// Summary description for Soap11WebService
+ /// </summary>
+ [WebService(Namespace = "http://schemas.servicestack.net/types")]
+ [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
+ [ToolboxItem(false)]
+ // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
+ // [System.Web.Script.Services.ScriptService]
+ public class Soap11WebService : System.Web.Services.WebService
+ {
+
+ [WebMethod]
+ public string HelloWorld()
+ {
+ return "Hello World";
+ }
+
+ [WebMethod]
+ public ReverseResponse Reverse(Reverse request)
+ {
+ return new ReverseService().Execute(request) as ReverseResponse;
+ }
+ }
+}
View
141 tests/ServiceStack.WebHost.IntegrationTests/Web.config
@@ -0,0 +1,141 @@
+<?xml version="1.0"?>
+<configuration>
+ <configSections>
+ <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
+ <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
+ <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
+ <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
+ <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>
+ <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
+ <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
+ <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
+ </sectionGroup>
+ </sectionGroup>
+ </sectionGroup>
+ </configSections>
+ <appSettings/>
+ <connectionStrings/>
+ <system.web>
+ <!--
+ 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">
+ <assemblies>
+ <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
+ <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
+ <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
+ <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
+ </assemblies>
+ </compilation>
+ <!--
+ The <authentication> section enables configuration
+ of the security authentication mode used by
+ ASP.NET to identify an incoming user.
+ -->
+ <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,
+ it enables developers to configure html error pages
+ to be displayed in place of a error stack trace.
+
+ <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
+ <error statusCode="403" redirect="NoAccess.htm" />
+ <error statusCode="404" redirect="FileNotFound.htm" />
+ </customErrors>
+ -->
+ <pages>
+ <controls>
+ <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
+ <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
+ </controls>
+ </pages>
+ <httpHandlers>
+ <remove verb="*" path="*.asmx"/>
+ <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
+ <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"/>
+ <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"/>
+ <!--[ServiceStack Specific]: Enable all endpoints handlers that you want available to handle your request -->
+ <add path="ServiceStack/Soap11*" type="ServiceStack.WebHost.Endpoints.Soap11MessageSyncReplyHttpHandler, ServiceStack.WebHost.Endpoints" verb="*"/>
+ <add path="ServiceStack/Soap12*" type="ServiceStack.WebHost.Endpoints.Soap12MessageSyncReplyHttpHandler, ServiceStack.WebHost.Endpoints" verb="*"/>
+ <add path="Public/Metadata*" type="ServiceStack.WebHost.Endpoints.Metadata.IndexMetadataHandler, ServiceStack.WebHost.Endpoints" verb="*"/>
+ <add path="Public/Soap11/Wsdl*" type="ServiceStack.WebHost.Endpoints.Metadata.Soap11WsdlMetadataHandler, ServiceStack.WebHost.Endpoints" verb="*"/>
+ <add path="Public/Soap11/Metadata*" type="ServiceStack.WebHost.Endpoints.Metadata.Soap11MetadataHandler, ServiceStack.WebHost.Endpoints" verb="*"/>
+ <add path="Public/Soap12/Wsdl*" type="ServiceStack.WebHost.Endpoints.Metadata.Soap12WsdlMetadataHandler, ServiceStack.WebHost.Endpoints" verb="*"/>
+ <add path="Public/Soap12/Metadata*" type="ServiceStack.WebHost.Endpoints.Metadata.Soap12MetadataHandler, ServiceStack.WebHost.Endpoints" verb="*"/>
+ <add path="Public/Xml/Metadata*" type="ServiceStack.WebHost.Endpoints.Metadata.XmlMetadataHandler, ServiceStack.WebHost.Endpoints" verb="*"/>
+ <add path="Public/Xml/AsyncOneWay/*" type="ServiceStack.WebHost.Endpoints.XmlAsyncOneWayHandler, ServiceStack.WebHost.Endpoints" verb="*"/>
+ <add path="Public/Xml/SyncReply/*" type="ServiceStack.WebHost.Endpoints.XmlSyncReplyHandler, ServiceStack.WebHost.Endpoints" verb="*"/>
+ <add path="Public/Json/Metadata*" type="ServiceStack.WebHost.Endpoints.Metadata.JsonMetadataHandler, ServiceStack.WebHost.Endpoints" verb="*"/>
+ <add path="Public/Json/AsyncOneWay/*" type="ServiceStack.WebHost.Endpoints.JsonAsyncOneWayHandler, ServiceStack.WebHost.Endpoints" verb="*"/>
+ <add path="Public/Json/SyncReply/*" type="ServiceStack.WebHost.Endpoints.JsonSyncReplyHandler, ServiceStack.WebHost.Endpoints" verb="*"/>
+ <add path="Public/Jsv/Metadata*" type="ServiceStack.WebHost.Endpoints.Metadata.JsvMetadataHandler, ServiceStack.WebHost.Endpoints" verb="*"/>
+ <add path="Public/Jsv/AsyncOneWay/*" type="ServiceStack.WebHost.Endpoints.JsvAsyncOneWayHandler, ServiceStack.WebHost.Endpoints" verb="*"/>
+ <add path="Public/Jsv/SyncReply/*" type="ServiceStack.WebHost.Endpoints.JsvSyncReplyHandler, ServiceStack.WebHost.Endpoints" verb="*"/>
+ </httpHandlers>
+ <httpModules>
+ <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
+ </httpModules>
+ </system.web>
+ <system.codedom>
+ <compilers>
+ <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+ <providerOption name="CompilerVersion" value="v3.5"/>
+ <providerOption name="WarnAsError" value="false"/>
+ </compiler>
+ </compilers>
+ </system.codedom>
+ <!--
+ The system.webServer section is required for running ASP.NET AJAX under Internet
+ Information Services 7.0. It is not necessary for previous version of IIS.
+ -->
+ <system.webServer>
+ <validation validateIntegratedModeConfiguration="false"/>
+ <modules>
+ <remove name="ScriptModule"/>
+ <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
+ </modules>
+ <handlers>
+ <remove name="WebServiceHandlerFactory-Integrated"/>
+ <remove name="ScriptHandlerFactory"/>
+ <remove name="ScriptHandlerFactoryAppServices"/>
+ <remove name="ScriptResource"/>
+ <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
+ <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
+ <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
+ <!--[ServiceStack Specific]: Enable all endpoints handlers that you want available to handle your request -->
+ <add name="ServiceStack.Soap11" path="ServiceStack/Soap11" type="ServiceStack.WebHost.Endpoints.Soap11MessageSyncReplyHttpHandler, ServiceStack.WebHost.Endpoints" verb="*" preCondition="integratedMode" resourceType="Unspecified"/>
+ <add name="ServiceStack.Soap12" path="ServiceStack/Soap12" type="ServiceStack.WebHost.Endpoints.Soap12MessageSyncReplyHttpHandler, ServiceStack.WebHost.Endpoints" verb="*" preCondition="integratedMode" resourceType="Unspecified"/>
+ <add name="Endpoints.Index" path="Public/Metadata" type="ServiceStack.WebHost.Endpoints.Metadata.IndexMetadataHandler, ServiceStack.WebHost.Endpoints" verb="*" preCondition="integratedMode" resourceType="Unspecified"/>
+ <add name="Soap11.Wsdl" path="Public/Soap11/Wsdl" type="ServiceStack.WebHost.Endpoints.Metadata.Soap11WsdlMetadataHandler, ServiceStack.WebHost.Endpoints" verb="*" preCondition="integratedMode" resourceType="Unspecified"/>
+ <add name="Soap11.Metadata" path="Public/Soap11/Metadata" type="ServiceStack.WebHost.Endpoints.Metadata.Soap11MetadataHandler, ServiceStack.WebHost.Endpoints" verb="*" preCondition="integratedMode" resourceType="Unspecified"/>
+ <add name="Soap12.Wsdl" path="Public/Soap12/Wsdl" type="ServiceStack.WebHost.Endpoints.Metadata.Soap12WsdlMetadataHandler, ServiceStack.WebHost.Endpoints" verb="*" preCondition="integratedMode" resourceType="Unspecified"/>
+ <add name="Soap12.Metadata" path="Public/Soap12/Metadata" type="ServiceStack.WebHost.Endpoints.Metadata.Soap12MetadataHandler, ServiceStack.WebHost.Endpoints" verb="*" preCondition="integratedMode" resourceType="Unspecified"/>
+ <add name="Xml.Metadata" path="Public/Xml/Metadata" type="ServiceStack.WebHost.Endpoints.Metadata.XmlMetadataHandler, ServiceStack.WebHost.Endpoints" verb="*" preCondition="integratedMode" resourceType="Unspecified"/>
+ <add name="Xml.AsyncOneWay" path="Public/Xml/AsyncOneWay" type="ServiceStack.WebHost.Endpoints.XmlAsyncOneWayHandler, ServiceStack.WebHost.Endpoints" verb="*" preCondition="integratedMode" resourceType="Unspecified"/>
+ <add name="Xml.SyncReply" path="Public/Xml/SyncReply" type="ServiceStack.WebHost.Endpoints.XmlSyncReplyHandler, ServiceStack.WebHost.Endpoints" verb="*" preCondition="integratedMode" resourceType="Unspecified"/>
+ <add name="Json.Metadata" path="Public/Json/Metadata" type="ServiceStack.WebHost.Endpoints.Metadata.JsonMetadataHandler, ServiceStack.WebHost.Endpoints" verb="*" preCondition="integratedMode" resourceType="Unspecified"/>
+ <add name="Json.AsyncOneWay" path="Public/Json/AsyncOneWay" type="ServiceStack.WebHost.Endpoints.JsonAsyncOneWayHandler, ServiceStack.WebHost.Endpoints" verb="*" preCondition="integratedMode" resourceType="Unspecified"/>
+ <add name="Json.SyncReply" path="Public/Json/SyncReply" type="ServiceStack.WebHost.Endpoints.JsonSyncReplyHandler, ServiceStack.WebHost.Endpoints" verb="*" preCondition="integratedMode" resourceType="Unspecified"/>
+ <add name="Jsv.Metadata" path="Public/Jsv/Metadata" type="ServiceStack.WebHost.Endpoints.Metadata.JsvMetadataHandler, ServiceStack.WebHost.Endpoints" verb="*" preCondition="integratedMode" resourceType="Unspecified"/>
+ <add name="Jsv.AsyncOneWay" path="Public/Jsv/AsyncOneWay" type="ServiceStack.WebHost.Endpoints.JsvAsyncOneWayHandler, ServiceStack.WebHost.Endpoints" verb="*" preCondition="integratedMode" resourceType="Unspecified"/>
+ <add name="Jsv.SyncReply" path="Public/Jsv/SyncReply" type="ServiceStack.WebHost.Endpoints.JsvSyncReplyHandler, ServiceStack.WebHost.Endpoints" verb="*" preCondition="integratedMode" resourceType="Unspecified"/>
+ </handlers>
+ </system.webServer>
+ <runtime>
+ <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+ <dependentAssembly>
+ <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
+ <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>
+ <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
+ </dependentAssembly>
+ </assemblyBinding>
+ </runtime>
+</configuration>

0 comments on commit 6e5d6d9

Please sign in to comment.
Something went wrong with that request. Please try again.