xyz
xyz

Reputation:

Creating a Windows service with user notification in C#?

I want to create Windows service in such a way :

-> It takes input database information ...

-> at completion of service it notifies user for completion of process.

How can I do this with Windows service in C#.Net?

Thanks

Upvotes: 1

Views: 4346

Answers (2)

Richard Ev
Richard Ev

Reputation: 54117

I think you are asking three questions:

  1. How do I create a Windows Service
  2. How do I open and read data from a database
  3. How do I notify a user

Answers:

  1. Example
  2. If you can use .NET 3.5 and SQL Server 2005 or 2008, I would recommend LINQ to SQL
  3. A Windows Service has no UI, so you would need to think about how you want to notify the user. The simplest option might be to send them an email.

Upvotes: 1

Daniel Earwicker
Daniel Earwicker

Reputation: 116674

Based on some of the clues you provided in your question, I think you should probably look at WCF:

http://msdn.microsoft.com/en-us/netframework/aa663324.aspx

Upvotes: 0

Related Questions