Click here to Skip to main content
15,902,636 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Which language ? Pin
Mohammad Dayyan24-Oct-08 5:46
Mohammad Dayyan24-Oct-08 5:46 
GeneralRe: Which language ? Pin
Paul Conrad24-Oct-08 5:48
professionalPaul Conrad24-Oct-08 5:48 
QuestionDeploying a Silverlight application Pin
Jerry Evans23-Oct-08 12:28
Jerry Evans23-Oct-08 12:28 
AnswerRe: Deploying a Silverlight application Pin
DaveX8623-Oct-08 16:10
DaveX8623-Oct-08 16:10 
GeneralRe: Deploying a Silverlight application Pin
Jerry Evans23-Oct-08 23:48
Jerry Evans23-Oct-08 23:48 
GeneralRe: Deploying a Silverlight application Pin
DaveX8624-Oct-08 4:15
DaveX8624-Oct-08 4:15 
GeneralRe: Deploying a Silverlight application Pin
Paul Conrad24-Oct-08 5:44
professionalPaul Conrad24-Oct-08 5:44 
AnswerRe: Deploying a Silverlight application Pin
DaveX8625-Oct-08 18:33
DaveX8625-Oct-08 18:33 
I managed to get a test Silverlight 2.0 Application working on my local copy of IIS 6.0/WinXP Pro...some things to know:

- It seems to work best if debugging is turned off in Web.Config, to change it, from VS2008 menus, go Website-->ASP.Net Configuration...that brings up an add-on for managing the security settings etc for your project.

- Mime-types: I found references for 2 mime types that need to be added in your IIS Control Panel:
- .xaml = application/xaml+xml
- .xap = application/x-silverlight
...see here[^] for the .XAML and here[^] for the .XAP This[^] is another reference to the mime type issue. If you add these yourself, make sure not to forget the period in front of the extension, or it doesn't work eg: '.xap' not 'xap'

- .Net 3.0 and 3.5 in Silverlight 2.0 still use the ASP.Net 2.0 stuff in IIS, make sure that your virtual directory under IIS is set to use ASP.Net 2.0 ...or your hosting provider has it set.

- When I created my Silverlight Project, I included an 'ASP.Net Website' for testing...I copy the entire contents from that to my IIS virtual folder...if I make changes and rebuild, I recopy the whole thing. The other project which is the actual Silverlight project gets compiled into a *.XAP file which is copied to the 'ClientBin' folder of the 'ASP.Net Website' project, so you don't need any files from the actual Silverlight project for deployment. So, if my project was called 'SilverlightApplication', you would wind up with a 'SilverlightApplication.Web' folder...copy the entire contents of that to your IIS folder...the files and folders were:
App_Data (folder)
Bin (folder)
ClientBin (folder with .XAP file)
Default.aspx
Default.aspx.cs
Silverlight.js
SilverlightApplicationTestPage.aspx
SilverlightApplicationTestPage.html
web.config

To load the site from a web browser, I put http://localhost/myvirtualfolder/SilverlightApplicationTestPage.html (or the aspx file).

I'm sure you can name your own files what you want etc...this is just a starting point to get all the pieces working.
QuestionDynamically Hinding Controls Pin
Jonso23-Oct-08 10:45
Jonso23-Oct-08 10:45 
AnswerRe: Dynamically Hinding Controls Pin
User 27100923-Oct-08 17:19
User 27100923-Oct-08 17:19 
GeneralRe: Dynamically Hinding Controls Pin
Mark Salsbery23-Oct-08 20:17
Mark Salsbery23-Oct-08 20:17 
GeneralRe: Dynamically Hinding Controls Pin
User 27100925-Oct-08 9:38
User 27100925-Oct-08 9:38 
GeneralRe: Dynamically Hinding Controls Pin
Mark Salsbery25-Oct-08 10:44
Mark Salsbery25-Oct-08 10:44 
QuestionAre there any anti-alias effects in WPF ? Pin
Mohammad Dayyan23-Oct-08 9:19
Mohammad Dayyan23-Oct-08 9:19 
AnswerRe: Are there any anti-alias effects in WPF ? Pin
elektrowolf25-Oct-08 23:30
elektrowolf25-Oct-08 23:30 
GeneralRe: Are there any anti-alias effects in WPF ? Pin
Mohammad Dayyan25-Oct-08 23:39
Mohammad Dayyan25-Oct-08 23:39 
QuestionChart Component Pin
Johan Lombaard23-Oct-08 3:09
Johan Lombaard23-Oct-08 3:09 
AnswerRe: Chart Component Pin
Pete O'Hanlon23-Oct-08 4:35
mvePete O'Hanlon23-Oct-08 4:35 
AnswerRe: Chart Component Pin
Jammer23-Oct-08 5:03
Jammer23-Oct-08 5:03 
QuestionHow to get the coordinate of the Shape which moving on the PathGeometry while using DoubleAnimationUsingPath? Pin
suyeshk22-Oct-08 23:11
suyeshk22-Oct-08 23:11 
QuestionWPF & Silverlight LOB Form Layout - Searching for a Better Solution Pin
User 27100922-Oct-08 22:46
User 27100922-Oct-08 22:46 
AnswerRe: WPF & Silverlight LOB Form Layout - Searching for a Better Solution Pin
Pete O'Hanlon22-Oct-08 23:02
mvePete O'Hanlon22-Oct-08 23:02 
QuestionDerive from UserControl Pin
ezazazel22-Oct-08 11:35
ezazazel22-Oct-08 11:35 
AnswerRe: Derive from UserControl Pin
Pete O'Hanlon22-Oct-08 11:43
mvePete O'Hanlon22-Oct-08 11:43 
GeneralRe: Derive from UserControl Pin
ezazazel22-Oct-08 12:10
ezazazel22-Oct-08 12:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.