Click here to Skip to main content
15,891,981 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
i want to add a Webservice.asmx file in my project and its's codebehid(Webservice.cs) file in App_Code folder, which is accessible in all pages of my project. but i don't know how can i do. please help.



thanks in advance
Posted

1 solution

Look at the links below:

http://msdn.microsoft.com/en-us/library/ywx7tzs7(v=vs.90).aspx[^]

http://stackoverflow.com/questions/20281144/create-a-asmx-web-service-in-visual-studio-2013[^]

However, you should avoid to use ASMX. It's considered as old legacy now.

The newer Microsoft Platforms don't even support ASMX (such as SharePoint 2013).

You should consider moving to WCF [^]or Rest APIs[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900