WCF Application and Instance Management by using 3 different application domains (Asp.net, C # Windows Application and WPF application as clients)

Plz refer to the previous article Part-4 Instance Management Now to understand Instance management we just have to configure few setting for different Instance managements techniques but its very important to understand what impact they have on application and service objects. First we will u... [More]

Tags:

WCF

WCF Application and Instance Management by using 3 different application domains (Asp.net, C # Windows Application and WPF application as clients)

Plz refer to the previous article   Part-3 Creating WPF Client Code for WPF client Application using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.... [More]

Tags:

WCF

WCF Application and Instance Management by using 3 different application domains (Asp.net, C # Windows Application and WPF application as clients) -- Part 2

Previous article 1

Part-2 Creating ASP.net client.

Code for ASP.net Client [More]

Tags:

ASP.NET | WCF

WCF Application and Instance Management by using 3 different application domains (Asp.net, C # Windows Application and WPF application as clients)

In this article we are going to see Instance management provided by WCF and how we can use single WCF service in three different clients- ASP.net, C sharp Windows application and WPF application.

WCF provides three different instance management techniques per call, Per Session and Single. [More]

Tags:

ASP.NET | WCF | Windows Form

WCF application for displaying and inserting records into database using Data Contract and Data Member Attributes – Part 5

When we want to use the member variables of class Leader at client side, we will have to declare the object of that class Leader and through that object we will access its members. Eg. ServiceReference1.Leaders ldr = new ServiceReference1.Leaders();   Aspx code: <%@ Page Language="C#... [More]

Tags:

ASP.NET | WCF

WCF application for displaying and inserting records into database using Data Contract and Data Member Attributes – Part 4

Client side: Now as our client is a completely different application domain, we will have to select new website from visual studio template and add the service reference to the client side which I have already discussed in my previous article.   Below is the screen shot: In the above s... [More]

Tags:

ASP.NET | WCF

WCF application for displaying and inserting records into database using Data Contract and Data Member Attributes – Part 3

Data Contract- is a formal agreement between a service and a client that abstractly describes the data to be exchanged. Code for Service1.svc using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.Te... [More]

Tags:

ASP.NET | WCF

WCF application for displaying and inserting records into database using Data Contract and Data Member Attributes – Part 2

Iservice.cs file is where we are going to define our interface and methods which they contain and Service.cs is where we are going to implement our methods which are in our interface. We will also have to create image directory at the service application directory so that we can save the images to... [More]

Tags:

ASP.NET | WCF

WCF application for displaying and inserting records into database using Data Contract and Data Member Attributes – Part 1

In this article, we will see how we can insert data and display records using WCF. We will be using data contract and data member attributes, we will also be using two completely different application domains for client and service respectively. So first we will make a table in database. Below i... [More]

Tags:

ASP.NET | WCF

Simple Application Using WCF and Database

In this article I'm going to explain how we can write a WCF service and invoke it on to the client side.

I am making a simple application where a WCF service returns the information about leaders which are stored in database.

Note: In this demonstration I am only using default settings of WCF , many other important aspects of WCF like instance management, concurrency management, transaction etc… that are used extensively in real live projects will be demonstrated in subsequent articles . Here we will see how we can write a very basic WCF service and invoke it. [More]