Possible to create REST web service with ASP.NET 2.0

前端 未结 8 898
野趣味
野趣味 2020-12-19 03:20

Is it possible to create a REST web service using ASP.NET 2.0? The articles and blog entries I am finding all seem to indicate that ASP.NET 3.5 with WCF is required to crea

8条回答
  •  时光取名叫无心
    2020-12-19 03:58

    It is definitely possible to create RESTful web services using ASP.NET. If you are starting a new project I would definitely look into creating RESTful web services using WCF. The 3.5 .NET Framework allows you to specify RESTful endpoint along with a regular old SOAP endpoint and still deliver the same service.

    All you really have to do is enable an endpointbehavior that calls out

    Here is a good series on creating RESTful web services using WCF:

    http://blogs.msdn.com/bags/archive/2008/08/05/rest-in-wcf-blog-series-index.aspx

提交回复
热议问题