Adding a Dynamic Status ASPX Page
Now that the service is running and monitoring URLs, we want to make it easy for people to view the status of each URL being monitored. We’ll add another project to our current service solution that will do this.
Creating a New ASP.NET Web Application
Right-click the solution, select Add New Web Site, and then select ASP.NET Web Site from the Project Template Wizard. Select File for the Web site type and then browse to where you want to save the new application.
Creating the SQL Datasource
We need to be able to retrieve the information easily from SQL Server, so we’ll use a SQLDataSource object on the ASPX page. When ...
Get Programming Windows® Services with Microsoft® Visual Basic® 2008 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.