Watch Silverlight TV videos, pinned to full screen

by Andrej Tozon 30. August 2010 01:33

One of the “annoyances” with Silverlight (and similar browser plugins) is with watching a video in a multi-monitor set up – you would pop out your Silverlight video player to full screen on one monitor and continue working on your other monitor – which would cause your video player to return to its normal size, ruining your watching experience. Well, that was the case until Silverlight 4 came out. Silverlight 4 supports “full-screen pinning” in a way that you can choose the Silverlight 4 app to remain pinned to full screen on one monitor even if you focus your work on the other.

Unfortunately, (the regular) Channel 9 still doesn’t use Silverlight 4 which means you don’t get this option of full-screen pinning, but guess what – Channel 9 is in a process of refurbishing and a preview of the new site is available at the http://preview.channel9.msdn.com. This is good news for us because they’re using Silverlight 4 for their player, which basically means you can watch your Silverlight TV full-screen pinned simply by prefixing Silverlight TV show’s URL with the word preview. For example, show 40: You Are Already a Windows Phone Developer is available on http://preview.channel9.msdn.com/shows/SilverlightTV/Silverlight-TV-40-You-Are-Already-a-Windows-Phone-Developer/.

However, there seems to be a lag with publishing new content, resulting in shows not being available on the preview site at the same time as on the regular time. At the time of this writing, it appears that Show 40 is the last one available on the preview site, with shows 41 and 42 remaining on the regular site only. Anyway, it’s good to see Channel 9 going Silverlight 4 – hope to the new site up and running soon.



Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Community | Silverlight | Software | User Experience

Microsoft Silverlight 4 Data and Service Cookbook [Review]

by Andrej Tozon 2. July 2010 06:08

It’s been a while since Silverlight 4 was released by Microsoft and while we’re patiently waiting for a few other books to be released, I would definitely recommend the "Microsoft Silverlight 4 Data and Service Cookbook” by Gill Cleeren and Kevin Dockx. It’s not an advanced book on Silverlight, nor is it a reference book, it’s compilation of useful, hands-on recipes to get you started on data scenarios using Silverlight 4. If you’re new to Silverlight, you’ll definitely appreciate the way this book is written: a short description of a problem will guide you through the provided code example and explanation of what and why, usually followed by the “There’s more…” section - and that’s the part that will be appreciated even by more advanced Silverlight developers, as it would reveal some hidden tricks and not-so-known secrets of Silverlight framework’s workings. As scenarios go, those seem to cover basic to intermediate type of problems, with advanced problems left out, which is kind of understandable, but at certain points in the book I still wished the authors would write more about an alternative implementation(s) of a solution, or point me to some (online) resource for further reading.

The book covers Silverlight data scenarios, starting with the essentials like Data Binding, moving its way through explaining the data controls and finally settle on explaining the ways Silverlight could talk to the data server through various services. Special chapters are dedicated to WCF RIA Services and converting existing applications to use Silverlight, the latter explaining a few of Microsoft technologies and APIs that are not directly associated to Silverlight, but which Silverlight applications could benefit a lot from by using them.

If you’re new to Silverlight and want to develop Line-of-Business applications, this book is definitely for you as it will get you started immediately and give you enough information to build on the provided code examples for yourself. If you’re an advanced Silverlight user, I think there are some high points in this book that will gain you additional knowledge on the subject, but be prepared to read a lot of code/XAML listings which you probably already know how they work and the problems they solve.

All in all, the “Microsoft Silverlight 4 Data and Service Cookbook” is a great Silverlight book to have – it’s available in print or digital edition (plus all code examples are available for download).



Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Community | Silverlight

My NTK10 slide decks

by Andrej Tozon 31. May 2010 03:13

Another NTK has ended, and in my opinion, this year’s conference was one of the greatest and most enjoyable for the past few years. This is a list of sessions I had (alone or with co-speakers), along with the PowerPoint slide decks (all in Slovenian Language):

Silverlight and MEF

[The Photo Gallery application I was showing is available on the CodePlex and will be updated with the latest bits shortly]

ASP.NET, WebForms, Silverlight – What to choose?

Having @dusanzu as a co-host, this was a Birds of Feather (BoF) session. And although not listed as such, it turned out great anyway. There wasn’t much slides since this was a discussion – the slide-deck will be available from the NTK site.

Silverlight and WCF RIA Services

[I built a basic NTK schedule viewer app from the scratch, using Silverlight Business project template and showing off different features of RIA Services in the process. If somebody is interested in seeing the code that was produced on the talk, please contact me]

Tips & Tricks: Expression Blend for Developers

Again, we (@krofdrakula and I) wanted to show as much useful information and show designer-developer workflow, so we concentrated on showing off Visual Studio, Expression Blend (through Team Foundation Server running in a cloud), and the result was only a two-slide PowerPoint slide-deck (which will be available for download from the NTK site as well). As it turned out, even those two slides were way too much for what we wanted to share in a 45-minute time slot.

