Last active
June 30, 2017 14:41
-
-
Save hombreDelPez/40320c444a6ac4ba39d0040eaf25fdcb to your computer and use it in GitHub Desktop.
NitroNet installation - Global.asax.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Web.Mvc; | |
using System.Web.Optimization; | |
using System.Web.Routing; | |
using NitroNet.Mvc; | |
namespace NitroNetMVC | |
{ | |
public class MvcApplication : System.Web.HttpApplication | |
{ | |
protected void Application_Start() | |
{ | |
//... | |
ViewEngines.Engines.Add(DependencyResolver.Current.GetService<NitroNetViewEngine>()); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment