Reading images from the disk in Silverlight 2.0

Jeff Prosise's Blog Post, and the comments explain how to read an image (after it is selected by the user) from the disk.  This post proved to be incredibly useful in the application we are currently developing for desktop publishing.  Thanks Jeff & Friends!

Currently rated 5.0 by 2 people

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

Tags:

Blog Migration - Success!

For the subscribers, I apologize if you have a slew of new and re-used posts in your reader.  I have been in the process of migrating from Community Server to SubText and then to BlogEngine.NET.  It seems as though BlogEngine.NET has a more active community than SubText which is run by the very busy Phil Haack of Microsoft fame.  I am happy to report that the migration is, for now, complete.

I decided to write a migration tool that would move the data over - I did so using the BlogML, MetaWeblog & Blogger apis, C#, WPF, and the Cook Computing XmlRpc library.  There are tools (one even comes with BlogEngine.NET) but they don't move over the linked images and since some of the posts that survived my last migration have pictures, I didn't want to move them manually... 

There was some effort involved and the code needs refactoring but all in all the utility works well.  Once I have the time to clean it up and if anyone is interested, I will post the utility and code here.

Currently rated 4.3 by 3 people

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

Tags:

LINQ - Design Guidelines

Earlier, my business partner forwarded me a link to a great article by Mircea Trofin that covers, with examples, some great design guidelines for using LINQ and developing/extending with new types, libraries and the like.

The article is a great read for those of you who like an architectural view.

Check it out:

Click Here

Be the first to rate this post

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

Tags:

Our new company web site...

My company offers full-service software development -- and recently started using Umbraco as our CMS platform of choice.  Check out the new site.

http://www.webglimmer.com

 

Be the first to rate this post

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

Tags:

ASP.NET 2.0 Menu Control - Safari Fix

Note: This advice is provided without warranty, guarantee and manatee.

 Getting the ASP.NET 2.0 Menu control to work with Safari (on OS X) proved itself to be a a bear -- not so much because of the solution, but because everyone blames MS for not fixing it instead of coming up with a solution.  After some tinkering with it, I found a directive I hadn't seen before:

Page.ClientTarget

As it turns out, you can simply set Page.ClientTarget = "uplevel" and the control renders perfectly in Safari.  Of course, we should ensure that we're on Safari which can be done with a simple check in Request.ServerVariables["http_user_agent"].

 All in all, it looks like this: (without the spacing of course :))

protected void Page_PreInit(object sender, EventArgs e)
{

if (Request.ServerVariables["http_user_agent"].ToLower().Contains("safari"))
{


Page.ClientTarget =

"uplevel";


}

}

 

Be the first to rate this post

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

Tags:

SQL Object Generator

Updated 4/23/2007 

Here are the latest DAL Entity Generator templates for C#.

C# Entities Template
C# Entity Collections Template

These are for use with Webglimmer's SQL Object Generator.

Be the first to rate this post

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

Tags: