I think of two ways, but I don't know right,
1, selfhost way to establish (webapi like selfhost)
2, through the message queue
And in this case we are how to deal with, don't you all database transfer?
CodePudding user response:
Define a variable, in the application???????CodePudding user response:
Need real-time socket should be able to meetCodePudding user response:
My program has a parameter, for example, logging a switch (open, close the two states), the log switch application reads the configuration file is available to load, so I have a web interface, want to get to the log switch is on or off,If, in accordance with the general way is to put the log switch state stored in the database, web interface to the database, and then returned to the caller,
Now that we have this switch variables in the program, I don't have any database, thinking of the web interface directly to the state of the switch through the web interface of the return value is passed to the caller is more convenient,
CodePudding user response:
The