Skip to content

Commit

Permalink
Replaced ninject with Munq
Browse files Browse the repository at this point in the history
  • Loading branch information
erikzaadi committed May 5, 2011
1 parent 196c2a3 commit fa39fe5
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 0 deletions.
Binary file added Libs/munq/Munq.CommonServiceLocator.dll
Binary file not shown.
Binary file added Libs/munq/Munq.IocContainer.dll
Binary file not shown.
Binary file added Libs/munq/Munq.MVC2.dll
Binary file not shown.
Binary file added Libs/munq/Munq.MVC3.dll
Binary file not shown.
Binary file added Libs/mvc/System.Web.Helpers.dll
Binary file not shown.
Binary file added Libs/mvc/System.Web.Razor.dll
Binary file not shown.
Binary file added Libs/mvc/System.Web.WebPages.Deployment.dll
Binary file not shown.
Binary file added Libs/mvc/System.Web.WebPages.Razor.dll
Binary file not shown.
Binary file added Libs/mvc/System.Web.WebPages.dll
Binary file not shown.
24 changes: 24 additions & 0 deletions Samples/MvcSample/MvcApplication/Default.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
using System;
using System.Web.UI;
using System.Web;
using System.Web.Mvc;
namespace GithubSharp.MvcSample.MvcApplication
{
public class Default : Page
{
public void Page_Load (object sender, System.EventArgs e)
{
// Change the current path so that the Routing handler can correctly interpret
// the request, then restore the original path so that the OutputCache module
// can correctly process the response (if caching is enabled).

string originalPath = Request.Path;
HttpContext.Current.RewritePath (Request.ApplicationPath, false);
IHttpHandler httpHandler = new MvcHttpHandler ();
httpHandler.ProcessRequest (HttpContext.Current);
HttpContext.Current.RewritePath (originalPath, false);
}
}

}

0 comments on commit fa39fe5

Please sign in to comment.