PageRenderTime 6ms CodeModel.GetById 2ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/BlogEngine/BlogEngine.NET/Global.asax

#
ASP.NET | 15 lines | 13 code | 2 blank | 0 comment | 0 complexity | ec434e284cb3b0ed775ef3fb5c9c77f2 MD5 | raw file
 1<%@ Application Language="C#" %>
 2<%@ Import Namespace="BlogEngine.NET.App_Start" %>
 3
 4<script RunAt="server">
 5    void Application_BeginRequest(object sender, EventArgs e)
 6    {
 7        var app = (HttpApplication)sender;
 8        BlogEngineConfig.Initialize(app.Context);
 9    }
10        
11    void Application_PreRequestHandlerExecute(object sender, EventArgs e)
12    {
13        BlogEngineConfig.SetCulture(sender, e);
14    }
15</script>