Commits

Clément Bourgeois  committed fe0a53a

Simplified Autoinstaller.

  • Participants
  • Parent commits 31e63f6

Comments (0)

Files changed (1)

File SQLServerBackupTool.Web/App_Start/AutoInstall.cs

-using SQLServerBackupTool.Web;
+using SQLServerBackupTool.Lib.Annotations;
+using SQLServerBackupTool.Web;
 using SQLServerBackupTool.Web.Lib;
 using SQLServerBackupTool.Web.Models;
 using System.Data.Entity;
-using System.Diagnostics;
 using System.Web.Security;
 
-[assembly: WebActivator.PreApplicationStartMethod(typeof(AutoInstall), "PreStart")]
 [assembly: WebActivator.PostApplicationStartMethod(typeof(AutoInstall), "PostStart")]
 
 namespace SQLServerBackupTool.Web
 
     public static class AutoInstall
     {
-        public static void PreStart()
-        {
-            Debug.WriteLine("PreStart");
-        }
-
+        [UsedImplicitly]
         public static void PostStart()
         {
             BasicMembershipAuthHttpModule.Realm = "SSBT.web";