Changes between Version 32 and Version 33 of MapGuideRfc68


Ignore:
Timestamp:
09/08/09 17:41:19 (15 years ago)
Author:
leaf
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc68

    v32 v33  
    3232== Proposed Solution ==
    3333
    34 In 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.
     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 the solution that Microsoft recommends to keep backward compatibility of .NET API. You can get more information about !TypeForwardedTo attribute from MSDN.
    3535
    3636http://msdn.microsoft.com/en-us/library/ms404275.aspx
    3737
    38 (a) Create the following new assemblies.
     38So the proposed solution is to
     39
     40(a) Create the following five new assemblies.
    3941 * OSGeo.!MapGuide.Foundation.dll: contains API in Foundation component.
    4042 * OSGeo.!MapGuide.Geometry.dll: contains API in Geometry compoent.
     
    4345 * OSGeo.!MapGuide.Web.dll: contains API in !WebApp and !HttpHandler components.
    4446
    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))].
     47(b) Create the following assembly by adding the reference to five assemblies above and some !TypeForwardedTo attributes. For example, [assembly: TpeForwardedTo(typeof(OSGeo.MapGuide.MgFeatureService))].
    4648 * !MapGuideDotNetApi.dll
    4749