Thursday, October 16, 2008

A huge thank you to everyone who voted for Scrumr in the Community Coding Contest-- were #2 by two votes.  The #1 project was CCConfig, and given the growing interest in agile development methodologies, we're humbled but not terribly surprised to see two agile projects at the top.

Two other projects which deserve mentioning are the Active Directory Roles Provider and aspNETserve, both of which may play a role in future development of Scrumr.  The AD Roles Provider hooks ASP.NET membership into AD groups, making roles administration part of the AD environment--definitely a plus in some corporate environments.  aspNETserve would allow Scrumr to be run locally on a machine without IIS installed.  Potentially, with SQL Server Express as the datastore, this could be used to make Scrumr as portable thumbdrive app, too (just like ScrewTurn Wiki).

And a very, very huge thank you to Chris Pietschmann, the MS MVP who had the cool idea of a contest to give away the MSDN subscriptions.  Thanks, Chris, hope you decide to do it again next year!

Thursday, October 16, 2008 2:56:50 PM (Eastern Standard Time, UTC-05:00)
 Wednesday, October 15, 2008

Coming soon to Pittsburgh:

When it comes to design patterns, the MVC is the granddaddy of them all.  First described in the late 70s, the MVC pattern remains very popular in the world of web applications today. ASP.NET MVC provides a framework that enables you to easily implement the model-view-controller (MVC) pattern for Web applications. This pattern lets you separate applications into loosely coupled, pluggable components for application design, processing logic, and display.

Throughout the day we will be demonstrating the ASP.NET MVC Framework in a cookbook-style approach with recipes on how to solve common challenges when developing MVC web applications. No previous knowledge or experience is necessary. We will walk you through the basics on creating views and controllers and by the end of the day show you how to develop end-to-end MVC applications complete with ajax, authentication, authorization, caching, databinding, logging, persistence, validation, and other common challenges we experience in day-to-day development.

Sample code will leverage and integrate popular frameworks and libraries like ADO.NET Data Services, ASP.NET AJAX, ASP.NET Dynamic Data, Enterprise Library, Entity Framework, and LINQ To SQL to show you how to write less code and be more productive during your development.

Polish it all off with examples showing the extensibility of the MVC Framework using custom controller factories, alternative view engines, and custom action filter attributes just to name a few.

Topics covered will include “How Do I...”

- Create Views Easily? ( HTML and Url Helpers )
- Handle Get and Post Requests? ( simple databinding of action method arguments, ActionResults, etc.. )
- Pass Data Between Views and Controllers? ( ViewData and TempData )
- Bind Views and Forms to complex data types? ( ModelBinders )
- Handle Errors Gracefully? ( ActionFilter Attributes )
- Provide Input Error Validation? ( ValidationMessage, ValidationSummary, ViewData.ModelState )
- Handle Authentication and Authorization? ( ActionFilter Attributes and Membership Provider )
- Persist to a database ( LINQ To SQL, Entity Framework )
- Log Messages to Database, File, EventLog ( ActionFilter Attributes, etc. )
- Leverage AJAX and JSON? ( ASP.NET AJAX and jQuery )

Some of the more complex and non-beginner topics can be discussed if time is allowed and/or maybe discussed afterwards in a social environs…

- Alternate View Engines
- IoC and Custom Controller Factories
- Unit Testing

Bring your USB Flash Drive to grab the sample code and begin developing ASP.NET MVC Web Applications today!

Register online at http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032392363&culture=en-US.

Wednesday, October 15, 2008 10:57:31 AM (Eastern Standard Time, UTC-05:00)
 Monday, October 13, 2008

Post-talk update

There are two corrections to my talk in the comments.  I missed assigning the DataLoadOptions to my DataContext object in my sample code.  Also, I said last night that the ConnectionTimeout is assigned to the DataLoadOptions--I totally lost my head on that one.  The ConnectionTimeout is a property of the DataContext object.  Sorry for any confusion.

