public static void Main(string[] args) { //Start Reading Device To Azure Cloud Messages Task.Run(() => { ReadDeviceToAzureMessages rm = new ReadDeviceToAzureMessages(AzureDevices, TemperatureValues, HumidityValues); } ); //Connect To IBM Client And Subscribe To Report Event Task.Run(() => { IBMMessages ibmcl = new IBMMessages(); } ); //Start Rest API Module NancyServer ns = new NancyServer(); }
public ClientModule(IService service) { var schema = NancyServer.RegisterRoutesFor(this, service); }
public StudentServiceModule(IStudentService service) { NancyServer.RegisterRoutesFor(this, service); }