Thread: basic questions about web services development

  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    1,579

    basic questions about web services development

    Hello everyone,


    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,
    George

  2. #2
    Ex scientia vera
    Join Date
    Sep 2007
    Posts
    477
    F5 starts a development server - a HTTP daemon which visual studio runs. As far as my experience goes, it is insanely slow and often displays and/or execute code wrongly. Eg. it will work on my IIS daemon but not on the development server.
    "What's up, Doc?"
    "'Up' is a relative concept. It has no intrinsic value."

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Basic Questions
    By Panda_ in forum C Programming
    Replies: 15
    Last Post: 09-23-2009, 04:24 PM
  2. Some Basic questions
    By BlaX in forum C Programming
    Replies: 7
    Last Post: 06-30-2009, 09:51 AM
  3. C# Web Services
    By CompiledMonkey in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 04-21-2002, 12:17 PM
  4. Barrage Of Questions...Theory impossible? File IO on Web Domain?
    By MagiZedd in forum Windows Programming
    Replies: 0
    Last Post: 10-24-2001, 08:13 PM
  5. Visual J#
    By mfc2themax in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 10-08-2001, 02:41 PM