Set up Silverlight Plug-in for WordPress
- Download Silverlight WordPress plug-in from here.
- Extract the silverlight.php file in this package to your WordPress wp-content\plugins folder.
- Go to http://localhost:81/wordpress/wp-admin. Log in as administrator. Then click on “Plugins” link to the left.
- You should see “Sliverlight for WorPress” listed as one of the plugins. Click on “Activate” link below it:
Create Hello World! Silverlight Application
- Create a new Silverlight Application, and let’s name it SilverWordPress. You don’t need to create a web host because we are hosting the application on WordPress (it doesn’t hurt to create one either).
- Add something simple such as a TextBlock showing “Hello World”:
- Compile the solution. What we need is the SilverWordPress.xap file, which will be under your project’s Bin\Debug folder by default.
<TextBlock FontSize="60" VerticalAlignment="Center" HorizontalAlignment="Center">Hello World!</TextBlock>
Hosting Silverlight Application on WordPress
- Copy the XAP file you’ve got to your WordPress root folder. This is the default location where the plug-in looks for the file. You can change this location in plug-in settings.
- Edit any page in HTML view and add tag:
- Save the page and load it up!
- The plug-in support additional parameters to adjust application size and initialization parameters – read its readme.txt for details.
[silverlight: SilverWordPress.xap]
Well excellent tutorial you have shared here about this concept and i got god information here.web hosting provider
ReplyDelete