Coder Social home page Coder Social logo

itfenom / create-a-simple-web-service-and-use-it-in-asp.net Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ahmedsafwat101/create-a-simple-web-service-and-use-it-in-asp.net

0.0 0.0 0.0 28.19 MB

Create a Simple Web Service and Use it in ASP.Net and Windows Form (Calculator)

License: MIT License

C# 99.14% ASP.NET 0.86%

create-a-simple-web-service-and-use-it-in-asp.net's Introduction

Create-a-Simple-Web-Service-and-Use-it-in-ASP.Net

Create a Simple Web Service and Use it in ASP.Net and Windows Form (Calculator)

What is Web Service?

A Web Service is a reusable piece of code used to communicate among Heterogeneous Applications.

Once a web service is created and hosted on the server in the internet it can be consumed by any kind of application developed in any technology.

Build Status

How to create a Web Service

  • Step 1

Go to Visual Studio then click on "File" -> "Website" -> "ASP.NET empty website template".

Then provide the website name (for example: WebServiceSample).

  • Step 2 Add a Web Service File

Go to Solution Explorer, then select the solution then click on "Add new item".

Enter the name (for example: CalcSrvice.asmx) then click on "Add".

  • Step 3

To see whether the service is running correctly go to the Solution Explorer then open " CalcSrvice.asmx" and run your application. Now you will find all the method names in the browser

  • Step 4 Creating the EndPoint application (Web or Applicatio Form) I will go with application form in this example

  • Step 5 Add a web reference to the Website Go to Solution Explorer then select the solution then click on "AddWeb Reference" then within the URL type the service reference path.

  • Step 6 You need to run both programms at the same time first run the service then run the application form

create-a-simple-web-service-and-use-it-in-asp.net's People

Contributors

ahmedsafwat101 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.