What’s new in Silverlight 4?

[The source code accompanying this slide-deck is way overdue for publishing – stay tuned for my future blog posts, where I’ll cover all the features I put together in my Silverlight 4 demo app]

A big thanks to all that attended my talks, I hope to hear from you in the near future. Another big thanks goes to local Microsoft office, for organizing another great event.

Oh, and another thing – this year’s NTK conference was covered through twitter as well (significantly better than last year, but still, plenty of room to improve for the next year). I’ll sign off with the snapshot of Twedge, a Silverlight 4 widget, finding its way to the CodePlex later this week. To see it in action, visit http:/www.ntk.si.

image

See you next year!



Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Community | Development | Expression | MEF | Silverlight

NT Konferenca 2010 – Where you’ll find me

by Andrej Tozon 19. May 2010 16:42

This year’s NT Konferenca is starting next week! Organized by local Microsoft, it will be held (for the 15th year in a row!) in beautiful Portoroz (Slovenia), that’s now become a traditional venue for this event. Over 130 sessions, labs and seminars will be delivered by over 130 speakers in only four days – that’s a lot of content.

I’ll be speaking (and discusing things) on the following conference sessions:

Tuesday, 25th

10:15 – 11:30 Silverlight and MEF
11:45 – 12:30 ASP.NET, WebForms, Silverlight – What to choose? [BoF session, co-hosting with @dusanzu]

Wednesday, 26th

10:15 – 11:30 Silverlight and WCF RIA Services
11:45 – 12:30 Tips & Tricks: Expression Blend For Developers [Tips & Tricks session, co-presenting with @krofdrakula]
13:30 – 14:15 What’s new in Silverlight 4?
16:30 – 17:30 MVP Panel [A panel discussion with all Slovenian MVPs]

See any theme/pattern here? ;)

You can follow me and my whereabouts next week through twitter [@andrejt], with the official conference hashtag being #ntk10.

See you next week…



Currently rated 1.5 by 2 people

  • Currently 1.5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

General | General | Silverlight | Silverlight | Tech | Tech | Community | Community

SilverlightShow Eco Contest

by Andrej Tozon 12. January 2010 02:08

SilverlightShow.net is running a SilverlightShow Eco Contest! Write a Silverlight-based application that helps support and promote environment-friendly activities, and you can win great prizes, including a trip to MIX10 event in Las Vegas (MIX10 pass, 3-night hotel stay at Mandalay Bay Hotel and 1,000 USD for travel expenses included).

Read official rules here. But hurry, the contest ends on February 15th, 2010.



Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Silverlight | Community

This blog’s address changed

by Andrej Tozon 6. January 2009 01:52

I broke most of the external referrals to my blog posts when moving to a new blog engine, so why not take this opportunity to change my blog’s address as well?

From now on, the official address of this blog is http://tozon.info/blog/ The old address will remain functional and I will do my best to catch and properly redirect all referring links to my blog posts that now end up in an error page.

The main RSS feed remains the same, again, thanks to FeedBurner.

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Personal | General | Community

Goodbye Community Server, hello BlogEngine.NET

by Andrej Tozon 26. December 2008 17:13

I was thinking about switching this blog’s engine for some time now, mainly because I was stuck with Community Server 2007 (.NET 1.1!), not playing along with any further upgrades. Too much custom actions and customization, I guess. Meanwhile, Community Server went mainstream and developed into a really big and complete community solution (blogs, forums, wikis, galleries, …), while I only needed a simple blog engine.

I became more alert about the BlogEngine.NET after our local MS DPE’s set up their blogging site. Loving its simplicity and responsiveness, the idea of migrating to a new engine was becoming stronger by the day, until I gave in and gave it a try. Note: the root of all evil lied in the fact that my blog is hosted on my hosting provider servers with limited access and other options. 

The setup couldn’t be easier – copy the files. The tricky part was migrating the data. Hopefully, others have been on the same path before me (here and here), so I just had to adapt those sql scripts a little and get rid of all the spam, which found its way into my database through all these years. The new database is currently 20x smaller than the old one, which sure sounds good too.

I’m not completely saying goodbye to Community Server though. SLODUG, SLOWUG and Spletomanija communities will continue to run on Community Server, which fits perfectly for the job.

Also of interest: BlogEngine.NET is a part of Sueetie.

And yes, I’ll do some work on this site’s visuals…

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Community | Software

Integrating Silverlight with Community Server 2008.5

by Andrej Tozon 3. November 2008 01:18

I’m sure Telligent will fully enable Silverlight parts into future Community Server releases, but until then, a couple of tricks are needed to make Silverlight play well with CS. The following points were made with Community Server 2008.5 release.

