WCF 4.5 Hosting :: Intellisense Support For Config File WCF 4.5

Today, in this article let’s play around with one of the interesting and most useful concepts in WCF 4.5.

Question: What is intellisense support for configuration file?

In simple terms “It provides an easy and friendly way to access the code while working with the config file. The intellisense support is now enabled for the WCF config file”.

Step . . . → Read More: WCF 4.5 Hosting :: Intellisense Support For Config File WCF 4.5

WCF 4.5 Hosting :: Intellisense support for config file in WCF 4.5

Today, in this article let’s play around with one of the interesting and most useful concept in WCF 4.5.

Question: What is intellisense support for configuration file?

In simple terms “It provides easy and friendly way to access the code while . . . → Read More: WCF 4.5 Hosting :: Intellisense support for config file in WCF 4.5

WCF 4.5 Hosting :: New Features in WCF 4.5

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 . . . → Read More: WCF 4.5 Hosting :: New Features in WCF 4.5

WCF RIA Hosting :: Using Attribute Validation in Silverlight with WCF RIA Services Example

In this example I’ll use WCF RIA services because it can wire the example up quickly, it automatically projects the data annotations, and because I get a lot of people who ask me for examples using WCF RIA. The example here will work just as well if you use your own POCO classes with annotations in . . . → Read More: WCF RIA Hosting :: Using Attribute Validation in Silverlight with WCF RIA Services Example

WCF RIA Hosting: Sending complex types to the client

Entity Framework 4 allows us to create complex types. Typically, such types are used to get the result of a stored procedure. However, when we try to send such a complex type using a WCF RIA Domain Service, the following error is encountered.

What to do? Adding attributes to EF designer generated classes is a bad idea; . . . → Read More: WCF RIA Hosting: Sending complex types to the client

JSON Hosting :: Working with JSON Service in WCF Application

The advantages of using JSON enabled WCF service is that the data is communicated in plain text like stream, it does not require any data/message parsing. For exposing a WCF service as JSON enabled WCF service, we need to apply the [WebGet] attribute on the method of the ServiceContract with ResponseFormat as JSON. The binding used . . . → Read More: JSON Hosting :: Working with JSON Service in WCF Application

Silverlight WCF Hosting :: Cross-Origin Resource Sharing (CORS) and WCF

Yesterday I encountered the following question in the MSDN forums about calling a cross-domain WCF RESTful service from Chrome.

The problem with doing the above is because there is a cross-domain call to a WCF service. When you are using Chrome, the browser tries to find out if it can do the call by sending a cross-origin . . . → Read More: Silverlight WCF Hosting :: Cross-Origin Resource Sharing (CORS) and WCF

WCF RIA Hosting :: WCF RIA Service adding extra Required attribute on generated classes

We upgraded a Silverlight 3 RIA application to Silveright 4 bits. Once we fixed all the errors, it appeared that RIA generated entities were “over-validating” themselves. We noticed that all the string entities that were marked not-nullable in database were giving validation errors saying “Field XYZ is required”. We looked through the attribute metadata classes and . . . → Read More: WCF RIA Hosting :: WCF RIA Service adding extra Required attribute on generated classes

ASP.NET Hosting :: Differences Between ASP.NET Web Service and WCF Service

WCF/ASP.Net Web Services are used for developing web services. Here is a list of differentiation between these two.

Feature
ASP.NET Web Service
WCF

Data Transformation
To and from Data Transition is done through XML Serializer
DataContractSerializer is used for data transition

File Extension
File extension is asmx
File extension is .svc

Webmethods vs    DataContract Attributes
ASP.NET WebService uses Webmethods to translate .NET FW types in to XML.</SPAN< . . . → Read More: ASP.NET Hosting :: Differences Between ASP.NET Web Service and WCF Service

WCF Services Hosting :: Optimize Data Contracts for better WCF Performance

Out of the box Silverlight provides two message encoding types for sending SOAP messages over the wire. These are TextEncoding and BinaryEncoding. MTOM encoding is still not available within Silverlight.

Binary encoded messages produce a payload that is about half the size of a message encoded with standard text encoding. Please note that binary encoding is a . . . → Read More: WCF Services Hosting :: Optimize Data Contracts for better WCF Performance

Sponsors

JaringanHosting.com

Cheap Reseller Hosting

Best Blog Hosting Provider

Best European ASP.NET 4.0 Hosting Provider