This file contains hidden or 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.Web.Razor; | |
using System.Web.WebPages; | |
namespace WE.Runner | |
{ | |
public class Global : System.Web.HttpApplication | |
{ | |
protected void Application_Start(object sender, EventArgs e) |
This file contains hidden or 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
<system.web> | |
<httpRuntime targetFramework="4.6.1"/> | |
<compilation debug="true" targetFramework="4.6.1"> | |
<buildProviders> | |
<add extension=".html" type="System.Web.WebPages.Razor.RazorBuildProvider"/> | |
</buildProviders> | |
</compilation> | |
</system.web> |
This file contains hidden or 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 Logger | |
{ | |
private static NLog.Logger logger; | |
private static readonly Lazy<Logger> lazy = new Lazy<Logger>(() => new Logger()); | |
public static Logger Instance { get { return lazy.Value; } } | |
public Logger() | |
{ | |
LoggingConfiguration config = new LoggingConfiguration(); |