Last post Feb 21, 2012 11:42 AM by Sam Johns
Feb 16, 2012 09:09 AM|Zwergpintscher|LINK
I'm developing an ASP.NET Website for a small group of users (~300, broker who calculate & create offers with the website for their customer).
Sometimes broker want to calculate offers offline (e.g. when they are on their way to a customer) so I want to give them the possibility to run my website local and offline.
I created a Setup which is doing the following:
- installing IIS Express
- installing SQL Compact (used for saving data)
- installing my Website to IIS Express
- creating link to local website on desktop
The setup is working, but i update the website i need to update local websites on brokers pcs, too. I'm going to implement a update-program- here my idea:
- change link on desktop to a new c# program "program1":
- user is clicking link on desktop -> "program1" is checking for avaible updates (i will implement a webservice for this)
- if no updates are avaible or no internet connection -> open local website
- if updates found:
1) stop IIS
2) download new files
3) delete existing files
4) place new files at IIS
5) start IIS
6) open local website
I've not startet yet. At the moment the "Offline-Version" of my website isn't avaible for download (because i wont publish without updat-service).
In your opinion - is there a better way to update the "Offline-Version"?
Thanks for answers!
Feb 20, 2012 04:25 AM|Dino He - MSFT|LINK
I think Your solution sounds good.
And you can try to do it first.
When you have any problem, you can post your question here.
Hope it helpful.
Feb 21, 2012 11:42 AM|Sam Johns|LINK
YOu are doing good.
There is no need to stop and start IIS it'll accept changes in running mode.!