Skip to main content

Posts

Showing posts from November, 2015

How to create and consume web service

Create web service & Consume it with Create As a Website Option This is a tutorial for how to create and consume web service if you are creating ASP.net application with the option of create as a website  Consume it with Create As a Project Option (Highly Important Check this one also) This is a tutorial for how to create and consume web service if you are creating ASP.net application with the option of create as a website  Create project as a NEW > Website using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class _Default : System.Web.UI.Page {     protected void Page_Load(object sender, EventArgs e)     { // it's just a multi view nothing else         surveyorProfile.SetActiveView(loginInformation);     }   protected void Button1_Click(object sender, EventArgs e)     {         surveyorProfile.SetActiveView(displayInformation);    // lo