<div>Hi All,</div>
<div>&nbsp;</div>
<div>I've developed a windows application with the C# MapScript, and this application works well with all the common mapping functions. I am very happy with the performance of MapServer. So I am now trying to migrate the windows application to&nbsp; a web application, here I have some doubts with the migration:
</div>
<div>&nbsp;</div>
<div>1. for the windows application I use a singelton class to return the mapobj for all the mapping API --&nbsp; I've programmed a mapping class for mapping functionalities, and this works well to store all the changes of a mapobj during the mapping process. But if I migrate the mapping class to web application, this singelton class should not be used, since there may be hundred users, who are accessing MapServer at the same time. I am just wondering how to solve this problem in MapServer?
</div>
<div>&nbsp;</div>
<div>In MapXtreme, this problem is solved with the use of MapXBroker, which is a shared pool of MapX objects, does MapServer has&nbsp;any similar component?</div>
<div>&nbsp;</div>
<div>2. Thread-Safety, I know this is not a new question, but it's important. In the .NET application, how to solve this problem? use thread lock? (I am programming with <a href="http://VB.NET">VB.NET</a>)</div>
<div>&nbsp;</div>
<div>thanks for any information about this topic.</div>
<div>&nbsp;</div>
<div>zhonghai</div>