Difference between revisions of "Embedded Server"
From Hiasobi - FHIR
Brett Esler (Talk | contribs) |
Brett Esler (Talk | contribs) (→Returned Configuration) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 24: | Line 24: | ||
); | ); | ||
</code> | </code> | ||
+ | |||
+ | ==Returned Configuration== | ||
+ | Configuration object is returned with details of the started service [[Server_Configuration]] |
Latest revision as of 16:44, 26 February 2018
Hiasobi can be hosted in your application
- Pass in desired Server Configuration - returns actual configuration including assigned web server ports on start
- Default configuration is to access samples databases for CIS; no license required
- Delivered as a single DLL "FHIR-SERVER.dll"
Default Samples CIS Access
// default samples data server Oridashi.Fhir.Host.FhirHost host = new Oridashi.Fhir.Host.FhirHost(); Oridashi.Fhir.Configuration c = host.Start();
Licensed Live CIS Access
// licensed live data server Oridashi.Fhir.Host.FhirHost host = new Oridashi.Fhir.Host.FhirHost(); Oridashi.Fhir.Configuration c = host.Start( new Oridashi.Fhir.Configuration() { ProfileName = "company", LicenseKey="66E5BB266664C8ECABAF659FDF532", IsLive = true } );
Returned Configuration
Configuration object is returned with details of the started service Server_Configuration