×

First time here?

You are looking at the most recent posts. You may also want to check out older archives. Please leave a comment, ask a question and consider subscribing to the latest posts via RSS or email. Thank you for visiting!

Tagged: March 2008 Blog Posts

Please leave a comment, ask a question and consider subscribing to the latest posts via RSS or email. Thank you for visiting! Below is a list of entries related to the tag listed above.. My site contains more than just the information below and I'd encourage you to visit the home page to view current information as well as other items/categories that might be of interest.



A better children cell phone service

My children are not yet the age where they are asking me for a cell phone or begging for text messaging plan or anything, but I see my friends' children going through this now.  It's weird that this new generation will expect just to have a cell phone, like we did with other items (maybe the most high tech was a calculator).  What concerns me, though, is the abuse of the cell phone and it serving as a disruption during school or other times when it shouldn't be used. The request is usually made as a "well mom, what if...

Foxit Preview Handler for XP

Ever since I released my version of the Foxit PDF Preview Handler, I've been flooded with comments about building a version that works for Windows XP.  You see XP doesn't have the preview host that Vista has built into the operating system. Well, I finally had some time to hunt down some code and get it working, thanks to the help of Ryan Gregg from the Outlook team.  I released the sample code I used as a base for this as a part of our Code Trip project.  You can view my short screencast explaining one of the core pieces here...

Providing a great Silverlight deployment experience

