ireland
January 8th, 2008, 06:49 AM
I've been asked to reduce the number of files deployed on a website. 2 file types I'm looking at first are .asmx and .ashx.
The asmx files in this case are only pointers to the Codebehind which is contained in a Single Assembly which of course is included in the website, are the asmx files actually required? the contents are
<%@ WebService Language="C#" Class="ServerControl" %>
I don;t think this asmx is required on the website as if an app wishes to consume the webservice it simply needs to reference the codebehind dll and them call the webmethod like a normal method, isn;t this correct or am I missing something with this asmx file?
The asmx files in this case are only pointers to the Codebehind which is contained in a Single Assembly which of course is included in the website, are the asmx files actually required? the contents are
<%@ WebService Language="C#" Class="ServerControl" %>
I don;t think this asmx is required on the website as if an app wishes to consume the webservice it simply needs to reference the codebehind dll and them call the webmethod like a normal method, isn;t this correct or am I missing something with this asmx file?