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.



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.

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…

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.

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.

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...

Tags:

Software | Expression | Silverlight | Community

Let Silverlight shine on YOU!

by Andrej Tozon 4. January 2008 20:18

Join developers all around Europe in the ultimate Silverlight Challenge. Yes, the 1st European Silverlight Challenge is on and Slovenia is one of the many countries participating. For more information  head over to Slovenian and European competition site, read the official rules and start your Visual Studio. Also, feel free to discuss the Challenge and Silverlight on SLODUG's forums.

1st European Silverlight Challenge ends on January 28th, 2008. The spotlight is on you!

Tags:

Software | Silverlight | Community

Slides from my WPF talks

by Andrej Tozon 5. October 2007 01:20

This is the PowerPoint presentation [in Slovenian language] from my WPF talks I did yesterday and two weeks ago. This was my first time delivering full-day courses and not everything went as originally planned. The first talk suffered from some technical difficulties and classic demos trouble, and for the yesterday, some evil virus got me so there were some fever/sore throat issues, leaving me powerless at the end.

Anyway, I'm not posting any sample code this time, instead I'll be writing some more blog posts on the subject, OK?

Tags:

Community | WPF | Windows Forms | Development

NTK2007 sessions materials

by Andrej Tozon 16. May 2007 00:19

I'm posting materials from my sessions on this year's NT konferenca:

Windows Forms, Windows Presentation Foundation and... Visual Basic 6? Hands-On-Lab: Powerpoint | Sample code | Step-By-Step Manual

Notes: Northwind data files are not included, NORTHWND.MDF and NORTHWND_log.LDF, placed in this zipped download just serve as placeholders. The code samples were created with Visual Studio "Orcas" and VB6.

Visual Studio "Orcas": What's new with Smart Client Development: Powerpoint

Tags:

Community | Development

NTK2007

by Andrej Tozon 9. May 2007 09:18

This year's NT Konferenca, starting next week, is kind of anniversary event for me - it's the 10th time I'm attending this conference, 5th time as a speaker, 1st as an MVP...

For the content I'm presenting... If you're interested in meeting with the new VS "Orcas" Beta 1 in person or just want to shake hands with your old friend VB6, you're invited to my "WF, WPF and... VB6?" Hands-On-Lab session on Tuesday. You'll have a chance to run Orcas and VB6 side-by-side, compare their performances, and possibly even learn something about how you can mix and interop Windows Forms, Windows Presentation and VB6 applications [which is something you may consider if you're planning to upgrade or enhance your existing applications with better technology].

My talk on Wednesday will focus on some of the new features regarding Smart Client development, coming with Orcas and .NET Framework 3.5: I'll talk about Client Application Services, SQL Server Compact Edition,  ADO.NET Synchronization Services [in my opinion, this is one of the features we're all going to love and use frequently], and more.

Although this year's conference was shortened to 3 days only, this doesn't show on the content - the sessions look fresh and interesting.

Enjoy the conference and I hope to see you there.

Tags:

Community



Andrej Tozon

MVP - Client Application Developer

Microsoft Certified Solution Developer

MSN Alerts

View Andrej Tozon's profile on LinkedIn

Subscribe to me on FriendFeed

Andrej Tozon's Facebook profile

Get help from Andrej Tozon!

RecentComments

Comment RSS