Mercurial > silverbladetech
view SSRS/SSRS.Web/Global.asax.cs @ 113:954f66bb8dbf
Portable library added for DTO
author | adminsh@apollo |
---|---|
date | Sat, 19 May 2012 16:21:07 +0100 |
parents | b9d5f934cb21 |
children | e51a6af1c98d |
line wrap: on
line source
using System; using System.Web; using Funq; using SSRS.Services; using SSRS.Services.DTOs; using ServiceStack.WebHost.Endpoints; namespace SSRS.Web { public class AppHost : AppHostBase { public AppHost() : base("REST Services", typeof(ReportsService).Assembly) {} public override void Configure(Container container) { Routes.Add<ReportsRequest>("reports", "POST"); } } public class Global : HttpApplication { protected void Application_Start(object sender, EventArgs e) { new AppHost().Init(); } } }