[mapguide-users] .NET Fusion

Jason Birch Jason.Birch at nanaimo.ca
Thu Apr 17 16:09:05 EDT 2008


Even when MapGuide is installed as a .Net application under IIS, the PHP
extensions are also installed (I believe to support the MapAdmin), so
you can run both .Net MapGuide and PHP MapGuide on the same server.  In
this configuration, Fusion works using the PHP extensions, and you can
also use the .Net extension.

You're limited to using a single "viewer" virtual directory (or setting
up both the PHP viewer directory and the ASPX viewer directly
explicitly), but as long as you're using Fusion as your viewer this
isn't important.

Jason

-----Original Message-----
From: Mike Adair
Subject: Re: [mapguide-users] .NET Fusion

Well perhaps I am misunderstanding something here then.  It is possible 
that the MGOS side of things are running in a .NET environment, but 
unless you have converted the PHP scripts in fusion/MapGuide/php to 
.NET, I don't see how Fusion can run at all.  At a bare minimum you 
would have to convert LoadMap.php, CreateSession.php and their includes.

In any case, the the map name is set as follows (in the PHP version of 
LoadMap):
        $mapName = uniqid($mapTitle);
        $mapStateId = new MgResourceIdentifier("Session:" . $sessionID .

"//" . $mapName . "." . MgResourceType::Map);

where $mapTitle is the map name as set in MGOS and uniqid() returns a 
unique ID based on the current time.



More information about the mapguide-users mailing list