silverlight

Linked Themes/Generic.xaml Files will not work in visual studio 2008

i have a project that i am doing and i need to share the code between silverlight and WPF Assembly problem is that even though the wpf assembly is the owner of that file and the silverlight assembly only has a link to the file, all of the build actions are page everything is correct. if i make the silverlight assembly the owner then silv...

Self Hosted ADO.NET Data Services, comsuming from an external Silverlight application

Issue: An issue exists whereby I cannot access my Self Hosted ADO.NET Data Services from my RIA applications. My services are hosted separately to the web projects with the Rich Internet Applications (RIA)s. I need to enable access from separate Silverlight (and Flash) client apps. From Silverlight I get an exception (see below) when...

Is there a use for XAML <ColumnDefinition>Something Here Example</ColumnDefinition>?

Hi, I was just creating a Grid in my XAML when i noticed that Visual Studio automatically creates ColumnDefinitions like this: <Grid> <Grid.ColumnDefinitions> <ColumnDefinition></ColumnDefinition> <ColumnDefinition></ColumnDefinition> </Grid.ColumnDefinitions> </Grid> I always stop this from happening by using the s...

wpf to silverlight xaml issue

Ok, I have a ResourceDictionary definition that I used for a WPF app below: <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"&gt; <Style x:Key="fieldsPanel" TargetType="{x:Type StackPanel}"> <Style.Resources> <Style TargetType="{x:Type CheckB...

Microsoft Blend 3 - Add Silverlight SDK Themes

I'm working on my first WPF project and would like to use one of the themes that I see in the Silverlight Tool Kit. All the help I've found is for Expression 2 and they show a different version of the Asset Tab. Can someone advise me how to do this. It looks like it should be simple, but I'm not seeing it. ...

WCF / Csla Hell

I'm trying to build a proof of concept Csla 3.7/Silverlight 3 app and have been working my way through Rocky's tutorials. It's a really simple one form/one business object data editing app and everything is just peachy right up until the point where I try to get the Wcf configured so that the Silverlight app can talk to the Data Portal. ...

Silverlight communication with XML RPC console server

I want to comunicate with Console XML RPC server from my silvelight application. Is it possibile? Steps: 1. Start the Console XML RPC server Code for Console XML RPC server is this: using System; using System.Collections; using System.Runtime.Remoting; using System.Runtime.Remoting.Channels; using System.Runtime.Remoting.Channels.Http...

Measuring Silverlight chart loading time

I am trying to measure how long it takes for different Silverlight charting libraries (e.g. Silverlight Control Toolkit, Visifire, Telerik) to load on screen. My problem is that I can only measure the time until the control is loaded and drawing starts to take place on the screen, however rendering takes more time because of animation e...

Silverlight Event Log in Isolated Storage

Has anyone written an event log that uses Isolated Storage in Silverlight 3? Any suggestions on implementing one? Specific questions: Should I keep a stream writer open, or should I open,write, and close for each entry? How should I remove items from the log atomically? ...

Where can I find information about creating 3D controls in WPF?

I am about to start to make the interface for a game in WPF / Silverlight. I'd like it to have a nice look all in 3 dimensions. Can you point me to some good resources, tutorials, books... on how to develop real 3D controls, like Buttons and such? ...

How to use OpenReadAsync and WebClient to download data and assign to UserToken?

I need to be able to use WebClient in a partiular way, I need to download an image as a Byte Stream and assign this to an Image, there are multiple images and items to be assigned, and these will appear in a list. This application is a Silverlight 3 application, solution must be one that works in Silverlight. I have a Download Method I...

Is HttpClient from WCF REST Starter Kit Silverlight compatible?

I know in earlier versions of the WCF REST Starter Kit the HttpClient class was not usable from Silverlight. Has that changed? I did a couple of quick searches and didn't find anything that gave a clear answer. ...

How do I choose between WCF, REST, POX and RIA services for a new Silverlight application.

There a lot of different ways a Silverlight application can connect back to it’ server. Including WCF - Windows Communication Foundation REST (see also) ADO.NET Data Services (or is this just REST?) POX - Plain Old XML (E.g basic xml) RIA services For each of these please say what it’s for and when you would or wouldn’t use it. I...

Adobe made a deal with Google to improve SEO on flash. Anything about Silverlight?

Adobe made a deal with Google so that google engine reads SWF contents for SEO. The whole thing has to do with indexing some static swf content and not crawling it any further, but that's at least something. Example Does anybody know if similar efforts were/will be made for Silverlight? At least will Bing support reading Silverlight cont...

silverlight MVVM Viewmodel to view binding not working

I have a real simple example that works nicely without a viewmodel as i have a Item class that implements iNotifyPropertyChanged public class Item : INotifyPropertyChanged { private string _name; private string _desc; public string Name { get { retu...

How do I set a Silverlight Grid layout ColumnDefinition width to "*" programatically?

So I'm creating columns dynamically for a Grid layout in Silverlight (V3.0, C#): LayoutRoot.ColumnDefinitions.Add(new ColumnDefinition()); and you can specific that the width of the column be "auto" with LayoutRoot.ColumnDefinitions.Add(new ColumnDefinition() { Width = GridLength.Auto }); But how to you set it to be "*" (share with...

Switching from Silverlight to Flash for Games - Recommended Reading?

I have been working on some games in Silverlight. However, the community and portal support are still rudimentary at this point. While I expect it to improve over the next couple years, I don't plan to wait around for that. I'm coming from a .Net heavy development background. What would you suggest I read and practice to start develo...

Can Silverlight do everything Flash can?

I don't know much about multimedia development and am having some trouble comparing Silverlight and Flash in terms of capability. In other words, is there anything that can be accomplished in Flash that cannot be accomplished in Silverlight (and vice-versa)? I'm talking more in terms of graphical ability, layout, etc. For example, coul...

Get Identity when calling WCF service from Silverlight app authenticated with Forms auth.

Hi I'm doing FormsAuthentivcation, on a Silverlight app. When the SL app calls a WCF service I'm trying to get the authenticated username from within my WCF service like this: ServiceSecurityContext.Current.PrimaryIdentity.Name; or this (unsure of which to use, problem is that both are empty) ServiceSecurityContext.Anonymous.Primar...

Silverlight PRISM loading an external XAP module

Hi, I'm not sure if this is possible, but I am currently loading most of my modules from within the main application assembly, I am trying to now load external XAP modules. I have something like this: ModuleInfo themeModule = new ModuleInfo(); themeModule.ModuleName = "Theme_External"; themeModule.ModuleType = "Theme_External...