473,326 Members | 2,110 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

SyncLock across application boundaries


Hi

I'm working on a webservice, which calls methods in a normal
WindowsApplication, to get work done. However only one instance of this
WindowsApplication can run at a time, and unfortunately some of the methods
I need to call is on application level.

Until now, only my own webservices has been accessing the
WindowsApplication, so I've been able to handle access to it by using:

SyncLock "WindowsApplicationUniqieName"
...code accessing the application
End SyncLock

(guess this works because "WindowsApplicationUniqieName" is immutable
accross IIS applications boundaries)

However on the same server other applications might need to call methods in
the same WindowsApplication, so I need to come up with antoher
solution...but I can't really figure out how to solve this problem......

any ideas would be greatly appreciated....

TIA

Søren

Nov 23 '05 #1
0 782

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: nickdu | last post by:
I'm trying to isolate "applications" into their own application domain within a single process. I've quoted applications because it's a logical representation of an application. Basically it...
3
by: kathy | last post by:
I have a general question. If I write a application using any language(C/C++/C#/VB). How to make sure it only has one instance running? What I need to write in source code? If multi-instances...
4
by: Cowboy \(Gregory A. Beamer\) | last post by:
Background: ------------- The idea started as a single sign on type of application. Having tested it before, I knew we could institute single sign on using the same Authentication Cookie name (in...
2
by: Martin | last post by:
Hi, I have been trying to find a good article that would explain the scalability of the cache and application variables accross a web farm. I believe that application variables will not scale...
4
by: hoochiegooch | last post by:
Hi, all. I'm have some difficulty on Win2K3 trying to spawn a devenv.exe process from my ASP.NET app. I've set up an intranet website to allow engineers to launch builds of our product...
3
by: Ily | last post by:
Hi I have two applications (both in asp.net 2.0). I want both to have a common company wide look and feel How can I do this using master pages? Also If new applications are added, I want...
3
by: =?Utf-8?B?QmFycnkgR2lsYmVydA==?= | last post by:
I would like a particular business object to ask for validation when a property is set to a specific value. In this case, I have a TimeStart property and a TimeEnd property. When creating a new...
4
by: divy24 | last post by:
Hi , Is it possible to get Forms Collection of the Projects in an Application at a common place in the application?.My requirement is to get Form Names in the application and do some processing on...
15
by: (PeteCresswell) | last post by:
Some time within the next nine months, there's a pretty good chance I'll have the "opportunity" to port a bond trading system that I wrote - whose front end is currently MS Access - to .NET. ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.