Posted by andy | Published on: 20 November, 2017 | 643 0 0 0
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.