Changes between Version 31 and Version 32 of MapGuideRfc68


Ignore:
Timestamp:
09/08/09 17:38:02 (15 years ago)
Author:
leaf
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc68

    v31 v32  
    3232== Proposed Solution ==
    3333
    34 In order to make backward compatible with the existing MapGuide applications, !MapGuieDotNetApi.dll still exists. However, it becomes an assembly with multiple files. The primary idea is single compiling and muliple linking.
     34In order to make backward compatible with the existing MapGuide applications, the old assembly!MapGuieDotNetApi.dll still exists. However, it contains some TypeForwardedTo attributes only. TypeForwardedTo attribute allows you to move a type to another assembly without having to recompile applications that use the original assembly. This is solution that Microsoft recommend to keep backward compatibility of .NET API. You can get more information about TypeForwardedTo attribute from MSDN.
    3535
    36 (a) Create the following netmodule files.
    37  * OSGeo.!MapGuide.Foundation.netmodule
    38  * OSGeo.!MapGuide.Geometry.netmodule
    39  * OSGeo.!MapGuide.!PlatformBase.netmodule
    40  * OSGeo.!MapGuide.!MapGuideCommon.netmodule
    41  * OSGeo.!MapGuide.Web.netmodule
     36http://msdn.microsoft.com/en-us/library/ms404275.aspx
    4237
    43 (b) Create an assembly for each netmodule file in step (a). Then the following files will be created.
     38(a) Create the following new assemblies.
    4439 * OSGeo.!MapGuide.Foundation.dll: contains API in Foundation component.
    4540 * OSGeo.!MapGuide.Geometry.dll: contains API in Geometry compoent.
     
    4843 * OSGeo.!MapGuide.Web.dll: contains API in !WebApp and !HttpHandler components.
    4944
    50 (c) Create an assembly for all netmodule files in step (a). The following file will be created.
     45(b) Create the following assembly by adding the reference to five assemblies above and some TypeForwardedTo attribute. For example, [assembly: TpeForwardedTo(typeof(OSGeo.MapGuide.MgFeatureService))].
    5146 * !MapGuideDotNetApi.dll
    5247
     
    6257
    6358Supplied by Autodesk.
     59
     60== Addendum, Sept. 09, 2009 ==
     61