Guruji Point - Code You Want To Write

  • Home
  • Asp.Net
  • WCF
  • SQL
  • Type Script
  • AngularJS
  • Tech News
  • Blog
  • Earn Online

Thursday, 16 March 2017

Web Services Basics In Asp.Net

 Webservice     No comments   




Introduction

In this post i will explain about what a web service is , why do we need this and how to use this in our application.

What Is WebService

Web service is a standardised way to work with multi level application. Web service also like a asp.net application but it not work for itself instead it work globally for many application that's the reason it is known as web services.

Web service is an application that is interact with other application over the internet at any time when it needed.
Application who consumes a web service can invoke web service methods by using SOAP (Simple object Access Protocol) and HTTP over the internet.
 If you think for a scenerio when as a developer if you need a application which is used by many applications then you simply write a web service for them.

Dataformat used byWeb service
  • SOAP
  • XML

WSDL
WSDL is an acronym for Web Service Description Language. It is an xml based language for describing a Web service.. It describe how to access a web service and what operation it will perform.

SOAP - 
SOAP stands for Simple Object Access Protocol.  The heterogeneous environment of Web demands that the common data encoding protocol which achieved by SOAP. It is XML based messaging Protocol. Means this protocol transfer data  between different machines using XML.
SOAP provides a way to communicate with different machines having different Operating Systems and  different programming languages.

XML -
XML stands for Extensible Markup Language. XML is used to encode all communications to a web service. For example, a client invokes a web service by sending an XML message, then waits for a corresponding XML response.
In Web-Service every information or data  transferred by XML.


Why Do we need Web Service
If you think for a scenario when your application need a Weather information , Countries list, Zip code based on city, town etc,. Then you have to write code for this and also collect all the information for zip code , that is very time taking process for you  . So how can you overcome from this situation , answer is simple by using Web Service. 
Web Service is just like a software which is available for your application over the internet any time. 
If you need a whether information in your application then you implement a simple service from internet . You don't need to panic about it. All the work done by Service provider. same for Zip-Code and other related services.

If you  working with many application and you need this service in two or three of them and you don't want to use other's service then you can create your own service in very simple steps which i describe later in my next update.


  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Email ThisBlogThis!Share to XShare to Facebook
Newer Post Older Post Home

0 comments:

Post a Comment

Facebook Updates

Guruji Point

Categories

Comman table Expression in SQL Dynamic Grid Row IQueryable in c# Learn AngularJS Scope_Identity() Use of indexes comma seperated string in sql row_number() and dense_rank() salary table structure. while loop in sql why do we need cursor why tuple used

About Us

This blog is about the Programming ,Tech News and some intresting facts related Contents. Here you can find fundamental and expert level topic of programming languages very practically related to C# , Asp.Net ,Sql-Server, JavaScript, Jquery, WebServices And also Web-Api, WCF ,WPF, Angular Js.

Contact Us

Email Us - gurujipoints@gmail.com
Contact- 8077657477

Reach Us

Copyright © Guruji Point - Code You Want To Write