Notifications : Service Broker, SqlDependency and NotifyIcon
![Image](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJgkw88_WiRc5Ow4JAtbEMRhtoClhXfLGYoo-X0Y5P1qqObi4TYqXKY0YAKit6f3cc0oxaLsoRm6D-FH-0Aid1kM2oZOgnceHzTiajE5NaTdMw3Kqb3lc1UDD3pPqY4Jfc4bU2jfQZdZE/s320/1.png)
Hi Guys, This time I made a small application to show notifications using Service Broker (Query Notifications), SqlDependency and NotifyIcon. Before you Start, 1) Sql Server (Any Version) 2) Visual Studio (Any Version) Step One : Enable Service Broker for the Database you work on. Step Two : Add the Following Code in a Console/Windows Application using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Data.SqlClient; using System.Drawing; using System.Linq; using System.Security.Permissions; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace TestApplication { class Program { static void Main(string[] args) { //Start the Dependency ...