Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Programatically start and stop sample.
pathurun
#1 Posted : Wednesday, February 10, 2010 11:38:25 PM(UTC)
Groups: Member
Joined: 1/9/2006(UTC)
Posts: 6

Just wondering if there is a sample which would show us how to programatically start and stop cassini webserver.

Also one other question:
We are looking at a scenario where multiple processes on a machine will communicate with each other via cassini.
Just wondering if anyone has done that. Any suggestions/experiences will be appreciated.
Thanks
N
Ultidev Team
#2 Posted : Thursday, February 11, 2010 10:48:00 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi, there!

It's possible to start/stop UltiDev Cassini service using ServiceController class. To find service by name you should not rely on exact current service name because service name is subject to change from version to version, and your application is not guaranteed to run on the server it ships with - if newer version of the web server get installed on the machine before your app is, then your app should be able to work on it using documented features that will be supported, and avoid using undocumented features, like service name, that will are not guaranteed to stay the same. We are likely to keep "UltiDev" and "web server" in service's name, but if future Cassini releases start using host processes (similar to IIS application pools), stopping the service may not always have a desired effect.

As far as using UltiDev Cassini to facilitate cross-process communication goes, consider WCF as an alternative since it was designed specifically for that.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Guest
#3 Posted : Tuesday, March 8, 2016 2:05:54 AM(UTC)
Groups:

Message was deleted by a Moderator.
Rss Feed  Atom Feed
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.