how can I deploy my silverlight 4 application
Posted
by Mark
on Stack Overflow
See other posts from Stack Overflow
or by Mark
Published on 2010-05-14T03:02:11Z
Indexed on
2010/05/14
3:04 UTC
Read the original article
Hit count: 362
I have a basic Silverlight 4 project called "MySLApp" which has the associated MySLApp.Web project. (names changed for simplicity)
It compiles down into these files (in the silverlight project):
- AppManifest.xaml
- MySLApp.dll
- MySLApp.xap
- MySLAppTestPage.html
And the Web project builds into:
- Bin\MySLApp.Web.dll
- ClientBin\MySLApp.xap
What I also have in my Web project is a .ASHX file that serves up a generated image, which my Silverlight application calls out to as the URL of an image:
var uri = new Uri(@"http://localhost:1122/ImageServer.ashx", UriKind.Absolute);
var bi = new BitmapImage(uri);
TagImage.Source = bi;
My big question boils down to this:
How do I deploy my app to my IIS server? What files from where do I need to get it to work? Including the .ASHX url?
Cheers, Mark
© Stack Overflow or respective owner