ThinkGeo.com    |     Documentation    |     Premium Support

Web Resources(GeoResource.axd) directory

Hi,


By default my web application loads all the dlls from another folder instead of the default /Bin directory.


This is due to the requirement of the windows application I am interacting with.


My question is,


Is there a way to load Mapsuite dlls from another directory ?


Basically, i can get all Mapsuite dlls to load from my custom directory but the web resource (*_GeoResource.axd)


is still loading from /Bin directory. That's if i deleted the Bin directory, Mapsuite will stop functioning.


    <add path="*_GeoResource.axd" verb="*" type="ThinkGeo.MapSuite.WebEdition.GeoResourceFactory" />

 


What i done to load dlls from another directory is to change the Private Path pointing to the new directory. 


I would think there must be a similar way for the web resources.


It would be nice if i can keep everything together under one directory instead of creating /Bin just for Mapsuite.


Thanks!



Kwong, 
  
 I will look into this and see what can be done.  I think we should be able to support this but no promises until I review the code.  It would help if you could prove a small code sample to show me how you are exaclt accomplishing this.  This will help me recreate the issue. 
  
 David 
 

Here is how i load the dll from /CustomFolder


In the webconfig add in,



< runtime >

< assemblybinding >

< probing privatepath="Assemblies" ></ probing >

< /assemblybinding >

< /runtime >



and in the aspx page add in,



<%@ Assembly Name="Assembly dll's name">

<%@ Import Namespace="Assembly Namespace">



Have a look.



Thanks!