Automatic Intranet website updation

Last post 08-06-2008 2:50 AM by TATWORTH. 9 replies.

Sort Posts:

  • Automatic Intranet website updation

    08-02-2008, 8:37 AM
    • Member
      248 point Member
    • justKiran
    • Member since 04-15-2006, 8:56 AM
    • Posts 122

    Hello Everyone,

    We have developed product (a intranet website) which is useful for all the companies(almost 1000 clients) having version 2.4.0. Now we want to upload new version2.4.1 at 1000 places. What are the different ways we can do this?

    I would like to have one project which will take care of automatic updation of website downloading the new verson from intetnet. We will be having our new version on internet site.The user will click on one button and rest of the part will be replaced automatically by program. Also it should check the file and should not download the same file from internet if it is the same . ie. The program should find the existing physical path and replace the contents. 

    Any suggestion would be appreciated 

    Regards,

    Kiran

  • Re: Automatic Intranet website updation

    08-02-2008, 11:17 AM
    Answer
    • All-Star
      62,919 point All-Star
    • TATWORTH
    • Member since 02-04-2003, 8:34 AM
    • England
    • Posts 12,300
    • TrustedFriends-MVPs

     I would set it up as follows:

    1. Create a web site on your IIS to host a web service.
    2. The web service should be locked to only the IP addresses of your clients web sites.
    3. The web service provides 2 methods; one for get latest version string and the other gets the zip file of the version.
    4. On each client site a windows service to poll for the latest version string and if a new version is found, download it, unpack it, apply the localised web.config, copy it to a new branch of the web site and then use IIS Manager to switch from old branch to new.
    Don't forget to click "Mark as Answer" on the post that helped you.
    This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.
  • Re: Automatic Intranet website updation

    08-05-2008, 1:42 AM
    • Member
      248 point Member
    • justKiran
    • Member since 04-15-2006, 8:56 AM
    • Posts 122

    Hello All,

    Generally, at client place, there is a server and our site is hosted onto it and they dont provide internet connection to the server. In case of automatic updation, if user wants to update the site, how can he update the site by using clients computer as the server doesnt have internet connection and clients computer have internet connection.

    In this scenario, how it is possible to update the site automatically without involving any IT person.

    Regards,

    Kiran 

     

     

  • Re: Automatic Intranet website updation

    08-05-2008, 2:04 AM
    Answer
    • All-Star
      62,919 point All-Star
    • TATWORTH
    • Member since 02-04-2003, 8:34 AM
    • England
    • Posts 12,300
    • TrustedFriends-MVPs

     If the client's IIS server does not have Internet access, it could be done by a process on another machine on the client's LAN, but getting the permissions set up would be more complicated and most definitly require the services of an IT person at least for the initial setup as the service running on the other machine would have to have a domain account with admin rights on the IIS server.

    Don't forget to click "Mark as Answer" on the post that helped you.
    This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.
  • Re: Automatic Intranet website updation

    08-05-2008, 2:41 AM
    • Member
      248 point Member
    • justKiran
    • Member since 04-15-2006, 8:56 AM
    • Posts 122

    Hello,

    Cant we remove the IT person's involvement too in inital setup? Also in your scenario, you have written like,

    4. On each client site a windows service to poll for the latest version string and if a new version is found, download it, unpack it, apply the localised web.config, copy it to a new branch of the web site and then use IIS Manager to switch from old branch to new.

    How can we programaticaly switch from old branch to new one in IIS Manager?

     

     

     


     

  • Re: Automatic Intranet website updation

    08-05-2008, 3:02 AM
    • All-Star
      62,919 point All-Star
    • TATWORTH
    • Member since 02-04-2003, 8:34 AM
    • England
    • Posts 12,300
    • TrustedFriends-MVPs

     >Cant we remove the IT person's involvement too in inital setup?

    Unlikely! End users rarely have administrative access on any server.

    >How can we programaticaly switch from old branch to new one in IIS Manager?
    It should be possible in Powershell, however such a question is properly a question for a separate thread.

    Don't forget to click "Mark as Answer" on the post that helped you.
    This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.
  • Re: Automatic Intranet website updation

    08-06-2008, 1:41 AM
    • Member
      248 point Member
    • justKiran
    • Member since 04-15-2006, 8:56 AM
    • Posts 122

    What could be the another way instead of writing web service or windows service?

     

  • Re: Automatic Intranet website updation

    08-06-2008, 2:24 AM
    • All-Star
      62,919 point All-Star
    • TATWORTH
    • Member since 02-04-2003, 8:34 AM
    • England
    • Posts 12,300
    • TrustedFriends-MVPs

     >What could be the another way instead of writing web service or windows service?
    They both do quite different tasks.

    Don't forget to click "Mark as Answer" on the post that helped you.
    This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.
  • Re: Automatic Intranet website updation

    08-06-2008, 2:44 AM
    • Member
      248 point Member
    • justKiran
    • Member since 04-15-2006, 8:56 AM
    • Posts 122

    Thank you for your help. You are absolutely correct. But our management wants a solution not using web services.

     

  • Re: Automatic Intranet website updation

    08-06-2008, 2:50 AM
    Answer
    • All-Star
      62,919 point All-Star
    • TATWORTH
    • Member since 02-04-2003, 8:34 AM
    • England
    • Posts 12,300
    • TrustedFriends-MVPs

     >But our management wants a solution not using web services.

    Really! Why don't they want web services?

    Web services are the ideal conduit, because they run on port 80  and are the most likely to get through all the firewalls.

    As an alternative, you could use FTP but that will be blocked on a significan proprtion of your clients firewalls.

    Don't forget to click "Mark as Answer" on the post that helped you.
    This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.
Page 1 of 1 (10 items)