How to choose right WCF binding?
|
Binding in WCF defines how clients can connect with your service. The base class for all bindings in WCF is System.ServiceModel.Channels.Binding. A Binding includes definition for WS-* protocols used, the message encoding and the transport protocol. The available WCF Bindings are
|
![]() |
Related Posts:
1 commentTransport and Message Security in WCF
This post discusses about transport and message security. In Transport Security user credentials and claims are passed using transport layer. The transport protocols are TCP, HTTP, MSMQ and IPC. Each of these protocols have their own mechanism for passing user credentials. The most common approach is using secure socket layer(SSL) for encrypting the details which sent over HTTPS.
Related Posts:
No commentsService Orientation vs Object Orientation
Services are good communication technique to use across application and platform boundaries. Service-oriented approach always preferred when you are building a distributed application. Object orientation approach provides a view of what a system should look and effective for producing logical models. Object based approach can fail to consider real-world factors like physical distribution and network communication. This post compares the two approaches.
| Object Orientation | Service Orientation |
| Suitable in a homogeneous platform and execution environment. |
Suitable in a heterogeneous platform and execution environment. |
| Shares types, not schemas. | Shares schemas, not types. |
| Runs in cheap and transparent communication. | The cost is variable and requires explicit communication. |
| Life-time of objects is maintained by the infrastructure. | Services are autonomous –Security and failure isolation are necessary. |
| It requires synchronized deployment of both client and server. | It allows continuous, separate deployment of client and server. |
| Provides no guide-lines for state management and ownership. | It maintains and uses the reference state. |
| You can predict the sequence of events, timeframe and outcome of invocations. | Message orientation approach and supports asynchronous and long-running communications. |
| Goal is to transparently use functions and types remotely. | Goal is to provide inter-service isolation and interoperability based on standards. |
Related Posts:
No commentsSharePoint Built-in List Types–Announcement List
| Lists provide an easiest way to store information in SharePoint. SharePoint provides different ways to keep your information in predefined lists. SharePoint stores most of its content information in lists. This post discusses about SharePoint Predefined Announcement List. Lists translates themselves and stores it information in SQL Server database. |
Built-in SharePoint List Types-Announcement List
Content & Data Lists
Content & Data list facilitates the collection and display of information on site. View All Site Content is an example of Content & Data Lists. You can get this list by either clicking on Site Actions button or by clicking list in Quick Access menu which appears on left of your page.
Related Posts:
No commentsAccess Denied error message for SharePoint Visitor group members
It is likely that your SharePoint 2010 site returns Access Denied error when user in Visitor group accesses the page in site.
First reason for the error message:
The page which user trying to access might not have been published to major version.
For example: If your page has image which got minor version and page got published with (Major Version) then server would deny the access to page and ask for credentials.
Solution: At least one major version of the page should exist on your site. Make sure all resources(Images, Documents) are on the page published with Major Version.
You can use “draft check” button on page tab of your page’s ribbon to check the unpublished resource on the page that being used.
Related Posts:
No commentsWCF 4.5 Features
This post discusses the new features in WCF 4.5. There have been significant improvements in WCF 4.5 on configuration.
Simplifying the generated configuration file in client
| A client configuration file is generated when you add a service reference in Visual Studio 2010. The configuration files in earlier version of WCF contained the value of every binding property even if it is a default value. In WCF 4.5 Configuration files contain binding properties that are set to non-default value. | ![]() |
Example of configuration file generated by WCF 3.0
Related Posts:
No commentsOData and Windows Azure
This post discusses about building a service using CLOUD platform that can reach various devices. What is OData and Where it fits in? OData is a specification that makes very easy to exchange and interact with data on the web. So OData is all about connecting up devices to the CLOUD. This post also discuss how to create a OData Service in Visual Studio 2010 and host it on Windows Azure then explains how to consume the service on Windows phone Mango.
What id OData?
A REST based set of patterns for accessing information via services
It is a great protocol for connecting devices to the CLOUD. The REST API’s which you might have developed having the following common requirements
- Querying the data
- Ordering the data
- Paging the data
- Filtering the data
- Even CRUD operations on data
OData provides a common way to do the above operations. If you got your web API and if you use OData then you have got a wide range of options to expose of your data to various client libraries and platforms.
Related Posts:
No commentsPerformance Tricks to Metro Style Web Applications
What is web performance? It is actually when does the user perform an action it self and when does those results occur on the screen. The three key factors to web performance is Network, CPU and Memory.
The web developer has to think about the above three element to improve the performance of a web application. You can measure your web site performance using windows performance toolkit which is the part of windows 7 SDK. You can download the toolkit from here. There is great post how to use this toolkit which you can read from here. We all know these tricks but we ignore sometime which costs severely in web application performance. You can use the below tricks are as check-list while building your web application.
The tricks are
Related Posts:
No commentsWhat is new in .NET Framework 4.5
Another major release in .NET Framework, .NET 4.5 which allows the developers to use Windows 8 technologies and windows runtime directly from .NET 4.5. It makes easy and natural to write Metro style applications using C# and VB. .NET 4.5 makes your applications run faster eg: Faster ASP.NET startup. .NET 4.5 gives you easy access to your data with entity framework code first approach and recent SQL Server features. This post discuss these features in detail.
You can download the .NET FW 4.5 Developer preview from here.

Related Posts:
1 commentWhat’s new in Visual Studio 11
This post gives you an overview on new features in Visual Studio 11. Developers constantly looking for better user experience, developer experience and team experience while using the Visual Studio IDE.
The Visual Studio Family
Building Windows Applications
Visual Studio 11 is the tool for building Windows 8 Metro Style applications. It is got built-in shared architecture with Expression Blend. Now you can have the basic XAML designer which is in Blend now coming up with Visual Studio 11 IDE.
It is got the XAML editor with intellisense.




