Webinar on reporting in Silverlight

I am presenting a webinar on July 28th on reporting in Silverlight.  This webinar is hosted by my employer, Magenic Technologies.  If you would like to register and watch this event, please follow this link: http://guest.cvent.com/EVENTS/Info/Invitation.aspx?e=6ca01a01-e2bd-4a77-a057-a63ab2208e81 There should be some tome allocated for questions and answers as well. Thank you.

Entity Framework and multiple relationships between two tables

Here is a scenario – I have two tables – Users and Phones.  Users table has two columns that relate to Phones table – PrimaryPhone and SecondaryPhone.  If you build an EF model with these two tables, you will end up with Users entity with two navigation properties that relate to Phones entity – Phones …

Continue reading ‘Entity Framework and multiple relationships between two tables’ »

Using Entity Framework as Data Access Layer in n-Tier applications

I have been using Entity framework as DAL for a CSLA for Silverlight based application.  I have player a role in uncovering a number of issues that make it very hard to use in these circumstances.  Here is my (surely incomplete) list. 1. Foreign keys handling.  The actual IDs that are used as foreign keys …

Continue reading ‘Using Entity Framework as Data Access Layer in n-Tier applications’ »

Setup Silverlight application with WCF service to run over HTTPS/SSL

Here are the steps in achieving this task. 1. Setup WCF service. To do this you have to alter web.config file for the web site that hosts the service.  You have to add security setting to basisHTTP binding that is used by Silverlight application to connect to the WCF service.  Here is an example of …

Continue reading ‘Setup Silverlight application with WCF service to run over HTTPS/SSL’ »

Downloading Silverlight application over HTTPS

I encountered an interesting problems today.  I was trying to setup a Silverlight application to run over https.  I was able to successfully run it over HTTP prior to this task.  However, when I switched URL to https://www.mysite.com, I got the error 2104 “Could not download the Silverlight application”.  The solution that I had to …

Continue reading ‘Downloading Silverlight application over HTTPS’ »

Customizing look of a Silverlight button

During my Introduction to Silverlight presentation at the Atlanta .NET users group, someone suggested that I show how make a button with rounded corners in Silverlight.  I was a bit short on time, and it was getting late, so I decided to write a blog post on the subject matter instead.  So, here it goes. …

Continue reading ‘Customizing look of a Silverlight button’ »