2025-01-17 17:37:14 +09:00
|
|
|
|
using System.Net;
|
|
|
|
|
|
using System.Web.Mvc;
|
2020-10-12 14:39:23 +09:00
|
|
|
|
using System.Web.Routing;
|
2021-04-22 18:28:05 +09:00
|
|
|
|
using NP.Base.Popbill;
|
2020-10-12 14:39:23 +09:00
|
|
|
|
using Spring.Web.Mvc;
|
|
|
|
|
|
|
|
|
|
|
|
namespace FO
|
|
|
|
|
|
{
|
|
|
|
|
|
public class MvcApplication : SpringMvcApplication
|
|
|
|
|
|
{
|
|
|
|
|
|
protected void Application_Start()
|
|
|
|
|
|
{
|
|
|
|
|
|
AreaRegistration.RegisterAllAreas();
|
|
|
|
|
|
FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
|
2025-01-17 17:37:14 +09:00
|
|
|
|
RouteConfig.RegisterRoutes(RouteTable.Routes);
|
2020-10-12 14:39:23 +09:00
|
|
|
|
MvcHandler.DisableMvcResponseHeader = true;
|
2021-04-22 18:28:05 +09:00
|
|
|
|
PopbillConfig.StartTaxinvoiceService();
|
2025-01-17 17:37:14 +09:00
|
|
|
|
|
|
|
|
|
|
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
|
2020-10-12 14:39:23 +09:00
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-01-17 17:37:14 +09:00
|
|
|
|
}
|