Autoplay
Autocomplete
Previous Lesson
Complete and Continue
24 - Windows Services
Important Introduction
About This Course
Telegram Group for This Course
Introduction to Windows Services
Before You Start..
Getting Started with Windows Services
Introduction
What are Windows Services?
Quiz 1
Real-World Use Cases (23:38)
Why Use Windows Services? (8:58)
Quiz 2
Comparing Windows Services to Regular Applications (2:28)
Quiz 3
Building Your First Windows Service
Setting Up the Development Environment
Creating a Basic Windows Service (6:31)
Installing Windows Services
Installing and Running Your Service (15:28)
Methods for Starting and Stopping a Windows Service Manually
Introduciton
1. Using Services Management Console (services.msc) (2:36)
Scenarios Where You Should Use the Services Management Console (services.msc) to Start or Stop a Service
2. Using Task Manager (2:51)
Scenarios Where You Should Use Task Manager to Start or Stop a Service
3. Using Command Prompt (3:49)
Scenarios Where You Should Use Command Prompt to Start or Stop a Service
4. Using PowerShell (4:08)
Scenarios Where You Should Use PowerShell to Start or Stop a Service
5. Using Task Scheduler (Trigger-Based Starting and Stopping) (15:19)
Scenarios Where You Should Use Task Scheduler to Start or Stop a Service
Common Troubleshooting
Quiz
Methods for Starting and Stopping a Windows Service Automatically
Introduction
Understanding Service Start-Up Types (5:38)
1. Using Services Management Console (services.msc)
2. Using Command Prompt
3. Using PowerShell
4. Using Task Scheduler
5. Troubleshooting Start-Up Issues
Types of Windows Services
Standalone Services
Dependent Services
Interactive Services
Automatic Services
Automatic (Delayed Start) Services
Manual Services
Disabled Services
Triggered Start Services
Network Services
Background Services
Why Knowing Service Types Matters?
Summary
Quiz
Built-in Windows Services vs. Custom Services
Overview
Objectives
1. What Are Built-in Windows Services?
2. What Are Custom Windows Services?
3. Comparison: Built-in Windows Services vs. Custom Services
4. Real-World Examples
5. When to Use Built-in vs. Custom Services
6. Summary
Quiz
Understanding Service States and Lifecycle Events
Service States and Lifecycle Events (15:00)
Overview
Objectives
1. What is the Service Lifecycle?
2. Service States and Lifecycle Events
3. Additional Lifecycle Event: OnShutdown
4. Lifecycle Transitions
5. Lifecycle Summary Table
Real-World Examples of Lifecycle Events
Summary
Best Practices for Service Lifecycle Management
Quiz
Full Implementation for Service States and Events
Implementing Full Service States and Events (13:35)
Debugging a Windows Service Using Console Mode
Debugging a Windows Service Using Console Mode (17:08)
Switching Between Console and Service Modes
Summary
Quiz
Understanding the Services Control Manager (SCM)
Understanding the Services Control Manager (SCM) (11:28)
Overview
Objectives
1. What is the Services Control Manager (SCM)?
2. How SCM Works?
3. Tools to Interact with SCM
4. Service Dependencies in SCM
5. Service Recovery Actions
Summary
Quiz
Understanding Service Priorities in Windows Services
Understanding Service Priorities in Windows Services (9:02)
Overview
Objectives
1. What Are Service Priorities?
2. Windows Process Priority Classes
3. Tools for Monitoring and Managing Service Priorities
4. Scenarios for Adjusting Service Priorities
5. Implementing Service Priorities in Code
Summary
Quiz
Local Services vs. Network Services in Windows
Overview
Objectives
1. What Are Local Services and Network Services?
2. Key Differences Between Local and Network Services
3. Common Examples
4. When to Use Local Services vs. Network Services
5. Configuring Services with Local or Network Accounts
Summary
Quiz
Service Dependencies in Windows Services
Overview
Objectives
1. What Are Service Dependencies?
2. How Service Dependencies Work
3. Viewing Service Dependencies
4. Configuring Service Dependencies
5. Real-World Scenarios
6. Troubleshooting Service Dependencies
Summary
Quiz
Service Recovery and Fault Handling in Windows Services
Overview
Objectives
1. What is Service Recovery and Fault Handling?
2. Recovery Options in Windows Services
3. Configuring Service Recovery
4. Implementing Fault Handling in Code
5. Testing Service Recovery
Summary
Quiz
Deploying Windows Services
Overview
Objectives
1. Preparing a Windows Service for Deployment
2. Deployment Methods
3. Configuring the Service After Deployment
4. Testing the Deployed Service
Summary
Quiz
Uninstalling a Windows Service
Overview
Objectives
1. Why Uninstall a Windows Service?
2. Methods to Uninstall a Windows Service
3. Verifying Service Uninstallation
4. Troubleshooting Common Issues
Summary
Quiz
Projects
Important Message (2:39)
Project 1 - File Monitoring Windows Service
Overview
Project Objectives
Project Requirements
Project Deliverables
Project 1 - Solution - File Monitoring Windows Service
Project 1 - Solution - File Monitoring Windows Service (21:46)
Project 2 - DatabaseBackupService
Overview
Project Objectives
Requirements
Project Deliverables
Project 2 - Solution - DatabaseBackupService
Project 2 - Solution - DatabaseBackup Service (13:31)
.NET Framework Windows Service vs. .NET Core/5/6+ Worker Service
Overview
Objectives
1. What is a .NET Framework Windows Service?
2. What is a .NET Core/5/6+ Worker Service? (22:50)
3. Key Differences Between Windows Services and Worker Services
4. Lifecycle Comparison
5. Installation and Deployment
6. Tools to manage Both
7. When to Use Each
8. Real-World Use Cases
Summary
Quiz
End of Course Message
End Of Course Message (4:18)
4. Lifecycle Transitions
Lesson content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock