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#
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
{count} votes

Your answer

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