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="">
 
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
[EMAIL PROTECTED]
(978) 251-4242



From: UMN MapServer Users List [mailto:[EMAIL PROTECTED] On Behalf Of Khaled Kamoun
Sent: Monday, February 06, 2006 8:31 AM
To: [email protected]
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

Reply via email to