If you are doing Silverlight development, you are no doubt slapping in the <object> tag or using the <asp:silverlight> control (if in ASP.NET) to host your Silverlight content/application.  This is all great, but don't forget about deployment! When I talk about Silverlight I like to relay a story I heard from one of the Silverlight program managers (PM) a while back.  The PM was pretty excited about a feature just completed in Silverlight and one of the samples that had been created.  He went home to show his wife and told her to 'go to 'dub-dub-dub-dot-something-dot-com' (yelling from the other room...

Write code for a chance at an XBOX

One of The Code Trip sponsors, InnerWorkings, has teamed up to have a coding challenge for developers.  This is open to everyone to participate.  The winner gets an annual subscription to InnerWorkings as well as an XBOX 360 game console. If you aren't familiar with InnerWorkings, consider this a shameless plug.  I really do believe in their product as it is a unique learning experience from what we traditionally have (i.e., lab manuals with step-by-step instructions).  They have a wide catalog of topics including ASP.NET, WCF, WPF, Silverlight, CSS, etc. for organizations to choose from.  You really need to check them...

Calling services from Silverlight 2 part 2

In a previous post, I wrote about some samples of calling various types of services from Silverlight 2.  In the code, I was using constructors in my ASMX and WCF services with specifying a binding type and endpoint address. It was called out to me that in other demonstrations, people did not use this construct.  While the method I demonstrated works (explicitly specifying the binding and endpoint), in some cases it may not be necessary.  One such case would be if you only have one endpoint and it is basicHttpBinding. The error in my code/instructions was about changing the binding information in...

Shared project templates and ASP.NET Empty Web Site

If you are like me, you probably create a lot of projects in Visual Studio that end up getting thrown away and are intended just to test out a theory you have, double-check yourself when you are going mad because you can't find a bug, testing out something you read on a blog post, whatever. Most of the projects I create are web projects.  I've started to adopt the "_Delete" mechanism to help me identify what I can truly delete in my folders later.  But is not the point here.  One thing that I do when creating web projects is...

IM UPPIN YR RUBY

The MountainWest RubyConf 2008 is upon us just 2 weeks away in Salt Lake City, Utah.  Unfortunately I'm not going to be able to be there given my travel with The Code Trip.  IronRuby, however, was able to be a sponsor of this year's conference as a Gold Sponsor.  This sponsorship is one part that enables video production of the conference for afterwards as well as a few other things.  The organizers have done a great job getting great sponsors to make this happen, and IronRuby is grateful to be a part of that. One thing that was recently released was...

Get a slice of MIX with Quark and me.dium in Boulder, Colorado

Our current route on The Code Trip takes us to Boulder, Colorado on March 18 to the Boulder .NET User Group!  I'm really excited about this stop in Boulder, CO as we've managed to get some help from great partners to demonstrate some very cool developer stuff they are working on. Specifically, Quark and me.dium will be there to talk to the group.  Quark will be showing us some stuff they've been working on for WPF and Silverlight.  me.dium is a company that I met at MIX08 last week that were showing off some great stuff they've done with Internet Explorer...

Calling web services with Silverlight 2

UPDATE: Source code posted here. Now that Silverlight 2 is out to the masses (even in beta form), there are likely a lot of developers looking to wire-up web services with their applications in .NET rather than the Silverlight 1.0 method of Javascript.  I thought I'd give you some quick examples of how to do this using some different methods: ASP.NET Web Services (ASMX), Windows Communication Foundation (WCF), REST service, and talk about cross-domain calls.  These are meant to be examples using very much 'hello world' style services, but demonstrating at least how to execute the call. If you are an ASP.NET...

Awesome Silverlight Samples

I just saw two links that I simply have to promote as they are very helpful to people doing Silverlight development and one specifically with ASP.NET. The first is a site on silverlight.net (you should bookmark this site as a resource and subscribe to all the feeds), there is now a Silverlight 2 Beta 1 control sample page, which hosts all the new Silverlight controls on the site.  It shows some different usage of all the controls: Very cool to see all the controls implemented in one section, play around with them and see different styles in some as well. The second link...

Embedding fonts in Silverlight 2

UPDATE: The supported method for Silverlight 2 release is shown here: http://silverlight.net/learn/learnvideo.aspx?video=69800.  You basically have to make it an assembly resource. Since the beginning of Silverlight you've been able to embed fonts within a Silverlight application.  The challenge in version 1.0 was that you essentially had to use a downloader and some SetFontSource methods on a TextBlock (for example) to do it.  I wrote about this a while back when using my own handwriting as a font within Silverlight.  It looked something like this: this.downloader = control.createObject("downloader"); this.downloader.addEventListener("completed", Silverlight.createDelegate(this, this.handleFontDownloaded)); this.downloader.open("GET", "timheuer.ttf"); this.downloader.send();handleFontDownloaded: function(sender,...

Amazon S3 Browser for Live Writer

For about a year now I've been using Amazon S3 services.  Mostly I'm using it for image storage for my blog and web site.  I decided to stop using Flickr for screenshot stuff and keep it to 'photographs' when I can.  I signed up for an S3 account and have been using it for screenshot type stuff since then.  If you don't know, S3 is a service that basically enables 'object' storage in the cloud.  An object can be anything really, but I'm treating it like a remote host for images. The one thing Amazon doesn't provide themselves is a tool...

Calling Javascript functions from Silverlight 2

When working with Silverlight 2, most will be working with managed code (c#, vb, etc.).  But likely people are working with Silverlight as an additive value to their web application, providing some enhanced user experience to an application.  there may be times where you will still need to call back into the hosting html context.  For then, you'll want to be familiar with two objects HtmlDocument and HtmlPage.  Both of these objects provide access to the page context hosting your silverlight control.  If you need to seek things in the HTML DOM, you could use the HtmlDocument class.  For example,...

Ruby and Python in Silverlight now available

John Lam just announced that the Dynamic Silverlight bits are now available.  What that does is enable you to write code targeting Silverlight in Ruby (IronRuby) or Python (IronPython). The Dynamic Silverlight bits are implemented as Silverlight extensions which means that they will be downloaded on an as-needed basis.  The additional download is currently about 712KB download in size.  If you are interested in looking at running Ruby in the client on the desktop in addition to if you are running Ruby on the server, this might be of interest to you.  Check it out and some of John's tutorials...

The Code Trip has left the building...

We're off!  Just minutes ago The Code Trip left the Venetian hotel in Las Vegas en route to our first stop in Salt Lake City.  It's going to be a late night of coding and editing of some video.  Now that we've officially left, I'll share the actual pictures of our bus so you can be on the lookout for us: Tomorrow (late tonight) we roll in to Salt Lake for the combined .NET community user group meeting at the Franklin Covey building.  We're going to spend 2 hours talking about what we saw at MIX08.  We've got a...

Terralever featured in Silverlight case study

The group that brought you one of the first Silverlight end-to-end games (Zero Gravity) is now featured for some of the work they've done with Silverlight 1.0 and Silverlight 2 for Miniclip.com, the largest online gaming site in the world. You can view the Terralever case study online here.  The Terralever crew is interviewed in four different segments talking about the project from a designer, developer, business and technical perspective. The team built two casual games for Miniclip.com on both versions of Silverlight.  The first, a Silverlight 1.0 game called 'Zombomatic 3000' has been on Miniclip's site for a few weeks now. ...

The Code Trip begins...Silverlight Tour redux

Wow, it's been a few months now since I thought about doing a road trip talking about the next wave of technologies.  I originally thought it would be the "Silvertour" but we've now actually made it happen.  I can tell you that the behind the scenes of this has been a long process.  It seems so simple and I can hear the people now saying 'why was it so hard, c'mon you are Microsoft and have zillions of dollars.'  Sure, maybe that is true about a big company, but that's also the point.  We are a company of companies and...

Silverlight for Sharepoint

I've gotten a few requests from internal local sales teams, Sharepoint professionals and developers about how to implement Silverlight in Sharepoint.  I usually try to explain that since Sharepoint is essentially an ASP.NET application it is relatively simple to implement.  Of course, that usually doesn't help :-).  What helps is some documentation and samples that show how you would use Silverlight to enhance a Sharepoint experience. As a part of the Software+Services Blueprints series, a new bundle has been made available to download to provide guidance and source code to help provide some information.  In the blueprint you'll get: ...


DISCLAIMER:

The opinions/content expressed on this blog are provided "ASIS" with no warranties and are my own personal opinions/content (unless otherwise noted) and do not represent my employer's view in any way.