Silverlight Hosting :: How to Edit Silverlight page data using Domain Service

This post discusses to edit the displayed data in Silverlight page and save the changes back to database. Insert, Update and Delete operations can be done using domain service object context. All the changes you made to this object are collectively submitted to the database when you call the SubmitChanges method.

This post requires to create a . . . → Read More: Silverlight Hosting :: How to Edit Silverlight page data using Domain Service

Silverlight Hosting :: Pitfalls of Deploying Silverlight Applications in Web Farms

I wanted to make a few notes regarding my recent experience of deploying a Silverlight application in web farm environment. Here is what the topology looked like. It included load balancer appliance configured to redirect the traffic to one of three servers. There was also SQL Server cluster in active-passive configuration. The . . . → Read More: Silverlight Hosting :: Pitfalls of Deploying Silverlight Applications in Web Farms

Silverlight 5 Hosting :: Anchestor Relative Source Binding in Silverlight 5

Silverlight 5 has another new feature called Ancestor Relative source binding. It was already available in WPF and has been newly introduced in Silverlight 5 beta. Using this, you can now bind to the relative ancestor elements very easily.

Let’s discuss it with a small example where we will create a Control Template for a Button and . . . → Read More: Silverlight 5 Hosting :: Anchestor Relative Source Binding in Silverlight 5

Silverlight Hosting :: Editing Silverlight page data using Domain Service

This post discusses to edit the displayed data in Silverlight page and save the changes back to database. Insert, Update and Delete operations can be done using domain service object context. All the changes you made to this object are collectively submitted to the database when you call the SubmitChanges method.

This post requires to create a . . . → Read More: Silverlight Hosting :: Editing Silverlight page data using Domain Service

Best Europe Web Hosting Providers

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

Silverlight (and WPF) Hosting: How to make items stretch horizontally in a ListBox

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

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

Sponsors

JaringanHosting.com

Cheap Reseller Hosting

Best Blog Hosting Provider

Best European ASP.NET 4.0 Hosting Provider