<div>Hi Tamas,</div>
<div>&nbsp;</div>
<div>thank you for your professional info. I will take a deep look into the things you mentioned. Maybe I will bother you again for more information. </div>
<div>&nbsp;</div>
<div>zhonghai<br>&nbsp;</div>
<div><span class="gmail_quote">On 6/2/06, <b class="gmail_sendername">Tamas Szekeres</b> &lt;<a href="mailto:szekerest@gmail.com">szekerest@gmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi Zhonghai,<br><br>First of all PHP mapscript and C# mapscript (as part of the SWIG line)<br>are standing for a completely different implementation, however the
<br>functionality is almost the same.<br><br>If you want to utilize and enhance the extensive functionality of<br>mapserver you might want to use the C# mapscript as you can use the<br>other language bindings as well.<br>
<br>The C# mapscript interface is known stable, and uses the .NET platform<br>invoke mechanism for the communication between the C and the C# parts<br>(mapscript.dll and mapscript_csharp.dll on windows for example). You<br>
can use the object model of the C# interface (contained in the<br>mapscript_csharp.dll assembly) to achieve the required functionality<br>for your .NET application.<br><br>When using the mapscript C# API you have to take care of the threading
<br>model of the host<br>process invoking the API. You have to compile mapserver with thread<br>support and avoid using the thread unsafe libraries. For more details:<br><a href="http://mapserver.gis.umn.edu/docs/faq/thread_safety">
http://mapserver.gis.umn.edu/docs/faq/thread_safety</a><br>Passing mapscript object between multiple threads is also unsupported.<br><br>The interface is tested mostly under MS .NET framework 1.1 and MONO.<br>Using with .NET FW 
2.0 you must compile the code with Visual Studio<br>2005. For the C# specific compilation issues visit:<br><a href="http://mapserver.gis.umn.edu/docs/howto/mapscriptcscompile">http://mapserver.gis.umn.edu/docs/howto/mapscriptcscompile
</a><br><br>So the C# interface is sufficient mostly with those applications the<br>threading model is controlled by the programmer. For example for<br>writing desktop applications is ideal.<br>For WEB applications you might want to use the MONO 
<a href="http://ASP.NET">ASP.NET</a> implementation.<br>The threading model of IIS is more sophisticated, so creating C#<br>mapscript WEB applications for IIS is not impossible but requires much<br>care.<br><br><br>Best Regards,
<br><br>Tamas Szekeres<br><br><br>2006/6/2, Zhonghai Wang &lt;<a href="mailto:zhonghaiw@gmail.com">zhonghaiw@gmail.com</a>&gt;:<br>&gt; Hi guys,<br>&gt;<br>&gt; after developing a MapServer Demo application based on CGI mode, I realized
<br>&gt; that MapServer may be the best option for open source WebGIS development.<br>&gt; Now I am trying to improve my demo with mapscript, since mapscript provides<br>&gt; more powerful things for web GIS application. I noticed that there are
<br>&gt; different mapscript packages available for MapServer, such as PHP/MapScript<br>&gt; and CSharp/MapSscript. Theorically CSharp MapScript may be the best option<br>&gt; for me, because I am good at .NET thing, but I am not sure if the CSharp
<br>&gt; MapScript package is stable enough. I've searched a lot in Internet, and<br>&gt; also in the MapServer user list achieves, it seems that most people are<br>&gt; using PHP MapScript package for their web mapping application, does this
<br>&gt; mean that the PHP MapScript package is more stable than any other MapScript<br>&gt; packages?<br>&gt;<br>&gt; I'd like your suggestions for my next step. PHP/MapScript or CSharp<br>&gt; MapScript?<br>&gt;<br>&gt; thanks in advance.
<br>&gt;<br>&gt;<br>&gt; zhonghai<br>&gt;<br>&gt; 02.06.2006<br></blockquote></div><br>