[英]Create ASP.NET WEB API using Console application
I have seen many articles in Internet to create RESTFUL webapi by selecting webapi project as project type. 我在Internet上看到过很多文章,通过选择webapi项目作为项目类型来创建RESTFUL webapi。 Is there any possibility that we can create the same using console application.
我们是否有可能使用控制台应用程序创建相同的内容。 if possible, how can it be hosted?
如果可能,如何托管? how Executable file gives us the URL to consume from client application.
可执行文件如何为我们提供要从客户端应用程序使用的URL。
Yes, there is a possibility. 是的,有可能。 but we need to flow some steps to achieve this.
但是我们需要采取一些步骤来实现这一目标。
Hosting: domain name or IP should be given where the service is hosted. 托管:应在托管服务的位置提供域名或IP。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.