Skip to content

Commit 03a832c

Browse files
committed
Update Global.asax.cs
1 parent 3293776 commit 03a832c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Backbone.Todos/Global.asax.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ public void Delete(Todo todo)
5858
}
5959

6060
// Create your ServiceStack web service application with a singleton AppHost.
61-
public class ToDoAppHost : AppHostBase
61+
public class AppHost : AppHostBase
6262
{
6363
// Initializes a new instance of your ServiceStack application, with the specified name and assembly containing the services.
64-
public ToDoAppHost() : base("Backbone.js TODO", typeof(TodoService).Assembly) { }
64+
public AppHost() : base("Backbone.js TODO", typeof(TodoService).Assembly) { }
6565

6666
// Configure the container with the necessary routes for your ServiceStack application.
6767
public override void Configure(Container container)
@@ -84,7 +84,7 @@ public class Global : System.Web.HttpApplication
8484
protected void Application_Start(object sender, EventArgs e)
8585
{
8686
//Initialize your ServiceStack AppHost
87-
(new ToDoAppHost()).Init();
87+
(new AppHost()).Init();
8888
}
8989
}
9090
}

0 commit comments

Comments
 (0)