Hello everyone,
I wish all of you a relaxing and successful 2010. See you on the other side
)
Sascha
Hello everyone,
I wish all of you a relaxing and successful 2010. See you on the other side
)
Sascha
I had a little inspiration during the holidays – tried it out – and it worked.
With Internet Explorer 8 Microsoft introduced a new feature called Webslices. Little pieces of information within your browser-bar (most commonly) about site-updates.
Now I tried to put a Silverlight app into a Webslice.
Herefor I created a new Silverlight App with a testpage like this (created automatically)
<form id="form1" style="height: 100%;"> <div id="silverlightControlHost"> <object width="100%" height="100%" type="application/x-shockwave-flash"> <param name="source" value="ClientBin/SilverlightWebslice.xap" /> <param name="onError" value="onSilverlightError" /><param name="background" value="white" /> <param name="minRuntimeVersion" value="3.0.40624.0" /> <param name="autoUpgrade" value="true" /> </object></div></form>
In my Silverlight-App I placed a Textblock saying “Welcome to my Silverlight Webslice”.
<Grid x:Name="LayoutRoot"> <TextBlock Text="Welcome to my Silverlight Webslice"></TextBlock> </Grid>
And then, in default.aspx I put the Webslices-Code
<form id="form1"> <div id="SliceID" class="hslice" style="display: none"> <span class="entry-title">Silverlight Slice <a style="display: none" rel="entry-content" href="SilverlightWebsliceTestPage.html">Alternative</a> </div></form>
and voila, a silverlight Webslice.
Have fun playing arund with it
)
Before I forget, there is an alternative for Firefox Browser called WebChunks. Unfortunately it doesn’t work for the current Version at the moment, hope the developer will keep on working on it.
Sascha