初始化项目
This commit is contained in:
32
AUTS.Web/Global.asax.cs
Normal file
32
AUTS.Web/Global.asax.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
using AUTS.SystemTask;
|
||||
using FluentScheduler;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Http;
|
||||
using System.Web.Mvc;
|
||||
using System.Web.Optimization;
|
||||
using System.Web.Routing;
|
||||
|
||||
namespace AUTS.Web
|
||||
{
|
||||
public class MvcApplication : System.Web.HttpApplication
|
||||
{
|
||||
protected void Application_Start()
|
||||
{
|
||||
AreaRegistration.RegisterAllAreas();
|
||||
//GlobalConfiguration.Configure(WebApiConfig.Register);
|
||||
FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
|
||||
RouteConfig.RegisterRoutes(RouteTable.Routes);
|
||||
BundleConfig.RegisterBundles(BundleTable.Bundles);
|
||||
//自定义定时作业计划
|
||||
//JobManager.Initialize(new TimingPlanRegistry());
|
||||
//注册UDP监视
|
||||
//Services.UDPHelp.StartReceive();
|
||||
//(new System.Threading.Thread(new System.Threading.ThreadStart(Services.UDPHelp.CreatSocket))).Start(); //开辟一个新线程
|
||||
//(new System.Threading.Thread(new System.Threading.ThreadStart(Services.UDPHelp_New.CreatSocket))).Start(); //开辟一个新线程
|
||||
//Services.UDP.UDPHelp.RecevieAndSend();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user