Posted by andy | 793 views 0 likes 0 favourites 0 comments
I have created a really simple console program that will help restore your database and website. The idea came after I need to showcase a website demo for users to test but I want it to be reset every day, so I do not have to worry to re-populate some data as the data may have been changed or deleted by visitors to test the demo site. This program is intended to use for Administrator only. It means you need to get an access to your server box which can be a dedicated server or VPS shared server. You will need to use Task Scheduler in Administrative Tools. The program is written in C# visual studio 2015. It uses the IIS dll file which is Microsoft.Web.Administration.dll to get access to IIS server to stop and start websites.