Click here to Skip to main content
16,020,626 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello Friends,

I am novice to Silverlight. and want to use the silverlight in asp.net application.

I have already an ASP.net web application. But not getting how can I add Sivlerlight to my asp.net web application.

I'm using Visual Web Developer Express 2010.
I started a silverlight project but the file structure I'm not getting it.

Can I make silverlight user control and add to my asp.net or what to do?
Which file or what should I add to my asp.net application to use SilverLight.

In short, what I require or need to do to add silverlight in a normal Asp.Net Web
Application

Thanks
Posted

 
Share this answer
 
Comments
Manish Kumar Namdev 24-Dec-11 5:19am    
Thanks Srinivas..
I visited the link you mentioned above... but these are not what I'm looking for.
These videos are helpful to start a silverlight project.
But I'm looking "What need to do or steps to do If I want to add silverlight in existing asp.net web application". In the above videos they are making silver light project.
srinivas vadepally 24-Dec-11 6:29am    
k manish,
http://forums.silverlight.net/t/42074.aspx
You cannot add a User Control directly (a Silverlight dll and ASP.Net code are not compatible).

However, you must note that a xap file itself is embedded as an object in an ASP.Net page.
So what you can do is build a xap file with your user control in it and add it to your page.
 
Share this answer
 
Comments
Manish Kumar Namdev 24-Dec-11 6:02am    
Thanks Abhinav... I surely try to do it and update this
Manish Kumar Namdev 27-Dec-11 2:04am    
Hello Abhinav...
I found the xap file when I build my silverlight project and found how it is embeded in html page i think same I have to do it in my app.
I try it and again update this question.
then you download the vb on ur system
 
Share this answer
 
Comments
RaviRanjanKr 24-Dec-11 3:53am    
It should be better to avoid short texts words like ur instead of using 'your' while questioning and Answering. :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900