473,414 Members | 1,738 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,414 software developers and data experts.

how to run web services in seperate processes

I am wring asp webservices in managed c++ for IIS 5.1 runing on XP SP2. Even
though I set the aplication protection to High (Isolated), each service seems
to run in the same process. I wrote a couple of test servies in c# which
reurned the process id and got the same results. The process they run in has
the same id as aspnet_wp.exe of which there is only one instance running. How
can I get each application to run in a seperate process?

May 25 '07 #1
2 1675
In IIS 5, you can't really. However, each application is running in its' own
separate memory space within the IIS ASP.Net process, and is managed
separately from the other web application sub-processes. In IIS 6 and above,
you can assign Application Pools to one or more web applications, which
gives you better Control over them.

--
HTH,

Kevin Spencer
Microsoft MVP

Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net

"Pma_Shane" <Pm******@discussions.microsoft.comwrote in message
news:C4**********************************@microsof t.com...
>I am wring asp webservices in managed c++ for IIS 5.1 runing on XP SP2.
Even
though I set the aplication protection to High (Isolated), each service
seems
to run in the same process. I wrote a couple of test servies in c# which
reurned the process id and got the same results. The process they run in
has
the same id as aspnet_wp.exe of which there is only one instance running.
How
can I get each application to run in a seperate process?

May 25 '07 #2
Actually, when I said managed c++ most of the code is unmanaged, managed code
is just used to implement the web service layer. So if I have two services
which use third party DLLs which are not thread safe (i.e share gobal memory
for example) then is that a problem? What if I use ATL to make my web
services - will they run in serpaerate processes then? I have been tried ATL
before but it seemed to crash when marshelling certain types of data
structures. Is there any docuemntation on how the process/memory management
in IIS works?

Regards
Shane McPherson

"Kevin Spencer" wrote:
In IIS 5, you can't really. However, each application is running in its' own
separate memory space within the IIS ASP.Net process, and is managed
separately from the other web application sub-processes. In IIS 6 and above,
you can assign Application Pools to one or more web applications, which
gives you better Control over them.

--
HTH,

Kevin Spencer
Microsoft MVP

Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net

"Pma_Shane" <Pm******@discussions.microsoft.comwrote in message
news:C4**********************************@microsof t.com...
I am wring asp webservices in managed c++ for IIS 5.1 runing on XP SP2.
Even
though I set the aplication protection to High (Isolated), each service
seems
to run in the same process. I wrote a couple of test servies in c# which
reurned the process id and got the same results. The process they run in
has
the same id as aspnet_wp.exe of which there is only one instance running.
How
can I get each application to run in a seperate process?


May 26 '07 #3

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

Similar topics

1
by: TJ | last post by:
Anyone know how to display process id's (normally found by going to Component Services and switching to applications to 'Status View') in a web page? I'm trying to keep remote users from having...
6
by: Simon Harvey | last post by:
Hi everyone, I need to make a service that monitors a directory for changes in the files contained within it. I have two questions: 1. I'm going to be using a FileSystemWatcher object to do...
1
by: trialproduct2004 | last post by:
hi all can someone tell me difference between windows services and web services. I have created window services. As far as i know windows services doesn;t have any UI it starts executing as soon...
0
by: Devin | last post by:
Is there anyway to get which processes are associated with a service? I have two services that basically run the same exe and I want to check which process belongs to which service. After that is...
6
by: Moshe Kravchik | last post by:
Hi all! I have 2 web services, one writtenin C++ (ATL) and another one in C#. Is there a way to define data stuctures in a single place both services could use? The structures are the same, but if...
8
by: vtxr1300 | last post by:
I've followed 2 very similar tutorials on creating a windows service and an installer. But, after successfully compiling it, I try to do the InstallUtil command, but I get a...
5
by: JT | last post by:
Hi, I think I need a "best practices" lesson on web sites and web services. In order to conform to the restraints of my web host, my web services seem to need to be in a subfolder of my web...
23
by: Chizl | last post by:
I created a console app, but most all the code was in classes. I've recently created a windows service, pulled all the classes over and everything compiles fine. Few things I need to understand...
4
by: Marco Pais | last post by:
Hello. This post is long, but I think that's a pertinent question for many people. I built a client/server application using .NET and SQL server, a 2 tier application. This first...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.