I'll have updated slides and sample posted here shortly (I'll leave a note when I do), and I'll send the corrected samples to Dave to be posted at the Pgh .NET site.

Original post...

I'm speaking at the Pittsburgh .NET User Group tomorrow (Oct 14, 2008) on Linq to SQL and Linq to XML.

In the ZIP file is the presentation (PDF), sample XML file and complete source code for my presentation.  Unzip the file, and place the XML at c:\xml.  Create a sample database using the script in the project, and update the connection string.  There are four methods you can call, demonstrating the different techniques I'll be covering.

Download the presentation and code sample.

Also, in case you haven't yet voted, please vote for Scrumr.  We're working on this in our spare time, and could use the tools to make better software.

Monday, October 13, 2008 9:37:05 PM (Eastern Standard Time, UTC-05:00)
 Saturday, October 11, 2008

I was a big fan of Brian's Crystal Reports .NET 2003 book, as well as his CR XI book, so this is exciting news:

Find out about the new Crystal Reports Encyclopedia: .NET 2005/2008 book and more ebooks online at http://www.crystalreportsbook.com/.

I'm excited to announce that I just finished writing "Crystal Reports Encyclopedia: .NET 2005/2008". It is being printed now and will be at Amazon.com on November 1st. You can pre-order it by clicking here: http://www.amazon.com/exec/obidos/ASIN/097495361X/rjdudleyblog-20

With .NET 2005/2008 you can print from a variety of new data sources: arrays, LINQ, and any IEnuberable collection. You can also use SmartTasks to create new reports in minutes. Are you upgrading to Crystal Reports 2008? Create custom add-ins for the menu bar and build a User Function Library!

Many people have requested my books in ebook format. So I've done just that! I converted my books to a blog format so that members can have a one-on-one conversation with me about specific sections in the book. This has been very popular as many people ask for help about walking through the various tutorials in the book. Coming in a couple of weeks is a members-only forum where members get priority to have their questions answered. To find out more about the online ebooks, click here: http://members.crystalreportsbook.com/

These are exciting new improvements for all Crystal Reports users and I look forward to adding more new features in the next couple of months.

-Brian Bischof

Saturday, October 11, 2008 7:56:22 PM (Eastern Standard Time, UTC-05:00)
 Monday, October 06, 2008

In Agile Software Development with Scrum, the authors recommend setting up a permanent scrum room, where the dev team can meet and where a scrumboard can be established.  Wouldn't that be lovely?  In the real world I'm in, it's tough enough to get a conference room for an hour, let alone permanently assigned.  We hold our daily scrum in the lunchroom, and depending on which weathergirl is doing the forecast on the TV (welcome back, Julie Bologna), I can usually hold my team's attention.

For my scrumboard, I had to get a little creative.  I ordered a bunch of magnets, and turned one of my wall panels and hutches into my scrumboard.  My project backlogs live on the wall panel:

DSC_6253Small

Tasks we're working on start in the sprint backlog on my hutch.  As the rented mules dev team members progress on a task, they move it from from one status to another as indicated by the top row of index cards.  When a task is completed, they can grab another one from the backlog (this current sprint is winding down, so there are no tasks in the backlog).  The colors of the magnets have no meaning, but the diameter gives you a quick indication of the depth of each status pile.

DSC_6252Small

A scrumboard on my hutch is one of the reasons we're writing Scrumr, which will replace all these magnets and index cards with a web based application.

Monday, October 06, 2008 1:32:51 PM (Eastern Standard Time, UTC-05:00)
 Thursday, October 02, 2008

In my spare time, I've been working on an open source project management tool called Scrumr.  Scrumr is a lightweight app for managing sprints per Scrum methodology.  You can find out more about the project at http://codeplex.com/scrumr/

In the meantime, we need your help.  Please go to http://communitycodingcontest.org/ and vote for Scrumr.  We need the tools to make better software.

Thanks!

