Differences between revisions 11 and 12
Revision 11 as of 2020-09-30 01:26:10
Size: 1637
Editor: scot
Comment:
Revision 12 as of 2020-09-30 01:33:38
Size: 1987
Editor: scot
Comment:
Deletions are marked like this. Additions are marked like this.
Line 19: Line 19:
    a. Add a user that can update the web application. You can make it a non-windows user and it will probably be easier.     a. Add a user that can update the web application. Make it a Windows user (I used the Administrator account in the Video, which I know is bad form!).
Line 23: Line 23:
 1. Time to go back and try to deploy. You are going to deploy the code to the server you've been preparing but we will now use the production database server db.cs.southern.edu.
    a. Back in Visual Studio right click on the service project and select publish. Select the WCF option at the bottom.
    a.
    

HW04: IIS VM Setup

Complete the following requirements.

  1. Create a VM with Windows Server (latest edition)
  2. Install IIS on it - Recall the demo from class and/or the video

    1. IIS features see: image

  3. Install Web Deploy (in the video I got Web Deploy 3.6 from here).

  4. Enable remote connections in the IIS management service (server level)see image

    1. You will have to stop the service
    2. Make the changes in the image above.
    3. Start the service.
  5. Create an ASP.NET application under your "Default Web Site" named "MoviesSVC".
    1. The location on disk should be C:\MoviesSVC. If you are using a windows account, it will setup the permissions for you.
    2. See the image

    3. Double click on the IIS Permissions icon.
    4. Add a user that can update the web application. Make it a Windows user (I used the Administrator account in the Video, which I know is bad form!).
  6. Make sure that both of the following services are running:
    1. Web Deployment Agent Service
    2. Web Management Service
  7. Time to go back and try to deploy. You are going to deploy the code to the server you've been preparing but we will now use the production database server db.cs.southern.edu.
    1. Back in Visual Studio right click on the service project and select publish. Select the WCF option at the bottom.

Show your professor for Credit:

  • You will need to show me a working version of your VM by displaying a simple asp.net web page.

If you appear lost, look at the documentation for IIS online.

WebServices/ProgrammingHomeworks/HW04 (last edited 2023-05-23 20:16:16 by scot)