Silverlight 3 – CollectionViewSource and Navigation

I am killing two birds with one stone in this post, covering both CollectionViewSource and Navigation framework in Silverlight 3. To create new Silverlight application that uses Navigation framework, simply create new project in Visual Studio, and you will find Silverlight Navigation Application project template under Silverlight node.  Navigation framework in Silverlight three allows developers …

Continue reading ‘Silverlight 3 – CollectionViewSource and Navigation’ »

Silverlight 3.0 Behaviors – Part 2

Today I am going to explore Silverlight three behaviors a little more.  In this post I am going to look at different events that can trigger an action in a behavior.  Essentially, we can specify any event on a target element to invoke a behavior.  Again, we are going to use TargetedTriggerAction base class. This …

Continue reading ‘Silverlight 3.0 Behaviors – Part 2’ »

Unable to debug Silverlight applications

I have run into this issue numerous times, but from time to time I keep forgetting what causes this issue. The symptom is that your breakpoints inside Silverlight application cannot be hit, and the information message states that “No symbols have been loaded for this document.”  What is usually strange that I was able to …

Continue reading ‘Unable to debug Silverlight applications’ »

Dynamically setting initialization parameters in Silverlight application

One of the properties on object tag for Silverlight control in initParams or initialization parameters:    <object name="objSilverlight" data="data:application/x-silverlight-2," type="application/x-silverlight-2"             width="100%" height="100%">             <param name="source" value="ClientBin/SilverlightInitParams.xap" />             <param name="onError" value="onSilverlightError" />             <param name="background" value="white" />             <param name="minRuntimeVersion" value="3.0.40624.0" />             <param name="autoUpgrade" value="true" />             <param name="initParams" value="key=value,key1=value1"/>             <a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=3.0.40624.0" …

Continue reading ‘Dynamically setting initialization parameters in Silverlight application’ »

Silverlight 3.0 Behaviors – Part 1

In this post I will start exploring behaviors in Silverlight 3.0.  This topic is very large, and it will take me a few posts to cover at least key aspects of behaviors. A little background on the subject.  Silverlight, unlike WPF does not natively support triggers that would allow the developer to change UI based …

Continue reading ‘Silverlight 3.0 Behaviors – Part 1’ »

ALEMUG.net meeting

Atlanta Leading Edge Microsoft Users Group is meeting tomorrow.  Our topic will be new features in C# 4.0 and .NET Framework 4.0.  Some of the topics are contra-variance and co-variance, dynamic types, office interop, named and optional parameters, code contracts. Please join us tomorrow for an exciting meeting.  See the website for directions and times …

Continue reading ‘ALEMUG.net meeting’ »

SQL Saturday #25

I spoke yesterday at SQL Saturday event in Gainesville, GA.  My topic was CLR Integration in SQL Server.  CLR stands for Common Language Runtime or .NET Framework.  This SQL Server 2005 or higher feature allows developers to write .NET assemblies and deploy them in SQL Sever.  You can implement scalar and table-values functions, stored procedures, …

Continue reading ‘SQL Saturday #25’ »

Silverlight 3.0 – Perspective 3D

I am continuing covering new features in Silverlight 3.0.  The subject of this post is Silverlight 3.0. Perspective 3D is new type of transforms available in Silverlight 3.0.  It allows developers to create a 3D projection of a two-dimensional object.  A key power of this new feature is the fact that any UI element in …

Continue reading ‘Silverlight 3.0 – Perspective 3D’ »

Assembly caching in Silverlight 3.0

I am continuing discussing new features on Silverlight 3.0.  Current topic is assembly caching.  In Silverlight 2.0 all assemblies that your application needed would have to be included in your XAP file(s).  In Silverlight 3 you can force browser to cache one or more assemblies that your application needs.  In case of caching your can …

Continue reading ‘Assembly caching in Silverlight 3.0’ »