Currently, my company has a Visual Studio windows service application that queries our inventory system and then updates our CRM. I would like to create a web service that would do the same thing, but could then be invoked manually or by another process as necessary on a schedule.
I am testing different options such as soap/wsdl/asmx and web RESTful api. I am wondering what option would make most sense to create a web service that is used to invoke a process like I described. I am not seeing an HttpMethod that would make sense to use in a web api since I am not querying data to be returned to the user, but I just want to kick off a process. Is there another option that would make more sense? Does VSCode have other options other than web api for a web service?
question from:
https://stackoverflow.com/questions/65851601/what-type-of-visual-studio-or-vscode-web-service-should-be-used-to-invoke-a-proc 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…