| | |
Send message to users in client PC
Please support our ASP.NET advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
Dear all .Netters,
I develop intranet application using ASP.Net 2.0 with VB language.
I have some modules that necesarry send messages to users.
Currently, my Bulletin Board shows pop up windows if there are messages to users.
It reads SQL Server table every 5 minutes using Web Service.
For others modules (GA-Payment, User ID Maintain),
I have planned to use Net Send function that provides by SQL Server with activating Job Schedule.
But i hesitant, if it could decrase my SQL Server or my Server performance.
So, do you have experiences how to send message to users with ASP.Net ?
Thanks and Regards,
Kusno
I develop intranet application using ASP.Net 2.0 with VB language.
I have some modules that necesarry send messages to users.
Currently, my Bulletin Board shows pop up windows if there are messages to users.
It reads SQL Server table every 5 minutes using Web Service.
For others modules (GA-Payment, User ID Maintain),
I have planned to use Net Send function that provides by SQL Server with activating Job Schedule.
But i hesitant, if it could decrase my SQL Server or my Server performance.
So, do you have experiences how to send message to users with ASP.Net ?
Thanks and Regards,
Kusno
Now are you sending messages to all users at once? or only selected users? Also do you want a windows dialog with popup message or an HTML popup page?
If Iam getting your requirement then are you trying to show the popup even when the asp.net app is not running? If yes then in that case you can create a service to pool and display the messages on the client. In this case you have to distribute a light client utility for this purpose.
There are 2 ways to create a windows service.
Method 1: You can create a simple .NET application and write you login inside that app. And then use the srvany utilituyand convert your .NET exe into a windows Service. You can download and read more about this tool here.
Method 2. You can use the Visual Studio Application template to create a new "Window Service" which uses System.ServiceProcess.ServiceBase NameSpace.
You can wrap your service logic inside the static void Main() of the class.
Then you can use 2 overriden functions OnStart and OnStop
After that build an exe for the service app and use the "installutil" provided in .NET SDK to register this service from command line.
Here is how you do it.
- Register this service from command line.
--- installutil C:\mcWebService\bin\Debug\mcWebService.exe
You use /u option to uninstall the service.
- installutil /u C:\mcWebService\bin\Debug\mcWebService.exe
Goto the service manager in windows and start and stop the service and you are good to go. Let me know if you need further help.
Method 1: You can create a simple .NET application and write you login inside that app. And then use the srvany utilituyand convert your .NET exe into a windows Service. You can download and read more about this tool here.
Method 2. You can use the Visual Studio Application template to create a new "Window Service" which uses System.ServiceProcess.ServiceBase NameSpace.
You can wrap your service logic inside the static void Main() of the class.
Then you can use 2 overriden functions OnStart and OnStop
After that build an exe for the service app and use the "installutil" provided in .NET SDK to register this service from command line.
Here is how you do it.
- Register this service from command line.
--- installutil C:\mcWebService\bin\Debug\mcWebService.exe
You use /u option to uninstall the service.
- installutil /u C:\mcWebService\bin\Debug\mcWebService.exe
Goto the service manager in windows and start and stop the service and you are good to go. Let me know if you need further help.
![]() |
Similar Threads
- Send a text message to your phone from your site! (ColdFusion)
- Winsock Multi-Client Servers (C++)
- adding an image to a java code (Java)
- I want to let members message each other (PHP)
- coding IM: notifiyng clients of others online presence (Visual Basic 4 / 5 / 6)
- internet messanger (Java)
- Exchange 2000 - one client hanging and timing out when receiving mail (Networking Hardware Configuration)
- Windows vs Linux (IT Professionals' Lounge)
Other Threads in the ASP.NET Forum
- Previous Thread: Intranet
- Next Thread: How To Create ASP.Net Forum?
Views: 3983 | Replies: 4
| Thread Tools | Search this Thread |
Tag cloud for ASP.NET
.net 2.0 3.5 ajax appliances application asp asp.net beginner box browser businesslogiclayer button c# cac chat checkbox child class compatible complex content contenttype control countryselector courier database datagrid datagridview datalist deployment development dgv dialog dropdown dropdownmenu dynamic dynamically edit embeddingactivexcontrol feedback fileuploader fill findcontrol flash flv folder form gridview gudi identity iis image javascript languages list maps menu mobile mssql nameisnotdeclared novell opera order problem profile ratings redirect refer registration relationaldatabases response.redirect rows search security select serializesmo.table sessionvariables silverlight smoobjects software sql ssl tracking treeview typeof validatedate validation vb vb.net vista visual-studio visualstudio vs2008 web webapplications webarchitecture webdevelopment wizard xsl





