From Gustav at cactus.dk Mon Dec 1 04:36:21 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 01 Dec 2008 11:36:21 +0100 Subject: [dba-VB] Microsoft Chart Controls for .Net 3.5 Message-ID: Hi all Did you notice this package for interactive Chart Controls for ASP.NET, Winforms and VS2008: http://code.msdn.microsoft.com/mschart /gustav From accessd at shaw.ca Mon Dec 1 12:29:04 2008 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 1 Dec 2008 10:29:04 -0800 Subject: [dba-VB] Microsoft Chart Controls for .Net 3.5 In-Reply-To: References: Message-ID: Hi Gustav: This is excellent. It appears that MS acquires the rights to the intellectual property from the Dundas Controls and have now integrated this functionality into their Dot Net. These features are also integrated into MS SQL reporting Services. ;-) Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, December 01, 2008 2:36 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Microsoft Chart Controls for .Net 3.5 Hi all Did you notice this package for interactive Chart Controls for ASP.NET, Winforms and VS2008: http://code.msdn.microsoft.com/mschart /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From accessd at shaw.ca Mon Dec 1 12:35:09 2008 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 1 Dec 2008 10:35:09 -0800 Subject: [dba-VB] Microsoft Chart Controls for .Net 3.5 In-Reply-To: References: Message-ID: PS If you need to download the chart control: http://www.microsoft.com/downloads/details.aspx?FamilyId=130F7986-BF49-4FE5- 9CA8-910AE6EA442C&displaylang=en Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, December 01, 2008 2:36 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Microsoft Chart Controls for .Net 3.5 Hi all Did you notice this package for interactive Chart Controls for ASP.NET, Winforms and VS2008: http://code.msdn.microsoft.com/mschart /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Sat Dec 6 12:22:19 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 6 Dec 2008 21:22:19 +0300 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? Message-ID: <000601c957cf$9440eee0$6401a8c0@nant> Hi All, ASP.NET Web Services are known to be passive IOW they are activated when called from outside, they do some work, and quit until another web request comes... ...I wonder is it possible to develop active web service, which will be activating itself once in a while (e.g. by using a kind of schedule controlled by timer + some programmatic logic)... ...that active service could be something like endlessly running/sleeping/running... between resets web service method IOW a web service method with timeout set to infinitum... ...because ASP.NET web services application is by definition multi-threaded having one thread like the questioned/requested above shouldn?t be an issue for the other IMO... ...this thread could be started by outside call or even (I guess) by web service itself calling its own method with infinitum timeout on start-up *via loopback web service call not directly* or something like that... ...that questioned/requested solution should be pure ASP.NET web service one as it's planned to be used on ASP.Net hosting without access to the host operating system to run scheduled Windows Service etc... ...it could happen that questioned/requested Web Service solution is built-in ASP.NET feature: I must say I didn't investigate the docs/I didn't try to make a POC solution - I expect somebody here might have done something like that already - all I need is an answer: yes, it can be done, RTFM => {{URL}}} ... Thank you. -- Shamil P.S. Sorry, I didn't do in advance investigation - I just didn't want to get negative answer by myself - and if positive answer exists I'd be glad to share it with you, and you'll be ready for such a "tricky"/unusual (?) solution using Web Services in advance... From gustav at cactus.dk Sat Dec 6 14:57:26 2008 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 06 Dec 2008 21:57:26 +0100 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? Message-ID: Hi Shamil Couldn't you just have some other service running to carry out this task over and over? Or, if for some reason it must a web service, have another web service at hand which is called with some delay. Then this second web service after some delay calls the first, and so on? Neither have I read the manual on this, so a straight-forward solution may exist ... /gustav >>> shamil at smsconsulting.spb.ru 06-12-2008 19:22 >>> Hi All, ASP.NET Web Services are known to be passive IOW they are activated when called from outside, they do some work, and quit until another web request comes... ...I wonder is it possible to develop active web service, which will be activating itself once in a while (e.g. by using a kind of schedule controlled by timer + some programmatic logic)... ...that active service could be something like endlessly running/sleeping/running... between resets web service method IOW a web service method with timeout set to infinitum... ...because ASP.NET web services application is by definition multi-threaded having one thread like the questioned/requested above shouldn't be an issue for the other IMO... ...this thread could be started by outside call or even (I guess) by web service itself calling its own method with infinitum timeout on start-up *via loopback web service call not directly* or something like that... ...that questioned/requested solution should be pure ASP.NET web service one as it's planned to be used on ASP.Net hosting without access to the host operating system to run scheduled Windows Service etc... ...it could happen that questioned/requested Web Service solution is built-in ASP.NET feature: I must say I didn't investigate the docs/I didn't try to make a POC solution - I expect somebody here might have done something like that already - all I need is an answer: yes, it can be done, RTFM => {{URL}}} ... Thank you. -- Shamil P.S. Sorry, I didn't do in advance investigation - I just didn't want to get negative answer by myself - and if positive answer exists I'd be glad to share it with you, and you'll be ready for such a "tricky"/unusual (?) solution using Web Services in advance... From DWUTKA at Marlow.com Sat Dec 6 17:07:23 2008 From: DWUTKA at Marlow.com (Drew Wutka) Date: Sat, 6 Dec 2008 17:07:23 -0600 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? In-Reply-To: <000601c957cf$9440eee0$6401a8c0@nant> Message-ID: Yes, but not with ASP.NET. Classic and .NET ASP are both 'interpreters' for incoming web pages, similar to server side includes. There is nothing in these to run without an incoming web request. So you can create your own service on a web server. However, just to try and guess at what you are trying to do, if you would like something to occur with a user, without a user's interaction, you can have stuff hidden in an inline frame. Drew -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, December 06, 2008 12:22 PM To: 'Access-D - VB' Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? Hi All, ASP.NET Web Services are known to be passive IOW they are activated when called from outside, they do some work, and quit until another web request comes... ...I wonder is it possible to develop active web service, which will be activating itself once in a while (e.g. by using a kind of schedule controlled by timer + some programmatic logic)... ...that active service could be something like endlessly running/sleeping/running... between resets web service method IOW a web service method with timeout set to infinitum... ...because ASP.NET web services application is by definition multi-threaded having one thread like the questioned/requested above shouldn't be an issue for the other IMO... ...this thread could be started by outside call or even (I guess) by web service itself calling its own method with infinitum timeout on start-up *via loopback web service call not directly* or something like that... ...that questioned/requested solution should be pure ASP.NET web service one as it's planned to be used on ASP.Net hosting without access to the host operating system to run scheduled Windows Service etc... ...it could happen that questioned/requested Web Service solution is built-in ASP.NET feature: I must say I didn't investigate the docs/I didn't try to make a POC solution - I expect somebody here might have done something like that already - all I need is an answer: yes, it can be done, RTFM => {{URL}}} ... Thank you. -- Shamil P.S. Sorry, I didn't do in advance investigation - I just didn't want to get negative answer by myself - and if positive answer exists I'd be glad to share it with you, and you'll be ready for such a "tricky"/unusual (?) solution using Web Services in advance... _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From wdhindman at dejpolsystems.com Mon Dec 8 12:38:13 2008 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 8 Dec 2008 13:38:13 -0500 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? References: <000601c957cf$9440eee0$6401a8c0@nant> Message-ID: <501F012DCE314C7FAAF1765D5C510DF2@jislaptopdev> ...I don't think you can do this as a pure web service ...but you can invoke a "with events" protocol from an outside timer/event based call to invoke asynchronous Web Service method calls to implement callback events from a Web Service to its clients ...hope that makes sense. William -------------------------------------------------- From: "Shamil Salakhetdinov" Sent: Saturday, December 06, 2008 1:22 PM To: "'Access-D - VB'" Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? > Hi All, > > ASP.NET Web Services are known to be passive IOW they are activated when > called from outside, they do some work, and quit until another web request > comes... > > ...I wonder is it possible to develop active web service, which will be > activating itself once in a while (e.g. by using a kind of schedule > controlled by timer + some programmatic logic)... > > ...that active service could be something like endlessly > running/sleeping/running... between resets web service method IOW a web > service method with timeout set to infinitum... > > ...because ASP.NET web services application is by definition > multi-threaded > having one thread like the questioned/requested above shouldn't be an > issue > for the other IMO... > > ...this thread could be started by outside call or even (I guess) by web > service itself calling its own method with infinitum timeout on start-up > *via loopback web service call not directly* or something like that... > > ...that questioned/requested solution should be pure ASP.NET web service > one > as it's planned to be used on ASP.Net hosting without access to the host > operating system to run scheduled Windows Service etc... > > ...it could happen that questioned/requested Web Service solution is > built-in ASP.NET feature: I must say I didn't investigate the docs/I > didn't > try to make a POC solution - I expect somebody here might have done > something like that already - all I need is an answer: yes, it can be > done, > RTFM => {{URL}}} ... > > Thank you. > > -- > Shamil > > P.S. Sorry, I didn't do in advance investigation - I just didn't want to > get > negative answer by myself - and if positive answer exists I'd be glad to > share it with you, and you'll be ready for such a "tricky"/unusual (?) > solution using Web Services in advance... > > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From shamil at smsconsulting.spb.ru Mon Dec 8 15:55:50 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 9 Dec 2008 00:55:50 +0300 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? In-Reply-To: <501F012DCE314C7FAAF1765D5C510DF2@jislaptopdev> Message-ID: <000101c9597f$be403f50$6401a8c0@nant> Thank you for your responses Gustav, Drew and William. Here is what I have just found: Easy Background Tasks in ASP.NET http://blog.stackoverflow.com/2008/07/easy-background-tasks-in-aspnet/ IOW, the subject task was questioned several months before on StackOverflow, and a follow-up discussion (on the same referred above page) highlighted all pluses and minuses of proposed simple solution: I'd try to make it like that now: - use proposed above simple solution on "cron" ASP.Net web site/service, which will query URL on another main ASP.NET web site/service to perform recurrent tasks... It should work, shouldn't it? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, December 08, 2008 9:38 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? ...I don't think you can do this as a pure web service ...but you can invoke a "with events" protocol from an outside timer/event based call to invoke asynchronous Web Service method calls to implement callback events from a Web Service to its clients ...hope that makes sense. William -------------------------------------------------- From: "Shamil Salakhetdinov" Sent: Saturday, December 06, 2008 1:22 PM To: "'Access-D - VB'" Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? > Hi All, > > ASP.NET Web Services are known to be passive IOW they are activated when > called from outside, they do some work, and quit until another web request > comes... > > ...I wonder is it possible to develop active web service, which will be > activating itself once in a while (e.g. by using a kind of schedule > controlled by timer + some programmatic logic)... > > ...that active service could be something like endlessly > running/sleeping/running... between resets web service method IOW a web > service method with timeout set to infinitum... > > ...because ASP.NET web services application is by definition > multi-threaded > having one thread like the questioned/requested above shouldn't be an > issue > for the other IMO... > > ...this thread could be started by outside call or even (I guess) by web > service itself calling its own method with infinitum timeout on start-up > *via loopback web service call not directly* or something like that... > > ...that questioned/requested solution should be pure ASP.NET web service > one > as it's planned to be used on ASP.Net hosting without access to the host > operating system to run scheduled Windows Service etc... > > ...it could happen that questioned/requested Web Service solution is > built-in ASP.NET feature: I must say I didn't investigate the docs/I > didn't > try to make a POC solution - I expect somebody here might have done > something like that already - all I need is an answer: yes, it can be > done, > RTFM => {{URL}}} ... > > Thank you. > > -- > Shamil > > P.S. Sorry, I didn't do in advance investigation - I just didn't want to > get > negative answer by myself - and if positive answer exists I'd be glad to > share it with you, and you'll be ready for such a "tricky"/unusual (?) > solution using Web Services in advance... > > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Tue Dec 9 04:13:05 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 09 Dec 2008 11:13:05 +0100 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? Message-ID: Hi Shamil Well, I would run some kind of service, native of Windows or otherwise external in relation to the site. Like many other commenters calling the idea a "hack", I can't see anything but potential troubles by letting the site itself simulate a Cron job. /gustav >>> shamil at smsconsulting.spb.ru 08-12-2008 22:55 >>> Thank you for your responses Gustav, Drew and William. Here is what I have just found: Easy Background Tasks in ASP.NET http://blog.stackoverflow.com/2008/07/easy-background-tasks-in-aspnet/ IOW, the subject task was questioned several months before on StackOverflow, and a follow-up discussion (on the same referred above page) highlighted all pluses and minuses of proposed simple solution: I'd try to make it like that now: - use proposed above simple solution on "cron" ASP.Net web site/service, which will query URL on another main ASP.NET web site/service to perform recurrent tasks... It should work, shouldn't it? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, December 08, 2008 9:38 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? ...I don't think you can do this as a pure web service ...but you can invoke a "with events" protocol from an outside timer/event based call to invoke asynchronous Web Service method calls to implement callback events from a Web Service to its clients ...hope that makes sense. William -------------------------------------------------- From: "Shamil Salakhetdinov" Sent: Saturday, December 06, 2008 1:22 PM To: "'Access-D - VB'" Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? > Hi All, > > ASP.NET Web Services are known to be passive IOW they are activated when > called from outside, they do some work, and quit until another web request > comes... > > ...I wonder is it possible to develop active web service, which will be > activating itself once in a while (e.g. by using a kind of schedule > controlled by timer + some programmatic logic)... > > ...that active service could be something like endlessly > running/sleeping/running... between resets web service method IOW a web > service method with timeout set to infinitum... > > ...because ASP.NET web services application is by definition multi-threaded > having one thread like the questioned/requested above shouldn't be an issue > for the other IMO... > > ...this thread could be started by outside call or even (I guess) by web > service itself calling its own method with infinitum timeout on start-up > *via loopback web service call not directly* or something like that... > > ...that questioned/requested solution should be pure ASP.NET web service one > as it's planned to be used on ASP.Net hosting without access to the host > operating system to run scheduled Windows Service etc... > > ...it could happen that questioned/requested Web Service solution is > built-in ASP.NET feature: I must say I didn't investigate the docs/I didn't > try to make a POC solution - I expect somebody here might have done > something like that already - all I need is an answer: yes, it can be done, > RTFM => {{URL}}} ... > > Thank you. > > -- > Shamil > > P.S. Sorry, I didn't do in advance investigation - I just didn't want to get > negative answer by myself - and if positive answer exists I'd be glad to > share it with you, and you'll be ready for such a "tricky"/unusual (?) > solution using Web Services in advance... From shamil at smsconsulting.spb.ru Tue Dec 9 05:55:11 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 9 Dec 2008 14:55:11 +0300 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? In-Reply-To: Message-ID: <002801c959f4$ff7faee0$6401a8c0@nant> Hi Gustav, But my variation of the "hack" is to have Cron ASP.NET/ASP.NET web service application, which only duty will be to *ping/wake-up* another ASP.NET web service to perform recurrent/scheduled tasks: for this architecture/scenario I do not see currently any problems except that recurrent/schedule tasks shouldn't be very lengthy - and I do not plan to have them running longer than several seconds/half-minute/minute - that should be OK with ASP.NET/ASP.NET web service apps as they are multi-threaded and my recurrent/scheduled threads will be written assuming they are running in such environment... Am I missing something? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, December 09, 2008 1:13 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? Hi Shamil Well, I would run some kind of service, native of Windows or otherwise external in relation to the site. Like many other commenters calling the idea a "hack", I can't see anything but potential troubles by letting the site itself simulate a Cron job. /gustav >>> shamil at smsconsulting.spb.ru 08-12-2008 22:55 >>> Thank you for your responses Gustav, Drew and William. Here is what I have just found: Easy Background Tasks in ASP.NET http://blog.stackoverflow.com/2008/07/easy-background-tasks-in-aspnet/ IOW, the subject task was questioned several months before on StackOverflow, and a follow-up discussion (on the same referred above page) highlighted all pluses and minuses of proposed simple solution: I'd try to make it like that now: - use proposed above simple solution on "cron" ASP.Net web site/service, which will query URL on another main ASP.NET web site/service to perform recurrent tasks... It should work, shouldn't it? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, December 08, 2008 9:38 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? ...I don't think you can do this as a pure web service ...but you can invoke a "with events" protocol from an outside timer/event based call to invoke asynchronous Web Service method calls to implement callback events from a Web Service to its clients ...hope that makes sense. William -------------------------------------------------- From: "Shamil Salakhetdinov" Sent: Saturday, December 06, 2008 1:22 PM To: "'Access-D - VB'" Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? > Hi All, > > ASP.NET Web Services are known to be passive IOW they are activated when > called from outside, they do some work, and quit until another web request > comes... > > ...I wonder is it possible to develop active web service, which will be > activating itself once in a while (e.g. by using a kind of schedule > controlled by timer + some programmatic logic)... > > ...that active service could be something like endlessly > running/sleeping/running... between resets web service method IOW a web > service method with timeout set to infinitum... > > ...because ASP.NET web services application is by definition multi-threaded > having one thread like the questioned/requested above shouldn't be an issue > for the other IMO... > > ...this thread could be started by outside call or even (I guess) by web > service itself calling its own method with infinitum timeout on start-up > *via loopback web service call not directly* or something like that... > > ...that questioned/requested solution should be pure ASP.NET web service one > as it's planned to be used on ASP.Net hosting without access to the host > operating system to run scheduled Windows Service etc... > > ...it could happen that questioned/requested Web Service solution is > built-in ASP.NET feature: I must say I didn't investigate the docs/I didn't > try to make a POC solution - I expect somebody here might have done > something like that already - all I need is an answer: yes, it can be done, > RTFM => {{URL}}} ... > > Thank you. > > -- > Shamil > > P.S. Sorry, I didn't do in advance investigation - I just didn't want to get > negative answer by myself - and if positive answer exists I'd be glad to > share it with you, and you'll be ready for such a "tricky"/unusual (?) > solution using Web Services in advance... _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Tue Dec 9 07:26:41 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 09 Dec 2008 14:26:41 +0100 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? Message-ID: Hi Shamil No I don't think you are missing anything! Perhaps my mind is just missing to see the idea of this? What could such a Cron ASP.NET do to call a web service that you can't do with a tiny console app with a timer? Is this just for fun or the thinking, or are you looking for a clever way to meet a special challenge? /gustav >>> shamil at smsconsulting.spb.ru 09-12-2008 12:55 >>> Hi Gustav, But my variation of the "hack" is to have Cron ASP.NET/ASP.NET web service application, which only duty will be to *ping/wake-up* another ASP.NET web service to perform recurrent/scheduled tasks: for this architecture/scenario I do not see currently any problems except that recurrent/schedule tasks shouldn't be very lengthy - and I do not plan to have them running longer than several seconds/half-minute/minute - that should be OK with ASP.NET/ASP.NET web service apps as they are multi-threaded and my recurrent/scheduled threads will be written assuming they are running in such environment... Am I missing something? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, December 09, 2008 1:13 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? Hi Shamil Well, I would run some kind of service, native of Windows or otherwise external in relation to the site. Like many other commenters calling the idea a "hack", I can't see anything but potential troubles by letting the site itself simulate a Cron job. /gustav >>> shamil at smsconsulting.spb.ru 08-12-2008 22:55 >>> Thank you for your responses Gustav, Drew and William. Here is what I have just found: Easy Background Tasks in ASP.NET http://blog.stackoverflow.com/2008/07/easy-background-tasks-in-aspnet/ IOW, the subject task was questioned several months before on StackOverflow, and a follow-up discussion (on the same referred above page) highlighted all pluses and minuses of proposed simple solution: I'd try to make it like that now: - use proposed above simple solution on "cron" ASP.Net web site/service, which will query URL on another main ASP.NET web site/service to perform recurrent tasks... It should work, shouldn't it? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, December 08, 2008 9:38 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? ...I don't think you can do this as a pure web service ...but you can invoke a "with events" protocol from an outside timer/event based call to invoke asynchronous Web Service method calls to implement callback events from a Web Service to its clients ...hope that makes sense. William -------------------------------------------------- From: "Shamil Salakhetdinov" Sent: Saturday, December 06, 2008 1:22 PM To: "'Access-D - VB'" Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? > Hi All, > > ASP.NET Web Services are known to be passive IOW they are activated when > called from outside, they do some work, and quit until another web request > comes... > > ...I wonder is it possible to develop active web service, which will be > activating itself once in a while (e.g. by using a kind of schedule > controlled by timer + some programmatic logic)... > > ...that active service could be something like endlessly > running/sleeping/running... between resets web service method IOW a web > service method with timeout set to infinitum... > > ...because ASP.NET web services application is by definition multi-threaded > having one thread like the questioned/requested above shouldn't be an issue > for the other IMO... > > ...this thread could be started by outside call or even (I guess) by web > service itself calling its own method with infinitum timeout on start-up > *via loopback web service call not directly* or something like that... > > ...that questioned/requested solution should be pure ASP.NET web service one > as it's planned to be used on ASP.Net hosting without access to the host > operating system to run scheduled Windows Service etc... > > ...it could happen that questioned/requested Web Service solution is > built-in ASP.NET feature: I must say I didn't investigate the docs/I didn't > try to make a POC solution - I expect somebody here might have done > something like that already - all I need is an answer: yes, it can be done, > RTFM => {{URL}}} ... > > Thank you. > > -- > Shamil > > P.S. Sorry, I didn't do in advance investigation - I just didn't want to get > negative answer by myself - and if positive answer exists I'd be glad to > share it with you, and you'll be ready for such a "tricky"/unusual (?) > solution using Web Services in advance... From shamil at smsconsulting.spb.ru Tue Dec 9 07:57:52 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 9 Dec 2008 16:57:52 +0300 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? In-Reply-To: Message-ID: <002a01c95a06$22097ac0$6401a8c0@nant> Hi Gustav, I just need to perform some scheduled tasks running on ASP.NET hosting server, on which I cannot run nor console applications, nor windows services. And scheduled task should run automatically 24x7x365 independent from my PC being on or off. And I assume (/it's required) there is no other PC to "charge" with running console application/windows service 24x7x365... Let's say the scheduled task is a one watching some information on .NET, calculating stats, and e-mailing reports to admin/subscribers etc. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, December 09, 2008 4:27 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? Hi Shamil No I don't think you are missing anything! Perhaps my mind is just missing to see the idea of this? What could such a Cron ASP.NET do to call a web service that you can't do with a tiny console app with a timer? Is this just for fun or the thinking, or are you looking for a clever way to meet a special challenge? /gustav >>> shamil at smsconsulting.spb.ru 09-12-2008 12:55 >>> Hi Gustav, But my variation of the "hack" is to have Cron ASP.NET/ASP.NET web service application, which only duty will be to *ping/wake-up* another ASP.NET web service to perform recurrent/scheduled tasks: for this architecture/scenario I do not see currently any problems except that recurrent/schedule tasks shouldn't be very lengthy - and I do not plan to have them running longer than several seconds/half-minute/minute - that should be OK with ASP.NET/ASP.NET web service apps as they are multi-threaded and my recurrent/scheduled threads will be written assuming they are running in such environment... Am I missing something? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, December 09, 2008 1:13 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? Hi Shamil Well, I would run some kind of service, native of Windows or otherwise external in relation to the site. Like many other commenters calling the idea a "hack", I can't see anything but potential troubles by letting the site itself simulate a Cron job. /gustav >>> shamil at smsconsulting.spb.ru 08-12-2008 22:55 >>> Thank you for your responses Gustav, Drew and William. Here is what I have just found: Easy Background Tasks in ASP.NET http://blog.stackoverflow.com/2008/07/easy-background-tasks-in-aspnet/ IOW, the subject task was questioned several months before on StackOverflow, and a follow-up discussion (on the same referred above page) highlighted all pluses and minuses of proposed simple solution: I'd try to make it like that now: - use proposed above simple solution on "cron" ASP.Net web site/service, which will query URL on another main ASP.NET web site/service to perform recurrent tasks... It should work, shouldn't it? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, December 08, 2008 9:38 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? ...I don't think you can do this as a pure web service ...but you can invoke a "with events" protocol from an outside timer/event based call to invoke asynchronous Web Service method calls to implement callback events from a Web Service to its clients ...hope that makes sense. William -------------------------------------------------- From: "Shamil Salakhetdinov" Sent: Saturday, December 06, 2008 1:22 PM To: "'Access-D - VB'" Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? > Hi All, > > ASP.NET Web Services are known to be passive IOW they are activated when > called from outside, they do some work, and quit until another web request > comes... > > ...I wonder is it possible to develop active web service, which will be > activating itself once in a while (e.g. by using a kind of schedule > controlled by timer + some programmatic logic)... > > ...that active service could be something like endlessly > running/sleeping/running... between resets web service method IOW a web > service method with timeout set to infinitum... > > ...because ASP.NET web services application is by definition multi-threaded > having one thread like the questioned/requested above shouldn't be an issue > for the other IMO... > > ...this thread could be started by outside call or even (I guess) by web > service itself calling its own method with infinitum timeout on start-up > *via loopback web service call not directly* or something like that... > > ...that questioned/requested solution should be pure ASP.NET web service one > as it's planned to be used on ASP.Net hosting without access to the host > operating system to run scheduled Windows Service etc... > > ...it could happen that questioned/requested Web Service solution is > built-in ASP.NET feature: I must say I didn't investigate the docs/I didn't > try to make a POC solution - I expect somebody here might have done > something like that already - all I need is an answer: yes, it can be done, > RTFM => {{URL}}} ... > > Thank you. > > -- > Shamil > > P.S. Sorry, I didn't do in advance investigation - I just didn't want to get > negative answer by myself - and if positive answer exists I'd be glad to > share it with you, and you'll be ready for such a "tricky"/unusual (?) > solution using Web Services in advance... _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Tue Dec 9 08:28:34 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 09 Dec 2008 15:28:34 +0100 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? Message-ID: Hi Shamil OK, that explains. With no pc/server running contiguously nowhere else, you will have to do it that way. /gustav >>> shamil at smsconsulting.spb.ru 09-12-2008 14:57 >>> Hi Gustav, I just need to perform some scheduled tasks running on ASP.NET hosting server, on which I cannot run nor console applications, nor windows services. And scheduled task should run automatically 24x7x365 independent from my PC being on or off. And I assume (/it's required) there is no other PC to "charge" with running console application/windows service 24x7x365... Let's say the scheduled task is a one watching some information on .NET, calculating stats, and e-mailing reports to admin/subscribers etc. Thank you. -- Shamil From shamil at smsconsulting.spb.ru Tue Dec 9 08:58:49 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 9 Dec 2008 17:58:49 +0300 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? In-Reply-To: Message-ID: <002b01c95a0e$a5dce910$6401a8c0@nant> Hi Gustav, OK. And I'm aware there exists getting developed rapidly "cloud computing" concept/technologies(http://en.wikipedia.org/wiki/Cloud_computing ) where one can rent a virtual PC with windows with IIS, .NET Framework etc. but the renting of such a "cloud server" is still considerably more expensive (am I missing something?) than renting ASP.Net hosting, which for my application case could be just around USD10/month... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, December 09, 2008 5:29 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? Hi Shamil OK, that explains. With no pc/server running contiguously nowhere else, you will have to do it that way. /gustav >>> shamil at smsconsulting.spb.ru 09-12-2008 14:57 >>> Hi Gustav, I just need to perform some scheduled tasks running on ASP.NET hosting server, on which I cannot run nor console applications, nor windows services. And scheduled task should run automatically 24x7x365 independent from my PC being on or off. And I assume (/it's required) there is no other PC to "charge" with running console application/windows service 24x7x365... Let's say the scheduled task is a one watching some information on .NET, calculating stats, and e-mailing reports to admin/subscribers etc. Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Tue Dec 9 09:37:51 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 09 Dec 2008 16:37:51 +0100 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? Message-ID: Hi Shamil > .. renting of such a "cloud server" is still considerably more expensive > .. than renting ASP.Net hosting .. Actually, I don't think so: http://aws.amazon.com/ec2/#os How much computing power does it take to fire one request to a web service? It must be close to nothing. One instance for one hour per day would be $3.75 per month (note the calculator). Of course, if you need more than one call per day it will be more expensive. We have yet to see a pricing scheme for MS Azure but I doubt it will beat that of Amazon AWS. /gustav >>> shamil at smsconsulting.spb.ru 09-12-2008 15:58 >>> Hi Gustav, OK. And I'm aware there exists getting developed rapidly "cloud computing" concept/technologies(http://en.wikipedia.org/wiki/Cloud_computing ) where one can rent a virtual PC with windows with IIS, .NET Framework etc. but the renting of such a "cloud server" is still considerably more expensive (am I missing something?) than renting ASP.Net hosting, which for my application case could be just around USD10/month... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, December 09, 2008 5:29 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? Hi Shamil OK, that explains. With no pc/server running contiguously nowhere else, you will have to do it that way. /gustav >>> shamil at smsconsulting.spb.ru 09-12-2008 14:57 >>> Hi Gustav, I just need to perform some scheduled tasks running on ASP.NET hosting server, on which I cannot run nor console applications, nor windows services. And scheduled task should run automatically 24x7x365 independent from my PC being on or off. And I assume (/it's required) there is no other PC to "charge" with running console application/windows service 24x7x365... Let's say the scheduled task is a one watching some information on .NET, calculating stats, and e-mailing reports to admin/subscribers etc. Thank you. -- Shamil From Gustav at cactus.dk Tue Dec 9 09:55:22 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 09 Dec 2008 16:55:22 +0100 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? Message-ID: Hi Shamil I may have to correct myself (hate that), but why pay USD 10 or 3.75 per month when one (1) Euro may do in your case: http://www.unoeuro.com/products.php This is a very good and reliable on no-nonsense hosting company we highly recommend to our clients and use ourselves. /gustav >>> Gustav at cactus.dk 09-12-2008 16:37 >>> Hi Shamil > .. renting of such a "cloud server" is still considerably more expensive > .. than renting ASP.Net hosting .. Actually, I don't think so: http://aws.amazon.com/ec2/#os How much computing power does it take to fire one request to a web service? It must be close to nothing. One instance for one hour per day would be $3.75 per month (note the calculator). Of course, if you need more than one call per day it will be more expensive. We have yet to see a pricing scheme for MS Azure but I doubt it will beat that of Amazon AWS. /gustav >>> shamil at smsconsulting.spb.ru 09-12-2008 15:58 >>> Hi Gustav, OK. And I'm aware there exists getting developed rapidly "cloud computing" concept/technologies(http://en.wikipedia.org/wiki/Cloud_computing ) where one can rent a virtual PC with windows with IIS, .NET Framework etc. but the renting of such a "cloud server" is still considerably more expensive (am I missing something?) than renting ASP.Net hosting, which for my application case could be just around USD10/month... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, December 09, 2008 5:29 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? Hi Shamil OK, that explains. With no pc/server running contiguously nowhere else, you will have to do it that way. /gustav >>> shamil at smsconsulting.spb.ru 09-12-2008 14:57 >>> Hi Gustav, I just need to perform some scheduled tasks running on ASP.NET hosting server, on which I cannot run nor console applications, nor windows services. And scheduled task should run automatically 24x7x365 independent from my PC being on or off. And I assume (/it's required) there is no other PC to "charge" with running console application/windows service 24x7x365... Let's say the scheduled task is a one watching some information on .NET, calculating stats, and e-mailing reports to admin/subscribers etc. Thank you. -- Shamil From Gustav at cactus.dk Thu Dec 11 04:42:15 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 11 Dec 2008 11:42:15 +0100 Subject: [dba-VB] Article: Explore the Data Access Options in Visual Studio 2008 Message-ID: Hi all Julia Lerman wrote this on the different methods to access data in VS2008 and .Net 3.5: http://www.devx.com/codemag/Article/39751/0/page/1 This article has attempted to review some of the bigger areas of comparison between the key data access APIs in .NET 3.5: ADO.NET "Classic", LINQ to SQL, LINQ to Entities, Entity Framework Object Services, and Entity Framework EntityClient. While some of the differences will be very useful to be aware of when you start coding, others may make the difference between choosing one technology over the other for certain scenarios or even for your entire organization. From andy at minstersystems.co.uk Thu Dec 11 07:43:34 2008 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 11 Dec 2008 13:43:34 -0000 Subject: [dba-VB] Article: Explore the Data Access Options in Visual Studio2008 In-Reply-To: Message-ID: Thanks for the post Gustav. Andy Lacey -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 11 December 2008 10:42 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Article: Explore the Data Access Options in Visual Studio2008 Hi all Julia Lerman wrote this on the different methods to access data in VS2008 and .Net 3.5: http://www.devx.com/codemag/Article/39751/0/page/1 This article has attempted to review some of the bigger areas of comparison between the key data access APIs in .NET 3.5: ADO.NET "Classic", LINQ to SQL, LINQ to Entities, Entity Framework Object Services, and Entity Framework EntityClient. While some of the differences will be very useful to be aware of when you start coding, others may make the difference between choosing one technology over the other for certain scenarios or even for your entire organization. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From accessd at shaw.ca Thu Dec 11 10:54:29 2008 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 11 Dec 2008 08:54:29 -0800 Subject: [dba-VB] Article: Explore the Data Access Options in Visual Studio 2008 In-Reply-To: References: Message-ID: <0B83B84382824D5A990033859C4F626E@creativesystemdesigns.com> Hi Gustav: That is a very interesting article especially when the many links are followed. I always tend to shun away from standards that are too specific as I have learned my lessons being an expert in DLS 'Dead Language Society'. ;-) Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, December 11, 2008 2:42 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Article: Explore the Data Access Options in Visual Studio 2008 Hi all Julia Lerman wrote this on the different methods to access data in VS2008 and .Net 3.5: http://www.devx.com/codemag/Article/39751/0/page/1 This article has attempted to review some of the bigger areas of comparison between the key data access APIs in .NET 3.5: ADO.NET "Classic", LINQ to SQL, LINQ to Entities, Entity Framework Object Services, and Entity Framework EntityClient. While some of the differences will be very useful to be aware of when you start coding, others may make the difference between choosing one technology over the other for certain scenarios or even for your entire organization. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Dec 15 06:09:43 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 15 Dec 2008 13:09:43 +0100 Subject: [dba-VB] Subversion, TortoiseSVN and VisualSVN Message-ID: Hi Shamil et al I noticed that a build-server, TeamCity 4.0, is for free download: http://www.jetbrains.com/teamcity/ Could be of very good value as it claims to verify the code before it is stored in the version system: http://www.jetbrains.com/teamcity/delayed_commit.html /gustav >>> shamil at smsconsulting.spb.ru 20-05-2008 19:29 >>> Hello John, I have occasionally found today a good article on (distributed) version control systems - it points on the main issues with Subversion, which I did also experienced (especially that "Subversion fails to merge changes when files or directories are renamed" ) and which forced me to not use Subversion broadly. Have a look: Distributed Version Control Systems: A Not-So-Quick Guide Through http://www.infoq.com/articles/dvcs-guide <<< Or a more precise question: Why Central VCS (and notably Subversion) are not satisfying? Several things are blamed on Subversion: Major reason is that branching is easy but merging is a pain (but one doesn't go without the other). And it's likely that any consequent project you'll work on will need easy gymnastic with splits, dev, test branches. Subversion has no History-aware merge capability, forcing its users to manually track exactly which revisions have been merged between branches making it error-prone. No way to push changes to another user (without submitting to the Central Server). Subversion fails to merge changes when files or directories are renamed. The trunk/tags/branches convention can be considered misleading. Offline commits are not possible. .svn files pollute your local directories. svn:external can be harmful to handle. Performance The modern DVCS fixed those issues with both their own implementation tricks and from the fact that they were distributed. But as we will see in conclusion, Subversion did not resign yet. >>> Bazaar seems to be one of the best free open source options for modern DVCSs... -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, April 25, 2008 8:31 PM To: VBA Subject: [dba-VB] Subversion, TortoiseSVN and VisualSVN OK, I have been badgered and goaded into coming into the 21st century. Not to mention I can't figure out how to safely and effectively share development of my .Net programs on all of my machines. So I am trying to get Subversion installed and functioning. So of course I come here seeking advice or to start a user group (goad and prod you guys) if no one is using this thing. I installed VisualSVN and it told me I had to install TortoiseSVN to get full functionality. It implied that it would install Subversion as well. The install did not ask any "install" questions such as where do you want the database to go etc. My intention is to place the Subversion database on one of my servers, share the directory, then place the various clients (TortoiseSVN and VisualSVN on each machine which I develop on. So my first question, is anyone out there using this thing? Is anyone interested in using this and sharing the pain of figuring it out? -- John W. Colby www.ColbyConsulting.com From john at winhaven.net Mon Dec 22 23:38:24 2008 From: john at winhaven.net (John Bartow) Date: Mon, 22 Dec 2008 23:38:24 -0600 Subject: [dba-VB] Happy Hanukkah Message-ID: <008e01c964c0$ac552750$04ff75f0$@net> A Happy Hanukkah from the Database Advisors Board of Directors. Here's a little JibJab fun: http://www.winhaven.net/misc/HappyHanukkahDBA.html From john at winhaven.net Wed Dec 24 12:00:25 2008 From: john at winhaven.net (John Bartow) Date: Wed, 24 Dec 2008 12:00:25 -0600 Subject: [dba-VB] Merry Christmas - Its a Wonderful Life Message-ID: <000e01c965f1$7f6ea090$7e4be1b0$@net> Merry Christmas Hanukkah from the Database Advisors Board of Directors. If you've seen "It's a Wonderful Life", here's a little JibJab Christmas fun: (Some of the BoD didn't make the Hanukkah greeting so here's the rest in "It's a Wonderful Life") http://www.winhaven.net/misc/DBAItsaWonderfulLife.htm John B. PS: Parts were limited so I had to do what I had to do ;o) From garykjos at gmail.com Wed Dec 24 12:11:16 2008 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 24 Dec 2008 12:11:16 -0600 Subject: [dba-VB] [dba-OT] Merry Christmas - Its a Wonderful Life In-Reply-To: <000e01c965f1$7f6ea090$7e4be1b0$@net> References: <000e01c965f1$7f6ea090$7e4be1b0$@net> Message-ID: That is great! Merry Christmas! GK On 12/24/08, John Bartow wrote: > Merry Christmas Hanukkah from the Database Advisors Board of Directors. > > If you've seen "It's a Wonderful Life", here's a little JibJab Christmas > fun: > (Some of the BoD didn't make the Hanukkah greeting so here's the rest in > "It's a Wonderful Life") > http://www.winhaven.net/misc/DBAItsaWonderfulLife.htm > > John B. > PS: Parts were limited so I had to do what I had to do ;o) > > _______________________________________________ > dba-OT mailing list > dba-OT at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-ot > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From ridermark at gmail.com Wed Dec 24 22:16:39 2008 From: ridermark at gmail.com (Mark Rider) Date: Wed, 24 Dec 2008 22:16:39 -0600 Subject: [dba-VB] Merry Christmas - Its a Wonderful Life In-Reply-To: <000e01c965f1$7f6ea090$7e4be1b0$@net> References: <000e01c965f1$7f6ea090$7e4be1b0$@net> Message-ID: Happy Holidays! **(See Footnote 1) ** Footnote 1: Please accept with no obligation, implied or implicit, our best wishes for an environmentally conscious, socially responsible, low stress, non-addictive, gender neutral, celebration of the winter solstice holiday, practiced within the most enjoyable traditions of the religious persuasion of your choice, or secular practices of your choice, with respect for the religious/secular persuasions and/or traditions of others, or their choice not to practice religious or secular traditions at all . . . and a fiscally successful, personally fulfilling, and medically uncomplicated recognition of the onset of the generally accepted calendar year 2009, but not without due respect for the calendars of choice of other cultures whose contributions to society have helped make America great, (not to imply that America is necessarily greater than any other country or is the only "AMERICA" in the western hemisphere), and without regard to the race, creed, color, age, physical ability, religious faith, choice of computer platform, or sexual preference of the wishee. By accepting this greeting, you are accepting these terms. This greeting is subject to clarification or withdrawal. It is freely transferable with no alteration to the original greeting. It implies no promise by the wisher to actually implement any of the wishes for her/himself or others, and is void where prohibited by law, and is revocable at the sole discretion of the wisher. This wish is warranted to perform as expected within the usual application of good tidings for a period of one year, or until the issuance of a subsequent holiday greeting, whichever comes first, and warranty is limited to replacement of this wish or issuance of a new wish at the sole discretion of the wisher. The wishee further agrees to hold harmless and indemnify the wisher, along with its heirs, assigns, officers, directors, shareholders . . . -- Mark Rider http://commonsensesecurity.info Try to learn something about everything and everything about something. - Thomas H. Huxley From Gustav at cactus.dk Thu Dec 25 16:47:12 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 25 Dec 2008 23:47:12 +0100 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? Message-ID: Hi Shamil I recalled your question when I read up on Windows Workflow Foundation. To recap, this includes four services: *- Persistence Services Persistence services can be used to save a workflow instance to a data store if a workflow contains a long-running process. Transaction Services You can use transaction services to ensure your data consistency in the event of communication or other failure. Tracking Services Tracking services can be used to record which activities will execute in each workflow instance. They can also record when each activity executes. Use tracking services to troubleshoot or debug workflows. Scheduling Services Scheduling services can be used to control how a workflow runtime creates threads for the instances of your workflow. *- Of these Scheduling Service (and Persistence Service?) perhaps could solve your task (quote): You may host your workflow in a server-based host application, such as an ASP.NET Web application or Web service. These host applications donate a thread to the workflow instance, so that the instance remains synchronized with the application. To use this thread, utilize the ManualWorkflowSchedulerService instead of the DefaultWorkflowSchedulerService That might save you from reinventing the wheel or spending time on some proprietary system ... /gustav >>> shamil at smsconsulting.spb.ru 06-12-2008 19:22 >>> Hi All, ASP.NET Web Services are known to be passive IOW they are activated when called from outside, they do some work, and quit until another web request comes... ...I wonder is it possible to develop active web service, which will be activating itself once in a while (e.g. by using a kind of schedule controlled by timer + some programmatic logic)... ...that active service could be something like endlessly running/sleeping/running... between resets web service method IOW a web service method with timeout set to infinitum... ...because ASP.NET web services application is by definition multi-threaded having one thread like the questioned/requested above shouldn't be an issue for the other IMO... ...this thread could be started by outside call or even (I guess) by web service itself calling its own method with infinitum timeout on start-up *via loopback web service call not directly* or something like that... ...that questioned/requested solution should be pure ASP.NET web service one as it's planned to be used on ASP.Net hosting without access to the host operating system to run scheduled Windows Service etc... ...it could happen that questioned/requested Web Service solution is built-in ASP.NET feature: I must say I didn't investigate the docs/I didn't try to make a POC solution - I expect somebody here might have done something like that already - all I need is an answer: yes, it can be done, RTFM => {{URL}}} ... Thank you. -- Shamil P.S. Sorry, I didn't do in advance investigation - I just didn't want to get negative answer by myself - and if positive answer exists I'd be glad to share it with you, and you'll be ready for such a "tricky"/unusual (?) solution using Web Services in advance... From Gustav at cactus.dk Fri Dec 26 06:57:37 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 26 Dec 2008 13:57:37 +0100 Subject: [dba-VB] Windows Presentation Foundation Message-ID: Hi all Just curious, is anyone using the Windows Presentation Foundation (Avalon) to create Windows apps? http://en.wikipedia.org/wiki/Windows_Presentation_Foundation Looks much to me like creating "browser styled" Windows apps. Any good examples? /gustav From mmattys at rochester.rr.com Fri Dec 26 07:15:20 2008 From: mmattys at rochester.rr.com (Mike Mattys) Date: Fri, 26 Dec 2008 08:15:20 -0500 Subject: [dba-VB] Windows Presentation Foundation References: Message-ID: <90F8C0382AAB4E10A08081C337F90253@Mattys> Hi Gustav, http://windowsclient.net/downloads/folders/wpfsamples/default.aspx - Michael R Mattys MapPoint and Database Dev www.mattysconsulting.com - ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, December 26, 2008 7:57 AM Subject: [dba-VB] Windows Presentation Foundation > Hi all > > Just curious, is anyone using the Windows Presentation Foundation (Avalon) > to create Windows apps? > > http://en.wikipedia.org/wiki/Windows_Presentation_Foundation > > Looks much to me like creating "browser styled" Windows apps. > Any good examples? > > /gustav > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > From Gustav at cactus.dk Fri Dec 26 14:57:02 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 26 Dec 2008 21:57:02 +0100 Subject: [dba-VB] Windows Presentation Foundation Message-ID: Hi Michael Thanks! Lots of stuff. /gustav >>> mmattys at rochester.rr.com 26-12-2008 14:15 >>> Hi Gustav, http://windowsclient.net/downloads/folders/wpfsamples/default.aspx - Michael R Mattys MapPoint and Database Dev www.mattysconsulting.com - ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, December 26, 2008 7:57 AM Subject: [dba-VB] Windows Presentation Foundation > Hi all > > Just curious, is anyone using the Windows Presentation Foundation (Avalon) > to create Windows apps? > > http://en.wikipedia.org/wiki/Windows_Presentation_Foundation > > Looks much to me like creating "browser styled" Windows apps. > Any good examples? > > /gustav From shamil at smsconsulting.spb.ru Mon Dec 29 07:23:53 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 29 Dec 2008 16:23:53 +0300 Subject: [dba-VB] Windows Presentation Foundation In-Reply-To: Message-ID: <001901c969b8$b2fd1840$6401a8c0@nant> Hi Gustav, Here is a good sample: http://blogs.msdn.com/coding4fun/archive/2006/11/06/999502.aspx Many more can be found on MSDN and over Internet. I'm developing a project with WPF client GUI here now. It's a great technology. You can create any kind of GUI using WPF. In fact XAML, WPF, XBAP and SilverLight people say are currently becoming mainstream technologies to develop rich user interface (for Windows).. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto: dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, December 26, 2008 3:58 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Windows Presentation Foundation Hi all Just curious, is anyone using the Windows Presentation Foundation (Avalon) to create Windows apps? http://en.wikipedia.org/wiki/Windows_Presentation_Foundation Looks much to me like creating "browser styled" Windows apps. Any good examples? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3225 (20080629) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3225 (20080629) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -- Shamil From shamil at smsconsulting.spb.ru Mon Dec 29 07:28:58 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 29 Dec 2008 16:28:58 +0300 Subject: [dba-VB] Windows Presentation Foundation In-Reply-To: Message-ID: <003001c969b9$69682930$6401a8c0@nant> Hi Gustav, Here is a good sample: http://blogs.msdn.com/coding4fun/archive/2006/11/06/999502.aspx Many more can be found on MSDN and over Internet. I'm developing a project with WPF client GUI here now. It's a great technology. You can create any kind of GUI using WPF. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, December 26, 2008 3:58 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Windows Presentation Foundation Hi all Just curious, is anyone using the Windows Presentation Foundation (Avalon) to create Windows apps? http://en.wikipedia.org/wiki/Windows_Presentation_Foundation Looks much to me like creating "browser styled" Windows apps. Any good examples? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3225 (20080629) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3225 (20080629) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -- Shamil From shamil at smsconsulting.spb.ru Mon Dec 29 07:28:59 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 29 Dec 2008 16:28:59 +0300 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? In-Reply-To: Message-ID: <003401c969b9$6aaeb2f0$6401a8c0@nant> Hi Gustav, Yes, Windows Workflow Foundation and ManualWorkflowSchedulerService seems to be the answer on my question. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, December 26, 2008 1:47 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? Hi Shamil I recalled your question when I read up on Windows Workflow Foundation. To recap, this includes four services: *- Persistence Services Persistence services can be used to save a workdlow instance to a data store if a workflow contains a long-running process. Transaction Services You can use transaction services to ensure your data consistency in the event of communication or other failure. Tracking Services Tracking services can be used to record which activities will execute in each workflow instance. They can also record when each activity executes. Use tracking services to troubleshoot or debug workflows. Scheduling Services Scheduling services can be used to control how a workflow runtime creates threads for the instances of your workflow. *- Of these Scheduling Service (and Persistence Service?) perhaps could solve your task (quote): You may host your workflow in a server-based host application, such as an ASP.NET Web application or Web service. These host applications donate a thread to the workflow instance, so that the instance remains synchronized with the application. To use this thread, utilize the ManualWorkflowSchedulerService instead of the DefaultWorkflowSchedulerService That might save you from reinventing the wheel or spending time on some proprietary system ... /gustav >>> shamil at smsconsulting.spb.ru 06-12-2008 19:22 >>> Hi All, ASP.NET Web Services are known to be passive IOW they are activated when called from outside, they do some work, and quit until another web request comes... ...I wonder is it possible to develop active web service, which will be activating itself once in a while (e.g. by using a kind of schedule controlled by timer + some programmatic logic)... ...that active service could be something like endlessly running/sleeping/running... between resets web service method IOW a web service method with timeout set to infinitum... ...because ASP.NET web services application is by definition multi-threaded having one thread like the questioned/requested above shouldn't be an issue for the other IMO... ...this thread could be started by outside call or even (I guess) by web service itself calling its own method with infinitum timeout on start-up *via loopback web service call not directly* or something like that... ...that questioned/requested solution should be pure ASP.NET web service one as it's planned to be used on ASP.Net hosting without access to the host operating system to run scheduled Windows Service etc... ...it could happen that questioned/requested Web Service solution is built-in ASP.NET feature: I must say I didn't investigate the docs/I didn't try to make a POC solution - I expect somebody here might have done something like that already - all I need is an answer: yes, it can be done, RTFM => {{URL}}} ... Thank you. -- Shamil P.S. Sorry, I didn't do in advance investigation - I just didn't want to get negative answer by myself - and if positive answer exists I'd be glad to share it with you, and you'll be ready for such a "tricky"/unusual (?) solution using Web Services in advance... _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3225 (20080629) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3225 (20080629) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -- Shamil From Robert at webedb.com Mon Dec 29 08:42:37 2008 From: Robert at webedb.com (Robert) Date: Mon, 29 Dec 2008 09:42:37 -0500 Subject: [dba-VB] dba-VB Digest, Vol 62, Issue 10 Message-ID: Gustav, I am currently rewriting a large MS Access application that uses a SQL database into WPF. ---------------------------------------- From: dba-vb-request at databaseadvisors.com Sent: Friday, December 26, 2008 1:01 PM To: dba-vb at databaseadvisors.com Subject: dba-VB Digest, Vol 62, Issue 10 Date: Fri, 26 Dec 2008 13:57:37 +0100 From: "Gustav Brock" Subject: [dba-VB] Windows Presentation Foundation To: Message-ID: Content-Type: text/plain; charset=US-ASCII Hi all Just curious, is anyone using the Windows Presentation Foundation (Avalon) to create Windows apps? http://en.wikipedia.org/wiki/Windows_Presentation_Foundation Looks much to me like creating "browser styled" Windows apps. Any good examples? /gustav From Gustav at cactus.dk Mon Dec 29 08:50:30 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 29 Dec 2008 15:50:30 +0100 Subject: [dba-VB] Windows Presentation Foundation Message-ID: Hi Shamil Thanks, that seems to cover quite a bit. /gustav >>> shamil at smsconsulting.spb.ru 29-12-2008 14:23 >>> Hi Gustav, Here is a good sample: http://blogs.msdn.com/coding4fun/archive/2006/11/06/999502.aspx Many more can be found on MSDN and over Internet. I'm developing a project with WPF client GUI here now. It's a great technology. You can create any kind of GUI using WPF. In fact XAML, WPF, XBAP and SilverLight people say are currently becoming mainstream technologies to develop rich user interface (for Windows).. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto: dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, December 26, 2008 3:58 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Windows Presentation Foundation Hi all Just curious, is anyone using the Windows Presentation Foundation (Avalon) to create Windows apps? http://en.wikipedia.org/wiki/Windows_Presentation_Foundation Looks much to me like creating "browser styled" Windows apps. Any good examples? /gustav From shamil at smsconsulting.spb.ru Mon Dec 29 09:06:26 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 29 Dec 2008 18:06:26 +0300 Subject: [dba-VB] Windows Presentation Foundation In-Reply-To: Message-ID: <000001c969c7$0660def0$6401a8c0@nant> Hi Gustav, Yes, especially very advanced XAML declarative features allowing making great looking user friendly interfaces with a few imperative coding... -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, December 29, 2008 5:51 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Windows Presentation Foundation Hi Shamil Thanks, that seems to cover quite a bit. /gustav >>> shamil at smsconsulting.spb.ru 29-12-2008 14:23 >>> Hi Gustav, Here is a good sample: http://blogs.msdn.com/coding4fun/archive/2006/11/06/999502.aspx Many more can be found on MSDN and over Internet. I'm developing a project with WPF client GUI here now. It's a great technology. You can create any kind of GUI using WPF. In fact XAML, WPF, XBAP and SilverLight people say are currently becoming mainstream technologies to develop rich user interface (for Windows).. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto: dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, December 26, 2008 3:58 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Windows Presentation Foundation Hi all Just curious, is anyone using the Windows Presentation Foundation (Avalon) to create Windows apps? http://en.wikipedia.org/wiki/Windows_Presentation_Foundation Looks much to me like creating "browser styled" Windows apps. Any good examples? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Mon Dec 29 09:55:22 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 29 Dec 2008 18:55:22 +0300 Subject: [dba-VB] Was: RE: Windows Presentation Foundation In-Reply-To: <000001c969c7$0660def0$6401a8c0@nant> Message-ID: <000a01c969cd$df197710$6401a8c0@nant> Hi Gustav, Some more info/samples of XAML, WPF, XBAP: http://shamils-4.hosting.parking.ru/xbap/PostCard3D.xbap - MSDN XBAP sample I tested online http://www.wpflearningexperience.com/webcasts/babygreeting/XbapBabyGreeting. xbap - XBAP online sample Note: using XBAP needs IE (it worked also (partially) with Opera or FirFox (can't remember now)) What can be done within XBAP sandbox frames/plug-ins running within browser can be similarly or even in the more advanced way done for WPF FE client applications or for SilverLight apps... And here are useful XAML "power toys" - http://karlshifflett.wordpress.com/xaml-power-toys/ - I haven't used them yet but I do plan to do that with a first good occasion - a business application to get an interface developed using WPF.... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, December 29, 2008 6:06 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Windows Presentation Foundation Hi Gustav, Yes, especially very advanced XAML declarative features allowing making great looking user friendly interfaces with a few imperative coding... -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, December 29, 2008 5:51 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Windows Presentation Foundation Hi Shamil Thanks, that seems to cover quite a bit. /gustav >>> shamil at smsconsulting.spb.ru 29-12-2008 14:23 >>> Hi Gustav, Here is a good sample: http://blogs.msdn.com/coding4fun/archive/2006/11/06/999502.aspx Many more can be found on MSDN and over Internet. I'm developing a project with WPF client GUI here now. It's a great technology. You can create any kind of GUI using WPF. In fact XAML, WPF, XBAP and SilverLight people say are currently becoming mainstream technologies to develop rich user interface (for Windows).. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto: dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, December 26, 2008 3:58 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Windows Presentation Foundation Hi all Just curious, is anyone using the Windows Presentation Foundation (Avalon) to create Windows apps? http://en.wikipedia.org/wiki/Windows_Presentation_Foundation Looks much to me like creating "browser styled" Windows apps. Any good examples? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Dec 1 04:36:21 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 01 Dec 2008 11:36:21 +0100 Subject: [dba-VB] Microsoft Chart Controls for .Net 3.5 Message-ID: Hi all Did you notice this package for interactive Chart Controls for ASP.NET, Winforms and VS2008: http://code.msdn.microsoft.com/mschart /gustav From accessd at shaw.ca Mon Dec 1 12:29:04 2008 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 1 Dec 2008 10:29:04 -0800 Subject: [dba-VB] Microsoft Chart Controls for .Net 3.5 In-Reply-To: References: Message-ID: Hi Gustav: This is excellent. It appears that MS acquires the rights to the intellectual property from the Dundas Controls and have now integrated this functionality into their Dot Net. These features are also integrated into MS SQL reporting Services. ;-) Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, December 01, 2008 2:36 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Microsoft Chart Controls for .Net 3.5 Hi all Did you notice this package for interactive Chart Controls for ASP.NET, Winforms and VS2008: http://code.msdn.microsoft.com/mschart /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From accessd at shaw.ca Mon Dec 1 12:35:09 2008 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 1 Dec 2008 10:35:09 -0800 Subject: [dba-VB] Microsoft Chart Controls for .Net 3.5 In-Reply-To: References: Message-ID: PS If you need to download the chart control: http://www.microsoft.com/downloads/details.aspx?FamilyId=130F7986-BF49-4FE5- 9CA8-910AE6EA442C&displaylang=en Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, December 01, 2008 2:36 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Microsoft Chart Controls for .Net 3.5 Hi all Did you notice this package for interactive Chart Controls for ASP.NET, Winforms and VS2008: http://code.msdn.microsoft.com/mschart /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Sat Dec 6 12:22:19 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 6 Dec 2008 21:22:19 +0300 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? Message-ID: <000601c957cf$9440eee0$6401a8c0@nant> Hi All, ASP.NET Web Services are known to be passive IOW they are activated when called from outside, they do some work, and quit until another web request comes... ...I wonder is it possible to develop active web service, which will be activating itself once in a while (e.g. by using a kind of schedule controlled by timer + some programmatic logic)... ...that active service could be something like endlessly running/sleeping/running... between resets web service method IOW a web service method with timeout set to infinitum... ...because ASP.NET web services application is by definition multi-threaded having one thread like the questioned/requested above shouldn?t be an issue for the other IMO... ...this thread could be started by outside call or even (I guess) by web service itself calling its own method with infinitum timeout on start-up *via loopback web service call not directly* or something like that... ...that questioned/requested solution should be pure ASP.NET web service one as it's planned to be used on ASP.Net hosting without access to the host operating system to run scheduled Windows Service etc... ...it could happen that questioned/requested Web Service solution is built-in ASP.NET feature: I must say I didn't investigate the docs/I didn't try to make a POC solution - I expect somebody here might have done something like that already - all I need is an answer: yes, it can be done, RTFM => {{URL}}} ... Thank you. -- Shamil P.S. Sorry, I didn't do in advance investigation - I just didn't want to get negative answer by myself - and if positive answer exists I'd be glad to share it with you, and you'll be ready for such a "tricky"/unusual (?) solution using Web Services in advance... From gustav at cactus.dk Sat Dec 6 14:57:26 2008 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 06 Dec 2008 21:57:26 +0100 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? Message-ID: Hi Shamil Couldn't you just have some other service running to carry out this task over and over? Or, if for some reason it must a web service, have another web service at hand which is called with some delay. Then this second web service after some delay calls the first, and so on? Neither have I read the manual on this, so a straight-forward solution may exist ... /gustav >>> shamil at smsconsulting.spb.ru 06-12-2008 19:22 >>> Hi All, ASP.NET Web Services are known to be passive IOW they are activated when called from outside, they do some work, and quit until another web request comes... ...I wonder is it possible to develop active web service, which will be activating itself once in a while (e.g. by using a kind of schedule controlled by timer + some programmatic logic)... ...that active service could be something like endlessly running/sleeping/running... between resets web service method IOW a web service method with timeout set to infinitum... ...because ASP.NET web services application is by definition multi-threaded having one thread like the questioned/requested above shouldn't be an issue for the other IMO... ...this thread could be started by outside call or even (I guess) by web service itself calling its own method with infinitum timeout on start-up *via loopback web service call not directly* or something like that... ...that questioned/requested solution should be pure ASP.NET web service one as it's planned to be used on ASP.Net hosting without access to the host operating system to run scheduled Windows Service etc... ...it could happen that questioned/requested Web Service solution is built-in ASP.NET feature: I must say I didn't investigate the docs/I didn't try to make a POC solution - I expect somebody here might have done something like that already - all I need is an answer: yes, it can be done, RTFM => {{URL}}} ... Thank you. -- Shamil P.S. Sorry, I didn't do in advance investigation - I just didn't want to get negative answer by myself - and if positive answer exists I'd be glad to share it with you, and you'll be ready for such a "tricky"/unusual (?) solution using Web Services in advance... From DWUTKA at Marlow.com Sat Dec 6 17:07:23 2008 From: DWUTKA at Marlow.com (Drew Wutka) Date: Sat, 6 Dec 2008 17:07:23 -0600 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? In-Reply-To: <000601c957cf$9440eee0$6401a8c0@nant> Message-ID: Yes, but not with ASP.NET. Classic and .NET ASP are both 'interpreters' for incoming web pages, similar to server side includes. There is nothing in these to run without an incoming web request. So you can create your own service on a web server. However, just to try and guess at what you are trying to do, if you would like something to occur with a user, without a user's interaction, you can have stuff hidden in an inline frame. Drew -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, December 06, 2008 12:22 PM To: 'Access-D - VB' Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? Hi All, ASP.NET Web Services are known to be passive IOW they are activated when called from outside, they do some work, and quit until another web request comes... ...I wonder is it possible to develop active web service, which will be activating itself once in a while (e.g. by using a kind of schedule controlled by timer + some programmatic logic)... ...that active service could be something like endlessly running/sleeping/running... between resets web service method IOW a web service method with timeout set to infinitum... ...because ASP.NET web services application is by definition multi-threaded having one thread like the questioned/requested above shouldn't be an issue for the other IMO... ...this thread could be started by outside call or even (I guess) by web service itself calling its own method with infinitum timeout on start-up *via loopback web service call not directly* or something like that... ...that questioned/requested solution should be pure ASP.NET web service one as it's planned to be used on ASP.Net hosting without access to the host operating system to run scheduled Windows Service etc... ...it could happen that questioned/requested Web Service solution is built-in ASP.NET feature: I must say I didn't investigate the docs/I didn't try to make a POC solution - I expect somebody here might have done something like that already - all I need is an answer: yes, it can be done, RTFM => {{URL}}} ... Thank you. -- Shamil P.S. Sorry, I didn't do in advance investigation - I just didn't want to get negative answer by myself - and if positive answer exists I'd be glad to share it with you, and you'll be ready for such a "tricky"/unusual (?) solution using Web Services in advance... _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From wdhindman at dejpolsystems.com Mon Dec 8 12:38:13 2008 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 8 Dec 2008 13:38:13 -0500 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? References: <000601c957cf$9440eee0$6401a8c0@nant> Message-ID: <501F012DCE314C7FAAF1765D5C510DF2@jislaptopdev> ...I don't think you can do this as a pure web service ...but you can invoke a "with events" protocol from an outside timer/event based call to invoke asynchronous Web Service method calls to implement callback events from a Web Service to its clients ...hope that makes sense. William -------------------------------------------------- From: "Shamil Salakhetdinov" Sent: Saturday, December 06, 2008 1:22 PM To: "'Access-D - VB'" Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? > Hi All, > > ASP.NET Web Services are known to be passive IOW they are activated when > called from outside, they do some work, and quit until another web request > comes... > > ...I wonder is it possible to develop active web service, which will be > activating itself once in a while (e.g. by using a kind of schedule > controlled by timer + some programmatic logic)... > > ...that active service could be something like endlessly > running/sleeping/running... between resets web service method IOW a web > service method with timeout set to infinitum... > > ...because ASP.NET web services application is by definition > multi-threaded > having one thread like the questioned/requested above shouldn't be an > issue > for the other IMO... > > ...this thread could be started by outside call or even (I guess) by web > service itself calling its own method with infinitum timeout on start-up > *via loopback web service call not directly* or something like that... > > ...that questioned/requested solution should be pure ASP.NET web service > one > as it's planned to be used on ASP.Net hosting without access to the host > operating system to run scheduled Windows Service etc... > > ...it could happen that questioned/requested Web Service solution is > built-in ASP.NET feature: I must say I didn't investigate the docs/I > didn't > try to make a POC solution - I expect somebody here might have done > something like that already - all I need is an answer: yes, it can be > done, > RTFM => {{URL}}} ... > > Thank you. > > -- > Shamil > > P.S. Sorry, I didn't do in advance investigation - I just didn't want to > get > negative answer by myself - and if positive answer exists I'd be glad to > share it with you, and you'll be ready for such a "tricky"/unusual (?) > solution using Web Services in advance... > > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From shamil at smsconsulting.spb.ru Mon Dec 8 15:55:50 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 9 Dec 2008 00:55:50 +0300 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? In-Reply-To: <501F012DCE314C7FAAF1765D5C510DF2@jislaptopdev> Message-ID: <000101c9597f$be403f50$6401a8c0@nant> Thank you for your responses Gustav, Drew and William. Here is what I have just found: Easy Background Tasks in ASP.NET http://blog.stackoverflow.com/2008/07/easy-background-tasks-in-aspnet/ IOW, the subject task was questioned several months before on StackOverflow, and a follow-up discussion (on the same referred above page) highlighted all pluses and minuses of proposed simple solution: I'd try to make it like that now: - use proposed above simple solution on "cron" ASP.Net web site/service, which will query URL on another main ASP.NET web site/service to perform recurrent tasks... It should work, shouldn't it? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, December 08, 2008 9:38 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? ...I don't think you can do this as a pure web service ...but you can invoke a "with events" protocol from an outside timer/event based call to invoke asynchronous Web Service method calls to implement callback events from a Web Service to its clients ...hope that makes sense. William -------------------------------------------------- From: "Shamil Salakhetdinov" Sent: Saturday, December 06, 2008 1:22 PM To: "'Access-D - VB'" Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? > Hi All, > > ASP.NET Web Services are known to be passive IOW they are activated when > called from outside, they do some work, and quit until another web request > comes... > > ...I wonder is it possible to develop active web service, which will be > activating itself once in a while (e.g. by using a kind of schedule > controlled by timer + some programmatic logic)... > > ...that active service could be something like endlessly > running/sleeping/running... between resets web service method IOW a web > service method with timeout set to infinitum... > > ...because ASP.NET web services application is by definition > multi-threaded > having one thread like the questioned/requested above shouldn't be an > issue > for the other IMO... > > ...this thread could be started by outside call or even (I guess) by web > service itself calling its own method with infinitum timeout on start-up > *via loopback web service call not directly* or something like that... > > ...that questioned/requested solution should be pure ASP.NET web service > one > as it's planned to be used on ASP.Net hosting without access to the host > operating system to run scheduled Windows Service etc... > > ...it could happen that questioned/requested Web Service solution is > built-in ASP.NET feature: I must say I didn't investigate the docs/I > didn't > try to make a POC solution - I expect somebody here might have done > something like that already - all I need is an answer: yes, it can be > done, > RTFM => {{URL}}} ... > > Thank you. > > -- > Shamil > > P.S. Sorry, I didn't do in advance investigation - I just didn't want to > get > negative answer by myself - and if positive answer exists I'd be glad to > share it with you, and you'll be ready for such a "tricky"/unusual (?) > solution using Web Services in advance... > > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Tue Dec 9 04:13:05 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 09 Dec 2008 11:13:05 +0100 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? Message-ID: Hi Shamil Well, I would run some kind of service, native of Windows or otherwise external in relation to the site. Like many other commenters calling the idea a "hack", I can't see anything but potential troubles by letting the site itself simulate a Cron job. /gustav >>> shamil at smsconsulting.spb.ru 08-12-2008 22:55 >>> Thank you for your responses Gustav, Drew and William. Here is what I have just found: Easy Background Tasks in ASP.NET http://blog.stackoverflow.com/2008/07/easy-background-tasks-in-aspnet/ IOW, the subject task was questioned several months before on StackOverflow, and a follow-up discussion (on the same referred above page) highlighted all pluses and minuses of proposed simple solution: I'd try to make it like that now: - use proposed above simple solution on "cron" ASP.Net web site/service, which will query URL on another main ASP.NET web site/service to perform recurrent tasks... It should work, shouldn't it? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, December 08, 2008 9:38 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? ...I don't think you can do this as a pure web service ...but you can invoke a "with events" protocol from an outside timer/event based call to invoke asynchronous Web Service method calls to implement callback events from a Web Service to its clients ...hope that makes sense. William -------------------------------------------------- From: "Shamil Salakhetdinov" Sent: Saturday, December 06, 2008 1:22 PM To: "'Access-D - VB'" Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? > Hi All, > > ASP.NET Web Services are known to be passive IOW they are activated when > called from outside, they do some work, and quit until another web request > comes... > > ...I wonder is it possible to develop active web service, which will be > activating itself once in a while (e.g. by using a kind of schedule > controlled by timer + some programmatic logic)... > > ...that active service could be something like endlessly > running/sleeping/running... between resets web service method IOW a web > service method with timeout set to infinitum... > > ...because ASP.NET web services application is by definition multi-threaded > having one thread like the questioned/requested above shouldn't be an issue > for the other IMO... > > ...this thread could be started by outside call or even (I guess) by web > service itself calling its own method with infinitum timeout on start-up > *via loopback web service call not directly* or something like that... > > ...that questioned/requested solution should be pure ASP.NET web service one > as it's planned to be used on ASP.Net hosting without access to the host > operating system to run scheduled Windows Service etc... > > ...it could happen that questioned/requested Web Service solution is > built-in ASP.NET feature: I must say I didn't investigate the docs/I didn't > try to make a POC solution - I expect somebody here might have done > something like that already - all I need is an answer: yes, it can be done, > RTFM => {{URL}}} ... > > Thank you. > > -- > Shamil > > P.S. Sorry, I didn't do in advance investigation - I just didn't want to get > negative answer by myself - and if positive answer exists I'd be glad to > share it with you, and you'll be ready for such a "tricky"/unusual (?) > solution using Web Services in advance... From shamil at smsconsulting.spb.ru Tue Dec 9 05:55:11 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 9 Dec 2008 14:55:11 +0300 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? In-Reply-To: Message-ID: <002801c959f4$ff7faee0$6401a8c0@nant> Hi Gustav, But my variation of the "hack" is to have Cron ASP.NET/ASP.NET web service application, which only duty will be to *ping/wake-up* another ASP.NET web service to perform recurrent/scheduled tasks: for this architecture/scenario I do not see currently any problems except that recurrent/schedule tasks shouldn't be very lengthy - and I do not plan to have them running longer than several seconds/half-minute/minute - that should be OK with ASP.NET/ASP.NET web service apps as they are multi-threaded and my recurrent/scheduled threads will be written assuming they are running in such environment... Am I missing something? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, December 09, 2008 1:13 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? Hi Shamil Well, I would run some kind of service, native of Windows or otherwise external in relation to the site. Like many other commenters calling the idea a "hack", I can't see anything but potential troubles by letting the site itself simulate a Cron job. /gustav >>> shamil at smsconsulting.spb.ru 08-12-2008 22:55 >>> Thank you for your responses Gustav, Drew and William. Here is what I have just found: Easy Background Tasks in ASP.NET http://blog.stackoverflow.com/2008/07/easy-background-tasks-in-aspnet/ IOW, the subject task was questioned several months before on StackOverflow, and a follow-up discussion (on the same referred above page) highlighted all pluses and minuses of proposed simple solution: I'd try to make it like that now: - use proposed above simple solution on "cron" ASP.Net web site/service, which will query URL on another main ASP.NET web site/service to perform recurrent tasks... It should work, shouldn't it? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, December 08, 2008 9:38 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? ...I don't think you can do this as a pure web service ...but you can invoke a "with events" protocol from an outside timer/event based call to invoke asynchronous Web Service method calls to implement callback events from a Web Service to its clients ...hope that makes sense. William -------------------------------------------------- From: "Shamil Salakhetdinov" Sent: Saturday, December 06, 2008 1:22 PM To: "'Access-D - VB'" Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? > Hi All, > > ASP.NET Web Services are known to be passive IOW they are activated when > called from outside, they do some work, and quit until another web request > comes... > > ...I wonder is it possible to develop active web service, which will be > activating itself once in a while (e.g. by using a kind of schedule > controlled by timer + some programmatic logic)... > > ...that active service could be something like endlessly > running/sleeping/running... between resets web service method IOW a web > service method with timeout set to infinitum... > > ...because ASP.NET web services application is by definition multi-threaded > having one thread like the questioned/requested above shouldn't be an issue > for the other IMO... > > ...this thread could be started by outside call or even (I guess) by web > service itself calling its own method with infinitum timeout on start-up > *via loopback web service call not directly* or something like that... > > ...that questioned/requested solution should be pure ASP.NET web service one > as it's planned to be used on ASP.Net hosting without access to the host > operating system to run scheduled Windows Service etc... > > ...it could happen that questioned/requested Web Service solution is > built-in ASP.NET feature: I must say I didn't investigate the docs/I didn't > try to make a POC solution - I expect somebody here might have done > something like that already - all I need is an answer: yes, it can be done, > RTFM => {{URL}}} ... > > Thank you. > > -- > Shamil > > P.S. Sorry, I didn't do in advance investigation - I just didn't want to get > negative answer by myself - and if positive answer exists I'd be glad to > share it with you, and you'll be ready for such a "tricky"/unusual (?) > solution using Web Services in advance... _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Tue Dec 9 07:26:41 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 09 Dec 2008 14:26:41 +0100 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? Message-ID: Hi Shamil No I don't think you are missing anything! Perhaps my mind is just missing to see the idea of this? What could such a Cron ASP.NET do to call a web service that you can't do with a tiny console app with a timer? Is this just for fun or the thinking, or are you looking for a clever way to meet a special challenge? /gustav >>> shamil at smsconsulting.spb.ru 09-12-2008 12:55 >>> Hi Gustav, But my variation of the "hack" is to have Cron ASP.NET/ASP.NET web service application, which only duty will be to *ping/wake-up* another ASP.NET web service to perform recurrent/scheduled tasks: for this architecture/scenario I do not see currently any problems except that recurrent/schedule tasks shouldn't be very lengthy - and I do not plan to have them running longer than several seconds/half-minute/minute - that should be OK with ASP.NET/ASP.NET web service apps as they are multi-threaded and my recurrent/scheduled threads will be written assuming they are running in such environment... Am I missing something? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, December 09, 2008 1:13 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? Hi Shamil Well, I would run some kind of service, native of Windows or otherwise external in relation to the site. Like many other commenters calling the idea a "hack", I can't see anything but potential troubles by letting the site itself simulate a Cron job. /gustav >>> shamil at smsconsulting.spb.ru 08-12-2008 22:55 >>> Thank you for your responses Gustav, Drew and William. Here is what I have just found: Easy Background Tasks in ASP.NET http://blog.stackoverflow.com/2008/07/easy-background-tasks-in-aspnet/ IOW, the subject task was questioned several months before on StackOverflow, and a follow-up discussion (on the same referred above page) highlighted all pluses and minuses of proposed simple solution: I'd try to make it like that now: - use proposed above simple solution on "cron" ASP.Net web site/service, which will query URL on another main ASP.NET web site/service to perform recurrent tasks... It should work, shouldn't it? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, December 08, 2008 9:38 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? ...I don't think you can do this as a pure web service ...but you can invoke a "with events" protocol from an outside timer/event based call to invoke asynchronous Web Service method calls to implement callback events from a Web Service to its clients ...hope that makes sense. William -------------------------------------------------- From: "Shamil Salakhetdinov" Sent: Saturday, December 06, 2008 1:22 PM To: "'Access-D - VB'" Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? > Hi All, > > ASP.NET Web Services are known to be passive IOW they are activated when > called from outside, they do some work, and quit until another web request > comes... > > ...I wonder is it possible to develop active web service, which will be > activating itself once in a while (e.g. by using a kind of schedule > controlled by timer + some programmatic logic)... > > ...that active service could be something like endlessly > running/sleeping/running... between resets web service method IOW a web > service method with timeout set to infinitum... > > ...because ASP.NET web services application is by definition multi-threaded > having one thread like the questioned/requested above shouldn't be an issue > for the other IMO... > > ...this thread could be started by outside call or even (I guess) by web > service itself calling its own method with infinitum timeout on start-up > *via loopback web service call not directly* or something like that... > > ...that questioned/requested solution should be pure ASP.NET web service one > as it's planned to be used on ASP.Net hosting without access to the host > operating system to run scheduled Windows Service etc... > > ...it could happen that questioned/requested Web Service solution is > built-in ASP.NET feature: I must say I didn't investigate the docs/I didn't > try to make a POC solution - I expect somebody here might have done > something like that already - all I need is an answer: yes, it can be done, > RTFM => {{URL}}} ... > > Thank you. > > -- > Shamil > > P.S. Sorry, I didn't do in advance investigation - I just didn't want to get > negative answer by myself - and if positive answer exists I'd be glad to > share it with you, and you'll be ready for such a "tricky"/unusual (?) > solution using Web Services in advance... From shamil at smsconsulting.spb.ru Tue Dec 9 07:57:52 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 9 Dec 2008 16:57:52 +0300 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? In-Reply-To: Message-ID: <002a01c95a06$22097ac0$6401a8c0@nant> Hi Gustav, I just need to perform some scheduled tasks running on ASP.NET hosting server, on which I cannot run nor console applications, nor windows services. And scheduled task should run automatically 24x7x365 independent from my PC being on or off. And I assume (/it's required) there is no other PC to "charge" with running console application/windows service 24x7x365... Let's say the scheduled task is a one watching some information on .NET, calculating stats, and e-mailing reports to admin/subscribers etc. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, December 09, 2008 4:27 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? Hi Shamil No I don't think you are missing anything! Perhaps my mind is just missing to see the idea of this? What could such a Cron ASP.NET do to call a web service that you can't do with a tiny console app with a timer? Is this just for fun or the thinking, or are you looking for a clever way to meet a special challenge? /gustav >>> shamil at smsconsulting.spb.ru 09-12-2008 12:55 >>> Hi Gustav, But my variation of the "hack" is to have Cron ASP.NET/ASP.NET web service application, which only duty will be to *ping/wake-up* another ASP.NET web service to perform recurrent/scheduled tasks: for this architecture/scenario I do not see currently any problems except that recurrent/schedule tasks shouldn't be very lengthy - and I do not plan to have them running longer than several seconds/half-minute/minute - that should be OK with ASP.NET/ASP.NET web service apps as they are multi-threaded and my recurrent/scheduled threads will be written assuming they are running in such environment... Am I missing something? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, December 09, 2008 1:13 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? Hi Shamil Well, I would run some kind of service, native of Windows or otherwise external in relation to the site. Like many other commenters calling the idea a "hack", I can't see anything but potential troubles by letting the site itself simulate a Cron job. /gustav >>> shamil at smsconsulting.spb.ru 08-12-2008 22:55 >>> Thank you for your responses Gustav, Drew and William. Here is what I have just found: Easy Background Tasks in ASP.NET http://blog.stackoverflow.com/2008/07/easy-background-tasks-in-aspnet/ IOW, the subject task was questioned several months before on StackOverflow, and a follow-up discussion (on the same referred above page) highlighted all pluses and minuses of proposed simple solution: I'd try to make it like that now: - use proposed above simple solution on "cron" ASP.Net web site/service, which will query URL on another main ASP.NET web site/service to perform recurrent tasks... It should work, shouldn't it? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, December 08, 2008 9:38 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? ...I don't think you can do this as a pure web service ...but you can invoke a "with events" protocol from an outside timer/event based call to invoke asynchronous Web Service method calls to implement callback events from a Web Service to its clients ...hope that makes sense. William -------------------------------------------------- From: "Shamil Salakhetdinov" Sent: Saturday, December 06, 2008 1:22 PM To: "'Access-D - VB'" Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? > Hi All, > > ASP.NET Web Services are known to be passive IOW they are activated when > called from outside, they do some work, and quit until another web request > comes... > > ...I wonder is it possible to develop active web service, which will be > activating itself once in a while (e.g. by using a kind of schedule > controlled by timer + some programmatic logic)... > > ...that active service could be something like endlessly > running/sleeping/running... between resets web service method IOW a web > service method with timeout set to infinitum... > > ...because ASP.NET web services application is by definition multi-threaded > having one thread like the questioned/requested above shouldn't be an issue > for the other IMO... > > ...this thread could be started by outside call or even (I guess) by web > service itself calling its own method with infinitum timeout on start-up > *via loopback web service call not directly* or something like that... > > ...that questioned/requested solution should be pure ASP.NET web service one > as it's planned to be used on ASP.Net hosting without access to the host > operating system to run scheduled Windows Service etc... > > ...it could happen that questioned/requested Web Service solution is > built-in ASP.NET feature: I must say I didn't investigate the docs/I didn't > try to make a POC solution - I expect somebody here might have done > something like that already - all I need is an answer: yes, it can be done, > RTFM => {{URL}}} ... > > Thank you. > > -- > Shamil > > P.S. Sorry, I didn't do in advance investigation - I just didn't want to get > negative answer by myself - and if positive answer exists I'd be glad to > share it with you, and you'll be ready for such a "tricky"/unusual (?) > solution using Web Services in advance... _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Tue Dec 9 08:28:34 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 09 Dec 2008 15:28:34 +0100 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? Message-ID: Hi Shamil OK, that explains. With no pc/server running contiguously nowhere else, you will have to do it that way. /gustav >>> shamil at smsconsulting.spb.ru 09-12-2008 14:57 >>> Hi Gustav, I just need to perform some scheduled tasks running on ASP.NET hosting server, on which I cannot run nor console applications, nor windows services. And scheduled task should run automatically 24x7x365 independent from my PC being on or off. And I assume (/it's required) there is no other PC to "charge" with running console application/windows service 24x7x365... Let's say the scheduled task is a one watching some information on .NET, calculating stats, and e-mailing reports to admin/subscribers etc. Thank you. -- Shamil From shamil at smsconsulting.spb.ru Tue Dec 9 08:58:49 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 9 Dec 2008 17:58:49 +0300 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? In-Reply-To: Message-ID: <002b01c95a0e$a5dce910$6401a8c0@nant> Hi Gustav, OK. And I'm aware there exists getting developed rapidly "cloud computing" concept/technologies(http://en.wikipedia.org/wiki/Cloud_computing ) where one can rent a virtual PC with windows with IIS, .NET Framework etc. but the renting of such a "cloud server" is still considerably more expensive (am I missing something?) than renting ASP.Net hosting, which for my application case could be just around USD10/month... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, December 09, 2008 5:29 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? Hi Shamil OK, that explains. With no pc/server running contiguously nowhere else, you will have to do it that way. /gustav >>> shamil at smsconsulting.spb.ru 09-12-2008 14:57 >>> Hi Gustav, I just need to perform some scheduled tasks running on ASP.NET hosting server, on which I cannot run nor console applications, nor windows services. And scheduled task should run automatically 24x7x365 independent from my PC being on or off. And I assume (/it's required) there is no other PC to "charge" with running console application/windows service 24x7x365... Let's say the scheduled task is a one watching some information on .NET, calculating stats, and e-mailing reports to admin/subscribers etc. Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Tue Dec 9 09:37:51 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 09 Dec 2008 16:37:51 +0100 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? Message-ID: Hi Shamil > .. renting of such a "cloud server" is still considerably more expensive > .. than renting ASP.Net hosting .. Actually, I don't think so: http://aws.amazon.com/ec2/#os How much computing power does it take to fire one request to a web service? It must be close to nothing. One instance for one hour per day would be $3.75 per month (note the calculator). Of course, if you need more than one call per day it will be more expensive. We have yet to see a pricing scheme for MS Azure but I doubt it will beat that of Amazon AWS. /gustav >>> shamil at smsconsulting.spb.ru 09-12-2008 15:58 >>> Hi Gustav, OK. And I'm aware there exists getting developed rapidly "cloud computing" concept/technologies(http://en.wikipedia.org/wiki/Cloud_computing ) where one can rent a virtual PC with windows with IIS, .NET Framework etc. but the renting of such a "cloud server" is still considerably more expensive (am I missing something?) than renting ASP.Net hosting, which for my application case could be just around USD10/month... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, December 09, 2008 5:29 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? Hi Shamil OK, that explains. With no pc/server running contiguously nowhere else, you will have to do it that way. /gustav >>> shamil at smsconsulting.spb.ru 09-12-2008 14:57 >>> Hi Gustav, I just need to perform some scheduled tasks running on ASP.NET hosting server, on which I cannot run nor console applications, nor windows services. And scheduled task should run automatically 24x7x365 independent from my PC being on or off. And I assume (/it's required) there is no other PC to "charge" with running console application/windows service 24x7x365... Let's say the scheduled task is a one watching some information on .NET, calculating stats, and e-mailing reports to admin/subscribers etc. Thank you. -- Shamil From Gustav at cactus.dk Tue Dec 9 09:55:22 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 09 Dec 2008 16:55:22 +0100 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? Message-ID: Hi Shamil I may have to correct myself (hate that), but why pay USD 10 or 3.75 per month when one (1) Euro may do in your case: http://www.unoeuro.com/products.php This is a very good and reliable on no-nonsense hosting company we highly recommend to our clients and use ourselves. /gustav >>> Gustav at cactus.dk 09-12-2008 16:37 >>> Hi Shamil > .. renting of such a "cloud server" is still considerably more expensive > .. than renting ASP.Net hosting .. Actually, I don't think so: http://aws.amazon.com/ec2/#os How much computing power does it take to fire one request to a web service? It must be close to nothing. One instance for one hour per day would be $3.75 per month (note the calculator). Of course, if you need more than one call per day it will be more expensive. We have yet to see a pricing scheme for MS Azure but I doubt it will beat that of Amazon AWS. /gustav >>> shamil at smsconsulting.spb.ru 09-12-2008 15:58 >>> Hi Gustav, OK. And I'm aware there exists getting developed rapidly "cloud computing" concept/technologies(http://en.wikipedia.org/wiki/Cloud_computing ) where one can rent a virtual PC with windows with IIS, .NET Framework etc. but the renting of such a "cloud server" is still considerably more expensive (am I missing something?) than renting ASP.Net hosting, which for my application case could be just around USD10/month... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, December 09, 2008 5:29 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? Hi Shamil OK, that explains. With no pc/server running contiguously nowhere else, you will have to do it that way. /gustav >>> shamil at smsconsulting.spb.ru 09-12-2008 14:57 >>> Hi Gustav, I just need to perform some scheduled tasks running on ASP.NET hosting server, on which I cannot run nor console applications, nor windows services. And scheduled task should run automatically 24x7x365 independent from my PC being on or off. And I assume (/it's required) there is no other PC to "charge" with running console application/windows service 24x7x365... Let's say the scheduled task is a one watching some information on .NET, calculating stats, and e-mailing reports to admin/subscribers etc. Thank you. -- Shamil From Gustav at cactus.dk Thu Dec 11 04:42:15 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 11 Dec 2008 11:42:15 +0100 Subject: [dba-VB] Article: Explore the Data Access Options in Visual Studio 2008 Message-ID: Hi all Julia Lerman wrote this on the different methods to access data in VS2008 and .Net 3.5: http://www.devx.com/codemag/Article/39751/0/page/1 This article has attempted to review some of the bigger areas of comparison between the key data access APIs in .NET 3.5: ADO.NET "Classic", LINQ to SQL, LINQ to Entities, Entity Framework Object Services, and Entity Framework EntityClient. While some of the differences will be very useful to be aware of when you start coding, others may make the difference between choosing one technology over the other for certain scenarios or even for your entire organization. From andy at minstersystems.co.uk Thu Dec 11 07:43:34 2008 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 11 Dec 2008 13:43:34 -0000 Subject: [dba-VB] Article: Explore the Data Access Options in Visual Studio2008 In-Reply-To: Message-ID: Thanks for the post Gustav. Andy Lacey -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 11 December 2008 10:42 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Article: Explore the Data Access Options in Visual Studio2008 Hi all Julia Lerman wrote this on the different methods to access data in VS2008 and .Net 3.5: http://www.devx.com/codemag/Article/39751/0/page/1 This article has attempted to review some of the bigger areas of comparison between the key data access APIs in .NET 3.5: ADO.NET "Classic", LINQ to SQL, LINQ to Entities, Entity Framework Object Services, and Entity Framework EntityClient. While some of the differences will be very useful to be aware of when you start coding, others may make the difference between choosing one technology over the other for certain scenarios or even for your entire organization. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From accessd at shaw.ca Thu Dec 11 10:54:29 2008 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 11 Dec 2008 08:54:29 -0800 Subject: [dba-VB] Article: Explore the Data Access Options in Visual Studio 2008 In-Reply-To: References: Message-ID: <0B83B84382824D5A990033859C4F626E@creativesystemdesigns.com> Hi Gustav: That is a very interesting article especially when the many links are followed. I always tend to shun away from standards that are too specific as I have learned my lessons being an expert in DLS 'Dead Language Society'. ;-) Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, December 11, 2008 2:42 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Article: Explore the Data Access Options in Visual Studio 2008 Hi all Julia Lerman wrote this on the different methods to access data in VS2008 and .Net 3.5: http://www.devx.com/codemag/Article/39751/0/page/1 This article has attempted to review some of the bigger areas of comparison between the key data access APIs in .NET 3.5: ADO.NET "Classic", LINQ to SQL, LINQ to Entities, Entity Framework Object Services, and Entity Framework EntityClient. While some of the differences will be very useful to be aware of when you start coding, others may make the difference between choosing one technology over the other for certain scenarios or even for your entire organization. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Dec 15 06:09:43 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 15 Dec 2008 13:09:43 +0100 Subject: [dba-VB] Subversion, TortoiseSVN and VisualSVN Message-ID: Hi Shamil et al I noticed that a build-server, TeamCity 4.0, is for free download: http://www.jetbrains.com/teamcity/ Could be of very good value as it claims to verify the code before it is stored in the version system: http://www.jetbrains.com/teamcity/delayed_commit.html /gustav >>> shamil at smsconsulting.spb.ru 20-05-2008 19:29 >>> Hello John, I have occasionally found today a good article on (distributed) version control systems - it points on the main issues with Subversion, which I did also experienced (especially that "Subversion fails to merge changes when files or directories are renamed" ) and which forced me to not use Subversion broadly. Have a look: Distributed Version Control Systems: A Not-So-Quick Guide Through http://www.infoq.com/articles/dvcs-guide <<< Or a more precise question: Why Central VCS (and notably Subversion) are not satisfying? Several things are blamed on Subversion: Major reason is that branching is easy but merging is a pain (but one doesn't go without the other). And it's likely that any consequent project you'll work on will need easy gymnastic with splits, dev, test branches. Subversion has no History-aware merge capability, forcing its users to manually track exactly which revisions have been merged between branches making it error-prone. No way to push changes to another user (without submitting to the Central Server). Subversion fails to merge changes when files or directories are renamed. The trunk/tags/branches convention can be considered misleading. Offline commits are not possible. .svn files pollute your local directories. svn:external can be harmful to handle. Performance The modern DVCS fixed those issues with both their own implementation tricks and from the fact that they were distributed. But as we will see in conclusion, Subversion did not resign yet. >>> Bazaar seems to be one of the best free open source options for modern DVCSs... -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, April 25, 2008 8:31 PM To: VBA Subject: [dba-VB] Subversion, TortoiseSVN and VisualSVN OK, I have been badgered and goaded into coming into the 21st century. Not to mention I can't figure out how to safely and effectively share development of my .Net programs on all of my machines. So I am trying to get Subversion installed and functioning. So of course I come here seeking advice or to start a user group (goad and prod you guys) if no one is using this thing. I installed VisualSVN and it told me I had to install TortoiseSVN to get full functionality. It implied that it would install Subversion as well. The install did not ask any "install" questions such as where do you want the database to go etc. My intention is to place the Subversion database on one of my servers, share the directory, then place the various clients (TortoiseSVN and VisualSVN on each machine which I develop on. So my first question, is anyone out there using this thing? Is anyone interested in using this and sharing the pain of figuring it out? -- John W. Colby www.ColbyConsulting.com From john at winhaven.net Mon Dec 22 23:38:24 2008 From: john at winhaven.net (John Bartow) Date: Mon, 22 Dec 2008 23:38:24 -0600 Subject: [dba-VB] Happy Hanukkah Message-ID: <008e01c964c0$ac552750$04ff75f0$@net> A Happy Hanukkah from the Database Advisors Board of Directors. Here's a little JibJab fun: http://www.winhaven.net/misc/HappyHanukkahDBA.html From john at winhaven.net Wed Dec 24 12:00:25 2008 From: john at winhaven.net (John Bartow) Date: Wed, 24 Dec 2008 12:00:25 -0600 Subject: [dba-VB] Merry Christmas - Its a Wonderful Life Message-ID: <000e01c965f1$7f6ea090$7e4be1b0$@net> Merry Christmas Hanukkah from the Database Advisors Board of Directors. If you've seen "It's a Wonderful Life", here's a little JibJab Christmas fun: (Some of the BoD didn't make the Hanukkah greeting so here's the rest in "It's a Wonderful Life") http://www.winhaven.net/misc/DBAItsaWonderfulLife.htm John B. PS: Parts were limited so I had to do what I had to do ;o) From garykjos at gmail.com Wed Dec 24 12:11:16 2008 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 24 Dec 2008 12:11:16 -0600 Subject: [dba-VB] [dba-OT] Merry Christmas - Its a Wonderful Life In-Reply-To: <000e01c965f1$7f6ea090$7e4be1b0$@net> References: <000e01c965f1$7f6ea090$7e4be1b0$@net> Message-ID: That is great! Merry Christmas! GK On 12/24/08, John Bartow wrote: > Merry Christmas Hanukkah from the Database Advisors Board of Directors. > > If you've seen "It's a Wonderful Life", here's a little JibJab Christmas > fun: > (Some of the BoD didn't make the Hanukkah greeting so here's the rest in > "It's a Wonderful Life") > http://www.winhaven.net/misc/DBAItsaWonderfulLife.htm > > John B. > PS: Parts were limited so I had to do what I had to do ;o) > > _______________________________________________ > dba-OT mailing list > dba-OT at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-ot > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From ridermark at gmail.com Wed Dec 24 22:16:39 2008 From: ridermark at gmail.com (Mark Rider) Date: Wed, 24 Dec 2008 22:16:39 -0600 Subject: [dba-VB] Merry Christmas - Its a Wonderful Life In-Reply-To: <000e01c965f1$7f6ea090$7e4be1b0$@net> References: <000e01c965f1$7f6ea090$7e4be1b0$@net> Message-ID: Happy Holidays! **(See Footnote 1) ** Footnote 1: Please accept with no obligation, implied or implicit, our best wishes for an environmentally conscious, socially responsible, low stress, non-addictive, gender neutral, celebration of the winter solstice holiday, practiced within the most enjoyable traditions of the religious persuasion of your choice, or secular practices of your choice, with respect for the religious/secular persuasions and/or traditions of others, or their choice not to practice religious or secular traditions at all . . . and a fiscally successful, personally fulfilling, and medically uncomplicated recognition of the onset of the generally accepted calendar year 2009, but not without due respect for the calendars of choice of other cultures whose contributions to society have helped make America great, (not to imply that America is necessarily greater than any other country or is the only "AMERICA" in the western hemisphere), and without regard to the race, creed, color, age, physical ability, religious faith, choice of computer platform, or sexual preference of the wishee. By accepting this greeting, you are accepting these terms. This greeting is subject to clarification or withdrawal. It is freely transferable with no alteration to the original greeting. It implies no promise by the wisher to actually implement any of the wishes for her/himself or others, and is void where prohibited by law, and is revocable at the sole discretion of the wisher. This wish is warranted to perform as expected within the usual application of good tidings for a period of one year, or until the issuance of a subsequent holiday greeting, whichever comes first, and warranty is limited to replacement of this wish or issuance of a new wish at the sole discretion of the wisher. The wishee further agrees to hold harmless and indemnify the wisher, along with its heirs, assigns, officers, directors, shareholders . . . -- Mark Rider http://commonsensesecurity.info Try to learn something about everything and everything about something. - Thomas H. Huxley From Gustav at cactus.dk Thu Dec 25 16:47:12 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 25 Dec 2008 23:47:12 +0100 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? Message-ID: Hi Shamil I recalled your question when I read up on Windows Workflow Foundation. To recap, this includes four services: *- Persistence Services Persistence services can be used to save a workflow instance to a data store if a workflow contains a long-running process. Transaction Services You can use transaction services to ensure your data consistency in the event of communication or other failure. Tracking Services Tracking services can be used to record which activities will execute in each workflow instance. They can also record when each activity executes. Use tracking services to troubleshoot or debug workflows. Scheduling Services Scheduling services can be used to control how a workflow runtime creates threads for the instances of your workflow. *- Of these Scheduling Service (and Persistence Service?) perhaps could solve your task (quote): You may host your workflow in a server-based host application, such as an ASP.NET Web application or Web service. These host applications donate a thread to the workflow instance, so that the instance remains synchronized with the application. To use this thread, utilize the ManualWorkflowSchedulerService instead of the DefaultWorkflowSchedulerService That might save you from reinventing the wheel or spending time on some proprietary system ... /gustav >>> shamil at smsconsulting.spb.ru 06-12-2008 19:22 >>> Hi All, ASP.NET Web Services are known to be passive IOW they are activated when called from outside, they do some work, and quit until another web request comes... ...I wonder is it possible to develop active web service, which will be activating itself once in a while (e.g. by using a kind of schedule controlled by timer + some programmatic logic)... ...that active service could be something like endlessly running/sleeping/running... between resets web service method IOW a web service method with timeout set to infinitum... ...because ASP.NET web services application is by definition multi-threaded having one thread like the questioned/requested above shouldn't be an issue for the other IMO... ...this thread could be started by outside call or even (I guess) by web service itself calling its own method with infinitum timeout on start-up *via loopback web service call not directly* or something like that... ...that questioned/requested solution should be pure ASP.NET web service one as it's planned to be used on ASP.Net hosting without access to the host operating system to run scheduled Windows Service etc... ...it could happen that questioned/requested Web Service solution is built-in ASP.NET feature: I must say I didn't investigate the docs/I didn't try to make a POC solution - I expect somebody here might have done something like that already - all I need is an answer: yes, it can be done, RTFM => {{URL}}} ... Thank you. -- Shamil P.S. Sorry, I didn't do in advance investigation - I just didn't want to get negative answer by myself - and if positive answer exists I'd be glad to share it with you, and you'll be ready for such a "tricky"/unusual (?) solution using Web Services in advance... From Gustav at cactus.dk Fri Dec 26 06:57:37 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 26 Dec 2008 13:57:37 +0100 Subject: [dba-VB] Windows Presentation Foundation Message-ID: Hi all Just curious, is anyone using the Windows Presentation Foundation (Avalon) to create Windows apps? http://en.wikipedia.org/wiki/Windows_Presentation_Foundation Looks much to me like creating "browser styled" Windows apps. Any good examples? /gustav From mmattys at rochester.rr.com Fri Dec 26 07:15:20 2008 From: mmattys at rochester.rr.com (Mike Mattys) Date: Fri, 26 Dec 2008 08:15:20 -0500 Subject: [dba-VB] Windows Presentation Foundation References: Message-ID: <90F8C0382AAB4E10A08081C337F90253@Mattys> Hi Gustav, http://windowsclient.net/downloads/folders/wpfsamples/default.aspx - Michael R Mattys MapPoint and Database Dev www.mattysconsulting.com - ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, December 26, 2008 7:57 AM Subject: [dba-VB] Windows Presentation Foundation > Hi all > > Just curious, is anyone using the Windows Presentation Foundation (Avalon) > to create Windows apps? > > http://en.wikipedia.org/wiki/Windows_Presentation_Foundation > > Looks much to me like creating "browser styled" Windows apps. > Any good examples? > > /gustav > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > From Gustav at cactus.dk Fri Dec 26 14:57:02 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 26 Dec 2008 21:57:02 +0100 Subject: [dba-VB] Windows Presentation Foundation Message-ID: Hi Michael Thanks! Lots of stuff. /gustav >>> mmattys at rochester.rr.com 26-12-2008 14:15 >>> Hi Gustav, http://windowsclient.net/downloads/folders/wpfsamples/default.aspx - Michael R Mattys MapPoint and Database Dev www.mattysconsulting.com - ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, December 26, 2008 7:57 AM Subject: [dba-VB] Windows Presentation Foundation > Hi all > > Just curious, is anyone using the Windows Presentation Foundation (Avalon) > to create Windows apps? > > http://en.wikipedia.org/wiki/Windows_Presentation_Foundation > > Looks much to me like creating "browser styled" Windows apps. > Any good examples? > > /gustav From shamil at smsconsulting.spb.ru Mon Dec 29 07:23:53 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 29 Dec 2008 16:23:53 +0300 Subject: [dba-VB] Windows Presentation Foundation In-Reply-To: Message-ID: <001901c969b8$b2fd1840$6401a8c0@nant> Hi Gustav, Here is a good sample: http://blogs.msdn.com/coding4fun/archive/2006/11/06/999502.aspx Many more can be found on MSDN and over Internet. I'm developing a project with WPF client GUI here now. It's a great technology. You can create any kind of GUI using WPF. In fact XAML, WPF, XBAP and SilverLight people say are currently becoming mainstream technologies to develop rich user interface (for Windows).. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto: dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, December 26, 2008 3:58 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Windows Presentation Foundation Hi all Just curious, is anyone using the Windows Presentation Foundation (Avalon) to create Windows apps? http://en.wikipedia.org/wiki/Windows_Presentation_Foundation Looks much to me like creating "browser styled" Windows apps. Any good examples? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3225 (20080629) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3225 (20080629) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -- Shamil From shamil at smsconsulting.spb.ru Mon Dec 29 07:28:58 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 29 Dec 2008 16:28:58 +0300 Subject: [dba-VB] Windows Presentation Foundation In-Reply-To: Message-ID: <003001c969b9$69682930$6401a8c0@nant> Hi Gustav, Here is a good sample: http://blogs.msdn.com/coding4fun/archive/2006/11/06/999502.aspx Many more can be found on MSDN and over Internet. I'm developing a project with WPF client GUI here now. It's a great technology. You can create any kind of GUI using WPF. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, December 26, 2008 3:58 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Windows Presentation Foundation Hi all Just curious, is anyone using the Windows Presentation Foundation (Avalon) to create Windows apps? http://en.wikipedia.org/wiki/Windows_Presentation_Foundation Looks much to me like creating "browser styled" Windows apps. Any good examples? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3225 (20080629) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3225 (20080629) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -- Shamil From shamil at smsconsulting.spb.ru Mon Dec 29 07:28:59 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 29 Dec 2008 16:28:59 +0300 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? In-Reply-To: Message-ID: <003401c969b9$6aaeb2f0$6401a8c0@nant> Hi Gustav, Yes, Windows Workflow Foundation and ManualWorkflowSchedulerService seems to be the answer on my question. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, December 26, 2008 1:47 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? Hi Shamil I recalled your question when I read up on Windows Workflow Foundation. To recap, this includes four services: *- Persistence Services Persistence services can be used to save a workdlow instance to a data store if a workflow contains a long-running process. Transaction Services You can use transaction services to ensure your data consistency in the event of communication or other failure. Tracking Services Tracking services can be used to record which activities will execute in each workflow instance. They can also record when each activity executes. Use tracking services to troubleshoot or debug workflows. Scheduling Services Scheduling services can be used to control how a workflow runtime creates threads for the instances of your workflow. *- Of these Scheduling Service (and Persistence Service?) perhaps could solve your task (quote): You may host your workflow in a server-based host application, such as an ASP.NET Web application or Web service. These host applications donate a thread to the workflow instance, so that the instance remains synchronized with the application. To use this thread, utilize the ManualWorkflowSchedulerService instead of the DefaultWorkflowSchedulerService That might save you from reinventing the wheel or spending time on some proprietary system ... /gustav >>> shamil at smsconsulting.spb.ru 06-12-2008 19:22 >>> Hi All, ASP.NET Web Services are known to be passive IOW they are activated when called from outside, they do some work, and quit until another web request comes... ...I wonder is it possible to develop active web service, which will be activating itself once in a while (e.g. by using a kind of schedule controlled by timer + some programmatic logic)... ...that active service could be something like endlessly running/sleeping/running... between resets web service method IOW a web service method with timeout set to infinitum... ...because ASP.NET web services application is by definition multi-threaded having one thread like the questioned/requested above shouldn't be an issue for the other IMO... ...this thread could be started by outside call or even (I guess) by web service itself calling its own method with infinitum timeout on start-up *via loopback web service call not directly* or something like that... ...that questioned/requested solution should be pure ASP.NET web service one as it's planned to be used on ASP.Net hosting without access to the host operating system to run scheduled Windows Service etc... ...it could happen that questioned/requested Web Service solution is built-in ASP.NET feature: I must say I didn't investigate the docs/I didn't try to make a POC solution - I expect somebody here might have done something like that already - all I need is an answer: yes, it can be done, RTFM => {{URL}}} ... Thank you. -- Shamil P.S. Sorry, I didn't do in advance investigation - I just didn't want to get negative answer by myself - and if positive answer exists I'd be glad to share it with you, and you'll be ready for such a "tricky"/unusual (?) solution using Web Services in advance... _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3225 (20080629) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3225 (20080629) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -- Shamil From Robert at webedb.com Mon Dec 29 08:42:37 2008 From: Robert at webedb.com (Robert) Date: Mon, 29 Dec 2008 09:42:37 -0500 Subject: [dba-VB] dba-VB Digest, Vol 62, Issue 10 Message-ID: Gustav, I am currently rewriting a large MS Access application that uses a SQL database into WPF. ---------------------------------------- From: dba-vb-request at databaseadvisors.com Sent: Friday, December 26, 2008 1:01 PM To: dba-vb at databaseadvisors.com Subject: dba-VB Digest, Vol 62, Issue 10 Date: Fri, 26 Dec 2008 13:57:37 +0100 From: "Gustav Brock" Subject: [dba-VB] Windows Presentation Foundation To: Message-ID: Content-Type: text/plain; charset=US-ASCII Hi all Just curious, is anyone using the Windows Presentation Foundation (Avalon) to create Windows apps? http://en.wikipedia.org/wiki/Windows_Presentation_Foundation Looks much to me like creating "browser styled" Windows apps. Any good examples? /gustav From Gustav at cactus.dk Mon Dec 29 08:50:30 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 29 Dec 2008 15:50:30 +0100 Subject: [dba-VB] Windows Presentation Foundation Message-ID: Hi Shamil Thanks, that seems to cover quite a bit. /gustav >>> shamil at smsconsulting.spb.ru 29-12-2008 14:23 >>> Hi Gustav, Here is a good sample: http://blogs.msdn.com/coding4fun/archive/2006/11/06/999502.aspx Many more can be found on MSDN and over Internet. I'm developing a project with WPF client GUI here now. It's a great technology. You can create any kind of GUI using WPF. In fact XAML, WPF, XBAP and SilverLight people say are currently becoming mainstream technologies to develop rich user interface (for Windows).. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto: dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, December 26, 2008 3:58 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Windows Presentation Foundation Hi all Just curious, is anyone using the Windows Presentation Foundation (Avalon) to create Windows apps? http://en.wikipedia.org/wiki/Windows_Presentation_Foundation Looks much to me like creating "browser styled" Windows apps. Any good examples? /gustav From shamil at smsconsulting.spb.ru Mon Dec 29 09:06:26 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 29 Dec 2008 18:06:26 +0300 Subject: [dba-VB] Windows Presentation Foundation In-Reply-To: Message-ID: <000001c969c7$0660def0$6401a8c0@nant> Hi Gustav, Yes, especially very advanced XAML declarative features allowing making great looking user friendly interfaces with a few imperative coding... -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, December 29, 2008 5:51 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Windows Presentation Foundation Hi Shamil Thanks, that seems to cover quite a bit. /gustav >>> shamil at smsconsulting.spb.ru 29-12-2008 14:23 >>> Hi Gustav, Here is a good sample: http://blogs.msdn.com/coding4fun/archive/2006/11/06/999502.aspx Many more can be found on MSDN and over Internet. I'm developing a project with WPF client GUI here now. It's a great technology. You can create any kind of GUI using WPF. In fact XAML, WPF, XBAP and SilverLight people say are currently becoming mainstream technologies to develop rich user interface (for Windows).. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto: dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, December 26, 2008 3:58 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Windows Presentation Foundation Hi all Just curious, is anyone using the Windows Presentation Foundation (Avalon) to create Windows apps? http://en.wikipedia.org/wiki/Windows_Presentation_Foundation Looks much to me like creating "browser styled" Windows apps. Any good examples? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Mon Dec 29 09:55:22 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 29 Dec 2008 18:55:22 +0300 Subject: [dba-VB] Was: RE: Windows Presentation Foundation In-Reply-To: <000001c969c7$0660def0$6401a8c0@nant> Message-ID: <000a01c969cd$df197710$6401a8c0@nant> Hi Gustav, Some more info/samples of XAML, WPF, XBAP: http://shamils-4.hosting.parking.ru/xbap/PostCard3D.xbap - MSDN XBAP sample I tested online http://www.wpflearningexperience.com/webcasts/babygreeting/XbapBabyGreeting. xbap - XBAP online sample Note: using XBAP needs IE (it worked also (partially) with Opera or FirFox (can't remember now)) What can be done within XBAP sandbox frames/plug-ins running within browser can be similarly or even in the more advanced way done for WPF FE client applications or for SilverLight apps... And here are useful XAML "power toys" - http://karlshifflett.wordpress.com/xaml-power-toys/ - I haven't used them yet but I do plan to do that with a first good occasion - a business application to get an interface developed using WPF.... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, December 29, 2008 6:06 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Windows Presentation Foundation Hi Gustav, Yes, especially very advanced XAML declarative features allowing making great looking user friendly interfaces with a few imperative coding... -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, December 29, 2008 5:51 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Windows Presentation Foundation Hi Shamil Thanks, that seems to cover quite a bit. /gustav >>> shamil at smsconsulting.spb.ru 29-12-2008 14:23 >>> Hi Gustav, Here is a good sample: http://blogs.msdn.com/coding4fun/archive/2006/11/06/999502.aspx Many more can be found on MSDN and over Internet. I'm developing a project with WPF client GUI here now. It's a great technology. You can create any kind of GUI using WPF. In fact XAML, WPF, XBAP and SilverLight people say are currently becoming mainstream technologies to develop rich user interface (for Windows).. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto: dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, December 26, 2008 3:58 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Windows Presentation Foundation Hi all Just curious, is anyone using the Windows Presentation Foundation (Avalon) to create Windows apps? http://en.wikipedia.org/wiki/Windows_Presentation_Foundation Looks much to me like creating "browser styled" Windows apps. Any good examples? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Dec 1 04:36:21 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 01 Dec 2008 11:36:21 +0100 Subject: [dba-VB] Microsoft Chart Controls for .Net 3.5 Message-ID: Hi all Did you notice this package for interactive Chart Controls for ASP.NET, Winforms and VS2008: http://code.msdn.microsoft.com/mschart /gustav From accessd at shaw.ca Mon Dec 1 12:29:04 2008 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 1 Dec 2008 10:29:04 -0800 Subject: [dba-VB] Microsoft Chart Controls for .Net 3.5 In-Reply-To: References: Message-ID: Hi Gustav: This is excellent. It appears that MS acquires the rights to the intellectual property from the Dundas Controls and have now integrated this functionality into their Dot Net. These features are also integrated into MS SQL reporting Services. ;-) Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, December 01, 2008 2:36 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Microsoft Chart Controls for .Net 3.5 Hi all Did you notice this package for interactive Chart Controls for ASP.NET, Winforms and VS2008: http://code.msdn.microsoft.com/mschart /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From accessd at shaw.ca Mon Dec 1 12:35:09 2008 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 1 Dec 2008 10:35:09 -0800 Subject: [dba-VB] Microsoft Chart Controls for .Net 3.5 In-Reply-To: References: Message-ID: PS If you need to download the chart control: http://www.microsoft.com/downloads/details.aspx?FamilyId=130F7986-BF49-4FE5- 9CA8-910AE6EA442C&displaylang=en Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, December 01, 2008 2:36 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Microsoft Chart Controls for .Net 3.5 Hi all Did you notice this package for interactive Chart Controls for ASP.NET, Winforms and VS2008: http://code.msdn.microsoft.com/mschart /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Sat Dec 6 12:22:19 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 6 Dec 2008 21:22:19 +0300 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? Message-ID: <000601c957cf$9440eee0$6401a8c0@nant> Hi All, ASP.NET Web Services are known to be passive IOW they are activated when called from outside, they do some work, and quit until another web request comes... ...I wonder is it possible to develop active web service, which will be activating itself once in a while (e.g. by using a kind of schedule controlled by timer + some programmatic logic)... ...that active service could be something like endlessly running/sleeping/running... between resets web service method IOW a web service method with timeout set to infinitum... ...because ASP.NET web services application is by definition multi-threaded having one thread like the questioned/requested above shouldn?t be an issue for the other IMO... ...this thread could be started by outside call or even (I guess) by web service itself calling its own method with infinitum timeout on start-up *via loopback web service call not directly* or something like that... ...that questioned/requested solution should be pure ASP.NET web service one as it's planned to be used on ASP.Net hosting without access to the host operating system to run scheduled Windows Service etc... ...it could happen that questioned/requested Web Service solution is built-in ASP.NET feature: I must say I didn't investigate the docs/I didn't try to make a POC solution - I expect somebody here might have done something like that already - all I need is an answer: yes, it can be done, RTFM => {{URL}}} ... Thank you. -- Shamil P.S. Sorry, I didn't do in advance investigation - I just didn't want to get negative answer by myself - and if positive answer exists I'd be glad to share it with you, and you'll be ready for such a "tricky"/unusual (?) solution using Web Services in advance... From gustav at cactus.dk Sat Dec 6 14:57:26 2008 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 06 Dec 2008 21:57:26 +0100 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? Message-ID: Hi Shamil Couldn't you just have some other service running to carry out this task over and over? Or, if for some reason it must a web service, have another web service at hand which is called with some delay. Then this second web service after some delay calls the first, and so on? Neither have I read the manual on this, so a straight-forward solution may exist ... /gustav >>> shamil at smsconsulting.spb.ru 06-12-2008 19:22 >>> Hi All, ASP.NET Web Services are known to be passive IOW they are activated when called from outside, they do some work, and quit until another web request comes... ...I wonder is it possible to develop active web service, which will be activating itself once in a while (e.g. by using a kind of schedule controlled by timer + some programmatic logic)... ...that active service could be something like endlessly running/sleeping/running... between resets web service method IOW a web service method with timeout set to infinitum... ...because ASP.NET web services application is by definition multi-threaded having one thread like the questioned/requested above shouldn't be an issue for the other IMO... ...this thread could be started by outside call or even (I guess) by web service itself calling its own method with infinitum timeout on start-up *via loopback web service call not directly* or something like that... ...that questioned/requested solution should be pure ASP.NET web service one as it's planned to be used on ASP.Net hosting without access to the host operating system to run scheduled Windows Service etc... ...it could happen that questioned/requested Web Service solution is built-in ASP.NET feature: I must say I didn't investigate the docs/I didn't try to make a POC solution - I expect somebody here might have done something like that already - all I need is an answer: yes, it can be done, RTFM => {{URL}}} ... Thank you. -- Shamil P.S. Sorry, I didn't do in advance investigation - I just didn't want to get negative answer by myself - and if positive answer exists I'd be glad to share it with you, and you'll be ready for such a "tricky"/unusual (?) solution using Web Services in advance... From DWUTKA at Marlow.com Sat Dec 6 17:07:23 2008 From: DWUTKA at Marlow.com (Drew Wutka) Date: Sat, 6 Dec 2008 17:07:23 -0600 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? In-Reply-To: <000601c957cf$9440eee0$6401a8c0@nant> Message-ID: Yes, but not with ASP.NET. Classic and .NET ASP are both 'interpreters' for incoming web pages, similar to server side includes. There is nothing in these to run without an incoming web request. So you can create your own service on a web server. However, just to try and guess at what you are trying to do, if you would like something to occur with a user, without a user's interaction, you can have stuff hidden in an inline frame. Drew -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, December 06, 2008 12:22 PM To: 'Access-D - VB' Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? Hi All, ASP.NET Web Services are known to be passive IOW they are activated when called from outside, they do some work, and quit until another web request comes... ...I wonder is it possible to develop active web service, which will be activating itself once in a while (e.g. by using a kind of schedule controlled by timer + some programmatic logic)... ...that active service could be something like endlessly running/sleeping/running... between resets web service method IOW a web service method with timeout set to infinitum... ...because ASP.NET web services application is by definition multi-threaded having one thread like the questioned/requested above shouldn't be an issue for the other IMO... ...this thread could be started by outside call or even (I guess) by web service itself calling its own method with infinitum timeout on start-up *via loopback web service call not directly* or something like that... ...that questioned/requested solution should be pure ASP.NET web service one as it's planned to be used on ASP.Net hosting without access to the host operating system to run scheduled Windows Service etc... ...it could happen that questioned/requested Web Service solution is built-in ASP.NET feature: I must say I didn't investigate the docs/I didn't try to make a POC solution - I expect somebody here might have done something like that already - all I need is an answer: yes, it can be done, RTFM => {{URL}}} ... Thank you. -- Shamil P.S. Sorry, I didn't do in advance investigation - I just didn't want to get negative answer by myself - and if positive answer exists I'd be glad to share it with you, and you'll be ready for such a "tricky"/unusual (?) solution using Web Services in advance... _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From wdhindman at dejpolsystems.com Mon Dec 8 12:38:13 2008 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 8 Dec 2008 13:38:13 -0500 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? References: <000601c957cf$9440eee0$6401a8c0@nant> Message-ID: <501F012DCE314C7FAAF1765D5C510DF2@jislaptopdev> ...I don't think you can do this as a pure web service ...but you can invoke a "with events" protocol from an outside timer/event based call to invoke asynchronous Web Service method calls to implement callback events from a Web Service to its clients ...hope that makes sense. William -------------------------------------------------- From: "Shamil Salakhetdinov" Sent: Saturday, December 06, 2008 1:22 PM To: "'Access-D - VB'" Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? > Hi All, > > ASP.NET Web Services are known to be passive IOW they are activated when > called from outside, they do some work, and quit until another web request > comes... > > ...I wonder is it possible to develop active web service, which will be > activating itself once in a while (e.g. by using a kind of schedule > controlled by timer + some programmatic logic)... > > ...that active service could be something like endlessly > running/sleeping/running... between resets web service method IOW a web > service method with timeout set to infinitum... > > ...because ASP.NET web services application is by definition > multi-threaded > having one thread like the questioned/requested above shouldn't be an > issue > for the other IMO... > > ...this thread could be started by outside call or even (I guess) by web > service itself calling its own method with infinitum timeout on start-up > *via loopback web service call not directly* or something like that... > > ...that questioned/requested solution should be pure ASP.NET web service > one > as it's planned to be used on ASP.Net hosting without access to the host > operating system to run scheduled Windows Service etc... > > ...it could happen that questioned/requested Web Service solution is > built-in ASP.NET feature: I must say I didn't investigate the docs/I > didn't > try to make a POC solution - I expect somebody here might have done > something like that already - all I need is an answer: yes, it can be > done, > RTFM => {{URL}}} ... > > Thank you. > > -- > Shamil > > P.S. Sorry, I didn't do in advance investigation - I just didn't want to > get > negative answer by myself - and if positive answer exists I'd be glad to > share it with you, and you'll be ready for such a "tricky"/unusual (?) > solution using Web Services in advance... > > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From shamil at smsconsulting.spb.ru Mon Dec 8 15:55:50 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 9 Dec 2008 00:55:50 +0300 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? In-Reply-To: <501F012DCE314C7FAAF1765D5C510DF2@jislaptopdev> Message-ID: <000101c9597f$be403f50$6401a8c0@nant> Thank you for your responses Gustav, Drew and William. Here is what I have just found: Easy Background Tasks in ASP.NET http://blog.stackoverflow.com/2008/07/easy-background-tasks-in-aspnet/ IOW, the subject task was questioned several months before on StackOverflow, and a follow-up discussion (on the same referred above page) highlighted all pluses and minuses of proposed simple solution: I'd try to make it like that now: - use proposed above simple solution on "cron" ASP.Net web site/service, which will query URL on another main ASP.NET web site/service to perform recurrent tasks... It should work, shouldn't it? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, December 08, 2008 9:38 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? ...I don't think you can do this as a pure web service ...but you can invoke a "with events" protocol from an outside timer/event based call to invoke asynchronous Web Service method calls to implement callback events from a Web Service to its clients ...hope that makes sense. William -------------------------------------------------- From: "Shamil Salakhetdinov" Sent: Saturday, December 06, 2008 1:22 PM To: "'Access-D - VB'" Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? > Hi All, > > ASP.NET Web Services are known to be passive IOW they are activated when > called from outside, they do some work, and quit until another web request > comes... > > ...I wonder is it possible to develop active web service, which will be > activating itself once in a while (e.g. by using a kind of schedule > controlled by timer + some programmatic logic)... > > ...that active service could be something like endlessly > running/sleeping/running... between resets web service method IOW a web > service method with timeout set to infinitum... > > ...because ASP.NET web services application is by definition > multi-threaded > having one thread like the questioned/requested above shouldn't be an > issue > for the other IMO... > > ...this thread could be started by outside call or even (I guess) by web > service itself calling its own method with infinitum timeout on start-up > *via loopback web service call not directly* or something like that... > > ...that questioned/requested solution should be pure ASP.NET web service > one > as it's planned to be used on ASP.Net hosting without access to the host > operating system to run scheduled Windows Service etc... > > ...it could happen that questioned/requested Web Service solution is > built-in ASP.NET feature: I must say I didn't investigate the docs/I > didn't > try to make a POC solution - I expect somebody here might have done > something like that already - all I need is an answer: yes, it can be > done, > RTFM => {{URL}}} ... > > Thank you. > > -- > Shamil > > P.S. Sorry, I didn't do in advance investigation - I just didn't want to > get > negative answer by myself - and if positive answer exists I'd be glad to > share it with you, and you'll be ready for such a "tricky"/unusual (?) > solution using Web Services in advance... > > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Tue Dec 9 04:13:05 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 09 Dec 2008 11:13:05 +0100 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? Message-ID: Hi Shamil Well, I would run some kind of service, native of Windows or otherwise external in relation to the site. Like many other commenters calling the idea a "hack", I can't see anything but potential troubles by letting the site itself simulate a Cron job. /gustav >>> shamil at smsconsulting.spb.ru 08-12-2008 22:55 >>> Thank you for your responses Gustav, Drew and William. Here is what I have just found: Easy Background Tasks in ASP.NET http://blog.stackoverflow.com/2008/07/easy-background-tasks-in-aspnet/ IOW, the subject task was questioned several months before on StackOverflow, and a follow-up discussion (on the same referred above page) highlighted all pluses and minuses of proposed simple solution: I'd try to make it like that now: - use proposed above simple solution on "cron" ASP.Net web site/service, which will query URL on another main ASP.NET web site/service to perform recurrent tasks... It should work, shouldn't it? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, December 08, 2008 9:38 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? ...I don't think you can do this as a pure web service ...but you can invoke a "with events" protocol from an outside timer/event based call to invoke asynchronous Web Service method calls to implement callback events from a Web Service to its clients ...hope that makes sense. William -------------------------------------------------- From: "Shamil Salakhetdinov" Sent: Saturday, December 06, 2008 1:22 PM To: "'Access-D - VB'" Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? > Hi All, > > ASP.NET Web Services are known to be passive IOW they are activated when > called from outside, they do some work, and quit until another web request > comes... > > ...I wonder is it possible to develop active web service, which will be > activating itself once in a while (e.g. by using a kind of schedule > controlled by timer + some programmatic logic)... > > ...that active service could be something like endlessly > running/sleeping/running... between resets web service method IOW a web > service method with timeout set to infinitum... > > ...because ASP.NET web services application is by definition multi-threaded > having one thread like the questioned/requested above shouldn't be an issue > for the other IMO... > > ...this thread could be started by outside call or even (I guess) by web > service itself calling its own method with infinitum timeout on start-up > *via loopback web service call not directly* or something like that... > > ...that questioned/requested solution should be pure ASP.NET web service one > as it's planned to be used on ASP.Net hosting without access to the host > operating system to run scheduled Windows Service etc... > > ...it could happen that questioned/requested Web Service solution is > built-in ASP.NET feature: I must say I didn't investigate the docs/I didn't > try to make a POC solution - I expect somebody here might have done > something like that already - all I need is an answer: yes, it can be done, > RTFM => {{URL}}} ... > > Thank you. > > -- > Shamil > > P.S. Sorry, I didn't do in advance investigation - I just didn't want to get > negative answer by myself - and if positive answer exists I'd be glad to > share it with you, and you'll be ready for such a "tricky"/unusual (?) > solution using Web Services in advance... From shamil at smsconsulting.spb.ru Tue Dec 9 05:55:11 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 9 Dec 2008 14:55:11 +0300 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? In-Reply-To: Message-ID: <002801c959f4$ff7faee0$6401a8c0@nant> Hi Gustav, But my variation of the "hack" is to have Cron ASP.NET/ASP.NET web service application, which only duty will be to *ping/wake-up* another ASP.NET web service to perform recurrent/scheduled tasks: for this architecture/scenario I do not see currently any problems except that recurrent/schedule tasks shouldn't be very lengthy - and I do not plan to have them running longer than several seconds/half-minute/minute - that should be OK with ASP.NET/ASP.NET web service apps as they are multi-threaded and my recurrent/scheduled threads will be written assuming they are running in such environment... Am I missing something? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, December 09, 2008 1:13 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? Hi Shamil Well, I would run some kind of service, native of Windows or otherwise external in relation to the site. Like many other commenters calling the idea a "hack", I can't see anything but potential troubles by letting the site itself simulate a Cron job. /gustav >>> shamil at smsconsulting.spb.ru 08-12-2008 22:55 >>> Thank you for your responses Gustav, Drew and William. Here is what I have just found: Easy Background Tasks in ASP.NET http://blog.stackoverflow.com/2008/07/easy-background-tasks-in-aspnet/ IOW, the subject task was questioned several months before on StackOverflow, and a follow-up discussion (on the same referred above page) highlighted all pluses and minuses of proposed simple solution: I'd try to make it like that now: - use proposed above simple solution on "cron" ASP.Net web site/service, which will query URL on another main ASP.NET web site/service to perform recurrent tasks... It should work, shouldn't it? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, December 08, 2008 9:38 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? ...I don't think you can do this as a pure web service ...but you can invoke a "with events" protocol from an outside timer/event based call to invoke asynchronous Web Service method calls to implement callback events from a Web Service to its clients ...hope that makes sense. William -------------------------------------------------- From: "Shamil Salakhetdinov" Sent: Saturday, December 06, 2008 1:22 PM To: "'Access-D - VB'" Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? > Hi All, > > ASP.NET Web Services are known to be passive IOW they are activated when > called from outside, they do some work, and quit until another web request > comes... > > ...I wonder is it possible to develop active web service, which will be > activating itself once in a while (e.g. by using a kind of schedule > controlled by timer + some programmatic logic)... > > ...that active service could be something like endlessly > running/sleeping/running... between resets web service method IOW a web > service method with timeout set to infinitum... > > ...because ASP.NET web services application is by definition multi-threaded > having one thread like the questioned/requested above shouldn't be an issue > for the other IMO... > > ...this thread could be started by outside call or even (I guess) by web > service itself calling its own method with infinitum timeout on start-up > *via loopback web service call not directly* or something like that... > > ...that questioned/requested solution should be pure ASP.NET web service one > as it's planned to be used on ASP.Net hosting without access to the host > operating system to run scheduled Windows Service etc... > > ...it could happen that questioned/requested Web Service solution is > built-in ASP.NET feature: I must say I didn't investigate the docs/I didn't > try to make a POC solution - I expect somebody here might have done > something like that already - all I need is an answer: yes, it can be done, > RTFM => {{URL}}} ... > > Thank you. > > -- > Shamil > > P.S. Sorry, I didn't do in advance investigation - I just didn't want to get > negative answer by myself - and if positive answer exists I'd be glad to > share it with you, and you'll be ready for such a "tricky"/unusual (?) > solution using Web Services in advance... _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Tue Dec 9 07:26:41 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 09 Dec 2008 14:26:41 +0100 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? Message-ID: Hi Shamil No I don't think you are missing anything! Perhaps my mind is just missing to see the idea of this? What could such a Cron ASP.NET do to call a web service that you can't do with a tiny console app with a timer? Is this just for fun or the thinking, or are you looking for a clever way to meet a special challenge? /gustav >>> shamil at smsconsulting.spb.ru 09-12-2008 12:55 >>> Hi Gustav, But my variation of the "hack" is to have Cron ASP.NET/ASP.NET web service application, which only duty will be to *ping/wake-up* another ASP.NET web service to perform recurrent/scheduled tasks: for this architecture/scenario I do not see currently any problems except that recurrent/schedule tasks shouldn't be very lengthy - and I do not plan to have them running longer than several seconds/half-minute/minute - that should be OK with ASP.NET/ASP.NET web service apps as they are multi-threaded and my recurrent/scheduled threads will be written assuming they are running in such environment... Am I missing something? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, December 09, 2008 1:13 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? Hi Shamil Well, I would run some kind of service, native of Windows or otherwise external in relation to the site. Like many other commenters calling the idea a "hack", I can't see anything but potential troubles by letting the site itself simulate a Cron job. /gustav >>> shamil at smsconsulting.spb.ru 08-12-2008 22:55 >>> Thank you for your responses Gustav, Drew and William. Here is what I have just found: Easy Background Tasks in ASP.NET http://blog.stackoverflow.com/2008/07/easy-background-tasks-in-aspnet/ IOW, the subject task was questioned several months before on StackOverflow, and a follow-up discussion (on the same referred above page) highlighted all pluses and minuses of proposed simple solution: I'd try to make it like that now: - use proposed above simple solution on "cron" ASP.Net web site/service, which will query URL on another main ASP.NET web site/service to perform recurrent tasks... It should work, shouldn't it? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, December 08, 2008 9:38 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? ...I don't think you can do this as a pure web service ...but you can invoke a "with events" protocol from an outside timer/event based call to invoke asynchronous Web Service method calls to implement callback events from a Web Service to its clients ...hope that makes sense. William -------------------------------------------------- From: "Shamil Salakhetdinov" Sent: Saturday, December 06, 2008 1:22 PM To: "'Access-D - VB'" Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? > Hi All, > > ASP.NET Web Services are known to be passive IOW they are activated when > called from outside, they do some work, and quit until another web request > comes... > > ...I wonder is it possible to develop active web service, which will be > activating itself once in a while (e.g. by using a kind of schedule > controlled by timer + some programmatic logic)... > > ...that active service could be something like endlessly > running/sleeping/running... between resets web service method IOW a web > service method with timeout set to infinitum... > > ...because ASP.NET web services application is by definition multi-threaded > having one thread like the questioned/requested above shouldn't be an issue > for the other IMO... > > ...this thread could be started by outside call or even (I guess) by web > service itself calling its own method with infinitum timeout on start-up > *via loopback web service call not directly* or something like that... > > ...that questioned/requested solution should be pure ASP.NET web service one > as it's planned to be used on ASP.Net hosting without access to the host > operating system to run scheduled Windows Service etc... > > ...it could happen that questioned/requested Web Service solution is > built-in ASP.NET feature: I must say I didn't investigate the docs/I didn't > try to make a POC solution - I expect somebody here might have done > something like that already - all I need is an answer: yes, it can be done, > RTFM => {{URL}}} ... > > Thank you. > > -- > Shamil > > P.S. Sorry, I didn't do in advance investigation - I just didn't want to get > negative answer by myself - and if positive answer exists I'd be glad to > share it with you, and you'll be ready for such a "tricky"/unusual (?) > solution using Web Services in advance... From shamil at smsconsulting.spb.ru Tue Dec 9 07:57:52 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 9 Dec 2008 16:57:52 +0300 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? In-Reply-To: Message-ID: <002a01c95a06$22097ac0$6401a8c0@nant> Hi Gustav, I just need to perform some scheduled tasks running on ASP.NET hosting server, on which I cannot run nor console applications, nor windows services. And scheduled task should run automatically 24x7x365 independent from my PC being on or off. And I assume (/it's required) there is no other PC to "charge" with running console application/windows service 24x7x365... Let's say the scheduled task is a one watching some information on .NET, calculating stats, and e-mailing reports to admin/subscribers etc. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, December 09, 2008 4:27 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? Hi Shamil No I don't think you are missing anything! Perhaps my mind is just missing to see the idea of this? What could such a Cron ASP.NET do to call a web service that you can't do with a tiny console app with a timer? Is this just for fun or the thinking, or are you looking for a clever way to meet a special challenge? /gustav >>> shamil at smsconsulting.spb.ru 09-12-2008 12:55 >>> Hi Gustav, But my variation of the "hack" is to have Cron ASP.NET/ASP.NET web service application, which only duty will be to *ping/wake-up* another ASP.NET web service to perform recurrent/scheduled tasks: for this architecture/scenario I do not see currently any problems except that recurrent/schedule tasks shouldn't be very lengthy - and I do not plan to have them running longer than several seconds/half-minute/minute - that should be OK with ASP.NET/ASP.NET web service apps as they are multi-threaded and my recurrent/scheduled threads will be written assuming they are running in such environment... Am I missing something? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, December 09, 2008 1:13 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? Hi Shamil Well, I would run some kind of service, native of Windows or otherwise external in relation to the site. Like many other commenters calling the idea a "hack", I can't see anything but potential troubles by letting the site itself simulate a Cron job. /gustav >>> shamil at smsconsulting.spb.ru 08-12-2008 22:55 >>> Thank you for your responses Gustav, Drew and William. Here is what I have just found: Easy Background Tasks in ASP.NET http://blog.stackoverflow.com/2008/07/easy-background-tasks-in-aspnet/ IOW, the subject task was questioned several months before on StackOverflow, and a follow-up discussion (on the same referred above page) highlighted all pluses and minuses of proposed simple solution: I'd try to make it like that now: - use proposed above simple solution on "cron" ASP.Net web site/service, which will query URL on another main ASP.NET web site/service to perform recurrent tasks... It should work, shouldn't it? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, December 08, 2008 9:38 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? ...I don't think you can do this as a pure web service ...but you can invoke a "with events" protocol from an outside timer/event based call to invoke asynchronous Web Service method calls to implement callback events from a Web Service to its clients ...hope that makes sense. William -------------------------------------------------- From: "Shamil Salakhetdinov" Sent: Saturday, December 06, 2008 1:22 PM To: "'Access-D - VB'" Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? > Hi All, > > ASP.NET Web Services are known to be passive IOW they are activated when > called from outside, they do some work, and quit until another web request > comes... > > ...I wonder is it possible to develop active web service, which will be > activating itself once in a while (e.g. by using a kind of schedule > controlled by timer + some programmatic logic)... > > ...that active service could be something like endlessly > running/sleeping/running... between resets web service method IOW a web > service method with timeout set to infinitum... > > ...because ASP.NET web services application is by definition multi-threaded > having one thread like the questioned/requested above shouldn't be an issue > for the other IMO... > > ...this thread could be started by outside call or even (I guess) by web > service itself calling its own method with infinitum timeout on start-up > *via loopback web service call not directly* or something like that... > > ...that questioned/requested solution should be pure ASP.NET web service one > as it's planned to be used on ASP.Net hosting without access to the host > operating system to run scheduled Windows Service etc... > > ...it could happen that questioned/requested Web Service solution is > built-in ASP.NET feature: I must say I didn't investigate the docs/I didn't > try to make a POC solution - I expect somebody here might have done > something like that already - all I need is an answer: yes, it can be done, > RTFM => {{URL}}} ... > > Thank you. > > -- > Shamil > > P.S. Sorry, I didn't do in advance investigation - I just didn't want to get > negative answer by myself - and if positive answer exists I'd be glad to > share it with you, and you'll be ready for such a "tricky"/unusual (?) > solution using Web Services in advance... _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Tue Dec 9 08:28:34 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 09 Dec 2008 15:28:34 +0100 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? Message-ID: Hi Shamil OK, that explains. With no pc/server running contiguously nowhere else, you will have to do it that way. /gustav >>> shamil at smsconsulting.spb.ru 09-12-2008 14:57 >>> Hi Gustav, I just need to perform some scheduled tasks running on ASP.NET hosting server, on which I cannot run nor console applications, nor windows services. And scheduled task should run automatically 24x7x365 independent from my PC being on or off. And I assume (/it's required) there is no other PC to "charge" with running console application/windows service 24x7x365... Let's say the scheduled task is a one watching some information on .NET, calculating stats, and e-mailing reports to admin/subscribers etc. Thank you. -- Shamil From shamil at smsconsulting.spb.ru Tue Dec 9 08:58:49 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 9 Dec 2008 17:58:49 +0300 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? In-Reply-To: Message-ID: <002b01c95a0e$a5dce910$6401a8c0@nant> Hi Gustav, OK. And I'm aware there exists getting developed rapidly "cloud computing" concept/technologies(http://en.wikipedia.org/wiki/Cloud_computing ) where one can rent a virtual PC with windows with IIS, .NET Framework etc. but the renting of such a "cloud server" is still considerably more expensive (am I missing something?) than renting ASP.Net hosting, which for my application case could be just around USD10/month... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, December 09, 2008 5:29 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? Hi Shamil OK, that explains. With no pc/server running contiguously nowhere else, you will have to do it that way. /gustav >>> shamil at smsconsulting.spb.ru 09-12-2008 14:57 >>> Hi Gustav, I just need to perform some scheduled tasks running on ASP.NET hosting server, on which I cannot run nor console applications, nor windows services. And scheduled task should run automatically 24x7x365 independent from my PC being on or off. And I assume (/it's required) there is no other PC to "charge" with running console application/windows service 24x7x365... Let's say the scheduled task is a one watching some information on .NET, calculating stats, and e-mailing reports to admin/subscribers etc. Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Tue Dec 9 09:37:51 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 09 Dec 2008 16:37:51 +0100 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? Message-ID: Hi Shamil > .. renting of such a "cloud server" is still considerably more expensive > .. than renting ASP.Net hosting .. Actually, I don't think so: http://aws.amazon.com/ec2/#os How much computing power does it take to fire one request to a web service? It must be close to nothing. One instance for one hour per day would be $3.75 per month (note the calculator). Of course, if you need more than one call per day it will be more expensive. We have yet to see a pricing scheme for MS Azure but I doubt it will beat that of Amazon AWS. /gustav >>> shamil at smsconsulting.spb.ru 09-12-2008 15:58 >>> Hi Gustav, OK. And I'm aware there exists getting developed rapidly "cloud computing" concept/technologies(http://en.wikipedia.org/wiki/Cloud_computing ) where one can rent a virtual PC with windows with IIS, .NET Framework etc. but the renting of such a "cloud server" is still considerably more expensive (am I missing something?) than renting ASP.Net hosting, which for my application case could be just around USD10/month... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, December 09, 2008 5:29 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? Hi Shamil OK, that explains. With no pc/server running contiguously nowhere else, you will have to do it that way. /gustav >>> shamil at smsconsulting.spb.ru 09-12-2008 14:57 >>> Hi Gustav, I just need to perform some scheduled tasks running on ASP.NET hosting server, on which I cannot run nor console applications, nor windows services. And scheduled task should run automatically 24x7x365 independent from my PC being on or off. And I assume (/it's required) there is no other PC to "charge" with running console application/windows service 24x7x365... Let's say the scheduled task is a one watching some information on .NET, calculating stats, and e-mailing reports to admin/subscribers etc. Thank you. -- Shamil From Gustav at cactus.dk Tue Dec 9 09:55:22 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 09 Dec 2008 16:55:22 +0100 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? Message-ID: Hi Shamil I may have to correct myself (hate that), but why pay USD 10 or 3.75 per month when one (1) Euro may do in your case: http://www.unoeuro.com/products.php This is a very good and reliable on no-nonsense hosting company we highly recommend to our clients and use ourselves. /gustav >>> Gustav at cactus.dk 09-12-2008 16:37 >>> Hi Shamil > .. renting of such a "cloud server" is still considerably more expensive > .. than renting ASP.Net hosting .. Actually, I don't think so: http://aws.amazon.com/ec2/#os How much computing power does it take to fire one request to a web service? It must be close to nothing. One instance for one hour per day would be $3.75 per month (note the calculator). Of course, if you need more than one call per day it will be more expensive. We have yet to see a pricing scheme for MS Azure but I doubt it will beat that of Amazon AWS. /gustav >>> shamil at smsconsulting.spb.ru 09-12-2008 15:58 >>> Hi Gustav, OK. And I'm aware there exists getting developed rapidly "cloud computing" concept/technologies(http://en.wikipedia.org/wiki/Cloud_computing ) where one can rent a virtual PC with windows with IIS, .NET Framework etc. but the renting of such a "cloud server" is still considerably more expensive (am I missing something?) than renting ASP.Net hosting, which for my application case could be just around USD10/month... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, December 09, 2008 5:29 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? Hi Shamil OK, that explains. With no pc/server running contiguously nowhere else, you will have to do it that way. /gustav >>> shamil at smsconsulting.spb.ru 09-12-2008 14:57 >>> Hi Gustav, I just need to perform some scheduled tasks running on ASP.NET hosting server, on which I cannot run nor console applications, nor windows services. And scheduled task should run automatically 24x7x365 independent from my PC being on or off. And I assume (/it's required) there is no other PC to "charge" with running console application/windows service 24x7x365... Let's say the scheduled task is a one watching some information on .NET, calculating stats, and e-mailing reports to admin/subscribers etc. Thank you. -- Shamil From Gustav at cactus.dk Thu Dec 11 04:42:15 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 11 Dec 2008 11:42:15 +0100 Subject: [dba-VB] Article: Explore the Data Access Options in Visual Studio 2008 Message-ID: Hi all Julia Lerman wrote this on the different methods to access data in VS2008 and .Net 3.5: http://www.devx.com/codemag/Article/39751/0/page/1 This article has attempted to review some of the bigger areas of comparison between the key data access APIs in .NET 3.5: ADO.NET "Classic", LINQ to SQL, LINQ to Entities, Entity Framework Object Services, and Entity Framework EntityClient. While some of the differences will be very useful to be aware of when you start coding, others may make the difference between choosing one technology over the other for certain scenarios or even for your entire organization. From andy at minstersystems.co.uk Thu Dec 11 07:43:34 2008 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 11 Dec 2008 13:43:34 -0000 Subject: [dba-VB] Article: Explore the Data Access Options in Visual Studio2008 In-Reply-To: Message-ID: Thanks for the post Gustav. Andy Lacey -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 11 December 2008 10:42 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Article: Explore the Data Access Options in Visual Studio2008 Hi all Julia Lerman wrote this on the different methods to access data in VS2008 and .Net 3.5: http://www.devx.com/codemag/Article/39751/0/page/1 This article has attempted to review some of the bigger areas of comparison between the key data access APIs in .NET 3.5: ADO.NET "Classic", LINQ to SQL, LINQ to Entities, Entity Framework Object Services, and Entity Framework EntityClient. While some of the differences will be very useful to be aware of when you start coding, others may make the difference between choosing one technology over the other for certain scenarios or even for your entire organization. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From accessd at shaw.ca Thu Dec 11 10:54:29 2008 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 11 Dec 2008 08:54:29 -0800 Subject: [dba-VB] Article: Explore the Data Access Options in Visual Studio 2008 In-Reply-To: References: Message-ID: <0B83B84382824D5A990033859C4F626E@creativesystemdesigns.com> Hi Gustav: That is a very interesting article especially when the many links are followed. I always tend to shun away from standards that are too specific as I have learned my lessons being an expert in DLS 'Dead Language Society'. ;-) Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, December 11, 2008 2:42 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Article: Explore the Data Access Options in Visual Studio 2008 Hi all Julia Lerman wrote this on the different methods to access data in VS2008 and .Net 3.5: http://www.devx.com/codemag/Article/39751/0/page/1 This article has attempted to review some of the bigger areas of comparison between the key data access APIs in .NET 3.5: ADO.NET "Classic", LINQ to SQL, LINQ to Entities, Entity Framework Object Services, and Entity Framework EntityClient. While some of the differences will be very useful to be aware of when you start coding, others may make the difference between choosing one technology over the other for certain scenarios or even for your entire organization. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Dec 15 06:09:43 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 15 Dec 2008 13:09:43 +0100 Subject: [dba-VB] Subversion, TortoiseSVN and VisualSVN Message-ID: Hi Shamil et al I noticed that a build-server, TeamCity 4.0, is for free download: http://www.jetbrains.com/teamcity/ Could be of very good value as it claims to verify the code before it is stored in the version system: http://www.jetbrains.com/teamcity/delayed_commit.html /gustav >>> shamil at smsconsulting.spb.ru 20-05-2008 19:29 >>> Hello John, I have occasionally found today a good article on (distributed) version control systems - it points on the main issues with Subversion, which I did also experienced (especially that "Subversion fails to merge changes when files or directories are renamed" ) and which forced me to not use Subversion broadly. Have a look: Distributed Version Control Systems: A Not-So-Quick Guide Through http://www.infoq.com/articles/dvcs-guide <<< Or a more precise question: Why Central VCS (and notably Subversion) are not satisfying? Several things are blamed on Subversion: Major reason is that branching is easy but merging is a pain (but one doesn't go without the other). And it's likely that any consequent project you'll work on will need easy gymnastic with splits, dev, test branches. Subversion has no History-aware merge capability, forcing its users to manually track exactly which revisions have been merged between branches making it error-prone. No way to push changes to another user (without submitting to the Central Server). Subversion fails to merge changes when files or directories are renamed. The trunk/tags/branches convention can be considered misleading. Offline commits are not possible. .svn files pollute your local directories. svn:external can be harmful to handle. Performance The modern DVCS fixed those issues with both their own implementation tricks and from the fact that they were distributed. But as we will see in conclusion, Subversion did not resign yet. >>> Bazaar seems to be one of the best free open source options for modern DVCSs... -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, April 25, 2008 8:31 PM To: VBA Subject: [dba-VB] Subversion, TortoiseSVN and VisualSVN OK, I have been badgered and goaded into coming into the 21st century. Not to mention I can't figure out how to safely and effectively share development of my .Net programs on all of my machines. So I am trying to get Subversion installed and functioning. So of course I come here seeking advice or to start a user group (goad and prod you guys) if no one is using this thing. I installed VisualSVN and it told me I had to install TortoiseSVN to get full functionality. It implied that it would install Subversion as well. The install did not ask any "install" questions such as where do you want the database to go etc. My intention is to place the Subversion database on one of my servers, share the directory, then place the various clients (TortoiseSVN and VisualSVN on each machine which I develop on. So my first question, is anyone out there using this thing? Is anyone interested in using this and sharing the pain of figuring it out? -- John W. Colby www.ColbyConsulting.com From john at winhaven.net Mon Dec 22 23:38:24 2008 From: john at winhaven.net (John Bartow) Date: Mon, 22 Dec 2008 23:38:24 -0600 Subject: [dba-VB] Happy Hanukkah Message-ID: <008e01c964c0$ac552750$04ff75f0$@net> A Happy Hanukkah from the Database Advisors Board of Directors. Here's a little JibJab fun: http://www.winhaven.net/misc/HappyHanukkahDBA.html From john at winhaven.net Wed Dec 24 12:00:25 2008 From: john at winhaven.net (John Bartow) Date: Wed, 24 Dec 2008 12:00:25 -0600 Subject: [dba-VB] Merry Christmas - Its a Wonderful Life Message-ID: <000e01c965f1$7f6ea090$7e4be1b0$@net> Merry Christmas Hanukkah from the Database Advisors Board of Directors. If you've seen "It's a Wonderful Life", here's a little JibJab Christmas fun: (Some of the BoD didn't make the Hanukkah greeting so here's the rest in "It's a Wonderful Life") http://www.winhaven.net/misc/DBAItsaWonderfulLife.htm John B. PS: Parts were limited so I had to do what I had to do ;o) From garykjos at gmail.com Wed Dec 24 12:11:16 2008 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 24 Dec 2008 12:11:16 -0600 Subject: [dba-VB] [dba-OT] Merry Christmas - Its a Wonderful Life In-Reply-To: <000e01c965f1$7f6ea090$7e4be1b0$@net> References: <000e01c965f1$7f6ea090$7e4be1b0$@net> Message-ID: That is great! Merry Christmas! GK On 12/24/08, John Bartow wrote: > Merry Christmas Hanukkah from the Database Advisors Board of Directors. > > If you've seen "It's a Wonderful Life", here's a little JibJab Christmas > fun: > (Some of the BoD didn't make the Hanukkah greeting so here's the rest in > "It's a Wonderful Life") > http://www.winhaven.net/misc/DBAItsaWonderfulLife.htm > > John B. > PS: Parts were limited so I had to do what I had to do ;o) > > _______________________________________________ > dba-OT mailing list > dba-OT at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-ot > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From ridermark at gmail.com Wed Dec 24 22:16:39 2008 From: ridermark at gmail.com (Mark Rider) Date: Wed, 24 Dec 2008 22:16:39 -0600 Subject: [dba-VB] Merry Christmas - Its a Wonderful Life In-Reply-To: <000e01c965f1$7f6ea090$7e4be1b0$@net> References: <000e01c965f1$7f6ea090$7e4be1b0$@net> Message-ID: Happy Holidays! **(See Footnote 1) ** Footnote 1: Please accept with no obligation, implied or implicit, our best wishes for an environmentally conscious, socially responsible, low stress, non-addictive, gender neutral, celebration of the winter solstice holiday, practiced within the most enjoyable traditions of the religious persuasion of your choice, or secular practices of your choice, with respect for the religious/secular persuasions and/or traditions of others, or their choice not to practice religious or secular traditions at all . . . and a fiscally successful, personally fulfilling, and medically uncomplicated recognition of the onset of the generally accepted calendar year 2009, but not without due respect for the calendars of choice of other cultures whose contributions to society have helped make America great, (not to imply that America is necessarily greater than any other country or is the only "AMERICA" in the western hemisphere), and without regard to the race, creed, color, age, physical ability, religious faith, choice of computer platform, or sexual preference of the wishee. By accepting this greeting, you are accepting these terms. This greeting is subject to clarification or withdrawal. It is freely transferable with no alteration to the original greeting. It implies no promise by the wisher to actually implement any of the wishes for her/himself or others, and is void where prohibited by law, and is revocable at the sole discretion of the wisher. This wish is warranted to perform as expected within the usual application of good tidings for a period of one year, or until the issuance of a subsequent holiday greeting, whichever comes first, and warranty is limited to replacement of this wish or issuance of a new wish at the sole discretion of the wisher. The wishee further agrees to hold harmless and indemnify the wisher, along with its heirs, assigns, officers, directors, shareholders . . . -- Mark Rider http://commonsensesecurity.info Try to learn something about everything and everything about something. - Thomas H. Huxley From Gustav at cactus.dk Thu Dec 25 16:47:12 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 25 Dec 2008 23:47:12 +0100 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? Message-ID: Hi Shamil I recalled your question when I read up on Windows Workflow Foundation. To recap, this includes four services: *- Persistence Services Persistence services can be used to save a workflow instance to a data store if a workflow contains a long-running process. Transaction Services You can use transaction services to ensure your data consistency in the event of communication or other failure. Tracking Services Tracking services can be used to record which activities will execute in each workflow instance. They can also record when each activity executes. Use tracking services to troubleshoot or debug workflows. Scheduling Services Scheduling services can be used to control how a workflow runtime creates threads for the instances of your workflow. *- Of these Scheduling Service (and Persistence Service?) perhaps could solve your task (quote): You may host your workflow in a server-based host application, such as an ASP.NET Web application or Web service. These host applications donate a thread to the workflow instance, so that the instance remains synchronized with the application. To use this thread, utilize the ManualWorkflowSchedulerService instead of the DefaultWorkflowSchedulerService That might save you from reinventing the wheel or spending time on some proprietary system ... /gustav >>> shamil at smsconsulting.spb.ru 06-12-2008 19:22 >>> Hi All, ASP.NET Web Services are known to be passive IOW they are activated when called from outside, they do some work, and quit until another web request comes... ...I wonder is it possible to develop active web service, which will be activating itself once in a while (e.g. by using a kind of schedule controlled by timer + some programmatic logic)... ...that active service could be something like endlessly running/sleeping/running... between resets web service method IOW a web service method with timeout set to infinitum... ...because ASP.NET web services application is by definition multi-threaded having one thread like the questioned/requested above shouldn't be an issue for the other IMO... ...this thread could be started by outside call or even (I guess) by web service itself calling its own method with infinitum timeout on start-up *via loopback web service call not directly* or something like that... ...that questioned/requested solution should be pure ASP.NET web service one as it's planned to be used on ASP.Net hosting without access to the host operating system to run scheduled Windows Service etc... ...it could happen that questioned/requested Web Service solution is built-in ASP.NET feature: I must say I didn't investigate the docs/I didn't try to make a POC solution - I expect somebody here might have done something like that already - all I need is an answer: yes, it can be done, RTFM => {{URL}}} ... Thank you. -- Shamil P.S. Sorry, I didn't do in advance investigation - I just didn't want to get negative answer by myself - and if positive answer exists I'd be glad to share it with you, and you'll be ready for such a "tricky"/unusual (?) solution using Web Services in advance... From Gustav at cactus.dk Fri Dec 26 06:57:37 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 26 Dec 2008 13:57:37 +0100 Subject: [dba-VB] Windows Presentation Foundation Message-ID: Hi all Just curious, is anyone using the Windows Presentation Foundation (Avalon) to create Windows apps? http://en.wikipedia.org/wiki/Windows_Presentation_Foundation Looks much to me like creating "browser styled" Windows apps. Any good examples? /gustav From mmattys at rochester.rr.com Fri Dec 26 07:15:20 2008 From: mmattys at rochester.rr.com (Mike Mattys) Date: Fri, 26 Dec 2008 08:15:20 -0500 Subject: [dba-VB] Windows Presentation Foundation References: Message-ID: <90F8C0382AAB4E10A08081C337F90253@Mattys> Hi Gustav, http://windowsclient.net/downloads/folders/wpfsamples/default.aspx - Michael R Mattys MapPoint and Database Dev www.mattysconsulting.com - ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, December 26, 2008 7:57 AM Subject: [dba-VB] Windows Presentation Foundation > Hi all > > Just curious, is anyone using the Windows Presentation Foundation (Avalon) > to create Windows apps? > > http://en.wikipedia.org/wiki/Windows_Presentation_Foundation > > Looks much to me like creating "browser styled" Windows apps. > Any good examples? > > /gustav > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > From Gustav at cactus.dk Fri Dec 26 14:57:02 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 26 Dec 2008 21:57:02 +0100 Subject: [dba-VB] Windows Presentation Foundation Message-ID: Hi Michael Thanks! Lots of stuff. /gustav >>> mmattys at rochester.rr.com 26-12-2008 14:15 >>> Hi Gustav, http://windowsclient.net/downloads/folders/wpfsamples/default.aspx - Michael R Mattys MapPoint and Database Dev www.mattysconsulting.com - ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, December 26, 2008 7:57 AM Subject: [dba-VB] Windows Presentation Foundation > Hi all > > Just curious, is anyone using the Windows Presentation Foundation (Avalon) > to create Windows apps? > > http://en.wikipedia.org/wiki/Windows_Presentation_Foundation > > Looks much to me like creating "browser styled" Windows apps. > Any good examples? > > /gustav From shamil at smsconsulting.spb.ru Mon Dec 29 07:23:53 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 29 Dec 2008 16:23:53 +0300 Subject: [dba-VB] Windows Presentation Foundation In-Reply-To: Message-ID: <001901c969b8$b2fd1840$6401a8c0@nant> Hi Gustav, Here is a good sample: http://blogs.msdn.com/coding4fun/archive/2006/11/06/999502.aspx Many more can be found on MSDN and over Internet. I'm developing a project with WPF client GUI here now. It's a great technology. You can create any kind of GUI using WPF. In fact XAML, WPF, XBAP and SilverLight people say are currently becoming mainstream technologies to develop rich user interface (for Windows).. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto: dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, December 26, 2008 3:58 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Windows Presentation Foundation Hi all Just curious, is anyone using the Windows Presentation Foundation (Avalon) to create Windows apps? http://en.wikipedia.org/wiki/Windows_Presentation_Foundation Looks much to me like creating "browser styled" Windows apps. Any good examples? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3225 (20080629) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3225 (20080629) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -- Shamil From shamil at smsconsulting.spb.ru Mon Dec 29 07:28:58 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 29 Dec 2008 16:28:58 +0300 Subject: [dba-VB] Windows Presentation Foundation In-Reply-To: Message-ID: <003001c969b9$69682930$6401a8c0@nant> Hi Gustav, Here is a good sample: http://blogs.msdn.com/coding4fun/archive/2006/11/06/999502.aspx Many more can be found on MSDN and over Internet. I'm developing a project with WPF client GUI here now. It's a great technology. You can create any kind of GUI using WPF. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, December 26, 2008 3:58 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Windows Presentation Foundation Hi all Just curious, is anyone using the Windows Presentation Foundation (Avalon) to create Windows apps? http://en.wikipedia.org/wiki/Windows_Presentation_Foundation Looks much to me like creating "browser styled" Windows apps. Any good examples? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3225 (20080629) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3225 (20080629) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -- Shamil From shamil at smsconsulting.spb.ru Mon Dec 29 07:28:59 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 29 Dec 2008 16:28:59 +0300 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? In-Reply-To: Message-ID: <003401c969b9$6aaeb2f0$6401a8c0@nant> Hi Gustav, Yes, Windows Workflow Foundation and ManualWorkflowSchedulerService seems to be the answer on my question. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, December 26, 2008 1:47 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? Hi Shamil I recalled your question when I read up on Windows Workflow Foundation. To recap, this includes four services: *- Persistence Services Persistence services can be used to save a workdlow instance to a data store if a workflow contains a long-running process. Transaction Services You can use transaction services to ensure your data consistency in the event of communication or other failure. Tracking Services Tracking services can be used to record which activities will execute in each workflow instance. They can also record when each activity executes. Use tracking services to troubleshoot or debug workflows. Scheduling Services Scheduling services can be used to control how a workflow runtime creates threads for the instances of your workflow. *- Of these Scheduling Service (and Persistence Service?) perhaps could solve your task (quote): You may host your workflow in a server-based host application, such as an ASP.NET Web application or Web service. These host applications donate a thread to the workflow instance, so that the instance remains synchronized with the application. To use this thread, utilize the ManualWorkflowSchedulerService instead of the DefaultWorkflowSchedulerService That might save you from reinventing the wheel or spending time on some proprietary system ... /gustav >>> shamil at smsconsulting.spb.ru 06-12-2008 19:22 >>> Hi All, ASP.NET Web Services are known to be passive IOW they are activated when called from outside, they do some work, and quit until another web request comes... ...I wonder is it possible to develop active web service, which will be activating itself once in a while (e.g. by using a kind of schedule controlled by timer + some programmatic logic)... ...that active service could be something like endlessly running/sleeping/running... between resets web service method IOW a web service method with timeout set to infinitum... ...because ASP.NET web services application is by definition multi-threaded having one thread like the questioned/requested above shouldn't be an issue for the other IMO... ...this thread could be started by outside call or even (I guess) by web service itself calling its own method with infinitum timeout on start-up *via loopback web service call not directly* or something like that... ...that questioned/requested solution should be pure ASP.NET web service one as it's planned to be used on ASP.Net hosting without access to the host operating system to run scheduled Windows Service etc... ...it could happen that questioned/requested Web Service solution is built-in ASP.NET feature: I must say I didn't investigate the docs/I didn't try to make a POC solution - I expect somebody here might have done something like that already - all I need is an answer: yes, it can be done, RTFM => {{URL}}} ... Thank you. -- Shamil P.S. Sorry, I didn't do in advance investigation - I just didn't want to get negative answer by myself - and if positive answer exists I'd be glad to share it with you, and you'll be ready for such a "tricky"/unusual (?) solution using Web Services in advance... _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3225 (20080629) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3225 (20080629) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -- Shamil From Robert at webedb.com Mon Dec 29 08:42:37 2008 From: Robert at webedb.com (Robert) Date: Mon, 29 Dec 2008 09:42:37 -0500 Subject: [dba-VB] dba-VB Digest, Vol 62, Issue 10 Message-ID: Gustav, I am currently rewriting a large MS Access application that uses a SQL database into WPF. ---------------------------------------- From: dba-vb-request at databaseadvisors.com Sent: Friday, December 26, 2008 1:01 PM To: dba-vb at databaseadvisors.com Subject: dba-VB Digest, Vol 62, Issue 10 Date: Fri, 26 Dec 2008 13:57:37 +0100 From: "Gustav Brock" Subject: [dba-VB] Windows Presentation Foundation To: Message-ID: Content-Type: text/plain; charset=US-ASCII Hi all Just curious, is anyone using the Windows Presentation Foundation (Avalon) to create Windows apps? http://en.wikipedia.org/wiki/Windows_Presentation_Foundation Looks much to me like creating "browser styled" Windows apps. Any good examples? /gustav From Gustav at cactus.dk Mon Dec 29 08:50:30 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 29 Dec 2008 15:50:30 +0100 Subject: [dba-VB] Windows Presentation Foundation Message-ID: Hi Shamil Thanks, that seems to cover quite a bit. /gustav >>> shamil at smsconsulting.spb.ru 29-12-2008 14:23 >>> Hi Gustav, Here is a good sample: http://blogs.msdn.com/coding4fun/archive/2006/11/06/999502.aspx Many more can be found on MSDN and over Internet. I'm developing a project with WPF client GUI here now. It's a great technology. You can create any kind of GUI using WPF. In fact XAML, WPF, XBAP and SilverLight people say are currently becoming mainstream technologies to develop rich user interface (for Windows).. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto: dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, December 26, 2008 3:58 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Windows Presentation Foundation Hi all Just curious, is anyone using the Windows Presentation Foundation (Avalon) to create Windows apps? http://en.wikipedia.org/wiki/Windows_Presentation_Foundation Looks much to me like creating "browser styled" Windows apps. Any good examples? /gustav From shamil at smsconsulting.spb.ru Mon Dec 29 09:06:26 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 29 Dec 2008 18:06:26 +0300 Subject: [dba-VB] Windows Presentation Foundation In-Reply-To: Message-ID: <000001c969c7$0660def0$6401a8c0@nant> Hi Gustav, Yes, especially very advanced XAML declarative features allowing making great looking user friendly interfaces with a few imperative coding... -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, December 29, 2008 5:51 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Windows Presentation Foundation Hi Shamil Thanks, that seems to cover quite a bit. /gustav >>> shamil at smsconsulting.spb.ru 29-12-2008 14:23 >>> Hi Gustav, Here is a good sample: http://blogs.msdn.com/coding4fun/archive/2006/11/06/999502.aspx Many more can be found on MSDN and over Internet. I'm developing a project with WPF client GUI here now. It's a great technology. You can create any kind of GUI using WPF. In fact XAML, WPF, XBAP and SilverLight people say are currently becoming mainstream technologies to develop rich user interface (for Windows).. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto: dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, December 26, 2008 3:58 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Windows Presentation Foundation Hi all Just curious, is anyone using the Windows Presentation Foundation (Avalon) to create Windows apps? http://en.wikipedia.org/wiki/Windows_Presentation_Foundation Looks much to me like creating "browser styled" Windows apps. Any good examples? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Mon Dec 29 09:55:22 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 29 Dec 2008 18:55:22 +0300 Subject: [dba-VB] Was: RE: Windows Presentation Foundation In-Reply-To: <000001c969c7$0660def0$6401a8c0@nant> Message-ID: <000a01c969cd$df197710$6401a8c0@nant> Hi Gustav, Some more info/samples of XAML, WPF, XBAP: http://shamils-4.hosting.parking.ru/xbap/PostCard3D.xbap - MSDN XBAP sample I tested online http://www.wpflearningexperience.com/webcasts/babygreeting/XbapBabyGreeting. xbap - XBAP online sample Note: using XBAP needs IE (it worked also (partially) with Opera or FirFox (can't remember now)) What can be done within XBAP sandbox frames/plug-ins running within browser can be similarly or even in the more advanced way done for WPF FE client applications or for SilverLight apps... And here are useful XAML "power toys" - http://karlshifflett.wordpress.com/xaml-power-toys/ - I haven't used them yet but I do plan to do that with a first good occasion - a business application to get an interface developed using WPF.... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, December 29, 2008 6:06 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Windows Presentation Foundation Hi Gustav, Yes, especially very advanced XAML declarative features allowing making great looking user friendly interfaces with a few imperative coding... -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, December 29, 2008 5:51 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Windows Presentation Foundation Hi Shamil Thanks, that seems to cover quite a bit. /gustav >>> shamil at smsconsulting.spb.ru 29-12-2008 14:23 >>> Hi Gustav, Here is a good sample: http://blogs.msdn.com/coding4fun/archive/2006/11/06/999502.aspx Many more can be found on MSDN and over Internet. I'm developing a project with WPF client GUI here now. It's a great technology. You can create any kind of GUI using WPF. In fact XAML, WPF, XBAP and SilverLight people say are currently becoming mainstream technologies to develop rich user interface (for Windows).. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto: dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, December 26, 2008 3:58 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Windows Presentation Foundation Hi all Just curious, is anyone using the Windows Presentation Foundation (Avalon) to create Windows apps? http://en.wikipedia.org/wiki/Windows_Presentation_Foundation Looks much to me like creating "browser styled" Windows apps. Any good examples? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Dec 1 04:36:21 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 01 Dec 2008 11:36:21 +0100 Subject: [dba-VB] Microsoft Chart Controls for .Net 3.5 Message-ID: Hi all Did you notice this package for interactive Chart Controls for ASP.NET, Winforms and VS2008: http://code.msdn.microsoft.com/mschart /gustav From accessd at shaw.ca Mon Dec 1 12:29:04 2008 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 1 Dec 2008 10:29:04 -0800 Subject: [dba-VB] Microsoft Chart Controls for .Net 3.5 In-Reply-To: References: Message-ID: Hi Gustav: This is excellent. It appears that MS acquires the rights to the intellectual property from the Dundas Controls and have now integrated this functionality into their Dot Net. These features are also integrated into MS SQL reporting Services. ;-) Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, December 01, 2008 2:36 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Microsoft Chart Controls for .Net 3.5 Hi all Did you notice this package for interactive Chart Controls for ASP.NET, Winforms and VS2008: http://code.msdn.microsoft.com/mschart /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From accessd at shaw.ca Mon Dec 1 12:35:09 2008 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 1 Dec 2008 10:35:09 -0800 Subject: [dba-VB] Microsoft Chart Controls for .Net 3.5 In-Reply-To: References: Message-ID: PS If you need to download the chart control: http://www.microsoft.com/downloads/details.aspx?FamilyId=130F7986-BF49-4FE5- 9CA8-910AE6EA442C&displaylang=en Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, December 01, 2008 2:36 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Microsoft Chart Controls for .Net 3.5 Hi all Did you notice this package for interactive Chart Controls for ASP.NET, Winforms and VS2008: http://code.msdn.microsoft.com/mschart /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Sat Dec 6 12:22:19 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 6 Dec 2008 21:22:19 +0300 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? Message-ID: <000601c957cf$9440eee0$6401a8c0@nant> Hi All, ASP.NET Web Services are known to be passive IOW they are activated when called from outside, they do some work, and quit until another web request comes... ...I wonder is it possible to develop active web service, which will be activating itself once in a while (e.g. by using a kind of schedule controlled by timer + some programmatic logic)... ...that active service could be something like endlessly running/sleeping/running... between resets web service method IOW a web service method with timeout set to infinitum... ...because ASP.NET web services application is by definition multi-threaded having one thread like the questioned/requested above shouldn?t be an issue for the other IMO... ...this thread could be started by outside call or even (I guess) by web service itself calling its own method with infinitum timeout on start-up *via loopback web service call not directly* or something like that... ...that questioned/requested solution should be pure ASP.NET web service one as it's planned to be used on ASP.Net hosting without access to the host operating system to run scheduled Windows Service etc... ...it could happen that questioned/requested Web Service solution is built-in ASP.NET feature: I must say I didn't investigate the docs/I didn't try to make a POC solution - I expect somebody here might have done something like that already - all I need is an answer: yes, it can be done, RTFM => {{URL}}} ... Thank you. -- Shamil P.S. Sorry, I didn't do in advance investigation - I just didn't want to get negative answer by myself - and if positive answer exists I'd be glad to share it with you, and you'll be ready for such a "tricky"/unusual (?) solution using Web Services in advance... From gustav at cactus.dk Sat Dec 6 14:57:26 2008 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 06 Dec 2008 21:57:26 +0100 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? Message-ID: Hi Shamil Couldn't you just have some other service running to carry out this task over and over? Or, if for some reason it must a web service, have another web service at hand which is called with some delay. Then this second web service after some delay calls the first, and so on? Neither have I read the manual on this, so a straight-forward solution may exist ... /gustav >>> shamil at smsconsulting.spb.ru 06-12-2008 19:22 >>> Hi All, ASP.NET Web Services are known to be passive IOW they are activated when called from outside, they do some work, and quit until another web request comes... ...I wonder is it possible to develop active web service, which will be activating itself once in a while (e.g. by using a kind of schedule controlled by timer + some programmatic logic)... ...that active service could be something like endlessly running/sleeping/running... between resets web service method IOW a web service method with timeout set to infinitum... ...because ASP.NET web services application is by definition multi-threaded having one thread like the questioned/requested above shouldn't be an issue for the other IMO... ...this thread could be started by outside call or even (I guess) by web service itself calling its own method with infinitum timeout on start-up *via loopback web service call not directly* or something like that... ...that questioned/requested solution should be pure ASP.NET web service one as it's planned to be used on ASP.Net hosting without access to the host operating system to run scheduled Windows Service etc... ...it could happen that questioned/requested Web Service solution is built-in ASP.NET feature: I must say I didn't investigate the docs/I didn't try to make a POC solution - I expect somebody here might have done something like that already - all I need is an answer: yes, it can be done, RTFM => {{URL}}} ... Thank you. -- Shamil P.S. Sorry, I didn't do in advance investigation - I just didn't want to get negative answer by myself - and if positive answer exists I'd be glad to share it with you, and you'll be ready for such a "tricky"/unusual (?) solution using Web Services in advance... From DWUTKA at Marlow.com Sat Dec 6 17:07:23 2008 From: DWUTKA at Marlow.com (Drew Wutka) Date: Sat, 6 Dec 2008 17:07:23 -0600 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? In-Reply-To: <000601c957cf$9440eee0$6401a8c0@nant> Message-ID: Yes, but not with ASP.NET. Classic and .NET ASP are both 'interpreters' for incoming web pages, similar to server side includes. There is nothing in these to run without an incoming web request. So you can create your own service on a web server. However, just to try and guess at what you are trying to do, if you would like something to occur with a user, without a user's interaction, you can have stuff hidden in an inline frame. Drew -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, December 06, 2008 12:22 PM To: 'Access-D - VB' Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? Hi All, ASP.NET Web Services are known to be passive IOW they are activated when called from outside, they do some work, and quit until another web request comes... ...I wonder is it possible to develop active web service, which will be activating itself once in a while (e.g. by using a kind of schedule controlled by timer + some programmatic logic)... ...that active service could be something like endlessly running/sleeping/running... between resets web service method IOW a web service method with timeout set to infinitum... ...because ASP.NET web services application is by definition multi-threaded having one thread like the questioned/requested above shouldn't be an issue for the other IMO... ...this thread could be started by outside call or even (I guess) by web service itself calling its own method with infinitum timeout on start-up *via loopback web service call not directly* or something like that... ...that questioned/requested solution should be pure ASP.NET web service one as it's planned to be used on ASP.Net hosting without access to the host operating system to run scheduled Windows Service etc... ...it could happen that questioned/requested Web Service solution is built-in ASP.NET feature: I must say I didn't investigate the docs/I didn't try to make a POC solution - I expect somebody here might have done something like that already - all I need is an answer: yes, it can be done, RTFM => {{URL}}} ... Thank you. -- Shamil P.S. Sorry, I didn't do in advance investigation - I just didn't want to get negative answer by myself - and if positive answer exists I'd be glad to share it with you, and you'll be ready for such a "tricky"/unusual (?) solution using Web Services in advance... _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From wdhindman at dejpolsystems.com Mon Dec 8 12:38:13 2008 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 8 Dec 2008 13:38:13 -0500 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? References: <000601c957cf$9440eee0$6401a8c0@nant> Message-ID: <501F012DCE314C7FAAF1765D5C510DF2@jislaptopdev> ...I don't think you can do this as a pure web service ...but you can invoke a "with events" protocol from an outside timer/event based call to invoke asynchronous Web Service method calls to implement callback events from a Web Service to its clients ...hope that makes sense. William -------------------------------------------------- From: "Shamil Salakhetdinov" Sent: Saturday, December 06, 2008 1:22 PM To: "'Access-D - VB'" Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? > Hi All, > > ASP.NET Web Services are known to be passive IOW they are activated when > called from outside, they do some work, and quit until another web request > comes... > > ...I wonder is it possible to develop active web service, which will be > activating itself once in a while (e.g. by using a kind of schedule > controlled by timer + some programmatic logic)... > > ...that active service could be something like endlessly > running/sleeping/running... between resets web service method IOW a web > service method with timeout set to infinitum... > > ...because ASP.NET web services application is by definition > multi-threaded > having one thread like the questioned/requested above shouldn't be an > issue > for the other IMO... > > ...this thread could be started by outside call or even (I guess) by web > service itself calling its own method with infinitum timeout on start-up > *via loopback web service call not directly* or something like that... > > ...that questioned/requested solution should be pure ASP.NET web service > one > as it's planned to be used on ASP.Net hosting without access to the host > operating system to run scheduled Windows Service etc... > > ...it could happen that questioned/requested Web Service solution is > built-in ASP.NET feature: I must say I didn't investigate the docs/I > didn't > try to make a POC solution - I expect somebody here might have done > something like that already - all I need is an answer: yes, it can be > done, > RTFM => {{URL}}} ... > > Thank you. > > -- > Shamil > > P.S. Sorry, I didn't do in advance investigation - I just didn't want to > get > negative answer by myself - and if positive answer exists I'd be glad to > share it with you, and you'll be ready for such a "tricky"/unusual (?) > solution using Web Services in advance... > > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From shamil at smsconsulting.spb.ru Mon Dec 8 15:55:50 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 9 Dec 2008 00:55:50 +0300 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? In-Reply-To: <501F012DCE314C7FAAF1765D5C510DF2@jislaptopdev> Message-ID: <000101c9597f$be403f50$6401a8c0@nant> Thank you for your responses Gustav, Drew and William. Here is what I have just found: Easy Background Tasks in ASP.NET http://blog.stackoverflow.com/2008/07/easy-background-tasks-in-aspnet/ IOW, the subject task was questioned several months before on StackOverflow, and a follow-up discussion (on the same referred above page) highlighted all pluses and minuses of proposed simple solution: I'd try to make it like that now: - use proposed above simple solution on "cron" ASP.Net web site/service, which will query URL on another main ASP.NET web site/service to perform recurrent tasks... It should work, shouldn't it? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, December 08, 2008 9:38 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? ...I don't think you can do this as a pure web service ...but you can invoke a "with events" protocol from an outside timer/event based call to invoke asynchronous Web Service method calls to implement callback events from a Web Service to its clients ...hope that makes sense. William -------------------------------------------------- From: "Shamil Salakhetdinov" Sent: Saturday, December 06, 2008 1:22 PM To: "'Access-D - VB'" Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? > Hi All, > > ASP.NET Web Services are known to be passive IOW they are activated when > called from outside, they do some work, and quit until another web request > comes... > > ...I wonder is it possible to develop active web service, which will be > activating itself once in a while (e.g. by using a kind of schedule > controlled by timer + some programmatic logic)... > > ...that active service could be something like endlessly > running/sleeping/running... between resets web service method IOW a web > service method with timeout set to infinitum... > > ...because ASP.NET web services application is by definition > multi-threaded > having one thread like the questioned/requested above shouldn't be an > issue > for the other IMO... > > ...this thread could be started by outside call or even (I guess) by web > service itself calling its own method with infinitum timeout on start-up > *via loopback web service call not directly* or something like that... > > ...that questioned/requested solution should be pure ASP.NET web service > one > as it's planned to be used on ASP.Net hosting without access to the host > operating system to run scheduled Windows Service etc... > > ...it could happen that questioned/requested Web Service solution is > built-in ASP.NET feature: I must say I didn't investigate the docs/I > didn't > try to make a POC solution - I expect somebody here might have done > something like that already - all I need is an answer: yes, it can be > done, > RTFM => {{URL}}} ... > > Thank you. > > -- > Shamil > > P.S. Sorry, I didn't do in advance investigation - I just didn't want to > get > negative answer by myself - and if positive answer exists I'd be glad to > share it with you, and you'll be ready for such a "tricky"/unusual (?) > solution using Web Services in advance... > > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Tue Dec 9 04:13:05 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 09 Dec 2008 11:13:05 +0100 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? Message-ID: Hi Shamil Well, I would run some kind of service, native of Windows or otherwise external in relation to the site. Like many other commenters calling the idea a "hack", I can't see anything but potential troubles by letting the site itself simulate a Cron job. /gustav >>> shamil at smsconsulting.spb.ru 08-12-2008 22:55 >>> Thank you for your responses Gustav, Drew and William. Here is what I have just found: Easy Background Tasks in ASP.NET http://blog.stackoverflow.com/2008/07/easy-background-tasks-in-aspnet/ IOW, the subject task was questioned several months before on StackOverflow, and a follow-up discussion (on the same referred above page) highlighted all pluses and minuses of proposed simple solution: I'd try to make it like that now: - use proposed above simple solution on "cron" ASP.Net web site/service, which will query URL on another main ASP.NET web site/service to perform recurrent tasks... It should work, shouldn't it? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, December 08, 2008 9:38 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? ...I don't think you can do this as a pure web service ...but you can invoke a "with events" protocol from an outside timer/event based call to invoke asynchronous Web Service method calls to implement callback events from a Web Service to its clients ...hope that makes sense. William -------------------------------------------------- From: "Shamil Salakhetdinov" Sent: Saturday, December 06, 2008 1:22 PM To: "'Access-D - VB'" Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? > Hi All, > > ASP.NET Web Services are known to be passive IOW they are activated when > called from outside, they do some work, and quit until another web request > comes... > > ...I wonder is it possible to develop active web service, which will be > activating itself once in a while (e.g. by using a kind of schedule > controlled by timer + some programmatic logic)... > > ...that active service could be something like endlessly > running/sleeping/running... between resets web service method IOW a web > service method with timeout set to infinitum... > > ...because ASP.NET web services application is by definition multi-threaded > having one thread like the questioned/requested above shouldn't be an issue > for the other IMO... > > ...this thread could be started by outside call or even (I guess) by web > service itself calling its own method with infinitum timeout on start-up > *via loopback web service call not directly* or something like that... > > ...that questioned/requested solution should be pure ASP.NET web service one > as it's planned to be used on ASP.Net hosting without access to the host > operating system to run scheduled Windows Service etc... > > ...it could happen that questioned/requested Web Service solution is > built-in ASP.NET feature: I must say I didn't investigate the docs/I didn't > try to make a POC solution - I expect somebody here might have done > something like that already - all I need is an answer: yes, it can be done, > RTFM => {{URL}}} ... > > Thank you. > > -- > Shamil > > P.S. Sorry, I didn't do in advance investigation - I just didn't want to get > negative answer by myself - and if positive answer exists I'd be glad to > share it with you, and you'll be ready for such a "tricky"/unusual (?) > solution using Web Services in advance... From shamil at smsconsulting.spb.ru Tue Dec 9 05:55:11 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 9 Dec 2008 14:55:11 +0300 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? In-Reply-To: Message-ID: <002801c959f4$ff7faee0$6401a8c0@nant> Hi Gustav, But my variation of the "hack" is to have Cron ASP.NET/ASP.NET web service application, which only duty will be to *ping/wake-up* another ASP.NET web service to perform recurrent/scheduled tasks: for this architecture/scenario I do not see currently any problems except that recurrent/schedule tasks shouldn't be very lengthy - and I do not plan to have them running longer than several seconds/half-minute/minute - that should be OK with ASP.NET/ASP.NET web service apps as they are multi-threaded and my recurrent/scheduled threads will be written assuming they are running in such environment... Am I missing something? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, December 09, 2008 1:13 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? Hi Shamil Well, I would run some kind of service, native of Windows or otherwise external in relation to the site. Like many other commenters calling the idea a "hack", I can't see anything but potential troubles by letting the site itself simulate a Cron job. /gustav >>> shamil at smsconsulting.spb.ru 08-12-2008 22:55 >>> Thank you for your responses Gustav, Drew and William. Here is what I have just found: Easy Background Tasks in ASP.NET http://blog.stackoverflow.com/2008/07/easy-background-tasks-in-aspnet/ IOW, the subject task was questioned several months before on StackOverflow, and a follow-up discussion (on the same referred above page) highlighted all pluses and minuses of proposed simple solution: I'd try to make it like that now: - use proposed above simple solution on "cron" ASP.Net web site/service, which will query URL on another main ASP.NET web site/service to perform recurrent tasks... It should work, shouldn't it? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, December 08, 2008 9:38 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? ...I don't think you can do this as a pure web service ...but you can invoke a "with events" protocol from an outside timer/event based call to invoke asynchronous Web Service method calls to implement callback events from a Web Service to its clients ...hope that makes sense. William -------------------------------------------------- From: "Shamil Salakhetdinov" Sent: Saturday, December 06, 2008 1:22 PM To: "'Access-D - VB'" Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? > Hi All, > > ASP.NET Web Services are known to be passive IOW they are activated when > called from outside, they do some work, and quit until another web request > comes... > > ...I wonder is it possible to develop active web service, which will be > activating itself once in a while (e.g. by using a kind of schedule > controlled by timer + some programmatic logic)... > > ...that active service could be something like endlessly > running/sleeping/running... between resets web service method IOW a web > service method with timeout set to infinitum... > > ...because ASP.NET web services application is by definition multi-threaded > having one thread like the questioned/requested above shouldn't be an issue > for the other IMO... > > ...this thread could be started by outside call or even (I guess) by web > service itself calling its own method with infinitum timeout on start-up > *via loopback web service call not directly* or something like that... > > ...that questioned/requested solution should be pure ASP.NET web service one > as it's planned to be used on ASP.Net hosting without access to the host > operating system to run scheduled Windows Service etc... > > ...it could happen that questioned/requested Web Service solution is > built-in ASP.NET feature: I must say I didn't investigate the docs/I didn't > try to make a POC solution - I expect somebody here might have done > something like that already - all I need is an answer: yes, it can be done, > RTFM => {{URL}}} ... > > Thank you. > > -- > Shamil > > P.S. Sorry, I didn't do in advance investigation - I just didn't want to get > negative answer by myself - and if positive answer exists I'd be glad to > share it with you, and you'll be ready for such a "tricky"/unusual (?) > solution using Web Services in advance... _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Tue Dec 9 07:26:41 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 09 Dec 2008 14:26:41 +0100 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? Message-ID: Hi Shamil No I don't think you are missing anything! Perhaps my mind is just missing to see the idea of this? What could such a Cron ASP.NET do to call a web service that you can't do with a tiny console app with a timer? Is this just for fun or the thinking, or are you looking for a clever way to meet a special challenge? /gustav >>> shamil at smsconsulting.spb.ru 09-12-2008 12:55 >>> Hi Gustav, But my variation of the "hack" is to have Cron ASP.NET/ASP.NET web service application, which only duty will be to *ping/wake-up* another ASP.NET web service to perform recurrent/scheduled tasks: for this architecture/scenario I do not see currently any problems except that recurrent/schedule tasks shouldn't be very lengthy - and I do not plan to have them running longer than several seconds/half-minute/minute - that should be OK with ASP.NET/ASP.NET web service apps as they are multi-threaded and my recurrent/scheduled threads will be written assuming they are running in such environment... Am I missing something? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, December 09, 2008 1:13 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? Hi Shamil Well, I would run some kind of service, native of Windows or otherwise external in relation to the site. Like many other commenters calling the idea a "hack", I can't see anything but potential troubles by letting the site itself simulate a Cron job. /gustav >>> shamil at smsconsulting.spb.ru 08-12-2008 22:55 >>> Thank you for your responses Gustav, Drew and William. Here is what I have just found: Easy Background Tasks in ASP.NET http://blog.stackoverflow.com/2008/07/easy-background-tasks-in-aspnet/ IOW, the subject task was questioned several months before on StackOverflow, and a follow-up discussion (on the same referred above page) highlighted all pluses and minuses of proposed simple solution: I'd try to make it like that now: - use proposed above simple solution on "cron" ASP.Net web site/service, which will query URL on another main ASP.NET web site/service to perform recurrent tasks... It should work, shouldn't it? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, December 08, 2008 9:38 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? ...I don't think you can do this as a pure web service ...but you can invoke a "with events" protocol from an outside timer/event based call to invoke asynchronous Web Service method calls to implement callback events from a Web Service to its clients ...hope that makes sense. William -------------------------------------------------- From: "Shamil Salakhetdinov" Sent: Saturday, December 06, 2008 1:22 PM To: "'Access-D - VB'" Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? > Hi All, > > ASP.NET Web Services are known to be passive IOW they are activated when > called from outside, they do some work, and quit until another web request > comes... > > ...I wonder is it possible to develop active web service, which will be > activating itself once in a while (e.g. by using a kind of schedule > controlled by timer + some programmatic logic)... > > ...that active service could be something like endlessly > running/sleeping/running... between resets web service method IOW a web > service method with timeout set to infinitum... > > ...because ASP.NET web services application is by definition multi-threaded > having one thread like the questioned/requested above shouldn't be an issue > for the other IMO... > > ...this thread could be started by outside call or even (I guess) by web > service itself calling its own method with infinitum timeout on start-up > *via loopback web service call not directly* or something like that... > > ...that questioned/requested solution should be pure ASP.NET web service one > as it's planned to be used on ASP.Net hosting without access to the host > operating system to run scheduled Windows Service etc... > > ...it could happen that questioned/requested Web Service solution is > built-in ASP.NET feature: I must say I didn't investigate the docs/I didn't > try to make a POC solution - I expect somebody here might have done > something like that already - all I need is an answer: yes, it can be done, > RTFM => {{URL}}} ... > > Thank you. > > -- > Shamil > > P.S. Sorry, I didn't do in advance investigation - I just didn't want to get > negative answer by myself - and if positive answer exists I'd be glad to > share it with you, and you'll be ready for such a "tricky"/unusual (?) > solution using Web Services in advance... From shamil at smsconsulting.spb.ru Tue Dec 9 07:57:52 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 9 Dec 2008 16:57:52 +0300 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? In-Reply-To: Message-ID: <002a01c95a06$22097ac0$6401a8c0@nant> Hi Gustav, I just need to perform some scheduled tasks running on ASP.NET hosting server, on which I cannot run nor console applications, nor windows services. And scheduled task should run automatically 24x7x365 independent from my PC being on or off. And I assume (/it's required) there is no other PC to "charge" with running console application/windows service 24x7x365... Let's say the scheduled task is a one watching some information on .NET, calculating stats, and e-mailing reports to admin/subscribers etc. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, December 09, 2008 4:27 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? Hi Shamil No I don't think you are missing anything! Perhaps my mind is just missing to see the idea of this? What could such a Cron ASP.NET do to call a web service that you can't do with a tiny console app with a timer? Is this just for fun or the thinking, or are you looking for a clever way to meet a special challenge? /gustav >>> shamil at smsconsulting.spb.ru 09-12-2008 12:55 >>> Hi Gustav, But my variation of the "hack" is to have Cron ASP.NET/ASP.NET web service application, which only duty will be to *ping/wake-up* another ASP.NET web service to perform recurrent/scheduled tasks: for this architecture/scenario I do not see currently any problems except that recurrent/schedule tasks shouldn't be very lengthy - and I do not plan to have them running longer than several seconds/half-minute/minute - that should be OK with ASP.NET/ASP.NET web service apps as they are multi-threaded and my recurrent/scheduled threads will be written assuming they are running in such environment... Am I missing something? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, December 09, 2008 1:13 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? Hi Shamil Well, I would run some kind of service, native of Windows or otherwise external in relation to the site. Like many other commenters calling the idea a "hack", I can't see anything but potential troubles by letting the site itself simulate a Cron job. /gustav >>> shamil at smsconsulting.spb.ru 08-12-2008 22:55 >>> Thank you for your responses Gustav, Drew and William. Here is what I have just found: Easy Background Tasks in ASP.NET http://blog.stackoverflow.com/2008/07/easy-background-tasks-in-aspnet/ IOW, the subject task was questioned several months before on StackOverflow, and a follow-up discussion (on the same referred above page) highlighted all pluses and minuses of proposed simple solution: I'd try to make it like that now: - use proposed above simple solution on "cron" ASP.Net web site/service, which will query URL on another main ASP.NET web site/service to perform recurrent tasks... It should work, shouldn't it? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, December 08, 2008 9:38 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? ...I don't think you can do this as a pure web service ...but you can invoke a "with events" protocol from an outside timer/event based call to invoke asynchronous Web Service method calls to implement callback events from a Web Service to its clients ...hope that makes sense. William -------------------------------------------------- From: "Shamil Salakhetdinov" Sent: Saturday, December 06, 2008 1:22 PM To: "'Access-D - VB'" Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? > Hi All, > > ASP.NET Web Services are known to be passive IOW they are activated when > called from outside, they do some work, and quit until another web request > comes... > > ...I wonder is it possible to develop active web service, which will be > activating itself once in a while (e.g. by using a kind of schedule > controlled by timer + some programmatic logic)... > > ...that active service could be something like endlessly > running/sleeping/running... between resets web service method IOW a web > service method with timeout set to infinitum... > > ...because ASP.NET web services application is by definition multi-threaded > having one thread like the questioned/requested above shouldn't be an issue > for the other IMO... > > ...this thread could be started by outside call or even (I guess) by web > service itself calling its own method with infinitum timeout on start-up > *via loopback web service call not directly* or something like that... > > ...that questioned/requested solution should be pure ASP.NET web service one > as it's planned to be used on ASP.Net hosting without access to the host > operating system to run scheduled Windows Service etc... > > ...it could happen that questioned/requested Web Service solution is > built-in ASP.NET feature: I must say I didn't investigate the docs/I didn't > try to make a POC solution - I expect somebody here might have done > something like that already - all I need is an answer: yes, it can be done, > RTFM => {{URL}}} ... > > Thank you. > > -- > Shamil > > P.S. Sorry, I didn't do in advance investigation - I just didn't want to get > negative answer by myself - and if positive answer exists I'd be glad to > share it with you, and you'll be ready for such a "tricky"/unusual (?) > solution using Web Services in advance... _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Tue Dec 9 08:28:34 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 09 Dec 2008 15:28:34 +0100 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? Message-ID: Hi Shamil OK, that explains. With no pc/server running contiguously nowhere else, you will have to do it that way. /gustav >>> shamil at smsconsulting.spb.ru 09-12-2008 14:57 >>> Hi Gustav, I just need to perform some scheduled tasks running on ASP.NET hosting server, on which I cannot run nor console applications, nor windows services. And scheduled task should run automatically 24x7x365 independent from my PC being on or off. And I assume (/it's required) there is no other PC to "charge" with running console application/windows service 24x7x365... Let's say the scheduled task is a one watching some information on .NET, calculating stats, and e-mailing reports to admin/subscribers etc. Thank you. -- Shamil From shamil at smsconsulting.spb.ru Tue Dec 9 08:58:49 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 9 Dec 2008 17:58:49 +0300 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? In-Reply-To: Message-ID: <002b01c95a0e$a5dce910$6401a8c0@nant> Hi Gustav, OK. And I'm aware there exists getting developed rapidly "cloud computing" concept/technologies(http://en.wikipedia.org/wiki/Cloud_computing ) where one can rent a virtual PC with windows with IIS, .NET Framework etc. but the renting of such a "cloud server" is still considerably more expensive (am I missing something?) than renting ASP.Net hosting, which for my application case could be just around USD10/month... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, December 09, 2008 5:29 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? Hi Shamil OK, that explains. With no pc/server running contiguously nowhere else, you will have to do it that way. /gustav >>> shamil at smsconsulting.spb.ru 09-12-2008 14:57 >>> Hi Gustav, I just need to perform some scheduled tasks running on ASP.NET hosting server, on which I cannot run nor console applications, nor windows services. And scheduled task should run automatically 24x7x365 independent from my PC being on or off. And I assume (/it's required) there is no other PC to "charge" with running console application/windows service 24x7x365... Let's say the scheduled task is a one watching some information on .NET, calculating stats, and e-mailing reports to admin/subscribers etc. Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Tue Dec 9 09:37:51 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 09 Dec 2008 16:37:51 +0100 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? Message-ID: Hi Shamil > .. renting of such a "cloud server" is still considerably more expensive > .. than renting ASP.Net hosting .. Actually, I don't think so: http://aws.amazon.com/ec2/#os How much computing power does it take to fire one request to a web service? It must be close to nothing. One instance for one hour per day would be $3.75 per month (note the calculator). Of course, if you need more than one call per day it will be more expensive. We have yet to see a pricing scheme for MS Azure but I doubt it will beat that of Amazon AWS. /gustav >>> shamil at smsconsulting.spb.ru 09-12-2008 15:58 >>> Hi Gustav, OK. And I'm aware there exists getting developed rapidly "cloud computing" concept/technologies(http://en.wikipedia.org/wiki/Cloud_computing ) where one can rent a virtual PC with windows with IIS, .NET Framework etc. but the renting of such a "cloud server" is still considerably more expensive (am I missing something?) than renting ASP.Net hosting, which for my application case could be just around USD10/month... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, December 09, 2008 5:29 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? Hi Shamil OK, that explains. With no pc/server running contiguously nowhere else, you will have to do it that way. /gustav >>> shamil at smsconsulting.spb.ru 09-12-2008 14:57 >>> Hi Gustav, I just need to perform some scheduled tasks running on ASP.NET hosting server, on which I cannot run nor console applications, nor windows services. And scheduled task should run automatically 24x7x365 independent from my PC being on or off. And I assume (/it's required) there is no other PC to "charge" with running console application/windows service 24x7x365... Let's say the scheduled task is a one watching some information on .NET, calculating stats, and e-mailing reports to admin/subscribers etc. Thank you. -- Shamil From Gustav at cactus.dk Tue Dec 9 09:55:22 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 09 Dec 2008 16:55:22 +0100 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? Message-ID: Hi Shamil I may have to correct myself (hate that), but why pay USD 10 or 3.75 per month when one (1) Euro may do in your case: http://www.unoeuro.com/products.php This is a very good and reliable on no-nonsense hosting company we highly recommend to our clients and use ourselves. /gustav >>> Gustav at cactus.dk 09-12-2008 16:37 >>> Hi Shamil > .. renting of such a "cloud server" is still considerably more expensive > .. than renting ASP.Net hosting .. Actually, I don't think so: http://aws.amazon.com/ec2/#os How much computing power does it take to fire one request to a web service? It must be close to nothing. One instance for one hour per day would be $3.75 per month (note the calculator). Of course, if you need more than one call per day it will be more expensive. We have yet to see a pricing scheme for MS Azure but I doubt it will beat that of Amazon AWS. /gustav >>> shamil at smsconsulting.spb.ru 09-12-2008 15:58 >>> Hi Gustav, OK. And I'm aware there exists getting developed rapidly "cloud computing" concept/technologies(http://en.wikipedia.org/wiki/Cloud_computing ) where one can rent a virtual PC with windows with IIS, .NET Framework etc. but the renting of such a "cloud server" is still considerably more expensive (am I missing something?) than renting ASP.Net hosting, which for my application case could be just around USD10/month... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, December 09, 2008 5:29 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? Hi Shamil OK, that explains. With no pc/server running contiguously nowhere else, you will have to do it that way. /gustav >>> shamil at smsconsulting.spb.ru 09-12-2008 14:57 >>> Hi Gustav, I just need to perform some scheduled tasks running on ASP.NET hosting server, on which I cannot run nor console applications, nor windows services. And scheduled task should run automatically 24x7x365 independent from my PC being on or off. And I assume (/it's required) there is no other PC to "charge" with running console application/windows service 24x7x365... Let's say the scheduled task is a one watching some information on .NET, calculating stats, and e-mailing reports to admin/subscribers etc. Thank you. -- Shamil From Gustav at cactus.dk Thu Dec 11 04:42:15 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 11 Dec 2008 11:42:15 +0100 Subject: [dba-VB] Article: Explore the Data Access Options in Visual Studio 2008 Message-ID: Hi all Julia Lerman wrote this on the different methods to access data in VS2008 and .Net 3.5: http://www.devx.com/codemag/Article/39751/0/page/1 This article has attempted to review some of the bigger areas of comparison between the key data access APIs in .NET 3.5: ADO.NET "Classic", LINQ to SQL, LINQ to Entities, Entity Framework Object Services, and Entity Framework EntityClient. While some of the differences will be very useful to be aware of when you start coding, others may make the difference between choosing one technology over the other for certain scenarios or even for your entire organization. From andy at minstersystems.co.uk Thu Dec 11 07:43:34 2008 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 11 Dec 2008 13:43:34 -0000 Subject: [dba-VB] Article: Explore the Data Access Options in Visual Studio2008 In-Reply-To: Message-ID: Thanks for the post Gustav. Andy Lacey -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 11 December 2008 10:42 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Article: Explore the Data Access Options in Visual Studio2008 Hi all Julia Lerman wrote this on the different methods to access data in VS2008 and .Net 3.5: http://www.devx.com/codemag/Article/39751/0/page/1 This article has attempted to review some of the bigger areas of comparison between the key data access APIs in .NET 3.5: ADO.NET "Classic", LINQ to SQL, LINQ to Entities, Entity Framework Object Services, and Entity Framework EntityClient. While some of the differences will be very useful to be aware of when you start coding, others may make the difference between choosing one technology over the other for certain scenarios or even for your entire organization. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From accessd at shaw.ca Thu Dec 11 10:54:29 2008 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 11 Dec 2008 08:54:29 -0800 Subject: [dba-VB] Article: Explore the Data Access Options in Visual Studio 2008 In-Reply-To: References: Message-ID: <0B83B84382824D5A990033859C4F626E@creativesystemdesigns.com> Hi Gustav: That is a very interesting article especially when the many links are followed. I always tend to shun away from standards that are too specific as I have learned my lessons being an expert in DLS 'Dead Language Society'. ;-) Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, December 11, 2008 2:42 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Article: Explore the Data Access Options in Visual Studio 2008 Hi all Julia Lerman wrote this on the different methods to access data in VS2008 and .Net 3.5: http://www.devx.com/codemag/Article/39751/0/page/1 This article has attempted to review some of the bigger areas of comparison between the key data access APIs in .NET 3.5: ADO.NET "Classic", LINQ to SQL, LINQ to Entities, Entity Framework Object Services, and Entity Framework EntityClient. While some of the differences will be very useful to be aware of when you start coding, others may make the difference between choosing one technology over the other for certain scenarios or even for your entire organization. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Dec 15 06:09:43 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 15 Dec 2008 13:09:43 +0100 Subject: [dba-VB] Subversion, TortoiseSVN and VisualSVN Message-ID: Hi Shamil et al I noticed that a build-server, TeamCity 4.0, is for free download: http://www.jetbrains.com/teamcity/ Could be of very good value as it claims to verify the code before it is stored in the version system: http://www.jetbrains.com/teamcity/delayed_commit.html /gustav >>> shamil at smsconsulting.spb.ru 20-05-2008 19:29 >>> Hello John, I have occasionally found today a good article on (distributed) version control systems - it points on the main issues with Subversion, which I did also experienced (especially that "Subversion fails to merge changes when files or directories are renamed" ) and which forced me to not use Subversion broadly. Have a look: Distributed Version Control Systems: A Not-So-Quick Guide Through http://www.infoq.com/articles/dvcs-guide <<< Or a more precise question: Why Central VCS (and notably Subversion) are not satisfying? Several things are blamed on Subversion: Major reason is that branching is easy but merging is a pain (but one doesn't go without the other). And it's likely that any consequent project you'll work on will need easy gymnastic with splits, dev, test branches. Subversion has no History-aware merge capability, forcing its users to manually track exactly which revisions have been merged between branches making it error-prone. No way to push changes to another user (without submitting to the Central Server). Subversion fails to merge changes when files or directories are renamed. The trunk/tags/branches convention can be considered misleading. Offline commits are not possible. .svn files pollute your local directories. svn:external can be harmful to handle. Performance The modern DVCS fixed those issues with both their own implementation tricks and from the fact that they were distributed. But as we will see in conclusion, Subversion did not resign yet. >>> Bazaar seems to be one of the best free open source options for modern DVCSs... -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, April 25, 2008 8:31 PM To: VBA Subject: [dba-VB] Subversion, TortoiseSVN and VisualSVN OK, I have been badgered and goaded into coming into the 21st century. Not to mention I can't figure out how to safely and effectively share development of my .Net programs on all of my machines. So I am trying to get Subversion installed and functioning. So of course I come here seeking advice or to start a user group (goad and prod you guys) if no one is using this thing. I installed VisualSVN and it told me I had to install TortoiseSVN to get full functionality. It implied that it would install Subversion as well. The install did not ask any "install" questions such as where do you want the database to go etc. My intention is to place the Subversion database on one of my servers, share the directory, then place the various clients (TortoiseSVN and VisualSVN on each machine which I develop on. So my first question, is anyone out there using this thing? Is anyone interested in using this and sharing the pain of figuring it out? -- John W. Colby www.ColbyConsulting.com From john at winhaven.net Mon Dec 22 23:38:24 2008 From: john at winhaven.net (John Bartow) Date: Mon, 22 Dec 2008 23:38:24 -0600 Subject: [dba-VB] Happy Hanukkah Message-ID: <008e01c964c0$ac552750$04ff75f0$@net> A Happy Hanukkah from the Database Advisors Board of Directors. Here's a little JibJab fun: http://www.winhaven.net/misc/HappyHanukkahDBA.html From john at winhaven.net Wed Dec 24 12:00:25 2008 From: john at winhaven.net (John Bartow) Date: Wed, 24 Dec 2008 12:00:25 -0600 Subject: [dba-VB] Merry Christmas - Its a Wonderful Life Message-ID: <000e01c965f1$7f6ea090$7e4be1b0$@net> Merry Christmas Hanukkah from the Database Advisors Board of Directors. If you've seen "It's a Wonderful Life", here's a little JibJab Christmas fun: (Some of the BoD didn't make the Hanukkah greeting so here's the rest in "It's a Wonderful Life") http://www.winhaven.net/misc/DBAItsaWonderfulLife.htm John B. PS: Parts were limited so I had to do what I had to do ;o) From garykjos at gmail.com Wed Dec 24 12:11:16 2008 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 24 Dec 2008 12:11:16 -0600 Subject: [dba-VB] [dba-OT] Merry Christmas - Its a Wonderful Life In-Reply-To: <000e01c965f1$7f6ea090$7e4be1b0$@net> References: <000e01c965f1$7f6ea090$7e4be1b0$@net> Message-ID: That is great! Merry Christmas! GK On 12/24/08, John Bartow wrote: > Merry Christmas Hanukkah from the Database Advisors Board of Directors. > > If you've seen "It's a Wonderful Life", here's a little JibJab Christmas > fun: > (Some of the BoD didn't make the Hanukkah greeting so here's the rest in > "It's a Wonderful Life") > http://www.winhaven.net/misc/DBAItsaWonderfulLife.htm > > John B. > PS: Parts were limited so I had to do what I had to do ;o) > > _______________________________________________ > dba-OT mailing list > dba-OT at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-ot > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From ridermark at gmail.com Wed Dec 24 22:16:39 2008 From: ridermark at gmail.com (Mark Rider) Date: Wed, 24 Dec 2008 22:16:39 -0600 Subject: [dba-VB] Merry Christmas - Its a Wonderful Life In-Reply-To: <000e01c965f1$7f6ea090$7e4be1b0$@net> References: <000e01c965f1$7f6ea090$7e4be1b0$@net> Message-ID: Happy Holidays! **(See Footnote 1) ** Footnote 1: Please accept with no obligation, implied or implicit, our best wishes for an environmentally conscious, socially responsible, low stress, non-addictive, gender neutral, celebration of the winter solstice holiday, practiced within the most enjoyable traditions of the religious persuasion of your choice, or secular practices of your choice, with respect for the religious/secular persuasions and/or traditions of others, or their choice not to practice religious or secular traditions at all . . . and a fiscally successful, personally fulfilling, and medically uncomplicated recognition of the onset of the generally accepted calendar year 2009, but not without due respect for the calendars of choice of other cultures whose contributions to society have helped make America great, (not to imply that America is necessarily greater than any other country or is the only "AMERICA" in the western hemisphere), and without regard to the race, creed, color, age, physical ability, religious faith, choice of computer platform, or sexual preference of the wishee. By accepting this greeting, you are accepting these terms. This greeting is subject to clarification or withdrawal. It is freely transferable with no alteration to the original greeting. It implies no promise by the wisher to actually implement any of the wishes for her/himself or others, and is void where prohibited by law, and is revocable at the sole discretion of the wisher. This wish is warranted to perform as expected within the usual application of good tidings for a period of one year, or until the issuance of a subsequent holiday greeting, whichever comes first, and warranty is limited to replacement of this wish or issuance of a new wish at the sole discretion of the wisher. The wishee further agrees to hold harmless and indemnify the wisher, along with its heirs, assigns, officers, directors, shareholders . . . -- Mark Rider http://commonsensesecurity.info Try to learn something about everything and everything about something. - Thomas H. Huxley From Gustav at cactus.dk Thu Dec 25 16:47:12 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 25 Dec 2008 23:47:12 +0100 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? Message-ID: Hi Shamil I recalled your question when I read up on Windows Workflow Foundation. To recap, this includes four services: *- Persistence Services Persistence services can be used to save a workflow instance to a data store if a workflow contains a long-running process. Transaction Services You can use transaction services to ensure your data consistency in the event of communication or other failure. Tracking Services Tracking services can be used to record which activities will execute in each workflow instance. They can also record when each activity executes. Use tracking services to troubleshoot or debug workflows. Scheduling Services Scheduling services can be used to control how a workflow runtime creates threads for the instances of your workflow. *- Of these Scheduling Service (and Persistence Service?) perhaps could solve your task (quote): You may host your workflow in a server-based host application, such as an ASP.NET Web application or Web service. These host applications donate a thread to the workflow instance, so that the instance remains synchronized with the application. To use this thread, utilize the ManualWorkflowSchedulerService instead of the DefaultWorkflowSchedulerService That might save you from reinventing the wheel or spending time on some proprietary system ... /gustav >>> shamil at smsconsulting.spb.ru 06-12-2008 19:22 >>> Hi All, ASP.NET Web Services are known to be passive IOW they are activated when called from outside, they do some work, and quit until another web request comes... ...I wonder is it possible to develop active web service, which will be activating itself once in a while (e.g. by using a kind of schedule controlled by timer + some programmatic logic)... ...that active service could be something like endlessly running/sleeping/running... between resets web service method IOW a web service method with timeout set to infinitum... ...because ASP.NET web services application is by definition multi-threaded having one thread like the questioned/requested above shouldn't be an issue for the other IMO... ...this thread could be started by outside call or even (I guess) by web service itself calling its own method with infinitum timeout on start-up *via loopback web service call not directly* or something like that... ...that questioned/requested solution should be pure ASP.NET web service one as it's planned to be used on ASP.Net hosting without access to the host operating system to run scheduled Windows Service etc... ...it could happen that questioned/requested Web Service solution is built-in ASP.NET feature: I must say I didn't investigate the docs/I didn't try to make a POC solution - I expect somebody here might have done something like that already - all I need is an answer: yes, it can be done, RTFM => {{URL}}} ... Thank you. -- Shamil P.S. Sorry, I didn't do in advance investigation - I just didn't want to get negative answer by myself - and if positive answer exists I'd be glad to share it with you, and you'll be ready for such a "tricky"/unusual (?) solution using Web Services in advance... From Gustav at cactus.dk Fri Dec 26 06:57:37 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 26 Dec 2008 13:57:37 +0100 Subject: [dba-VB] Windows Presentation Foundation Message-ID: Hi all Just curious, is anyone using the Windows Presentation Foundation (Avalon) to create Windows apps? http://en.wikipedia.org/wiki/Windows_Presentation_Foundation Looks much to me like creating "browser styled" Windows apps. Any good examples? /gustav From mmattys at rochester.rr.com Fri Dec 26 07:15:20 2008 From: mmattys at rochester.rr.com (Mike Mattys) Date: Fri, 26 Dec 2008 08:15:20 -0500 Subject: [dba-VB] Windows Presentation Foundation References: Message-ID: <90F8C0382AAB4E10A08081C337F90253@Mattys> Hi Gustav, http://windowsclient.net/downloads/folders/wpfsamples/default.aspx - Michael R Mattys MapPoint and Database Dev www.mattysconsulting.com - ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, December 26, 2008 7:57 AM Subject: [dba-VB] Windows Presentation Foundation > Hi all > > Just curious, is anyone using the Windows Presentation Foundation (Avalon) > to create Windows apps? > > http://en.wikipedia.org/wiki/Windows_Presentation_Foundation > > Looks much to me like creating "browser styled" Windows apps. > Any good examples? > > /gustav > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > From Gustav at cactus.dk Fri Dec 26 14:57:02 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 26 Dec 2008 21:57:02 +0100 Subject: [dba-VB] Windows Presentation Foundation Message-ID: Hi Michael Thanks! Lots of stuff. /gustav >>> mmattys at rochester.rr.com 26-12-2008 14:15 >>> Hi Gustav, http://windowsclient.net/downloads/folders/wpfsamples/default.aspx - Michael R Mattys MapPoint and Database Dev www.mattysconsulting.com - ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, December 26, 2008 7:57 AM Subject: [dba-VB] Windows Presentation Foundation > Hi all > > Just curious, is anyone using the Windows Presentation Foundation (Avalon) > to create Windows apps? > > http://en.wikipedia.org/wiki/Windows_Presentation_Foundation > > Looks much to me like creating "browser styled" Windows apps. > Any good examples? > > /gustav From shamil at smsconsulting.spb.ru Mon Dec 29 07:23:53 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 29 Dec 2008 16:23:53 +0300 Subject: [dba-VB] Windows Presentation Foundation In-Reply-To: Message-ID: <001901c969b8$b2fd1840$6401a8c0@nant> Hi Gustav, Here is a good sample: http://blogs.msdn.com/coding4fun/archive/2006/11/06/999502.aspx Many more can be found on MSDN and over Internet. I'm developing a project with WPF client GUI here now. It's a great technology. You can create any kind of GUI using WPF. In fact XAML, WPF, XBAP and SilverLight people say are currently becoming mainstream technologies to develop rich user interface (for Windows).. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto: dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, December 26, 2008 3:58 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Windows Presentation Foundation Hi all Just curious, is anyone using the Windows Presentation Foundation (Avalon) to create Windows apps? http://en.wikipedia.org/wiki/Windows_Presentation_Foundation Looks much to me like creating "browser styled" Windows apps. Any good examples? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3225 (20080629) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3225 (20080629) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -- Shamil From shamil at smsconsulting.spb.ru Mon Dec 29 07:28:58 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 29 Dec 2008 16:28:58 +0300 Subject: [dba-VB] Windows Presentation Foundation In-Reply-To: Message-ID: <003001c969b9$69682930$6401a8c0@nant> Hi Gustav, Here is a good sample: http://blogs.msdn.com/coding4fun/archive/2006/11/06/999502.aspx Many more can be found on MSDN and over Internet. I'm developing a project with WPF client GUI here now. It's a great technology. You can create any kind of GUI using WPF. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, December 26, 2008 3:58 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Windows Presentation Foundation Hi all Just curious, is anyone using the Windows Presentation Foundation (Avalon) to create Windows apps? http://en.wikipedia.org/wiki/Windows_Presentation_Foundation Looks much to me like creating "browser styled" Windows apps. Any good examples? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3225 (20080629) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3225 (20080629) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -- Shamil From shamil at smsconsulting.spb.ru Mon Dec 29 07:28:59 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 29 Dec 2008 16:28:59 +0300 Subject: [dba-VB] Is it possible to develop active ASP.NET Web Services? In-Reply-To: Message-ID: <003401c969b9$6aaeb2f0$6401a8c0@nant> Hi Gustav, Yes, Windows Workflow Foundation and ManualWorkflowSchedulerService seems to be the answer on my question. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, December 26, 2008 1:47 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Is it possible to develop active ASP.NET Web Services? Hi Shamil I recalled your question when I read up on Windows Workflow Foundation. To recap, this includes four services: *- Persistence Services Persistence services can be used to save a workdlow instance to a data store if a workflow contains a long-running process. Transaction Services You can use transaction services to ensure your data consistency in the event of communication or other failure. Tracking Services Tracking services can be used to record which activities will execute in each workflow instance. They can also record when each activity executes. Use tracking services to troubleshoot or debug workflows. Scheduling Services Scheduling services can be used to control how a workflow runtime creates threads for the instances of your workflow. *- Of these Scheduling Service (and Persistence Service?) perhaps could solve your task (quote): You may host your workflow in a server-based host application, such as an ASP.NET Web application or Web service. These host applications donate a thread to the workflow instance, so that the instance remains synchronized with the application. To use this thread, utilize the ManualWorkflowSchedulerService instead of the DefaultWorkflowSchedulerService That might save you from reinventing the wheel or spending time on some proprietary system ... /gustav >>> shamil at smsconsulting.spb.ru 06-12-2008 19:22 >>> Hi All, ASP.NET Web Services are known to be passive IOW they are activated when called from outside, they do some work, and quit until another web request comes... ...I wonder is it possible to develop active web service, which will be activating itself once in a while (e.g. by using a kind of schedule controlled by timer + some programmatic logic)... ...that active service could be something like endlessly running/sleeping/running... between resets web service method IOW a web service method with timeout set to infinitum... ...because ASP.NET web services application is by definition multi-threaded having one thread like the questioned/requested above shouldn't be an issue for the other IMO... ...this thread could be started by outside call or even (I guess) by web service itself calling its own method with infinitum timeout on start-up *via loopback web service call not directly* or something like that... ...that questioned/requested solution should be pure ASP.NET web service one as it's planned to be used on ASP.Net hosting without access to the host operating system to run scheduled Windows Service etc... ...it could happen that questioned/requested Web Service solution is built-in ASP.NET feature: I must say I didn't investigate the docs/I didn't try to make a POC solution - I expect somebody here might have done something like that already - all I need is an answer: yes, it can be done, RTFM => {{URL}}} ... Thank you. -- Shamil P.S. Sorry, I didn't do in advance investigation - I just didn't want to get negative answer by myself - and if positive answer exists I'd be glad to share it with you, and you'll be ready for such a "tricky"/unusual (?) solution using Web Services in advance... _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3225 (20080629) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3225 (20080629) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -- Shamil From Robert at webedb.com Mon Dec 29 08:42:37 2008 From: Robert at webedb.com (Robert) Date: Mon, 29 Dec 2008 09:42:37 -0500 Subject: [dba-VB] dba-VB Digest, Vol 62, Issue 10 Message-ID: Gustav, I am currently rewriting a large MS Access application that uses a SQL database into WPF. ---------------------------------------- From: dba-vb-request at databaseadvisors.com Sent: Friday, December 26, 2008 1:01 PM To: dba-vb at databaseadvisors.com Subject: dba-VB Digest, Vol 62, Issue 10 Date: Fri, 26 Dec 2008 13:57:37 +0100 From: "Gustav Brock" Subject: [dba-VB] Windows Presentation Foundation To: Message-ID: Content-Type: text/plain; charset=US-ASCII Hi all Just curious, is anyone using the Windows Presentation Foundation (Avalon) to create Windows apps? http://en.wikipedia.org/wiki/Windows_Presentation_Foundation Looks much to me like creating "browser styled" Windows apps. Any good examples? /gustav From Gustav at cactus.dk Mon Dec 29 08:50:30 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 29 Dec 2008 15:50:30 +0100 Subject: [dba-VB] Windows Presentation Foundation Message-ID: Hi Shamil Thanks, that seems to cover quite a bit. /gustav >>> shamil at smsconsulting.spb.ru 29-12-2008 14:23 >>> Hi Gustav, Here is a good sample: http://blogs.msdn.com/coding4fun/archive/2006/11/06/999502.aspx Many more can be found on MSDN and over Internet. I'm developing a project with WPF client GUI here now. It's a great technology. You can create any kind of GUI using WPF. In fact XAML, WPF, XBAP and SilverLight people say are currently becoming mainstream technologies to develop rich user interface (for Windows).. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto: dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, December 26, 2008 3:58 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Windows Presentation Foundation Hi all Just curious, is anyone using the Windows Presentation Foundation (Avalon) to create Windows apps? http://en.wikipedia.org/wiki/Windows_Presentation_Foundation Looks much to me like creating "browser styled" Windows apps. Any good examples? /gustav From shamil at smsconsulting.spb.ru Mon Dec 29 09:06:26 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 29 Dec 2008 18:06:26 +0300 Subject: [dba-VB] Windows Presentation Foundation In-Reply-To: Message-ID: <000001c969c7$0660def0$6401a8c0@nant> Hi Gustav, Yes, especially very advanced XAML declarative features allowing making great looking user friendly interfaces with a few imperative coding... -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, December 29, 2008 5:51 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Windows Presentation Foundation Hi Shamil Thanks, that seems to cover quite a bit. /gustav >>> shamil at smsconsulting.spb.ru 29-12-2008 14:23 >>> Hi Gustav, Here is a good sample: http://blogs.msdn.com/coding4fun/archive/2006/11/06/999502.aspx Many more can be found on MSDN and over Internet. I'm developing a project with WPF client GUI here now. It's a great technology. You can create any kind of GUI using WPF. In fact XAML, WPF, XBAP and SilverLight people say are currently becoming mainstream technologies to develop rich user interface (for Windows).. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto: dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, December 26, 2008 3:58 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Windows Presentation Foundation Hi all Just curious, is anyone using the Windows Presentation Foundation (Avalon) to create Windows apps? http://en.wikipedia.org/wiki/Windows_Presentation_Foundation Looks much to me like creating "browser styled" Windows apps. Any good examples? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Mon Dec 29 09:55:22 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 29 Dec 2008 18:55:22 +0300 Subject: [dba-VB] Was: RE: Windows Presentation Foundation In-Reply-To: <000001c969c7$0660def0$6401a8c0@nant> Message-ID: <000a01c969cd$df197710$6401a8c0@nant> Hi Gustav, Some more info/samples of XAML, WPF, XBAP: http://shamils-4.hosting.parking.ru/xbap/PostCard3D.xbap - MSDN XBAP sample I tested online http://www.wpflearningexperience.com/webcasts/babygreeting/XbapBabyGreeting. xbap - XBAP online sample Note: using XBAP needs IE (it worked also (partially) with Opera or FirFox (can't remember now)) What can be done within XBAP sandbox frames/plug-ins running within browser can be similarly or even in the more advanced way done for WPF FE client applications or for SilverLight apps... And here are useful XAML "power toys" - http://karlshifflett.wordpress.com/xaml-power-toys/ - I haven't used them yet but I do plan to do that with a first good occasion - a business application to get an interface developed using WPF.... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, December 29, 2008 6:06 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Windows Presentation Foundation Hi Gustav, Yes, especially very advanced XAML declarative features allowing making great looking user friendly interfaces with a few imperative coding... -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, December 29, 2008 5:51 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Windows Presentation Foundation Hi Shamil Thanks, that seems to cover quite a bit. /gustav >>> shamil at smsconsulting.spb.ru 29-12-2008 14:23 >>> Hi Gustav, Here is a good sample: http://blogs.msdn.com/coding4fun/archive/2006/11/06/999502.aspx Many more can be found on MSDN and over Internet. I'm developing a project with WPF client GUI here now. It's a great technology. You can create any kind of GUI using WPF. In fact XAML, WPF, XBAP and SilverLight people say are currently becoming mainstream technologies to develop rich user interface (for Windows).. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto: dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, December 26, 2008 3:58 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Windows Presentation Foundation Hi all Just curious, is anyone using the Windows Presentation Foundation (Avalon) to create Windows apps? http://en.wikipedia.org/wiki/Windows_Presentation_Foundation Looks much to me like creating "browser styled" Windows apps. Any good examples? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com