C# Corner

Resources  
  • Introduction to Windows Communication FoundationNov 07, 2006. This paper is intended to present the fundamental concepts of Windows Communication Foundation as the new programming model for service-oriented development. Windows Communication Foundation (WCF) is Microsoft’s unified programming model for building service-oriented applications.
  • WCF Application Implementing the Anonymous Client over Certificate WS-Security scenarioNov 17, 2006. This article explains the techniques, architecture and design strategies in order to address one of the most common scenarios of secure communication in Internet, the Anonymous client over Certificate WS-Security scenario using the message level security mechanisms.
  • Basic Introduction to Activities in Windows Workflow FoundationNov 23, 2006. In this article, we will take a look at the introductory concepts of Activities in the Windows Workflows Foundation.
  • Interoperability between WCF and Oracle Application Server : Part IJan 24, 2007. This article is part of series intended to show how to use Web Services related technologies to interoperate applications running in different platforms, in this case, the most common scenario between Microsoft.NET and Oracle AS platforms.
  • Interoperability between WCF and Oracle Application ServerApr 02, 2007. This article is to illustrate techniques and architecture that address the situation of one service running in WCF and a client consuming this service.
  • Windows Communication Foundation's hosting environmentMay 07, 2007. Windows Communication Foundation (WCF) applications need to have a runtime environment for the management of its object's lifecycle. The host process models allows is a new concept in WCF referring to WCF hosting environment which can have several services, and the same service can be hosted in several host processes.
  • Sending Binary Data from Oracle Application Server to WCF through MTOM: Part IIMay 14, 2007. This article will illustrate how to send binary data from Windows Communication Foundation (WCF) to Oracle Application Server (Oracle AS) using Web Services specifications specifically MTOM standard specification, thus achieving interoperability between the two platforms. Some days ago, I blogged information in CSharpCorner blogs about MTOM specifications.
  • Sending Binary Data from Oracle Application Server to WCF through MTOM: Part IIJun 06, 2007. This article will illustrate how to send binary data from Oracle Application Server (Oracle AS) to WCF using Web Services technologies specifically MTOM standard specification, thus achieving interoperability between the two platforms.
  • Windows Communication Foundation callbackJun 12, 2007. This article is intended to illustrate how to implement callback operations in WCF through a common business scenario where the service needs to notify that some events has happened to the client. During a callback, in many aspects the tables are turned: the service becomes the client, and the client becomes the server.
  • A glance at .NET Framework 3.0Jul 17, 2007. This article glances on what is new in .NET Framework 3.0 and how this version is different from all previous versions of .NET?
  • Exception Handling in WCF using Fault ContractJan 03, 2008. This article demonstrates how to get error information from a service to a client using fault contract in WCF.
  • Data Access in Silverlight Controls using Silverlight Enabled WCF ServiceJul 15, 2008. In this article, I will discuss how to access data in Silverlight 2 using a Silverlight Enabled WCF Service.
  • Data Access and Data Binding in Silverlight Controls using WCF ServiceJul 15, 2008. In this article I will discuss how to bind data to Silverlight controls and access data in Silverlight 2 using WCF Service.
  • WCF Programming for BeginnersAug 13, 2008. This article provides the basics for programming the WCF Service.
  • Using the Fault Contracts (SOAP Faults) in WCF ProgrammingAug 26, 2008. This article describes the usage of SOAP Fault Contracts in WCF programming.
  • Silverlight Tutorial: Creating a data centric Web Application with DataGrid, LINQ, and WCF Web ServiceSep 15, 2008. This step-by-step tutorial is a guide for creating a silverlight Web application capable of submitting and retreiving data from a database.
  • Working of Garbage Collector - Part IISep 24, 2008. this article explains you how garbage collector is well tuned for its maximum performance
  • Windows Communication Foundation(WCF) FAQ: Part IJan 02, 2009. WCF is a part of .NET 3.0.“. WCF is a unification technology, which unites the following technologies like NET remoting, MSMQ, Web services, COM+.
  • REST FundamentalsFeb 04, 2009. REST stands for Representational State Transfer, is an architectural style where you can build the software system in which clients (user agents) can make requests to the services [end points]. REST one of the ways to implement the client\server architectural style. REST can be used to build software applications in which clients can make requests of services.
  • Using Data in Silverlight 2 Applications - IFeb 05, 2009. In this Article you will learn how to create a data connection, a LINQtoSQL class and a WCF service.
  • WCF Features in .NET Framework 4.0Feb 08, 2009. WCF providing a way to define service contracts and to configure endpoint definitions using the declarative XAML in .NET Framework 4.0.
  • Using Data in Silverlight 2 Applications - IIFeb 09, 2009. In this article you will learn how to consume the WCF created earlier and access data in the Silverlight 2 application.
  • Introduction to Enterprise Library: Part VIIIFeb 17, 2009. This article explains about Validation Application Block Adapter for WCF.
  • WCF Service using ASP.NET and Client ScriptFeb 25, 2009. WCF Service using ASP.NET and Client Script
  • Test-driven development approach for WCF Web servicesApr 11, 2009. In this article, I will show how programmers can use the test-driven development approach to implement and test Web service solutions.
  • WCF and SilverLight With Cross Domain IsssueApr 15, 2009. This tutorial will expalin how to consume WCF in SilverLight, solve a Cross Domain issue and host a WCF service in IIS.
  • Windows Communication Foundation FAQ: Part IIApr 16, 2009. In this article, we will run through a quick FAQ for WCF. I am sure after reading this you will get a good understanding of the fundamentals of WCF.
  • WCF Tracing FAQApr 30, 2009. In this article we will look how we can trace and debug information in WCF services. There are some ready made tracelisteners provided by WCF. The base of these ready made trace listeners is .NET trace listener. So we will first understand the basic concept of trace listener and then go through the ready made tracelisteners provided by WCF.
  • WCF Service Binding ExplainedMay 05, 2009. This article offers a brief explanation on the basic concepts of the Communication part in the Windows Communication Foundation - WCF.
  • Focus on the Extension of WCF BehaviorMay 17, 2009. WCF provides the flexible and extensible architecture for the developer. The most common situation is to customize the extension of behavior. It is not complex, but some issues should be noticed. This article is prepare to discuss how to extend the behavior in WCF.
  • Microsoft Technology OverviewMay 21, 2009. In today’s fast changing technology, keeping up with technological changes is a challenge. Every time we try to keep up with technology changes, technology changes again. It is never ending chase to catch up with technology and that is what makes software development even more interesting. Focus of this article is to give developers, project managers a quick view of many of new Microsoft technologies out there and help them realize the value of these new technologies. To be frank, technologies covered here are not new and some of them were introduced to IT world, 3 to 4 year ago. But in relative terms, these are still new technologies in Microsoft world as real-world projects and products might take some time to adapt to these changes in technology.
  • Stream operation in WCFJun 01, 2009. WCF provides the support for Stream object. It typically recommends the developer to handle the message which size is too large as Stream object for the sake of high performance. However, there are some constraints on Stream operation to note.
  • Instance Management in WCF Part # 1Jun 19, 2009. This is first part of multi series articles. This article is giving introduction of Instance Management. This article will explain about Per-Call Instance management technique as well.
  • 7 Simple Steps to Connect SQL Server Using WCF from SilverLightJun 22, 2009. In this article we will look how we can do database operations using SilverLight. We will first try to understand why we cannot call ADO.NET directly from a silverlight application and then we will browse through 7 steps which we need to follow to do database operation from silverlight.
  • Instance Management in WCF Part # 3Jun 22, 2009. This article is part # 3 of Instance Management in WCF. This article will explain about Singleton Service Instance mode. This article will give theoretical introduction and explanation of coding sample also. It will also discuss about various disadvantages of Singleton Service Instance mode and its potential place of uses.
  • 7 Simple Steps to Enable HTTPS on WCF WsHttp BindingsJun 23, 2009. When we talk about WCF security there are two ways one is the transport level security and the other is message level security. Transport level security is nothing but built in security by protocols itself. In message level security we need to encrypt the data, in other words security is injected in the data itself. In this article we will look in to how we can implement transport level security using WsHttp bindings. We do not need to do extra development for transport level security because it’s more of the protocols inherent security model. In this article we will implement WsHttp using HTTPS as transport security.
  • WCF FAQ Part 3 - 10 Security Related FAQJun 23, 2009. In this article we will start with transport and message security understanding. We will then see simple code samples of how to implement transport and message security using WsHTTP bindings. We will also see what is the difference between ‘BasicHttpBinding’ and ‘WsHttpBinding’ with the help of a simple source code. WCF security is a huge topic by itself, but we are sure with this article you will get a quick start of how to go about WCF security.
  • Instance Management in WCF Part # 2Jun 23, 2009. This article is part # 2 of Instance Management in WCF. This article will explain Session Full Instance management service. This will explain different Session Mode at Contract level. This will explain Per-session service also. This article will be explaining Session Full Service with a code also.
  • An Introduction to Windows Communication Foundation (WCF)Jun 23, 2009. This article introduces the Windows Communication Foundation (WCF).
  • SilverLight FAQ's - Part 3Jun 25, 2009. This article discusses 12 FAQ’s which revolve around bindings, layouts, consuming WCF services and how to connect to database through SilverLight.
  • Instance Management in WCF Part # 4Jun 25, 2009. This article is part # 4 of Instance Management in WCF. This article will explain how to work with Session ID in WCF. This article will give theoretical introduction and explanation of coding sample also. It will explain 2 full coding sample that how to work with Session ID in WCF.
  • Operation Overloading in WCFJun 28, 2009. This article will explain, What is Service Contract?,How to achieve Operation overloading in Service.,How to achieve operation overloading at client side.,It explained the entire concept with supporting code as well. ,This will explain in detail of all the aspect of method overloading and manually configuration at client side.
  • One-Many and One-One relationship using LINQ to SQLJul 03, 2009. In this article we will start with a basic LINQ to SQL example and then see how we can implement one-many and one-one relationship using ‘Entityref’ and ‘EntitySet’. We have also attached a source which demonstrates the same in a practical manner.
  • ABCs of an EndPoint in WCFJul 06, 2009. This article is targeted to beginners in WCF. This is a totally theoretical article explaining the following: all the theoretical concepts of an EndPoint in WCF, Contracts, Addresses in WCF and Binding and where, which binding should be used.
  • Data Contract Hierarchy in WCFJul 10, 2009. This article will explain : Data Contract hierarchy,How base class and sub class are getting exposed in WCF?,What is Known Type attribute and Mixing of sterilization and DataContract
  • Various Options in Hosting of WCF ServicesJul 13, 2009. This article is targeted to very new WCF developer. This will explain different Hosting options.
  • LINQ FAQ Part 2Jul 14, 2009. This FAQ article is dedicated to LINQ to SQL. In this article we will see a basic example of LINQ to SQL, how to define 1-1 and 1-many relationship using LINQ, how we can optimize LINQ queries, execution of stored procedures using LINQ and finally we will see a simple CRUD example using LINQ to SQL. For past some days I was running small sprint to complete this marathon I hope you will like this article.
  • File Uplalod From Silver Light Application to Server Location Using WCFJul 15, 2009. This article will explain, How to upload a file from SilverLight client to server location using WCF.
  • How to improve your LINQ query performance by 5 X times ?Jul 17, 2009. LINQ has been criticized by many early adopters for its performance issues. Well if you are just going to drag and drop using DBML code generator I am sure you will land up in to mess. Try doing this make a simple LINQ to SQL project using DBML and see your SQL profiler, I am sure you will never like to touch DBML code generator again. In this article we will first look in to how LINQ queries are executed, and then we will touch base on how compiled LINQ queries can help us improve our application performance at least 5 times. My numbers can be 10% up and down as I had come to that figure using my environmental situations.
  • Using WCF with ADO.Net Entity Model to Expose CRUD Operation as a SOAP Enabled ServiceJul 19, 2009. I have seen on web many people talking about, how to deal with DTO classes and business class in WCF. And those entire topics persuaded me to write this article.
  • Exposing CRUD Operations as RESful WCF Service and Peforming all HTTP Operation at Client Side.Jul 22, 2009. This article will explain step by step, how to perform CRUD operation on a database using ADO.Net Data Service and then how to expose CRUD operations as REST enabled WCF service to the client. This will also give explanation, how to consume REST service at client side. This article will perform the entire HTTP verb on the service at the client Side.
  • WCF 4.0 Features: Part IJul 27, 2009. This article is first part of multi series article on WCF 4.0. This article will list all the new feature of WCF and also will explain in detail Dynamic Service and End Point Discovery feature of WCF 4.0.
  • Handling Service Side Exception and Faulty Channel at Client Side in WCFAug 04, 2009. In this article, I will show different approach to deal with service side exception and channel fault at client side. I will do a comparison study between various approaches and I will provide best approach also.
  • WCF FAQ: Part 5 - TransactionsAug 09, 2009. This is my 5th WCF FAQ article. This article is completely dedicated to WCF transactions. In this article we will understand the WCF transaction protocol, two phases in WCF transaction, transaction options and finally end up with simple sample for WCF transaction.
  • Transport level Security in WCFAug 10, 2009. This article will give a very brief introduction of transport level security in WCF.
  • .NET Best Practice No: 1:- Detecting High Memory consuming functions in .NET codeAug 15, 2009. This article discusses the best practices involved using CLR profiler for studying memory allocation.
  • .NET Best Practice No: 3:- Using performance counters to gather performance dataSep 02, 2009. This article discusses how we can use performance counter to gather data from an application. So we will first understand the fundamentals and then we will see a simple example from which we will collect some performance data.
  • 4 steps to increase bandwidth performance for ASPX pages on IIS 6.0Sep 07, 2009. In this article we will try to understand how to enable compression on IIS 6.0. Once we have enabled compression we will use fiddler to see how bandwidth performance increases due to the same.
  • Streaming in WCFSep 07, 2009. In this article, I am going to explain various aspects of streaming of messages in WCF.
  • One Way Operation in WCFSep 08, 2009. This article will discuss about One Way Operations in WCF. I am also going to explain One Way Operation with Session full service pros and cons.
  • Best Practice No 4:- Improve bandwidth performance of ASP.NET sites using IIS compressionSep 16, 2009. Bandwidth performance is one of the critical requirements for every website. In today's time major cost of the website is not hard disk space but its bandwidth. So transferring maximum amount of data over the available bandwidth becomes very critical. In this article we will see how we can use IIS compression to increase bandwidth performance.
  • Uploading file with Progress BarNov 03, 2009. In this article I am going to show how to upload a file with progress bar in asp.net .
  • Progressbar control in Silverlight 3.0Nov 16, 2009. In this article, I will explain couple of things step by step. First how to work with Progressbar control of Silver Light 3.0.Then how to consume WCF service in Silverlight application when both are in same solution.
  • Creating REST Service Step by Step (A Simplest Approach)Nov 17, 2009. This article will give a step-by-step visual explanation of how to create a REST enabled WCF service.
  • Windows Authentication on REST Enabled WCF ServiceDec 15, 2009. In this article we will see how to enable Windows Authentication on a REST enabled service.
  • Step by Step walkthrough to host WCF service in Windows AzureDec 16, 2009. This article will give step by step walkthrough of hosting a WCF service in windows azure.
  • How to Enable Windows and NTLM  Authentication on WCF Service Dec 21, 2009. This article will explain various combinations of IIS and WCF Ntlm/Windows authentication settings.
  • Solving Caching problem of IE for WCF REST ServiceDec 24, 2009. This article will explain how to solve the caching problem in IE while making call to for REST enabled WCF service.
  • Consuming WCF / ASMX / REST service using JQueryJan 02, 2010. This step by step tutorial demonstrates how to consume WCF, ASMX, and REST service from an application using JQuery.
  • Returning Large Volume of Records from SOAP based WCF ServiceJan 17, 2010. In this article I will explain; How to return large volume of data (around 50000 records) from SOAP based WCF service to any client.
  • 4 Steps to Enable Instrumentation in WCF Mar 14, 2010. Many times we would like to monitor events of WCF application in production environment. We would like to monitor events like errors, security audits, performance etc. This can be achieved by extending the ASP.NET health monitoring system in WCF. The health monitoring system is also termed as instrumentation.
  • Fetching Image Using WCF REST ServiceMar 18, 2010. This article will give a very simple and basic explanation of, how to fetch an image using WCF REST service.
  • Creating and Consuming a WCF ServiceMar 25, 2010. In this article, I am going to discuss how to create a WCF Service and consume it from an ASP.NET 3.5 client application.
  • An Open Source Project - R-Bank Management SystemApr 02, 2010. This is an open source project based on a Bank Management System. This project covers all functionality related to a bank. This project uses WPF.
  • Picture Gallery for Windows 7 Phone using WCF REST ServiceApr 27, 2010. In this article I will give you walkthrough of creating a Picture Gallery for Windows 7 phone.
  • Theoretical Introduction of Custom Binding in WCFMay 05, 2010. Custom Binding provides the full control over the messaging stack for the user.
  • Custom Binding Part 2: Creating a Basic REST Service Using CUSTOM BindingMay 18, 2010. In this article, I am going to show you how we could create a basic WCF REST service using custom binding.
  • Gradient Effect in SilverlightMay 19, 2010. In this article I am going to show how we can show gradient effect in silverlight.
  • 6 Steps to Implement DUAL Security on WCF Using User Name + SSLMay 20, 2010. In the article we will try to apply DUAL security using transport plus message on WCF services. So we will first try to understand the basic concepts of WCF security i.e. transport and message. Once we understand the concept we will move step by step to how to implement SSL and user name security on WCF services.
  • Configuring Multiple End Points for WCF ServiceMay 25, 2010. In this article, I will explain how we could configure multiple binding for WCF service.
  • Fault Contract in WCF With Learning Video May 25, 2010. This article will give basic introduction on how to handle exception at service side, how to use fault contract at service side and how to handle service exception at client side.
  • Multiple Service Contracts in WCF ServiceMay 27, 2010. In this article, I will show how we can have multiple contracts in WCF service.
  • Self Hosted WCF REST Service or Hosting WCF REST Service in Console ApplicationJun 01, 2010. n this article, I will show you How to create a REST based service, How to host a REST,based service in Console application and How to consume a REST Service at client.
  • Data binding a WPF application using a WCF serviceJun 03, 2010. This article will show how to data bind a WPF application using a WCF service.
  • UriTemplate Class in WCF REST Service: Part IJun 03, 2010. This article will give explanation about UriTemplate class in WCF REST Service. We will see how UriTemplate class helps us to construct the URI for the methods.
  • New Features of WCF 4.0: Part IJun 07, 2010. In this series of article, I will illustrate each feature explaining the principles and showing some examples.
  • Enabling Help Page for REST Service in WCF 4.0Jun 07, 2010. In this article, I will show you How to create a REST based service, How to host a REST based service in Console application, and How to enable Help page for REST Service.
  • 3 Ways to Do WCF instance Management (Per call, Per session and Single)Jun 07, 2010. Many times we would like to control the way WCF service objects are instantiated on WCF server. You would like to control how long the WCF instances should be residing on the server.
  • Introduction to WCF Data service and ODATAJun 14, 2010. In this article we will see how to creating WCF Data Service and how to consume WCF Data Service.
  • New Features of WCF 4.0: Part IIJun 15, 2010. In this series of article, I will illustrate each feature explaining the principles and showing some examples.
  • Replace WCF with RIA Services for Non-CRUD OperationsJun 16, 2010. In this article we will have a look at a scenario where RIA service will not deal with CRUD operations.
  • Hosting WCF Service With NetTcpBinding in Windows ServiceJun 18, 2010. This article will explain How to create a WCF service with netTcpBinding, How to host the WCF service in Windows service ,How to start windows service and How to consume the service.
  • New Features of WCF 4.0: Part IIIJun 22, 2010. In this series of articles, I want to talk about the new features in the area of Windows Communication Foundation (WCF) in order to improve the development experience, enable more communication scenario, support new WS-* standards and provide a good integration with Windows Workflow Foundation (WF).
  • Creating WCF Data Service from scratch and Hosting in Console ApplicationJun 23, 2010. In this article, I will show how to WCF Service can be created from the scratch and how WCF Service can be hosted in Console Application.
  • WCF Concurrency (Single, Multiple and Reentrant) and ThrottlingJun 27, 2010. In this article we will concentrate on WCF concurrency and throttling. We will first try to understand what are WCF concurrency and the 3 important types of WCF concurrency. We will then see a small sample of WCF concurrency with single and multiple. We will then go through 9 combinations of WCF concurrency and instancing. Finally we will try to understand how to configure throttling using WCF ‘web.config’ file.
  • Server Side Paging in WCF Data ServiceJun 27, 2010. In this article, I will show you, how we can achieve server side paging in WCF Data service.
  • Creating a Windows Phone 7 Application Consuming Data Using a WCF ServiceJul 01, 2010. The objective of this article is to create a WCF service that retrieves data from the database using LINQ to SQL classes and a Windows Phone 7 application that consumes that service to display the data.
  • Fixing of ODATA or WCF Data Service Client library bug for Windows7 PhoneJul 01, 2010. his article, will explain how to fix this bug and continue using WCF Data Service client library for Windows 7 phone application.
  • Implementing a Basic Hello World WCF ServiceJul 09, 2010. In this article, we will manually implement a basic WCF service from scratch, step by step with clear instructions and precise screen snapshots. You will have a thorough understanding of what WCF is under the hood through this article. Visual Studio 2010 under Windows 7 will be used for all screenshots of this article.
  • Transaction in Windows Communication Foundation Jul 15, 2010. In this article I am going to explain step by steps approach to create transaction enabled WCF service.

About WCF

WCF stand for ( Windows Communication Foundation ) is a dedicated communication framework provided by Microsoft to increase the project efficiently. WCF is the part of .NET 3.0. The runtime environment provided by the WCF enables us to expose our CLR types as services and to consume other existing services as CLR types. All the communications are Depended on End Points. End Point have three Component ABC which are mainly used in WCF framework. First is Address, Second is Binding and Third one is Contract. Using WCF you can send data as asynchronous messages from one service endpoint to another. A service endpoint can be part of a continuously available service hosted by IIS or it can be a service hosted in an application.

SPONSORED BY

File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!
Download Free eBooks