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; | |
using System.Linq; | |
using NLog; | |
using Raven.Abstractions.Data; | |
using Raven.Bundles.Replication; | |
using Raven.Bundles.Replication.Plugins; | |
using Raven.Json.Linq; | |
namespace MyRavenReplicationBundle | |
{ |
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
public class MvcApplication : System.Web.HttpApplication | |
{ | |
protected void Application_Start() | |
{ | |
... | |
ViewEngines.Engines.Clear(); | |
ViewEngines.Engines.Add(this.GetRazorViewEngine()); | |
} | |
private RazorViewEngine GetRazorViewEngine() |