?
Solved

Silverlight best practice

Posted on 2009-12-30
2
Medium Priority
?
444 Views
Last Modified: 2013-11-12
I am using Silverlight3

Can anyone tell me what is the best practice to use silverlight, i mean i should take only silverlight project and will host its object in html page or i should use asp.net website to host silverlight in .aspx page then i can use server site too.Please tell me what is the best practice?

Thanks
0
Comment
Question by:farjack1
2 Comments
 
LVL 5

Accepted Solution

by:
feddas earned 2000 total points
ID: 26162905
This depends largely on what the web server supports that you'll be putting your Silverlight app on.

If the web server supports ASP.NET then you should create a Silverlight app with ASP.NET support.  Having ASP.NET host the silverlight app adds a lot of functionality that isn't included with HTML.  But ASP.NET is not supported by all web servers.

If you don't know what your web server supports you should host the Silverlight app in HTML.  When Silverlight is hosted in HTML it is more or less guaranteed to work on any web server you put your website and Silverlight app on.

It's a functionality (use ASP.NET) versus compatibility (use HTML) issue.
0
 

Author Comment

by:farjack1
ID: 26163529
i have IIS server so that means i should host silverlight on asp.net page, then question appear if i use asp.net to host my silverlight and i use mix functionality i mean some server site controls and some silverlight objects in one asp.net page so how we will communicate server site controls and silverlight objects i mean how we can pass silverlight data to server site control if you can give me any code example or suggest any tutorial that will very useful.

Thanks
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article surveys and compares options for encoding and decoding base64 data.  It includes source code in C++ as well as examples of how to use standard Windows API functions for these tasks. We'll look at the algorithms — how encoding and decodi…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question