DotNetDevNet: Oren Eini On Monday 13th October 2008

Great news! Oren Eini, author of Rhino Mocks and contributor to the Castle Project and NHibernate, is coming to the UK and will be taking time out to come down to Bristol for The .NET Developer Network. Oren will be presenting two subjects:-

  • "Producing Production Quality Software" - Working software is no longer the only thing that we need to produce. We need to create a software system that has a chance of surviving in the cruel world of production system, outside the clean room and sterile environment of development and QA. Understanding bottlenecks in the system, preventing cascading failures and recovery strategies have ceased being the problems of the very high end players. With the cost of system downtime being measures in $$$/second, this is an area we have to consider all the way. In this talk we will cover how we can map common weaknesses in the system design, preemptively protect ourselves from them, and produce software systems that can withstand the real world hostile environment.
  • "Interaction based testing with Rhino Mocks" - Beyond the simplest scenarios, all objects had collaborators that they work with. This flies in the face of testing objects in isolation. This is the problem that mock objects were created to solve. In this talk you will learn what mock objects are, how to utilize them and best practices on when / how to utilize them. Rhino Mocks is a mock objects framework for .Net whose core goals are to let the developer rely on the compiler work well with refactoring tools.

Also there will be a grok talk on jQuery by Chris Myhill. This is particularly relevant since Microsoft announced that jQuery will be included with all Visual Studio releases from here on including ASP.NET MVC.

For more details on the event and to sign up go to http://www.dotnetdevnet.com/Meetings/tabid/54/EntryID/26/Default.aspx.

Be the first to rate this post

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

Posted by: guysmithferrier
Posted on: Tuesday, September 30, 2008 at 11:52 AM
Tags:
Categories: Events
Actions: E-mail | Kick it! | DZone it! | del.icio.us
Post Information: Permalink | Comments (0) | Post RSSRSS comment feed

Slides For Internationalizing WPF And Silverlight

I have posted unbranded slides on my Resources page for the Internationalizing WPF And Silverlight presentation first shown at ReMix UK 08 a couple of weeks ago.

Currently rated 4.5 by 2 people

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

Posted by: guysmithferrier
Posted on: Monday, September 29, 2008 at 3:42 PM
Tags:
Categories: Internationalization | Events
Actions: E-mail | Kick it! | DZone it! | del.icio.us
Post Information: Permalink | Comments (0) | Post RSSRSS comment feed

Silverlight And Strongly Typed Resource Classes

If you have tried to localize Silverlight applications using .resx files you will probably have noticed that strongly typed resource classes don't work straight out of the box. This post describes how you can overcome this.

New in Visual Studio 2008 is the PublicResXFileCodeGenerator, a code generator for creating public strongly typed resource classes. This code generator does indeed generate public classes with public properties and for all applications except Silverlight this is exactly what is wanted of a public strongly typed resource class. But for Silverlight applications it is not enough. The problem is that the constructor in the generated code is still internal. Normally this doesn't make any difference because nothing ever constructs a strongly typed resource class directly; only the static properties are used. But the constructor is used in a Silverlight application and that's where the internal constructor is unhelpful. The manual solution to this problem is to edit the generated code and this is a very undesirable solution because you have to continually re-edit the generated code every time it is re-generated. A more permanent solution is needed and it is available in the form of the PublicResourceCodeGenerator. I have written a number of code generators for strongly typed resource classes that solve various problems. You can download the code generators here and the source code is included in the source code for my .NET Internationalization book here. Here is the current list of code generators for strongly typed resource classes:-

Code Generator Class Description
ResourceCodeGenerator Generates the exact same code as the ResXFileCodeGenerator and offers no additional benefit.
PublicResourceCodeGenerator Generates almost the same code as the PublicResXFileCodeGenerator except that the constructor is public instead of internal.
ResourceProviderCodeGenerator Generates the same code as the ResXFileCodeGenerator except that it uses a provider model instead of the ResourceManager.
PublicResourceProviderCodeGenerator Generates the same code as the PublicResXFileCodeGenerator except that it uses a provider model instead of the ResourceManager and the constructor is public.
GlobalResourceProviderProxyGenerator Generates the same code as the GlobalResXFileProxyGenerator (used for ASP.NET global resources) except that it uses a provider model instead of the ResourceManager.

So to generate strongly typed resource classes that can be used in Silverlight applications select the .resx file in Solution Explorer and then in the Properties Window set the Custom Tool to PublicResourceCodeGenerator.

Currently rated 4.2 by 9 people

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

Posted by: GuySmithFerrier
Posted on: Saturday, September 27, 2008 at 8:10 AM
Tags: , ,
Categories: Internationalization
Actions: E-mail | Kick it! | DZone it! | del.icio.us
Post Information: Permalink | Comments (2) | Post RSSRSS comment feed

