Download MapServer
Download precompiled binaries here. For the purpose of this tutorial is indifferent if you download the MS4W for PHP4 or PHP5.
(As an alternative you could download an installation toolkit like this and compile yourself MapServer, but it is more difficult).
Installation
All you need to do is to extract the zip file, for example at: C:\ms4w.
Here we will not mention how to install CGI MapServer, because we are using the other modality (MapScript).
After doing that take a look at the structures of the directories created under C:\ms4w.
All the references we need in our C# ASP .NET (or Windows) application are the dll under:
C:\ms4w\Apache\cgi-bin\mapscript\csharp and the dll under C:\ms4w\Apache\cgi-bin.
The only .NET dll is C:\ms4w\Apache\cgi-bin\mapscript\csharp\mapscript_csharp.dll.
For all the other dlls is enough for them to be accessible for our application. To get this it is possible to operate in two ways:
- for every .NET project manually copy these dll under bin
- or simply put the path to all these dll under PATH Windows environment variable.
Note that not even a dll need to be registered on Windows (with REGSVR32), so when your application will be complete you could easily FTP it to your web server host.










which map server you will use here?
Hi Horia
the tutorial was written for working with MapServer 4.8, but you should have no problem making it work with the actual release (5.0). Let me know if everything will work fine with 5.0, thanks
MapServer 5.0 C# MapScript: compiled against .NET 1.1 runtime (((((((((
I m using .Net 2.0 for aspx application.
what is step by step process to configure mapserver and run aspx application
what are limitations and usefullness of
mapXtream
if any example.
thanks
cb mehta
cbmehta23@gmail.com
I m using windows.Net for aspx application.
what is step by step process to configure mapserver and run aspx application
if any example.
please:
luocen119@hotmail.com
think you very much!!
and
i am newer,so many question want to ask,
have any online support?
(my english is so poor, hope you can be understand me)
Hi,
I am Venkat.I am new to Mapserver.I am using C#.net2.0(vs2005).How to start?
1)How to install and configure mapserver.
2)How to call Map in C#asp.net.
3)How to add shape file on Map in C#.net
can you please help me.
Thanks
Venkat
Hi,
I am saba.I am new to Mapserver.I am using vs2005).How to start?
1)How to install and configure mapserver.
2)How to call Map in C#asp.net.
3)How to add shape file on Map in C#.net
can you please help me.