How to add [WebMethod] to a WebApplication

daowdos 296 Reputation points
2021-07-29T13:21:33.047+00:00

Hello,
I'm doing a project with business logic layer (BLL DAL)
How can I add web services with [WebMethod] ?

I have WebApplication project with asmx.
Which file do I need to add ?

119057-webmethod.png

I see the files are different that it was in visual studio 2017

Thanks in advanced.

Developer technologies | C#
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.