Asked by:
Web Service in .NET framework 4

Question
-
Can we write simple Web Service (NOT WCF SERVICE) in .NET framework 4 ?Tuesday, December 7, 2010 9:42 PM
All replies
-
yes.
in VS it is a little hidden - you need to create an asp.net web application project and then add a "web service" new item.
http://webservices20.blogspot.com/
WCF Security, Interoperability And Performance BlogTuesday, December 7, 2010 10:47 PM -
Do you really want to do that? A simple WCF service is just as simple as a simple ASMX service.
John Saunders
WCF is Web Services. They are not two separate things.
Use WCF for All New Web Service Development, instead of legacy ASMX or obsolete WSE
Use File->New Project to create Web Service Projects- Proposed as answer by NonniV Saturday, December 10, 2011 9:15 PM
Wednesday, December 8, 2010 6:17 PMModerator -
Hi John,
I need a service that can expose GET and POST methods so that i can consume them over http.
Can this be done with WCF.
Wednesday, December 8, 2010 10:37 PM -
WCF can do everything that ASMX can do, and about 20 times more.
Yes, you can use [WebGet] and [WebInvoke(Method="POST")].
John Saunders
WCF is Web Services. They are not two separate things.
Use WCF for All New Web Service Development, instead of legacy ASMX or obsolete WSE
Use File->New Project to create Web Service ProjectsWednesday, December 8, 2010 11:09 PMModerator -
ya 100%
its very easy...
Step 1: creat an asp.net Web Application
step 2: go to project in the main menue and click on the new item then add a web Service....
thats solve your problem...
for further information , you can find some usefull videos at http://www.prageemtechnologies.com
Wednesday, December 19, 2012 11:58 AM