Wednesday, March 28, 2012
Web service
I`m very much new to VB.NET
Can anyone will explain me the concept of Web Service and its application.
Any example code is welcome.
Anita.there's a brief description and a brief example on my website www.vb-tech.com, or have a look at http://www.dotnetjohn.com/webservices.aspx which is a good all round website as well.
Nick
Thanks nswan,
Can anyone will tell@.me What is the difference between
Web service and Web Form?
Or we can use only Web Forms to creat a web service?
Anita
A web form is a pretty way to say a web page. That is all. A web form is something you can navigate to in your browser and view just like any other html page on the internet.
A web service is like a object you put on the internet for other applications to use (or just your apps, whatever you like). Basically, it only applies to application developers, normal end users shouldn't have a need for them. What they do is expose some methods that you can call from your applications (windows, or web) as if you were calling a method on a object in your project, even though the web service lies on another server.
(Hypothetical situation:)
Lets say FED EX wanted to expose a web service to allow programmers to access their information to display in their own applications. I could build a application for my company that sits in the system tray or something that would allow the users at my business to click it, enter a tracking number, and get the tracking results back. What would happen behind in the code would be I would take that tracking number, and pass it as an argument to a web service method that FED EX exposed. The return for that function would be the tracking data that I would then display on the form.
Hope that helps you.
Example
You have a web site (site A) which give news to its visitors, so that your site has three sections: sports,national and culture news.
But the sports news come from another company, suposse site B, and the same for the other kind of news, site C for national news and site D for culture news.
So each site has its own information in its database, but you need to extract this information to your site, how can you do it?
Well, each site (i.e. site B,C,D) has a web service echa one which its principal function is to provide the information you need; not just you could extract the information but other companies, trought a web service client.
In general a web service is a function which you call, but this function is in other web site.
Monday, March 26, 2012
web service and Remoting
Hi
Can someone explain me the difference between webservice and remoting (in .net technology)?
I will prefer some explanation here instead of refering to any article......
both web services and remoting aim to do the same thing, which is to expose some business functionality across application domains/networks/computers etc
Web services advantages are it can work over any network as it uses HTTP, SOAP/XML so it does not matter if the target is running java or .NET because at the end of the day the request and response are serialised into XML and send over HTTP/SOAP.
.NET remoting's advantages are it is much faster then web services because you can use binary serialisation over TCP communication channel. However the pitfalls are remoting in .NET must have both parties running .NET.
Saturday, March 24, 2012
Web Service question
Some developers say Web Services are slow. Is Remoting any faster? Or what's better than them? Please explain pros and cons on each one of them. Thanks.
thuhue, you seem to ask a lot of these kinds of questions. Therehave been a lot of articles and blog posts on this topic. Youmight consider using Google or visiting the MSDN library and doing somereading so that you have gained this background information foryourself.
Thursday, March 22, 2012
web services
http://datawebcontrols.com/classes/webservices/
I'll add the folloiwng wonderful articles to fadils post
http://aspnet.4guysfromrolla.com/articles/100803-1.aspx
regards