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
This is another installment in the WCF vs. WTF article series. I mentioned before that I am quite a fan of WCF but having said that, feel that there are a few areas for improvement like sending method comments with the service contract discovery and more streamlined debugging, to name a couple.
The truth is that WCF . . . → Read More: WCF Hosting :: How to Fix Error -The underlying connection was closed: An unexpected error occurred on a receive.
DomainServices was introduces as part of WCF RIA Services. WCF RIA Services offers a solution on how we can build a middle-tier having clients and servers.
Using a DomainService in a Silverlight client is very easy using WCF RIA Services – the WCF RIA Services link between the client and the server will automatically generate the client . . . → Read More: WCF RIA Hosting :: Use DomainServices as Service References
What is it?
Web host providers in Europe can offer all the amenities that any host in an industrialized country can offer. Web site customers can find budget, dedicated, shared, reseller, and shared hosting. Applications include all the latest languages, frameworks, and capabilities that a consumer could find at a Web host in the U.S. Domain name . . . → Read More: Best Europe Web Hosting Providers
This article walks through the ‘Enterprise Library: Logging application‘ configuration process to log data to database using WCF service.
Note that regardless of Web service type i.e., SOAP or RESTful the configuration process is same.
Visual Studio 2010 with .NET 4.0
Enterprise library 5.0
ASP.NET Web application on Client end.
Open Service Web.config using Enterprise library configuration tool
Open the Service . . . → Read More: Silverlight WCF Hosting :: Configuring WCF service to utilise Enterprise Library – Logging application to log data to database
Service contract means the collective mechanisms by which a service’s capabilities and requirements are specified for its consumers. We must say that it defines the operations that a service will perform when executed. It tells more things about a service, like message data types, operation locations, the protocols the client will need in order to communicate . . . → Read More: WCF Hosting :: WCF Service Contract
Sometimes we need to use controls like TextBox, TextBlock etc (that set their width automatically depending on content) in a ListBox’s ItemTemplate. If we need to draw Borders or assign Background colors to each such controls then we may end up having non-equal rows. Here’s a sample markup:
Here’s the output for the above XAML:
A quick thought . . . → Read More: Silverlight (and WPF) Hosting: How to make items stretch horizontally in a ListBox
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
This post explains about calling a WCF service using ASP.NET AJAX Library Data View control. The following are . . . → Read More: WCF Service Hosting :: Using ASP.NET AJAX Library in WCF Service
Some times you need to return a set of data from a WCF service and When you are working with ado.net, dataset is the obvious reason you wish at your client side. But passing dataset can make service less interoportable because in that case you are forced to use dataset on your client code. Second point . . . → Read More: WCF Service Hosting :: How to Use Dataset Across WCF Service