1 / 6

Web Services Week 10

Web Services Week 10. Aims: Advanced Topics Learning Outcomes: Web Server Admin More use of DataGrids and DataSets. Internet Information Server Snap-In. Administration tool for IIS web server Manage Content, Security, Logging, Virtual Directories, etc. Virtual Directories.

akiko
Télécharger la présentation

Web Services Week 10

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Web ServicesWeek 10 Aims: Advanced Topics Learning Outcomes: Web Server Admin More use of DataGrids and DataSets

  2. Internet Information Server Snap-In • Administration tool for IIS web server • Manage Content, Security, Logging, Virtual Directories, etc

  3. Virtual Directories • Directories delegated to be online • ASP.NET web application and web service project directories need to enabled as IIS application directories (type of virtual directory) when moved onto IIS from elsewhere • Can do via IIS Snap-In • Right click your directory in Default Web Site • Hence from properties dialog box click [Create] • Need windows admin account

  4. Moving projects between drives and computers • Options… • Use IIS Snap-In to set project folder as application directory (need admin account) • Use third party add-in for visual studio to set project folder as application directory (exercise) • Create Setup File (i.e. installer file) • File->Add Project->New Project • move into ‘Setup and Deployment Projects’ • Run Setup Wizard and select to include all output groups See technical issues doc on module website

  5. Interaction with Datagrids • Datagrids can allow users to select items and hence make changes to bound Dataset, which can hence be reconciled with database via web service • Via properties window click ‘Auto Format’ to choose from a range of styles, colours, etc • Via properties window click ‘Property Builder’ • Add Select buttons via ‘Button Column’

  6. Interaction with Dataset • Selected Row given by int i=DataGrid1.SelectedIndex; myString=ds.Tables[0].Rows[i][j]; // get jth field ds.Tables[0].Rows[i][j] = myString; // set jth field ds.Tables[0].Rows[i].Delete(); // delete row

More Related