By Mark Latchey, on January 10th, 2012%
In this article we are going to explore the WCF Ria Services with Silverlight 5. Lets start with the basics for the first timers .
Create a new SL project as shown below :
Note the DLLs that are added when you enable WCF RIA Service support.
In the web project Add New Item . Add a Data Model . . . → Read More: Silverlight 5 Hosting :: Basic About Silverlight 5
By Jonas OReilly, on September 16th, 2011%
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
By Mark Latchey, on June 29th, 2011%
Often you’ll want to pass selected values from one page in a Silverlight 4 application to another.
Query Strings are a valid approach, but you might want to pass more than simple strings or IDs in the URL.
This quick walkthrough will show you to use access a simple static variable from one page, on another. This could . . . → Read More: Silverlight 4 Hosting :: Passing Values between Pages in a Silverlight 4 Navigation Application
By Mark Latchey, on June 23rd, 2011%
In this post I will show you how to create the custom splash screen for your Silverlight application. You have seen many software which use nice splash screen during loading of the software applications like Microsoft office, excel and many others. I have also created splash screen for my desktop applications which I have developed during . . . → Read More: Silverlight 4 Hosting :: Splash Screen in Silverlight 4
By Landon Ferguson, on April 28th, 2011%
Introduction
This article will talk about 4 simple steps which will assist you to consume WCF service in a Silverlight application. It also has a simple sample source code which demonstrates all the 4 . . . → Read More: Silverlight 4 Hosting :: How to Consume WCF Service in a Silverlight Application
By Landon Ferguson, on April 21st, 2011%
Silverlight is great. Silverlight 4 is extra great. If you know a little bit about WPF and a handful about the ViewModel Pattern, you’re in great shape. If you’re like me, you tend to mock up your user interfaces and user interface functionality using only client-side functionality before you start to make calls back to the . . . → Read More: Silverlight 4 Hosting :: Silverlight 4 Synchronous WCF Service Calls (or “How to avoid writing a 1-tier Silverlight App”)
By Mark Latchey, on April 16th, 2011%
This section will provide a step-by-step walkthrough of setting up a new RIA services project using a shared DLL for server side code and a simple Entity Framework model for data access. All projects are created with the consistent ArchitectNow.RIAServices filename prefix and default namespace. This would be modified to match your companies standards.
- First, open . . . → Read More: Silverlight 4 Hosting :: Setting up a new Silverlight 4 Project with WCF RIA Services
By Mark Latchey, on April 4th, 2011%
By Landon Ferguson, on February 22nd, 2011%
Namespace prefixes
In Silverlight 3.0 you had to use multiple namespace prefixes to access classes in XAML that were located in different namespaces. This meant you often ended up with something like this in the page header:
xmlns:esri=”clr-namespace:ESRI.ArcGIS.Client;assembly=ESRI.ArcGIS.Client”
xmlns:esriSymbols=”clr-namespace:ESRI.ArcGIS.Client.Symbols;assembly=ESRI.ArcGIS.Client”
xmlns:esriGeometry=”clr-namespace:ESRI.ArcGIS.Client.Geometry;assembly=ESRI.ArcGIS.Client”
xmlns:esriToolkit=”clr-namespace:ESRI.ArcGIS.Client.Toolkit;assembly=ESRI.ArcGIS.Client.Toolkit”
In Silverlight 4 we can now map multiple namespaces to the same xmlns prefix, and the 2.0 API takes full advantage . . . → Read More: Silverlight 4 Hosting :: The Advantage Using Silverlight 4 in the the ArcGIS Silverlight
By Landon Ferguson, on February 2nd, 2011%
Silverlight provides several different networking classes that can be used to retrieve data from distributed resources such as Web services, REST APIs and even sockets. By learning to use these classes, you can access data from nearly any source without having to write a lot of custom code to do it. In this article, we’ll focus . . . → Read More: Silverlight 4 Hosting :: Using Silverlight WebClient’s Class