-
Notifications
You must be signed in to change notification settings - Fork 7
/
global.asax
43 lines (33 loc) · 1.08 KB
/
global.asax
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<%@ Application Language="C#"%>
<%@ Import Namespace="System.Linq" %>
<%@ Import Namespace="System.Collections.Generic" %>
<%@ Import Namespace="System.Web" %>
<%@ Import Namespace="System.Threading" %>
<%@ Import Namespace="System.Globalization" %>
<%@ Import Namespace="System.Web.Routing" %>
<%@ Import Namespace="System.Web.Security" %>
<%@ Import Namespace="System.Web.SessionState" %>
<script runat="server">
void Application_Start(object sender, EventArgs e)
{
// Register the default hubs route: ~/signalr/hubs
RouteTable.Routes.MapHubs();
//RouteTable.Routes.MapPageRoute();
}
void Application_BeginRequest(object sender, EventArgs e)
{
}
void Application_End(object sender, EventArgs e)
{
// Code that runs on application shutdown<%@ Application Language="C#" Inherits="GlobalGZip"%>
}
void Application_Error(object sender, EventArgs e)
{
}
void Session_Start(object sender, EventArgs e)
{
}
void Session_End(object sender, EventArgs e)
{
}
</script>