[英]can I use webapi in a production environment?
Recently I was researching the ability to use the new Web Api framework from Microsoft for REST http services in a client's project. 最近,我正在研究在客户的项目中使用Microsoft的新Web Api框架来实现REST http服务的能力。 However, I believe the API is only in beta and not fully released. 但是,我认为API仅处于测试阶段,尚未完全发布。 My application is currently running on .net 4.0 and using MVC3. 我的应用程序当前正在.net 4.0上运行并使用MVC3。 Couple questions I have on this: 我对此有几个问题:
Does it work with MVC3, .Net 4.0? 它适用于MVC3,.Net 4.0吗?
What are the license implications of using WebApi in production? 在生产中使用WebApi有哪些许可证含义? My client has in the past been concerned with using beta products in production so I will need to be able convince them that there is no risk or problems with using this. 我的客户过去一直关注在生产中使用测试版产品,所以我需要能够说服他们使用这个产品没有风险或问题。
I hope to use Web Api as it seems to do exactly what I want. 我希望使用Web Api,因为它似乎完全符合我的要求。 Alternatively I will have to consider WCF Data Services. 或者,我将不得不考虑WCF数据服务。 Or is there another alternative to produce REST services. 或者是否有另一种产生REST服务的替代方案。
See the EULA at %ProgramFiles(x86)%\\Microsoft ASP.NET\\ASP.NET MVC 4\\eula.rtf 请参阅EULA at%ProgramFiles(x86)%\\ Microsoft ASP.NET \\ ASP.NET MVC 4 \\ eula.rtf
It says this: 它说:
If you comply with the rest of these license terms, you may also distribute to third parties or deploy for third parties to access over the Internet the ASP.NET programs that you develop using the software, provided that... 如果您遵守其余的许可条款,您也可以分发给第三方或部署第三方,以便通过Internet访问您使用该软件开发的ASP.NET程序,前提是......
So basically that's a yes. 所以基本上这是肯定的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.