There is no such thing as a Webmethod file. You can add a classname.cs to the project the class can contain WebMethod(s) in the class.
How to add a [WebMethod] file for WebService1.asmx ?

daowdos
296
Reputation points
I have a project with server side in C# and SQL Server
I'm connected to the SQL Server and want to pass it parameters to a table.
How do I open a WebMethod file ? I can't find it
neither a WebService project.
ASP.NET Core Web API - is not the right way , because I figured that I can't send parametrs to the SQL from the browser.
Windows for business | Windows Server | User experience | Other
20,213 questions
Developer technologies | ASP.NET | Other
3,600 questions
Developer technologies | C#
11,578 questions