ReMix UK 08

Last week saw the second Microsoft MIX event in the UK and this time it went to Brighton. I must admit I preferred this year's event to last year's possibly because it was in Brighton instead of London or possibly because it seemed somehow more relevant to me this year. There were some good sessions again. I enjoyed the design sessions as us developers don't often get much insight into this world. I especially enjoyed the Designing With Microsoft Expression session by Arturo Toledo - although this must have been a bit basic for designers it was a good tutorial into how to use Expression tools with more than the tragic plodding and fumbling around that developers such as myself can manage. I also attended the 20/20 talks (micro-presentations or Pecha Kucha) like last year and the bar was definately raised this year. They were all great and Richard Costall provided another classic performance but the outright winner had to be Sara Ford with her 20 Visual Studio Tips (that's one tip every 20 seconds). What an incredible performance. You can only do something like this if you've written a whole book on the subject and Sara's comes out shortly before PDC. No slides but worth every second. You should take 6 minutes 40 seconds out of your life to watch this when the videos are released.

Another highlight for me was Ready, Steady, Speak where I got to reprise my role as judge again. All of the 8 speakers were new to speaking and they gave great first time performances. Richie Allen (co-host of the Southampton Next Generation User Group) won with an excellent demonstration of how much you can improve in the space of just 24 hours with a few tips. Well done, Richie and well done to everyone who took part - I really hope we'll be seeing you guys again.

For my part I presented Internationalizing WPF And Silverlight for the first time and was quite happy with it considering it was the first outing for this one. Sadly I got the first session immediately after the event night again. Someone somewhere really hates me.

Other stuff to note: IE8, Silverlight 2 and ASP.NET MVC will all be released before the end of the year. Microsoft Surface will be available for purchase in the UK next year. There are no pricing details yet but it is $12,000 in the US at the moment. Sadly although the Surface SDK is free it is only available to purchasers of Surface so that puts it beyond most developers' reach. Still it is all WPF-based so that's a great place to start.

Roll on ReMix UK 09.

Currently rated 1.0 by 1 people

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

Posted by: GuySmithFerrier
Posted on: Thursday, September 25, 2008 at 2:40 PM
Tags:
Categories: Events
Actions: E-mail | Kick it! | DZone it! | del.icio.us
Post Information: Permalink | Comments (3) | Post RSSRSS comment feed

ReMix UK 08: Ready, Steady, Speak

If you're going to ReMix next week you might like to know that the "Ready, Steady, Speak" presentation competition pioneered at the Visual Studio 2008 Launch earlier this year in Birmingham will be held again. "Ready, Steady, Speak" is very similar to the Speaker Idol competition held at TechEd Europe each year and gives you a chance to give a 5 minute presentation and win significant prizes. Here's the official information:-

Contestants will present a 5 min session on a subject of their choice relating to Web Development or Web Design.  They will present in front of the REMIX audience and in front of a panel of judges.  If there are more than a  certain number of contestants (TBD), there will be ‘heats’ earlier in the day with the winners of the heats in a ‘speak-off’ in the evening session.  The ‘speak-off’ will take place as stated in the evening of the first day of MIX and the first prize is an XBox 360 + Goodies!  Mandatory Prerequisites:Speakers must NOT have previously presented ‘full sessions’ at DDD, TechEd, DevWeek, SDN, SQLBITS, VBUG Conference, NxtGenUG FEST or any similar such conferences.

·         Speakers must create a new session of their own with new material which can be based on existing material but cannot be a simple copy of it.

·         Speakers must limit their session to as close to 5 mins as possible (overrunning time will cause the speaker to be marked down.)

·         Speakers must not have previously won Speaker Idol or “Ready Steady Speak” UK Launch – Sorry to James Coulter J!

·         Speakers must state their desire to enter the competition by no later than COP Monday 15th September 2008.

Desirable Prerequisites:-

·         Speakers should provide if at all possible their own laptop, but one can be provided if necessary.  The speaker should notify the organisers of any software prerequisites.

·         Speakers should have spoken previously at a User Group meeting even if only for a 10 min mini-session or ‘nugget’.  This is NOT mandatory.

Remeber, the closing date is next Monday so you need to be quick. To enter email either Dave McMahon or anyone involved with ReMix UK and they will connect you with Dave.

 

Be the first to rate this post

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

Posted by: GuySmithFerrier
Posted on: Monday, September 08, 2008 at 10:32 PM
Tags:
Categories: Events
Actions: E-mail | Kick it! | DZone it! | del.icio.us
Post Information: Permalink | Comments (0) | Post RSSRSS comment feed