The summary below describes major new features, items of note and breaking changes. The full list of issues is also available for those with access to the Encodo issue tracker.
IContentRegistryhave been moved to the
ReportsModule.DocumentLibraryno longer exists; instead, access it via the service locator with
ServiceLocator.Current.GetInstance<IDocumentLibrary>(). Also the return type is an interface rather than the class itself, but the interface is unchanged.
DocumentBaseconstructor now takes an
IDocumentLibraryProviderinstead of a
DocumentLibraryProvideris now called
DocumentLibraryProviderBaseand the constructor no longer requires an
DocumentLibraryProviderno longer has a
DocumentLibraryas a constructor parameter, it is no longer auto-registered. Instead, simply get the document library via the service locator (as shown above) and add it to the providers list manually.
ViewClassAspectno longer exists; instead, use
Credentialsclass is now abstract; instead, use
Encodo.Quino.Data.Persistence.Connectionsno longer exists; simply remove the
usingstatement as it only included obsolete or internal classes and should have been removed in previous versions anyway.
ViewContextHandlernow has generic parameters; instead, most usages will be able to simply switch to using the
MetaBuilderBase.AddMethodsno longer accepts client, base and server classes as parameters. Instead, you should register methods via a single interface and register the appropriate implementation in the startup.
For example, to register IDemoMethods, use:
To set up a client to use the appropriate implementation, depending on whether a remoting data driver has been selected, use:
configuration.IntegrateRemotableMethods<IDemoMethods, LocalDemoMethods, RemotableDemoMethods>();
To set up the application server to host these methods, simply register the local version with the service locator, as shown below:
MetaMethodTools.Execute()now requires four arguments because the call target must be included (remoting methods are no longer static).
Sign up for our Newsletter