mapserver with ASP.NET

Ed McNierney ed at TOPOZONE.COM
Mon Feb 6 06:41:29 PST 2006


Khaled -
 
You can combine ASP.NET and CGI pages and requests in a single
application, but you cannot have one page be processed by both the .NET
framework and the CGI processor.
 
You can, for example,. use the MapServer CGI with the "mode=map"
parameter to have it produce only the map image for a specified request.
Then your ASP.NET page can have an IMG tag on it with the SRC property
specified as the URL requesting the MapServer CGI image, as in:
 
<img src="http://www.mydomain.com/cgi-bin/mapserv.exe?mode=map&....">
 
Most of the introductory material for MapServer focuses on the
"mode=browse" operation, which is very helpful if you do not have
another server-side processing environment like .NET or PHP in use.  If
you do have such an environment, trying to both at the same time is
impossible and will confuse you.
 
     - Ed
Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
ed at topozone.com
(978) 251-4242 


________________________________

From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Khaled Kamoun
Sent: Monday, February 06, 2006 8:31 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] mapserver with ASP.NET


I want to use mapserver in ASP.NET pages, i setup IIS to work with
mapserver, but i dont find how to use CGI with ASP.NET
does any one have some information about that?

-- 
Khaled KAMOUN 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060206/aefe9b1d/attachment.htm>


More information about the MapServer-users mailing list