Include Silverlight apps in posts

The common way to include Silverlight in CS posts is by using HTML iframes. CS is blocking this tag by default so you have to edit communityserver.config file and enable it. Look for the <Markup> tag and go to the <Html> section within it. Add the iframe line somewhere to that section:

<iframe src = "true" frameborder = "true" width = "true" height = "true" />

Only attributes with values set to “true” will be allowed so don’t forget to add the attributes you plan to set on an iframe.

Next, upload the Silverlight app to a web site folder. The files to upload are usually the application’s [app].html (host page), [app].xap (application) and Silverlight.js (JavaScript helper library). Make sure that the uploaded .html file is accessible through the web and the app is working.

The last step is an easy one. Insert the iframe in your post wherever you want to put your Silverlight application. You’ll most commonly do that when editing posts in Html view. I usually put another div tag around an iframe:

<div style="width:100%;height:200px">
  <iframe src="/silverlight/app.html" frameborder="0" width="100%" height="200" />
</div>

Putting Silverlight into CS master page

This one requires some more manual work, but you can use CS’s master page’s system to control where you want to include Silverlight. As I needed to have Silverlight-enabled on all pages, I picked the Master.master file. I also used a different approach for embedding Silverlight – instead of iframe, I used a new Silverlight ASP.NET control, which makes things much easier. You’ll get this control in your toolbox once you install Silverlight SDK. This approach, however, will require you to “upgrade” your web.config to target .NET Framework 3.5. You can either do this manually by copying all the missing sections and other entries into it or by opening the site with Visual Studio 2008 – Visual Studio usually prompts for this kind of upgrade when opening ASP.NET 2.0 projects. You should also add the following reference line into the pages/controls section to make Silverlight possible on every page:

<add assembly="System.Web.Silverlight" namespace="System.Web.UI.SilverlightControls" tagPrefix="asp" />

My edit of Master.master file now looks like this:

... <div id="CommonHeader"> <asp:ScriptManager ID="ScriptManager1" runat="server" /> <asp:Silverlight ID="sl" runat="server" Source="/Silverlight/banner.xap"
Height="100%" Width="100%" Windowless="true" />
<div class="Common"> ...

[inserted lines bold]

Because of the inserted Silverlight control, all existing header contents were pushed further down. To fix this, override affected elements’ CSS style. You’ll do this on the Control Panel | System Administration | Site Administration | Site Theme | Custom Styles (Advanced) page. Just enter the overrides:

#CommonHeaderTitleArea
{
    position: relative;
    top: -113px;
}
#CommonHeaderUserArea
{
    position: relative;
    top: -113px;
}

[Note: my header has its height set to default – 113px, so I had to push it (-)113px up. Change this value according to your header height.

These were just very quick (and dirty) fixes to enable Silverlight in your CS2008.5 site until Silverlight gets native support in Community Site. I’ll most likely be putting even more Silverlight into my CS so I may update this post with even more tips.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Silverlight | Layout | Community | Development

SLODUG is expanding

by Andrej Tozon 23. January 2008 17:26

While SLODUG web site is waiting for its facelift, all Facebook users are kindly invited to join SLODUG group over there. And if you're not familiar with the Facebook yet - it's fun. There's all sorts of stuff going on, you can do craziest things possible, and all your friends are invited to participate. You can share and compare your movie taste, find a perfect date, even play your favorite ZX Spectrum game and beat your friend's high score. But beware, you might as well find yourself chased by zombies or bitten by a vampire. Curious place, it is.

And SLODUG is now part of it.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Community

Tick, tock... Silverlight Challenge: one week left

by Andrej Tozon 22. January 2008 18:20

Just a quick reminder: 1st European Silverlight Challenge is entering the finishing line. As announced, the competition ends next Monday, which still gives you plenty of time to polish your applications and give them some finishing touches. When ready, don't forget to submit your app on local competition site (click here for Slovenian site). Note: you'll have to register and log in first to submit your entry.

Starting today, Silverlight v1.0 is also available through Windows Update, as an optional update.

Wait, there's more... also available through Windows Update from today, are updates for all Expression products, including service packs.

Just keep 'em coming...

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Software | Expression | Silverlight | Community

Powered by BlogEngine.NET 1.4.5.0
Theme by Mads Kristensen



Andrej Tozon
Andrej Tozon's on Twitter View Andrej Tozon's profile on LinkedIn Subscribe to me on FriendFeed Andrej Tozon's Facebook profile

MVP - Client Application Developer

Microsoft Certified Solution Developer

MSN Alerts

Get help from Andrej Tozon!

 

Currently reading


Microsoft Silverlight 4 Data and Services Cookbook

Stay tuned for the review... In the mean time, you can read an excerpt from the book.

RecentComments

Comment RSS