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
266
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.