Server IP : 103.6.199.200 / Your IP : 3.22.249.229 Web Server : Microsoft-IIS/10.0 System : Windows NT EMPUSA 10.0 build 20348 (Windows Server 2016) i586 User : EMPUSA$ ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Domains/iscommy2/ws.i-3s.com.my/i3sWebServiceStg/ |
Upload File : |
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; using System.Web.Routing; namespace i3sWebService { public class WebApiApplication : System.Web.HttpApplication { protected void Application_Start(object sender, EventArgs e) { // Enforce the security protocol to TLS 1.2 System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12; GlobalConfiguration.Configure(WebApiConfig.Register); RegisterRoutes(RouteTable.Routes); } static void RegisterRoutes(RouteCollection routes) { //settings.AutoRedirectMode = RedirectMode.Permanent; routes.MapPageRoute("return", "return", "~/Return.aspx"); } } }