Difference between revisions of "Embedded Server"
From Hiasobi - FHIR
Brett Esler (Talk | contribs) |
Brett Esler (Talk | contribs) (→Returned Configuration) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Hiasobi can be hosted in your application | Hiasobi can be hosted in your application | ||
− | + | * Pass in desired [[Server Configuration]] - returns actual configuration including assigned web server ports on start | |
− | + | ||
− | * Pass in desired | + | |
* Default configuration is to access samples databases for CIS; no license required | * 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 CIS Access== | ||
Line 21: | Line 19: | ||
new Oridashi.Fhir.Configuration() { | new Oridashi.Fhir.Configuration() { | ||
ProfileName = "company", | ProfileName = "company", | ||
− | LicenseKey=" | + | LicenseKey="66E5BB266664C8ECABAF659FDF532", |
IsLive = true | IsLive = true | ||
} | } | ||
); | ); | ||
</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