Is it possible to access parameters defined in the ApplicationManifest.xml directly from your SF services?
I know you can define parameters on service level and provide overrides (as described here) but it is very cumbersome. If you have several services accessing same parameter (e.g. connection string) then it would be much easier to have it defined in a single place, like app manifest.
It's possible, but not easy.
var fc = new FabricClient(); var application = (await fc.QueryManager.GetApplicationListAsync(new Uri (Context.CodePackageActivationContext.ApplicationName))).Single(); var applicationManifest = await fc.ApplicationManager.GetApplicationManifestAsync(application.ApplicationTypeName, application.ApplicationTypeVersion);
(sorry about the formatting)