wiki:CodeSamples/ASP.Net/mapagent

This page is one of the MapGuide Community CodeSamples. Visit the CodeSamples page to view more!

Introduction

Have you ever required the ability to host the mapagent http interface outside of Apache or IIS? Maybe in a lightweight http server that can be interfaced via .net/Java/PHP?

It turns out that the MapGuide API provides classes that make it possible for you to create your own mapagent http handler. The classes in question are:

These 2 classes form the backbone of the mapagent infrastructure. The current Apache/ISAPI/CGI mapagents all use these classes to work with the respective Apache/ISAPI/CGI interfaces

This sample project demonstrates how you can have your own .net mapagent http interface. The default http server used for this VS project is IIS express, but can easily be Cassini or any other lightweight .net http server that is not IIS proper.

Requirements

The project requires:

The VS project has been set up for NuGet? package restore and will auto-fetch the required MapGuide assemblies on the first build of the project

Last modified 5 years ago Last modified on Feb 6, 2013 1:35:27 PM