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

Silverlight Hosting :: Error Message – HTTP 404 – File not found, How to Fix It?

Error Message:

404 Not Found error messages are often customized by each website, especially very large ones, so keep in mind that this error may present itself in more ways than the common ones listed below

- “404 Error”
-”Page cannot be displayed”
-”Internet Explorer cannot display the webpage”
-”404: Not Found”
-”The page cannot be found”
-”Error 404: NOT FOUND”
-”HTTP 404 – . . . → Read More: Silverlight Hosting :: Error Message – HTTP 404 – File not found, How to Fix It?

Silverlight 4 Hosting :: How to Use SQL Reporting Services in Silverlight

You may wonder how you can use the SQL Server Reporting Service in Silverlight. You may probably also want to know what the best practices are for the said process. What are the answers to these questions? Here is the truth: you should know that you cannot use Silverlight when you want to access the SQL . . . → Read More: Silverlight 4 Hosting :: How to Use SQL Reporting Services in Silverlight

Silverlight Hosting :: How Can I Create Customized OOB Window?

Getting Started

If your development environment is ready then we can proceed towards creating a new Silverlight Application project. At the end of this part we will be able to run our first Silverlight application inside the browser.

1. Open your Visual Studio 2010 IDE
2. Select File > New Project or just press CTRL + SHIFT + N . . . → Read More: Silverlight Hosting :: How Can I Create Customized OOB Window?

Sponsors

Advertise Here

Cheap Reseller Hosting

Best Blog Hosting Provider

Best European ASP.NET 4.0 Hosting Provider