Develop mapserver Based on ASP. net2 C #

Source: Internet
Author: User

Mapserver is an open source GIS, which is not described here.

There is a development example (thinking in GIS) Based on ASP. net1.1 C # on the Internet. Http://www.paolocorti.net)

The downloading example has a small problem: a font file is missing. The solution is to find the font file in the operating system and copy it to the font directory.

I worked hard and spent more than an hour solving all compilation problems, but still cannot be directly converted into ASP. net2, so a new ASP. net2 website, and then perform operations according to the tutorial and the example.

The main steps are as follows:

(1) copy the DLL to the bin directory. Do not copy the DLL in the example because the version is incorrect.

(2) Add mapscript_csharp reference

(3) introduce the default and mapstream files in the example.

(4) modify the HTML of the default file aspx according to the compilation prompt.

(5) page_load and MapObject in default. CS are defined twice. It is best to remove the definition of a local variable.

Release the example next time.

 

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.