Global.asax
上传用户:husern
上传日期:2022-03-24
资源大小:534k
文件大小:1k
- <%-- FILE -------------------------------------------------------------------
- // name : Global.cs
- // project : Itenso Web User Forms
- // created : Jani Giannoudis - 2008.10.30
- // language : c#
- // environment: .NET 2.0
- // copyright : (c) 2008 by Itenso GmbH, Switzerland
- // ------------------------------------------------------------------------%>
- <%@ Application Language="C#" %>
- <%@ Import Namespace="System" %>
- <%@ Import Namespace="System.IO" %>
- <%@ Import Namespace="System.Web.Hosting" %>
- <%@ Import Namespace="Itenso.WebUserForms.Runtime" %>
- <script RunAt="server">
- // ------------------------------------------------------------------------
- private void Application_Start( Object sender, EventArgs e )
- {
- string physicalFormsPath = Path.Combine( HostingEnvironment.ApplicationPhysicalPath, "VirtualUserForms" );
- HostingEnvironment.RegisterVirtualPathProvider(
- new VirtualUserFormFileProvider( "~/VirtualUserForms", physicalFormsPath ) );
- } // Application_Start
- // ------------------------------------------------------------------------
- private void Application_End( Object sender, EventArgs e )
- {
- } // Application_End
- </script>
- <%-- EOF ------------------------------------------------------------------%>