Esempio n. 1
0
 protected void Application_Start()
 {
     AreaRegistration.RegisterAllAreas();
     FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
     RouteConfig.RegisterRoutes(RouteTable.Routes);
     BundleConfig.RegisterBundles(BundleTable.Bundles);
     XmlWorks2.Prepare();
 }
Esempio n. 2
0
 public ActionResult Customers()
 {
     while (true)
     {
         try
         {
             /*XmlDocument xDoc = new XmlDocument();
              * xDoc.Load(AppDomain.CurrentDomain.GetData("DataDirectory") + "/test.xml");
              */
             XmlWorks2.Prepare();
             return(View("Customers", XmlWorks2.root));
         }
         catch (Exception e)
         {
         }
     }
 }