Thursday, October 02, 2008 9:44:17 PM (Eastern Standard Time, UTC-05:00)
 Sunday, September 21, 2008

I've had the "Access Denied" error on two machines when I tried to install Windows XP SP3.  The real bummer is it happens about halfway through the installation, and you've invested a pretty good amount of time just getting to that point.

I'm not sure what causes the error, but since both machines were development machines, it may be connected to the use of aspnet_setreg or similar security measure.  At the day job, the network guys have installed SP3 on over 125 other machines without incident.

The fix discussed below worked on both my machines:

http://blog.malwareteks.com/correct-access-denied-error-while-installing-windows-xp-sp3-release-candidate-2/

Be prepared

Sunday, September 21, 2008 4:01:46 PM (Eastern Standard Time, UTC-05:00)
 Wednesday, September 17, 2008

I wasn't aware books have beta versions too!  At any rate, it's free for now, warts and all.

Free e-book offer: Introducing Microsoft SQL Server 2008 by Peter
DeBetta, Greg Low and Mark Whitehorn Reviewed by Kathleen Atkins,
project editor, Microsoft Press

Peter DeBetta, the principal author of this book, welcomes readers to
the soon-to-be-released SQL Server 2008. An MVP for SQL Server and a
holder of many other credentials and longstanding SQL Server experience,
DeBetta (with his coauthors) offers in this electronic beta book a
discerning view of the new version of SQL Server.

DeBetta and his coauthors-Greg Low and Mark Whitehorn, who are also
database experts, consultants, developers, and writers-divide their
discussion of SQL Server 2008 into seven topics: Security and
Administration, Performance, Type System Enhancements, Programmability,
Storage, Enhancements for High Availability, and Business Intelligence
Enhancements. In each of these chapters, the authors describe new or
improved features. They could not address every additional capability of
or improvement in SQL Server 2008, however, because their view (and thus
their readers' view) into the product is an early one. Given the goals
of the book-to introduce and explore the product in a preliminary way,
both conceptually and practically (with sample code)-readers will find
plenty to interest them.

For example, database developers might be very glad to know that T-SQL
remains part of the product, and is, as yet, "still most often the best
choice for retrieving and manipulating data." CLR integration has been
improved since SQL Server 2005 and the new product introduces system CLR
types, but "T-SQL is still not going anywhere."

Because Peter DeBetta hopes to be the first technical book author on The
New York Times' bestseller list, he recommends Introducing Microsoft SQL
Server 2008 to everyone. But the people who really ought to read it are
those who want to begin using the new and improved tools in SQL Server
2008.

Register to download the free e-book, Introducing Microsoft SQL Server
2008 <
http://go.microsoft.com/?linkid=9318707>.

Wednesday, September 17, 2008 1:53:30 PM (Eastern Standard Time, UTC-05:00)

This is awesome news:

CodePlex is now offering server support for SvnBridge, the tool that enables TortoiseSVN to talk to Team Foundation Server. Support for Subversion has been our number one requested feature, and by hosting SvnBridge, our users can now use their favorite Subversion client with any project.

...

Starting today, TortoiseSVN will just work as illustrated below, no extra software is necessary to work with CodePlex.

Kudos to the CocePlex team!  Who says Microsoft doesn't listen to feedback, or make an effort to support open source tools?  Bah!

The SvnBridge client wasn't bad, but it was kind of a pain to have to start it to check out or commit changes.

Full story at http://blogs.msdn.com/codeplex/archive/2008/09/14/codeplex-launches-support-for-tortoisesvn.aspx.

Wednesday, September 17, 2008 1:51:06 PM (Eastern Standard Time, UTC-05:00)
 Tuesday, September 16, 2008

I'm headed to DevTeach Montreal!  It was DevTeach or PDC, and I liked the sessions at DevTeach better.  If you're attending also, drop a line.

Tuesday, September 16, 2008 9:01:38 PM (Eastern Standard Time, UTC-05:00)