How to embed a silverlight app in a jsp portlet?
Rgds
I'm not sure the structure of portlets, but since Silverlight is a client technology, anywhere the portlet is delivering HTML content, you would just put your tag for Silverlight and your app.
Related
I have a winforms application which basically has only an awesomium webcontrol inside (similar to native winfroms webcontrol)
I also have a web application (ASP.net) which contains around 20 javascript files, few stylesheets and images.
The web app is hosted online (cloud server).
My goal is to somehow optimize the winforms loading time (loading the website) by embedding the images, scripts and stylesheets in the winform itselt, and keeping the html and C# code online.
That means, my html pages(online) need to reference the scripts, images and stylesheets from the winform resources.
I know how to embed files in winforms, but i cannot seem to figure out how to reference them in the html.
Much thanks
I am working on a project where i have to embed a java applet (which contains rtsp streaming) into a silverlight application.
i am new to silverlight.
any idea how to work with that?
Thanks,
To my knowledge this is not possible. You have to embed an applet into an html page (with specific tags like <applet> or <object>). It would be like asking how to embed an applet into a flash application or embed silverlight into an applet. Those are competing technologies with a similiar goal on bringing dynamic content to the enduser.
So what you can do is having a web page with both technologies - some silverlight content and an applet which both gets executed when the page is loaded in the browser...
I mean theoretically you could implement an html page generator in silverlight which generates an html page with an applet in it - but this is complex and I don't see the benefit currently...
I want to add IFrame to my Silverlight web site. and into that iframe i want to add aspx page. is that possible? (aspx page in silverlight.)
It's posible in your HTML where you call the Silverlight xap file, but not inside Silverlight itself
Yes you can add what ever asp / html elements to the web page where your silverlight application is running.
For example modify the ProjectNameTestPage.aspx in your web project.
Actually it is possible to have HTML content nested within the Silverlight, Telerik for example has a control called "HtmlWindow" or "RadWindow" which does just this. Either you could subscribe to their control set or try and find out how they did it.
I have used Telerik's control multiple times in an MEF Silverlight application where different web applications (SSRS for example) are contained with the MEF plugins.
In my silverlight application I want to open a xaml in a new web browser. how can I do that?
with HTMLPage.Window.Navigate it is just aspx pages - maybe I can convert xaml to aspx?
10x!
a XAML page cannot be shown in a browser window. What Silverlight do actually is showing the Silverlight program within an < object > tag in the aspx (or html) page; nothing more.
In your silverlight project, if you chose to host your project in a new web site, you will see a second project with both a htm and aspx file that hosts that object that links to your xap file.
So basically, you need to create a second Silverlight project that will be hosted in a different aspx page. Then in your main silverlight project your can open that new aspx page in a new web browser window.
I am trying to bulid a WPF web application.I have 2 projects in the solution .One is of type WPF web application and another is of type ASP.NET web application where i need to embed the WPF stuff.The XAML file runs file when i set startup project as the WPF web app project.How can i add/embed this into the Default.aspx of my ASP.NET Web app project ?
You are creating what is known as a XBAP (XAML Browser Application).
Follow these deployment instructions from MSDN:
WPF XAML Browser Applications Overview