Hans Muster's Library tagged → View Popular
CodeProject: Blending HTML into Silverlight pages seamlessly. Free source code and programming help
The scenario that this article solves is the following: I am developing a simple image viewer page with a menu on the top-left. The menu is developed using Silverlight. By clicking the menu button, users can view a resizable image on the main page. In addition to showing an image, I also want the main page to be able to show an HTML content. Moreover, I want to use a Silverlight control to show the image or the HTML content.
There are two issues to be solved:
1. There is no existing HTML Silverlight control that can render an HTML page.
2. How to route the OnClick event from the Menu control to the Image control.
In the following sections, I will show you an idea of solving the above problems.
I assume readers are familiar with ASP.NET/C#, Silverlight, Visual Studio, JavaScript, and DHTML.
C# WebServer - Home
This project is a flexible http server which can be embedded in any .Net application. It has a modular design where features are added using modules. The server also supports REST and all http verbs (and not just GET). More info about the core: Core
The modular design allows you to use a small specific part or get a fully blown MVC webserver.
1. Just use the (framework included, not System.Net.) HttpListener, to take care of everything yourself
2. Use the httpserver, that also gives you better response handling and sessions.
3. Add the file module, which also allows the server to serve files under a specific directory/subdirectories (you can also use multiple file modules).
4. Add the controller module to be able to use controllers.
5. Use the template manager in your controllers to get views.
6. Use ViewController to integrate views in the controllers (adds some Render methods).
See? Modular design that doesn't force you to use more functions than you need.
Mike Davidson - sIFR
sIFR 2.0: Rich Accessible Typography for the Masses
sIFR is meant to replace short passages of plain browser text with text rendered in your typeface of choice, regardless of whether or not your users have that font installed on their systems. It accomplishes this by using a combination of javascript, CSS, and Flash.
Selected Tags
Related Tags
Sponsored Links
Top Contributors
Groups interested in embedding
-
Rich Media and Web Standards
Embedding media in websites...
Items: 27 | Visits: 24
Created by: Maggie Wolfe Riley
-
Excellent online tools for educators
A list of very useful tools...
Items: 62 | Visits: 82
Created by: Kay Cantwell
-
embedding-bce
Links relevant to the "Embe...
Items: 9 | Visits: 5
Created by: Andrew Stewart
Diigo is about better ways to research, share and collaborate on information. Learn more »
Join Diigo
