Permalink
Browse files

Changed Web.config + app to use /api

  • Loading branch information...
1 parent 26574b0 commit 2e558940170af10787cbb8ce24653a6f3130e51f @mythz mythz committed Apr 27, 2012
View
Binary file not shown.
Binary file not shown.
@@ -10,7 +10,7 @@ RedisClient = function(baseUri) {
var baseUri = document.location.href.indexOf('#') != -1
? document.location.href.substr(0, document.location.href.indexOf('#'))
: document.location.href;
- baseUri = baseUri.replace('default.htm', '').replace('debug.htm', '').replace('AjaxClient', 'servicestack');
+ baseUri = baseUri.replace('default.htm', '').replace('debug.htm', '').replace('AjaxClient', 'api');
this.gateway = new JsonServiceClient(baseUri);
}
RedisClient.errorFn = function() {

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -16,6 +16,7 @@
</FileUpgradeFlags>
<OldToolsVersion>3.5</OldToolsVersion>
<UpgradeBackupLocation />
+ <UseIISExpress>false</UseIISExpress>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -176,6 +177,7 @@
<Content Include="AjaxClient\tests\testLib.js" />
<Content Include="Default.aspx" />
<Content Include="Global.asax" />
+ <Content Include="Test.aspx" />
<None Include="Web.config">
<SubType>Designer</SubType>
</None>
@@ -193,6 +195,13 @@
<DependentUpon>Global.asax</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
+ <Compile Include="Test.aspx.cs">
+ <DependentUpon>Test.aspx</DependentUpon>
+ <SubType>ASPXCodeBehind</SubType>
+ </Compile>
+ <Compile Include="Test.aspx.designer.cs">
+ <DependentUpon>Test.aspx</DependentUpon>
+ </Compile>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\RedisWebServices.ServiceInterface\RedisWebServices.ServiceInterface.csproj">
@@ -0,0 +1,17 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Test.aspx.cs" Inherits="RedisWebServices.Host.Test" %>
+
+<!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>Test Page</title>
+</head>
+<body>
+ <h1>Test Page</h1>
+ <form id="form1" runat="server">
+ <div>
+
+ </div>
+ </form>
+</body>
+</html>
@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace RedisWebServices.Host
+{
+ public partial class Test : System.Web.UI.Page
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+
+ }
+ }
+}

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 2e55894

Please sign in to comment.