Best way to serve web services for an existing c# project
What is the best way to integrate webservices to an existing C# 4 project to serve data provided by this application ?
These webservices need to be accessible by different types of client like PHP and access need to be secured.
I started investigations with WCF but it seems to be very complex for small thin开发者_Python百科gs... Is there any frameworks easier to implement that ?
I agree with John that WCF can be easy for small things. You may want to consider using WCF Data Services if you have an existing data context (Linq2SQL or Entity Framework) - this makes it pretty easy to serve up your data and also create custom service methods to perform specific actions.
I can provide more specific answers if you elaborate in your question what you're looking to do.
I hope this helps.
精彩评论