With the CGI you are passing arguments to the URL. The Mapfile has templates that it parses to create different views. With MapScript you are manipulating the map through code. In your case you would be using .NET MapScript API calls. Using MapScript, as far as I know, the templates are not used. Instead you'll have to write your own views.
<br><br>Steve&#39;s mapserv.js manipulates the CGI argument string. Look at the code for that, it has a wealth of starting point knowledge. <a href="http://maps.dnr.state.mn.us/tools/dbox/">http://maps.dnr.state.mn.us/tools/dbox/
</a><br><br>In my opinion, the MapScript API is easier to work with because if you already know a web-programming language, you only need to learn the API; you don&#39;t need to figure out how to setup templates or how to manipulate the CGI argument string.
<br><br>Also, read this post:<br><a href="http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0311/msg00147.html">http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0311/msg00147.html</a><br><br>To answer the unanswered question from that post:
<br>&gt;&gt;Why would I want to use Mapscript?<br>You have favorite a web-programming language you like to write applications with.<br><br>&gt;&gt;Which benefits does it give me?<br>More flexible application development. A smaller learning curve (for me anyway).
<br><pre style="font-family: arial,helvetica,sans-serif;"><font size="2">&gt;&gt;Simply better control?<br>Yes. IMHO.<br></font></pre>Hope that helps,<br>Brant<br><br><br><div class="gmail_quote">On Nov 21, 2007 12:18 AM, Saka Royban &lt;
<a href="mailto:srph124@yahoo.com" target="_blank">srph124@yahoo.com</a>
&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">

<div style="font-size: 12pt; font-family: times new roman,new york,times,serif;">Hi</div>
<div style="font-size: 12pt; font-family: times new roman,new york,times,serif;">can i ask a basic question?</div>
<div style="font-size: 12pt; font-family: times new roman,new york,times,serif;">what&#39;s the difference between using Mapscript and CGI?</div>
<div style="font-size: 12pt; font-family: times new roman,new york,times,serif;">i&#39;m a bit familiar&nbsp; with <a href="http://Asp.net" target="_blank">Asp.net</a> and its architecture of web programming but i&#39;m confused about the different ways of&nbsp;prgramming UMN mapserver.
</div>
<div style="font-size: 12pt; font-family: times new roman,new york,times,serif;">THX<br><br></div>
<div style="font-size: 12pt; font-family: times new roman,new york,times,serif;">----- Original Message ----<br>From: Brant Anderson &lt;<a href="mailto:rabrant@GMAIL.COM" target="_blank">rabrant@GMAIL.COM</a>&gt;<br>To: 
<a href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU" target="_blank">MAPSERVER-USERS@LISTS.UMN.EDU</a><br>Sent: Tuesday, November 20, 2007 5:14:42 PM<br>Subject: Re: [UMN_MAPSERVER-USERS] NEW Mapserver Application<br><br>&gt;&gt; Question 1 &nbsp; Can somebody suggest which is the best option to develop my
<br>&gt;&gt; application CGI or Mapscript..<br>I agree with Marcos. The CGI is a good starting point to get your feet wet. That&#39;s where I began. Until one day I decided to take the leap. I&#39;d recommend using MapScript with a language that you&#39;re comfortable with. 
<br><br>I tried MapScript using Python. I found that I could develop an app easier using MapScript than with the CGI.<br><br>Eventually, I started developing Ruby on Rails apps. So I thought I&#39;d give Ruby/MapScript a try. I&#39;m not sure what has changed in Ruby/MapScript since the 
5.0.0 release. But I
 found that my application was buggy when I switched from 4 to 5. If you&#39;re going to try Ruby/MapScript, I&#39;d recommend using version 4.10 of MapServer.<br><br>&gt;&gt; Question 2 &nbsp; Which is the best software available for developing user 
<br>&gt;&gt; interface. (Cartography). Is their a basic version available as a start<br>&gt;&gt; point. like mapserver itasca demo.<br>You stated that you&#39;re using Linux. You might want to look into Quantum GIS. I think there is a MapServer Mapfile Export feature. I haven&#39;t tried it, so I&#39;m not sure how it works. 
<br><br>Best Regards,<br>Brant<br></div><div>
<div style="font-size: 12pt; font-family: times new roman,new york,times,serif;"><br></div></div></div><div><br>
      <hr size="1">Get easy, one-click access to your favorites. 
<a href="http://us.rd.yahoo.com/evt=51443/*http://www.yahoo.com/r/hs" target="_blank"> Make Yahoo! your homepage.</a>

</div></div></blockquote></div><br>