basic questions about web services development
New to Web Services. After some experiment, some basic questions.
1. What is the function of a code hehind file? Any benefits of have a separate asmx and asmx.cs file?
2. When we press F5 to debug, I it is not running on IIS. If IIS is not hosting the web services, which party hosts the web services when we use F5 to debug?
3. I am always confused what is the function and why we need [WebService]? I think [WebMethod] is enough since we expose web service through a public function, not through a class (marked with WebService attribute).
thanks in advance,