Book description
Get the practical reference to developing Windows services with Visual Basic 2008. Addressing the leading trend of software as a service, this guide illustrates how developers with intermediate Visual Basic skills can design and implement Web services. It addresses a critical gap in the developer literature today, showing that services can be developed with Visual Basic 2008 and are not restricted to XML-based applications or Microsoft Visual C#. Software as a service is changing the dynamic between rich and thin clients. As device types multiply, users expect always-on connectivity to link them to the robust Web and corporate applications they use on the desktop. Services, which offload data storage and processing tasks to a server, run efficiently on Web platforms on any device. Services do not need to be a complex coding task and this is the ideal resource for creating modern, service-oriented applications. It covers integration of services with other Microsoft technologies, including Microsoft BizTalk Server, Microsoft Internet Information Services (IIS), and Microsoft SQL ServerTM. Plus, you ll get extensive code snippets and sample applications.
Key Book Benefits
Delivers practical guidance on how to develop Windows services
using Visual Basic 2008
Covers integration of services with other Microsoft platforms
including BizTalk, IIS, and SQL Server
Features extensive code snippets and sample applications
Table of contents
-
Programming Windows® Services with Microsoft® Visual Basic® 2008
- Introduction
-
I. Defining Windows Services
- 1. Writing Your First Service in Visual Basic 2008
-
2. Expanding Your Service with Threads
- Cleaning Up the Service from the Previous Chapter
- Understanding Threads
- The New Code
- Install and Test Your Service
- What Is Thread Cleanup?
- Extending <OnPause> and <OnContinue>
- Summary
- 3. Services and Security
-
II. Creating Interactive Windows Services
-
4. Services and Polling
- Polling the File System
- Adding a Module File
- Adding New Polling Code
- Updating the Service Events
- Writing a New Thread Method
- Monitoring with Multiple Threads
- Extending the Threading Model
- Adding a FileWorker Class
- Implementing the Worker Class
- Creating the FileWorkerOptions Class
- Updating <Tutorials.ThreadFunc>
- Using Configuration Files
- Updating <Tutorials.ThreadFunc>
- Summary
-
5. Processing and Notification
- SMTP Notifications
- File Processing
- Advanced Processing
-
Implementing a Solution
- Creating a New <FileWorker.ProcessingIncoming> Method
- Updating the <Tutorials.OnStop> Method
- Queueing E-mail Notifications
- Decoupling Notifications Implementation Questions
- Decoupling: An Example
- SMTP Queueing Solution
- Updating the SMTP Class
- Updating the FileWorkerOptions Class
- Updating the <Tutorials.ThreadFunc> Method
- Updating the <FileWorker> Constructor
- Installation and Verification
- Summary
- 6. User Input, Desktop Interaction, and Feedback
-
7. Data Logging: Processing and Storing Data in SQL Server 2005
- Configuring Microsoft SQL Server
- Understanding a LINQSQL Class
- Using LINQ To SQL
- Updating the FileWorker Class
- Data Tracking Validation
- Implementing the Record Failure Code
- Data Migration from One Data Store to Another Data Store
- Reporting Processing Failures
- Optimizing the LINQSQL Class
- Summary
-
4. Services and Polling
-
III. Services That Support IT and the Business
- 8. Monitoring and Reporting with WMI
-
9. Talking to the Internet
- Reading and Parsing ASP Pages
- Adding a Dynamic Status ASPX Page
- FTP and Your Service
- Using FTP in the Service
- Uploading Data Using FTP
- Summary
-
10. Services That Listen
- Listening with TCP/IP
- Service Validation
- Allowing Multiple Connections
- Summary
-
11. Advanced Security Considerations and Communications
- What Does Securing the Service Mean?
-
Services as Clients
- Securing the HTTP Client Service
- Securing the FTP Service
- Securing the SMTP Client Class
- Writing Secure Code
- Securing In-Memory and On-Disk Data
- Using SSL with Server Services
- Updating the Test Client to Use SSL
- Summary
-
IV. Advanced Windows Services Topics
- 12. Scheduling, Configuring, Administering, and Setting Up Windows Services
- 13. Debugging and Troubleshooting Windows Services
- 14. Adding Performance Counters
- V. Appendices
- D. About the Author
- Index
Product information
- Title: Programming Windows® Services with Microsoft® Visual Basic® 2008
- Author(s):
- Release date: January 2008
- Publisher(s): Microsoft Press
- ISBN: 9780735624337
You might also like
book
Microsoft® Visual Basic® 2008 Step by Step
Teach yourself the fundamentals of working with Visual Basic 2008 one step at a time. With …
book
Professional Visual Basic® 2008
The 2008 version of Visual Basic is tremendously enhanced and introduces dramatic new concepts, techniques, and …
book
Beginning Visual C#® 2005
Creating next-generation software and applications is now easier than ever with the release of Visual C# …
book
XPages Portable Command Guide: A Compact Resource to XPages Application Development and the XSP Language
A Practical Primer for XPages Application Development, Debugging, and Performance Using XPages, Lotus® Notes® and Domino® …