Validating Data in Silverlight 4 Applications – IDataErrorInfo
|
Entry Date: Oct 2010
|
site: ASP.net
|
Rating:
|
keywords:Silverlight; Silverlight 4;
|
Article Description:
With the release of Silverlight 4 two new interfaces are now available including IDataErrorInfo and INotifyDataErrorInfo. In this post I'll walk through the process of using the IDataErrorInfo interface which provides a more simplistic way to validate data and provide end users with notifications. Let's start by taking a look at the interface's members
|
Comments:
Nice intro to IDataErrorInfo and how to use it in SL4. With this interface you can implement complex validations (the ones that cannot be implemented by DataAnnotations).
|
Click Here To Navigate to the Article
|
Silverlight 4 Rough Notes: Clipboard Access
|
Entry Date: Oct 2010
|
site: Mike Taulty
|
Rating:
|
keywords:Silverlight; Silverlight 4;
|
Article Description:
I must use the clipboard hundreds of times a day. Business applications need clipboard access. Silverlight 3 only provided clipboard access in the form of a couple of built-in controls ( like TextBox ) providing copy/paste automatically like most TextBoxes in the world already do.
But in Silverlight 4 this is expanded to allow for more complete clipboard access.
|
Comments:
Quick reading, to check the new clipboard access features implemented on Silverlight 4.
|
Click Here To Navigate to the Article
|
Tell the Debugger to Ignore Silverlight Validation Exceptions
|
Entry Date: Oct 2010
|
site: John Papa
|
Rating:
|
keywords:Silverlight; Silverlight 3.0; Silverlight 4;
|
Article Description:
I recently wrote an article that demonstrates how to use the DataForm and validate data entry in Silverlight using the DataAnnotations. One of the pet peeves I have with the validation is that it throws in exception in the setter of your public property. Putting my disagreements with that aside for a second, it causes a major inconvenience when debugging the application. For example, when running the application that uses the DataAnnotations and one of the conditions is violated, the debugger will catch the validation exception and break into the code. The desired behavior is that the debugger will not break into the code since I really just want to see the validation information on screen.
|
Comments:
Data Annotations are quite powerful, but is annoying when you are debugging and you get Visual Studio debugger hitting validation violations and unhandled exceptions, here you will find trick to disable that tracking.
|
Click Here To Navigate to the Article
|
5+ Ways to Reduce your .Xap Size
|
Entry Date: Sep 2010
|
site: Telerik
|
Rating:
|
keywords:Silverlight; Silverlight 4;
|
Article Description:
Being Silverlight developer means that we are also kind of web developers. From this point of view, we also have to think about the web traffic that our applications generate. We need to reduce it as much as possible. So basically we need to reduce the size of the application's output - the .xap file.
|
Comments:
Nice XAP optimization article... always check for good practices and avoid the "localhost" effect.
|
Click Here To Navigate to the Article
|
Create a Silverlight Europe weather map
|
Entry Date: Sep 2010
|
site: Silverlight Show
|
Rating:
|
keywords:Silverlight; XAML; Silverlight 3.0; Silverlight 4;
|
Article Description:
I don’t generally find the fall or winter an appropriate time to track weather conditions, but this is an exception. Microsoft recently released the Bing Maps Silverlight Control SDK, which ties Silverlight and Bing Maps closely together, allowing developers to create some very powerful mapping applications. In this article, I’ll walk the reader through the process of creating an Europe weather map application in Silverlight by using the Bing Maps Silverlight Control
|
Comments:
Nice full sample, how to integrate Silverlight Bing Maps SDK into your SL application and a real sample application (weather map).
|
Click Here To Navigate to the Article
|
Getting Started with Bing Maps Silverlight Control v1.0
|
Entry Date: Sep 2010
|
site: Chris Pietschmann
|
Rating:
|
keywords:Silverlight; XAML; Silverlight 3.0; Silverlight 4;
|
Article Description:
It’s been 8 months since the CTP release of the Bing Maps Silverlight Control at MIX’08, and finally this week Microsoft released the Final v1.0 release of the control to the web. Now, we can all finally start using the Bing Maps Silverlight Control in Production!
|
Comments:
Very nice intro to Silverlight Bing Maps SDK, really you will learn in some minutes how to start from scratch and use this powerful control.
|
Click Here To Navigate to the Article
|
Simultaneously calling multiple methods on a WCF service from silverlight
|
Entry Date: Aug 2010
|
site: imeta
|
Rating:
|
keywords:Silverlight; Silverlight 3.0;
|
Article Description:
A while back I had to debug some performance issues in an existing Silverlight app, as the problem / solution was a bit obscure and finding info about it was quite tricky, I thought I’d share, maybe it can help the next person with this problem.
|
Comments:
Client network stack is a quite powerful feature incorporated in Silverlight 3, apart from the main topic discussed in this article (concurrent calls browser limits issues), it explains as well how to share browser cookies using client network stack.
|
Click Here To Navigate to the Article
|
JavaScript vs Silverlight: An answer
|
Entry Date: Jul 2010
|
site: Gala Soft
|
Rating:
|
keywords:Silverlight; Java Script; Silverlight 4;
|
Article Description:
An article was published at JupiterJS.com (titled “JavaScript vs Silverlight”) arguing that JavaScript is better than Silverlight. Unfortunately, there is no way to post comments on that page (weird, really) so I decided I would post my answer here.
|
Comments:
Interesting post comparing Silverlight with Javascript, highlighting weak and stron points, a nice read (also nice to read the article reffered that only covers the javascript part)
Good to read both points of views
|
Click Here To Navigate to the Article
|
Simple Image cropping in Expression Design
|
Entry Date: Jul 2010
|
site: Developing for .net
|
Rating:
|
keywords:Silverlight; Silverlight 4; Expression Blend;
|
Article Description:
I had a case today where I wanted to crop an image, something I haven’t needed to do in some time. In fact, the last time I had to do it was on my previous computer which had several graphics programs installed. This time, however, the only application I have installed on this machine is Expression Design 2. I remember seeing the feature I was after in some training videos, so I thought I should be able to figure out quickly enough. Unfortunately, it didn’t work as I remembered. On the other hand, I found a pretty quick way to do simple cropping so I thought I’d share that.
|
Comments:
If you have to use Expression Designer (vector graphics oriented tool) sometimes you won't find a direct way to do som simple bitmap operations.
In this post you will find how easy is to crop a bitmap image.
|
Click Here To Navigate to the Article
|
Using Silverlight 4 to Browse NetFlix’s OData Catalog
|
Entry Date: Jun 2010
|
site: Christopher Deweese
|
Rating:
|
keywords:WCF; Silverlight; ADO .net Data Services; Silverlight 3.0; Silverlight 4; ODATA;
|
Article Description:
One of the announcements at Mix 10 was the preview of NetFlix’s OData catalog API. The Astoria team has been hard at work getting the new release of what is now called WCF Data Services (Formerly ADO.NET Data Services). In Silverlight 4 the WCF Data Services Client is included as part of the Silverlight runtime which makes it very easy to consume OData Services.
|
Comments:
Nice sample about how to build a consumer of an external OData source (Silverlight client).
|
Click Here To Navigate to the Article
|
Avoid incorrect Silverlight XAP file caching
|
Entry Date: Jun 2010
|
site: Code Blog
|
Rating:
|
keywords:Silverlight;
|
Article Description:
The code below appends the last-write filedate of the Silverlight Application XAP file to the path in the source parametre of the Silverlight object tag.
This will ensure that poorly constructed caching functionality of webbrowsers and proxy servers doesn’t incorrectly use old builds of the XAP file.
|
Comments:
Having a proxy cache in your client / company can mean... problems when you deploy a new version of your silverlight app (the old version remains in cache, X hours or even days).
The trick to avoid this is going through the object instantiation and add a parameter to the query string... using that way you can fool the server, you have to decide quite well which param to use, e.g. current date time will force users to download the XAP version every time, there's a better solution in this post get the last write file date of the XAP file.
|
Click Here To Navigate to the Article
|