Objective In this article, I will show you, how we can have multiple contracts in WCF service. Block Diagram Above block diagram says 1. There are three contracts. 2. All contracts are being implemented in same service class. 3. Each…
Objective In this article, I will show you, how we can have multiple contracts in WCF service. Block Diagram Above block diagram says 1. There are three contracts. 2. All contracts are being implemented in same service class. 3. Each…
Objective In this article, I will explain how we could configure multiple binding for WCF service. To see the video tutorial of hosting WCF Service in Console Application Click Here While creating multiple endpoints for the service, make sure each…
This video will explain , how to host a WCF Service in a Console Application For your reference soure code is as below , IService1.cs using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.ServiceModel.Web; using System.Text; …
Video of the article is HERE Objective This article will give basic introduction on 1. How to handle Exception at service side? 2. How to use Fault contract at Service side? 3. How to handle Service Exception at client side?…
This video is giving basic explanation on How to work with Fault Contract. For reference Soure code is as below , IService1.cs using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.ServiceModel.Web; using System.Text; namespace demoFaultService {…
Objective In this article, I am going to show, How to Shut Down a machine How to Log Off a machine How to forced log off a machine How to restart a machine using c# To perform our task, very…
In this article, I am going to show you how we could create a basic WCF REST service using custom binding. Part 1 of this article series could be read Here Follow the steps below, Step 1 Create a new…
Objective In this article, I am going to show you 1. How to insert an image from ASP.Net application to SQL Server using LINQ to SQL. 2. How to retrieve image from SQL Server data base using LINQ to SQL…
Query String allows you to pass values between the asp.net pages. Let us say, you are navigating to below URL In above URL, you are navigating to a page called Add.aspx and Number1 and Number2 are query string to page…
In this article, I am going to show you how we can perform various operations using LINQ to SQL. Database description Let us say, I have created a database called ILPTrainee. This table got only one table with below structure…