AndroidBits » Silverlight http://www.androidbits.com/blog Everything made of bits Sat, 01 Nov 2008 22:02:47 +0000 http://wordpress.org/?v=2.8.4 en hourly 1 WCF and Silverlight on IIS setup http://www.androidbits.com/blog/archives/2008/03/20/wcf-and-silverlight-on-iis-setup/ http://www.androidbits.com/blog/archives/2008/03/20/wcf-and-silverlight-on-iis-setup/#comments Fri, 21 Mar 2008 01:56:16 +0000 scottbee http://www.androidbits.com/blog/archives/2008/03/20/wcf-and-silverlight-on-iis-setup/

Both involve MIME type setup on IIS.

1. WCF:  If your WCF does not work on your production IIS server, most likely the .svc MIME type is not registered, I used the following command line to fix it:

c:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg -i

2. Silverlight, you need to register the .xap MIME type, for IIS 7, simply using the following command line:

C:\windows\system32\inetsrv\appcmd set config /section:staticContent /+[fileExtension='.xap',mimeType='application\x-silverlight-app']

For both cases, the "C:\Windows\" directory path depends on where your OS is installed.

]]>
http://www.androidbits.com/blog/archives/2008/03/20/wcf-and-silverlight-on-iis-setup/feed/ 0
Sliverlight Applications and Web Services http://www.androidbits.com/blog/archives/2008/03/14/sliverlight-application-and-web-services/ http://www.androidbits.com/blog/archives/2008/03/14/sliverlight-application-and-web-services/#comments Sat, 15 Mar 2008 02:25:02 +0000 scottbee http://www.androidbits.com/blog/archives/2008/03/14/sliverlight-application-and-web-services/ I am trying to write my first Silverlight application.  I need to do data binding, I already have a set of business objects written in an existing project.  Naturally, I want to reference that project and reuse the business objects.  But VS 2008 won’t allow me to reference the project, says I can only reference Silverlight projects.  Fine, how about reference the .dll then?  Same thing, VS 2008 complaints the .dll is not built with Silverlight.  Why?

It clicked in 10 minutes later while trying different things:  a Silverlight application is a client side application, it should never directly using business objects, which sit on the server side.  The server side objects and operations should be exposed as services, which then can be consumed by Silverlight applications.

]]>
http://www.androidbits.com/blog/archives/2008/03/14/sliverlight-application-and-web-services/feed/ 0
MIX08 Sessions online http://www.androidbits.com/blog/archives/2008/03/07/mix08-sessions-online/ http://www.androidbits.com/blog/archives/2008/03/07/mix08-sessions-online/#comments Fri, 07 Mar 2008 20:32:46 +0000 scottbee http://www.androidbits.com/blog/archives/2008/03/07/mix08-sessions-online/ If you don’t get to go to MIX, this years sessions are available here.   Lots of good stuff and good too see they built the whole thing with Silverlight.  So far, there are more than 60 sessions available, will take days if you go through them all.

]]>
http://www.androidbits.com/blog/archives/2008/03/07/mix08-sessions-online/feed/ 0
Silverlight 2.0 Controls Source http://www.androidbits.com/blog/archives/2008/03/05/silverlight-20-controls-source/ http://www.androidbits.com/blog/archives/2008/03/05/silverlight-20-controls-source/#comments Thu, 06 Mar 2008 03:00:35 +0000 scottbee http://www.androidbits.com/blog/archives/2008/03/05/silverlight-20-controls-source/ I like source code, I like to read them, tweak them, and break them.

Here is the source code package for Silverlight 2.0 controls.

http://download.microsoft.com/download/6/5/e/65e6d2b0-8f7e-4e08-ae62-31f03d664f73/Silverlight2Beta1Controls.exe

]]>
http://www.androidbits.com/blog/archives/2008/03/05/silverlight-20-controls-source/feed/ 0
Silverlight for Mobile Announced http://www.androidbits.com/blog/archives/2008/03/05/silverlight-for-mobile-announced/ http://www.androidbits.com/blog/archives/2008/03/05/silverlight-for-mobile-announced/#comments Wed, 05 Mar 2008 21:40:18 +0000 admin http://www.androidbits.com/blog/?p=3 Microsoft announced silverlight for mobile today.

http://silverlight.net/learn/mobile.aspx

It will be a plugin for browsers, starts out with WM6, will go on Nokia phones as well.

Wondering if they are going to port WPF to mobile as well.

]]>
http://www.androidbits.com/blog/archives/2008/03/05/silverlight-for-mobile-announced/feed/ 0