silverlight

Silverlight crash course for WPF developers

Hi, I'm looking for a Silverlight book (unlikely) or some tutorials aimed at people who know how WPF operates. I mean there's obviously lots of overlapping stuff and I would prefer reading something that assumes that I understand how WPF works, describes things that are available in Silverlight and not in WPF and vice versa and highligh...

Images not displayed in silverlight when app is run

I'm trying to display an image within a Silverlight application but the image does not display when the application is run. When creating the project within Visual Studio I chose the "Automatically generate a test page to host Silverlight at build time" option. Complete code as an example: <UserControl x:Class="SilverlightApplication3....

Passing HTTP Auth Credentials to SOAP Webservice

Hello, I'm using a SOAP Webservice (ASMX) which is HTTP Auth secured in my Silverlight Application. How can I pass my Credentials to the Webservice? bb_webservice = new BlackberryWSSoapClient(); bb_webservice.GetLatestLocationsCompleted += new EventHandler<GetLatestLocationsCompletedEventArgs>(ws_proxy_GetLatestLocations...

Having an issue with GetElementbyId silverlight and encoding

I am stumped here. I have a project in which I call the following StringBuilder StringBuilder = new StringBuilder(); StringBuilder.Append("<script type='text/javascript' id='VideoSelection'> "); StringBuilder.Append("function SilverlightChangeVideo(videoID) "); StringBuilder.Append("{ "); StringBui...

Playing video or audio in ASP.NET

Hello! I have store in SQL Server 2005 audio and video files. I want to play this files in ASP.NET without storing them on filesystem. With images stored in SQL Server 2005 I use a custom HTTP Handler, but I don't know if I can do the same with video and audio files. Which is the best way of doing it? Silverlight? Maybe I need a phys...

AWS & Silverlight do you have any notes from the field

I'm interested in getting my head around AWS (amazon web services) and its viability as a back end for Siverlight applications. Initially I'm interested in using S3 and SimpleDB to store and manage a media library. Before I start I'm trying to identify the spikes in difficulty. Is it authentication, rest vs soap, cross domain policy, or...

Silverlight: encrypting username and password for web service

Encryption is not my forté. I'm writing an application in Silverlight 3 which communicates with a web service to authenticate users. The web service won't necessarily be hosted under SSL. I'm trying to find a way to reversibly encrypt the user name and password before passing them which doesn't rely on the key and salt being hard-coded ...

wpf and silverlight / view states and triggers

Hi, does anyone know if views states (used in silverlight) will be available in next version of wpf? ...

Silverlight 3.0 out of browser versus WPF/Windows App - Summary of differences?

With the new Silverlight 3.0 feature that allows the components to be hosted outside of the browser, our company is looking for details on the differences between this new feature and WPF Windows applications (since Silverlight is partly a subset of WPF). Is there a good resource that lists the differences between Silverlight 3 outside ...

What is .NET RIA Services?

Can someone explain it succinctly? Can it be used with non-Silverlight clients? ...

using Silverlight MediaElement with Absolute URI

Hello all, I am trying to build a small silverlight application. I've got files I am hosting on my localhost. I want to be able to use MediaElement to play them. However I keep getting this annoying error message when I launch my silverlight application: Error: Unhandled Error in Silverlight 2 Application SLControls.xap Code: 4001 Cate...

Is it possible to start a client-side app from Silverlight?

I have a simple company portal which allows users to start their apps from the browser. The URLs in the hypelinks are passed (using Javascript) to a signed applet to actually start the client-side apps. All clients are XP or Vista and all run IE6 or IE7. I have recently been looking at Silverlight and am wondering if I could do somethin...

Dynamically created Silverlight controls not visible

I am dynamically adding custom controls in Silverlight 2 but they are not visible. However, on examining the visual tree in Silverlight Spy I note that their visibility property is Visible and toggling it to Collapsed and back to Visible causes the controls to become visible. What might I be doing wrong? Any ideas on what I should look ...

new project - webforms v silverlight v wpf

Hi just about to get the dev team to start looking at the next version of a CRM type SOA based application and the thorny issue of Application Front End came up. Currently the application is a composite application using Web Forms (.net2) Sharepoint 2003 InfoPath * BizTalk *Not FormsServer though - was before FormServer as we hack...

Silverlight that degrades to html

I am interested in creating a website entirely in silverlight (personal reasons) but I don't want people who don't yet have silverlight (a good many) to have to install a plugin just to view my site. The solution I am leaning towards is to start with a flat html/css version of the site and present the silverlight version only to people w...

ComboBox with ItemTemplate that includes a button

So, lets say I have a ComboBox with a custom data template. One of the items in the data template is a button: <ComboBox Width="150" ItemsSource="{Binding MyItems}"> <ComboBox.ItemTemplate> <DataTemplate> <Button Content="ClickMe" /> </DataTemplate> </ComboBox.ItemTemplate> </ComboBox> The problem...

Silverlight Border object not visible when theme applied?

I have a applied one of the Silverlight Toolkit themes to my XAML page, and now for some reason my Border objects don't show up. Is this by design? I've made sure to explicitly state a BorderBrush color that should contrast the theme background, but this does not fix the issue. In case it helps, the theme I'm using is the BureauBlack t...

Silverlight PollingDuplexHttpBinding and cross domain issues

I created a silverlight component and a WCF service, both are communicating using a PollingDuplexHttpBinding to enable push and pull functionality. Works perfectly in our domain, however, a host outside our domain makes completly no calls to the webservice which is publicly exposed. clientaccesspolicy file is available and downloadabl...

Silverlight WCF Authentication (Help going from WPF to Silverlight)

I have an existing working WPF Application in which I have implemented my own custom authentication to a backend WCF service. When I access this service from WPF, setup the ServiceProxy as follows: proxy.ClientCredentials.UserName.UserName = "test"; proxy.ClientCredentials.UserName.Password = "pass"; and because I'm using HTTPS the ui...

WPF or Silverlight 3 Pixel Shader for Stippling Effect

Can anyone recommend an algorithm for a HLSL Pixel Shader (for WPF or Silverlight 3) to do a stippling effect? Here are some examples: http://www.nolinovak.com/, http://sprouls.com/ ...