Click here to Skip to main content
15,922,145 members
Home / Discussions / C#
   

C#

 
AnswerRe: Switch vs If-else Pin
Guffa13-Jul-08 9:13
Guffa13-Jul-08 9:13 
GeneralRe: Switch vs If-else Pin
Luc Pattyn13-Jul-08 12:14
sitebuilderLuc Pattyn13-Jul-08 12:14 
AnswerRe: Switch vs If-else Pin
Alan Balkany14-Jul-08 5:02
Alan Balkany14-Jul-08 5:02 
AnswerRe: Switch vs If-else Pin
PIEBALDconsult14-Jul-08 13:26
mvePIEBALDconsult14-Jul-08 13:26 
Questionbasic questions about web services development Pin
George_George12-Jul-08 23:24
George_George12-Jul-08 23:24 
AnswerRe: basic questions about web services development Pin
Scott Dorman13-Jul-08 2:29
professionalScott Dorman13-Jul-08 2:29 
GeneralRe: basic questions about web services development Pin
George_George13-Jul-08 2:37
George_George13-Jul-08 2:37 
GeneralRe: basic questions about web services development Pin
Scott Dorman13-Jul-08 2:56
professionalScott Dorman13-Jul-08 2:56 
George_George wrote:
For UI, I am confused. Web Service has no UI, right? What do you mean UI here? Graphical User Interface?


Ahhh...yes, web serivces have no UI. (Yes, UI == Graphical User Interface.) However, my statement about the purpose of a code behind (in general) still holds true. The asmx is the service equivalent to the aspx file. Best practice should still be to put the code in the code behind file.

George_George wrote:
In my previous senses, I think a web serivce is a remote method call which takes some parameters and return something, so I think it is similar to a method, so I think a public method described with WebMethod is called a web service. This is why I am confused and asked question 3.


You are almost correct. A web service method is a remote method call which takes some parameters and return something. A web service is a collection of web service methods.

George_George wrote:
And from your experience, you call a class a web service? If the class has more than one Web Methods, how do you call the methods?


Yes, a class would be called a web service. If it has more than one web method, you still call them the same way as if it only had a single web method.

Scott Dorman
Microsoft® MVP - Visual C# | MCPD
President - Tampa Bay IASA

[Blog][Articles][Forum Guidelines]
Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai

GeneralRe: basic questions about web services development Pin
George_George13-Jul-08 3:00
George_George13-Jul-08 3:00 
GeneralRe: basic questions about web services development Pin
Scott Dorman13-Jul-08 4:05
professionalScott Dorman13-Jul-08 4:05 
GeneralRe: basic questions about web services development Pin
George_George13-Jul-08 19:12
George_George13-Jul-08 19:12 
GeneralRe: basic questions about web services development Pin
Scott Dorman14-Jul-08 3:00
professionalScott Dorman14-Jul-08 3:00 
GeneralRe: basic questions about web services development Pin
George_George14-Jul-08 16:20
George_George14-Jul-08 16:20 
GeneralRe: basic questions about web services development Pin
Scott Dorman15-Jul-08 2:15
professionalScott Dorman15-Jul-08 2:15 
GeneralRe: basic questions about web services development Pin
George_George15-Jul-08 22:04
George_George15-Jul-08 22:04 
GeneralRe: basic questions about web services development Pin
Scott Dorman16-Jul-08 1:04
professionalScott Dorman16-Jul-08 1:04 
GeneralRe: basic questions about web services development Pin
George_George16-Jul-08 1:10
George_George16-Jul-08 1:10 
GeneralRe: basic questions about web services development Pin
N a v a n e e t h13-Jul-08 17:07
N a v a n e e t h13-Jul-08 17:07 
GeneralRe: basic questions about web services development Pin
George_George13-Jul-08 19:13
George_George13-Jul-08 19:13 
QuestionSending mail Pin
hadad12-Jul-08 22:05
hadad12-Jul-08 22:05 
QuestionClient Server Communication Remoting question Pin
Christo888812-Jul-08 17:20
Christo888812-Jul-08 17:20 
QuestionInsert image to RichText Box Pin
SHINOJK12-Jul-08 12:44
SHINOJK12-Jul-08 12:44 
AnswerRe: Insert image to RichText Box Pin
Luc Pattyn12-Jul-08 13:13
sitebuilderLuc Pattyn12-Jul-08 13:13 
AnswerRe: Insert image to RichText Box Pin
Giorgi Dalakishvili13-Jul-08 1:11
mentorGiorgi Dalakishvili13-Jul-08 1:11 
QuestionNO cursor for a rich text box Pin
SHINOJK12-Jul-08 10:54
SHINOJK12-Jul-08 10:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.