silverlight

Silverlight Web Project shows install icon when debugging

When I add a Silverlight project to a blank solution, it asks me whether I want to add a web project to host the silverlight page or automatically generate a test page. Oddly enough, when I automatically generate a test page, everything in fine. However, when I add the web project I have problems. I first get an error saying that it n...

Anybody know any good silverlight tutorials?

As the title says :) I've been waiting for Wrox to release "Professional silverlight 2.0" for ages but it's been delayed by nearly a year and I want to have a Play with silverlight. Ignoring the silverlight.net site, does anyone know of any good beginners tutorials that focus on coding in Visual Studio instead of Blend? Jon ...

Why does my service reference only generate asynchronous methods?

I have a Service Reference (not a web reference) in VS2008 to a web service that I did not write. The reference works, but only asynchronous versions of each method are available for me to use. In the "Configure Service Reference" dialog, the "Generate asynchronous operations" is checked and grayed out. First of all, I thought checking...

Silverlight/WCF Problem, expecting application/soap+xml, received text/xml.

I have a Silverlight application in which I would like to call a WCF service. When calling the service I receive the following response from the server: 415 Cannot process the message because the content type 'text/xml; charset=utf-8' was not the expected type 'application/soap+xml; charset=utf-8 Has anyone experienced this proble...

Will Silverlight 2 Succeed Where Netscape Plugins and Java Applets Failed

My company sells spreadsheet components which are used in a variety of ASP.NET and Windows Forms applications. We frequently get an email or a phone call asking "Can we use your product to let our users view / edit / print / etc... this Excel spreadsheet that my boss gave me, in the browser?" Our answer is something like "Not exactly. ...

Can I use Silverlight in an ActiveX Control?

I would like to create an ActiveX control that uses Silverlight. Is this possible/sensible and does anyone have an sample code for this? I am working in a legacy (non web) system that cannot directly use WPF/Silverlight controls. But the system can access ActiveX controls. The thought is that we may be able to host Silverlight in an Act...

Error accessing RSS feed from Silverlight with WebClient()

I'm downloaded the code from John Papa's book here: http://silverlight-data.com/ and am sucessfully running the Chapter 7 example which allows you to press a button and it reads RSS from digg.com and then displays it. So, then I replaced the digg URL http://services.digg.com/stories/topic/microsoft/?appkey=http%3A%2F%2Fwww.silverligh...

What do I need to excell at Silverlight development?

Hi, To be a 'silverlight' developer, is it basically asking for both programming and graphic skills? Or is it just a matter of implementing the graphics into the silverlight project? i.e. can you be a silverlight guru and yet not know heads from tails when it comes to graphic design? ...

Silverlight development in visual basic 2005

Hi, is possible development for Silverlight in Visual Basic 2005? On the Microsoft website i found only the SDK for 2008. Thank You Alexander Nagy ...

Which Expression product is for Silverlight developers?

Hi, I'm not a graphics person, but I want to learn silverlight development. Which expression product am I looking at here? Blend or studio or is vs.net 2008 all I need? ...

Building Dynamic LINQ Queries based on Combobox Value

I have a combo box in Silverlight. It has a collection of values built out of the properties of one of my LINQ-to-SQL objects (ie Name, Address, Age, etc...). I would like to filter my results based off the value selected in a combo box. Example: Say I want everyone with a last name "Smith". I'd select 'Last Name' from the drop down ...

How to change the background color of a Textblock in Silverlight?

I want a textblock that has blue text on a yellow background. I can set the blue text with the "Foreground" attribute. But "Background" doesn't work (that would be too easy I guess). So what is the best way to do this, wrap it in a Rectangle or Canvas that has a background color? And, is there anything we should know about Silverlight ...

How to include Silverlight on HTML page with object tag?

I want to include a silverlight application (.xap file) inside a HTML page. Using these MSDN instructions I create this HTML page: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head> <meta http-equiv="content-typ...

Best practice to share DAL between ASP.NET and Silverlight 2

I have an ASP.NET 3.5 e-commerce site that has an admin section. I want to swap out the ASP.NET-based admin section and rewrite it in Silverlight 2. Silverlight requires async calls, so I can't just call my existing DAL from a new SL2 app. What is the best practice for doing something like this? Should I create a WCF service and call...

Download satellite/maps images (from Google Maps or Live Maps?)

I'm building a little play project and I'd like to use satellite images of a town inside deepzoom, what's the easiest way to get them? I'm sure there's a MUCH better way than PrtScn, I've tried google maps downloader but it doesn't download satellite images and it's company don't seem to be offering it anymore. ...

Accessing hardware from within Internet Explorer

Is it possible to access hardware devices (web-cams, magnetic card readers, etc.) from within Internet explorer? If yes, what technologies are used? And are there any .Net examples. In my case, I need to access a magnetic card reader that would be attached to the client computer. The web-app would need to be able to access the reader ...

Silverlight ItemsControl. Can you remove the panel completely via templating?

I have a DataTamplate for my ItemsControl that merely contains an Image with some other meta data. What I am trying to do is bind to the ItemsControl and have the Images be displayed with the Convas.Left and Canvas.Top that is bound via the data I give. I have been trying my best to remove any Panels from the control via the ItemsPanel...

How do I set the ZIndex of a Listbox Item on MouseEnter?

I have a different style for the items in my listbox on MouseOver which gives a slight zoom effect. This works nicely, but since the ZIndex is set in the order items are added to the ListBox, the zoomed item will be drawn behind the next item. I would like to set it so that the zoomed item is on top. I've tried creating a MouseOver even...

What physics engine would be good for a Silverlight pool engine?

I have looked into the Farseer engine, but I barely scratched the surface. Would it or another engine be good for a reasonably accurate pool game engine? ...

Implementing a nested asynch "call stack" scenario in .NET

I'm attempting to refactor some moderately complex existing .NET code to be usable in Silverlight. The core issue is that all Silverlight web services calls must be asynch, and the existing code was implemented in a fairly typical synchronous manner. Existing call stack for a typical operation might be something like this: Page -> Get...