Geeks With Blogs
Blog Moved to http://podwysocki.codebetter.com/ Blog Moved to http://podwysocki.codebetter.com/ December 2007 Entries
.NET 3.5, Design by contract and Spec# Part 4
Updates: Part 5: Frame Conditions/Inheritance/Boogie Part 6: Implementing a non-null string collection Part7: Spec# Wrapup Sorry about the delay in getting this post out, but work and the holidays have been busy! COM and C++ interop have taken a large amount of my time lately for my customer. I am going to present Spec# to a couple of groups this month, so this should be my motivation to increase the number of posts. The goal of this series is to better introduce the subject of Spec#. This product, ......

Posted On Friday, December 28, 2007 6:41 PM

Domain Driven Design Videos & Podcasts & Links
For those like me interested in Domain Driven Design (DDD), I have worked to compile a list of videos and podcasts to learn more about it. For those unfamiliar with DDD, the idea was founded by Eric Evans in his 2004 book, Domain-Driven Design: Tackling Complexity in the Heart of Software. Jimmy Nilsson followed this with a very nice book using C# called Applying Domain-Driven Design and Patterns: With Examples in C# and .NET that is well worth reading. DDD was founded on two principles: For most ......

Posted On Friday, December 28, 2007 12:06 PM

ALT.NET splitting?
Over the past week, it was announced that the ALT.NET Mailing list was changing its name. David Laribee asked for suggestions a while ago for suggestions on how to best split up the ALT.NET mailing list to get it more focused. The idea was to get each list more focused such as one for leadership, one for Q&A and one for peer review. Over the weekend, the ALTNETCONF mailing list was changed to CLI_DEV. Since that time, there has been a backlash against the name change for the fear that the group ......

Posted On Thursday, December 27, 2007 5:08 PM

xUnit.net RC1 Released
Brad Wilson and Jim Newkirk who are both from Microsoft announced earlier this week about the release of xUnit.net RC1. They split the project into the core (xunit and console), and the extensions (Resharper runner, TestDriven.NET runner, etc) What are some of the changes this time around? Supports static methods Console runs in the STA, so now you can use WatiN for tests Removed sealed behavior from Assert classes which prevent extending Documentation galore! Ok, now that it's been announced, the ......

Posted On Friday, December 21, 2007 12:13 AM

Model View Presenter (MVP) Passive View, SharePoint and Mocking
For the past couple of years, the Model View Presenter pattern has gotten a lot of attention on the .NET platform and more in particular to ASP.NET. For a thorough introduction on MVP with ASP.NET, read the article on CodeProject by Billy McCafferty. Recently, it has come to play that many now favor the Model View Controller (MVC) pattern over MVP. If you're confused about the differences between the two, check out this post which will explain it well. The basic gist is that the MVP pattern gives ......

Posted On Thursday, December 20, 2007 1:11 PM

Philly Code Camp and ALT.NET
Philly.NET has recently announced the upcoming Code Camp on Jaunary 12th. As you may notice, Brian Donahue of Philly ALT.NET is leading the ALT.NET track which is shaping up to be quite good. Below are the speakers confirmed and their sessions for the code camp: ALT.NET In Practice [Panel] ASP.NET MVC - A New Way To Build Web Apps [Jeff Deville] Fundamental Domain-Driven Design [Dave Laribee] Decoupling Your Design - Dependency Injection with Windsor [Jeremy Jarrell] Design Patterns [Don Demsak] ......

Posted On Wednesday, December 19, 2007 9:14 AM

ASP.NET Extensions and MVC Code Samples
As noted in some of my previous posts, there is a lot of excitement around the ASP.NET 3.5 extensions including MVC, Dynamic Data, Silverlight and so on. I have a few samples I'll be posting within the week using ASP.NET MVC with such things as Spring.NET, Castle Windsor, Object Builder and so on. In the mean time, I'm still working on the Spec# posts and some SharePoint Model View Presenter I hope to get out soon. Anyhow, there are some great links out there for doing cool stuff with ASP.NET MVC: ......

Posted On Tuesday, December 18, 2007 1:35 PM

.NET 3.5, Design by contract and Spec# Part 3
Updates: Part 4: Object Ownership/Assertions & Assumptions Part 5: Frame Conditions/Inheritance/Boogie Part 6: Implementing a non-null string collection Part7: Spec# Wrapup In my previous posts regarding Spec#, I have discussed some of the general concepts. Let's review each one before we move onto today's topic, because each one builds upon another. Part 1: Spec# introduction Part 2: Method Contracts (Preconditions/Postconditions) Now that we're caught up, let's move on. Today's topic is going ......

Posted On Sunday, December 16, 2007 12:00 AM

Reminder: MICSUG - Enterprise Service Bus on the Microsoft Platform
Just wanted to throw out a reminder about the ESB Guidance session this upcoming Monday. Hope you can join us! I'll be running the show on Monday, so please come out and say hello... Join us for the latest Microsoft Integration and Connected Systems User Group (MICSUG) on December 17th at 7:00PM, where we will talk about the Enterprise Service Bus Guidance provided by Microsoft on CodePlex. Since Geoff Snowman will be out, I will be running the show that night, so I hope you come out and hope to ......

Posted On Friday, December 14, 2007 6:22 PM

MVC Contrib Progress
In a previous post, I mentioned that Jeffrey Palermo launched MVCContrib to serve as community contributions to the ASP.NET MVC ASP.NET extensions. Since that time, there has been a lot of activity on that front. Current contributions include: IoC container controller factories for containers: StructureMap, Windsor, Spring.Net and ObjectBuilder Extra View Helpers Generic Test Doubles for Unit Testing Very cool stuff and let's see more contributions on that front. Develop with passion ......

Posted On Friday, December 14, 2007 1:10 PM

DC ALT.NET First Meeting Wrapup
Last night was our first DC ALT.NET meeting held in Alexandria, VA. We had a good turnout for a first night and a lot of good topics discussed. I want to thank Scott Singleton for hosting the event. The Open Spaces format worked well for us as all brought topics to talk about and the talks very lively and passionate. A lot of good learning took place! This was the intention when I helped found this group last month... Of course with any proper ALT.NET meeting, alcohol was served in a nice friendly ......

Posted On Friday, December 14, 2007 1:03 PM

Visual Studio 2008 and SharePoint 2007 Templates
With the recent announcement of WSS/MOSS SP1 and AJAX support, I decided to relook at the Visual Studio 2008 integration again. Sure enough I was surprised to find that Jan Tielens has been working on making it easy once again to develop web parts using templates. Smart Templates has been put up on CodePlex in order to create more SharePoint project types than are currently available. This includes only Web Parts at the current time. The web part template allows you to do the following: Create web ......

Posted On Thursday, December 13, 2007 4:47 PM

One last shameless plug for DC ALT.NET
As mentioned previously, DC ALT.NET has been announced and the first meeting is tonight.  Join the mailing list and find out more info!

Posted On Thursday, December 13, 2007 9:35 AM

Unit Testing Multithreaded Applications
Earlier today I had a pretty good discussion regarding multithreaded unit tests and the best way to accomplish them. For example we want a way to find deadlocks in our applications and so on. Some may say that that's not really unit testing, but integration testing. Fair enough, and that's a debate for another time. If you're a fan of MbUnit as I am, you'll probably notice the goodness of the ThreadedRepeatAttribute. This custom attribute when applied to a Test method can run the given method concurrently ......

Posted On Thursday, December 13, 2007 1:59 AM

.NET 3.5, Design by contract and Spec# Part 2
Updates: Part 3: Invariants Part 4: Object Ownership/Assertions & Assumptions Part 5: Frame Conditions/Inheritance/Boogie Part 6: Implementing a non-null string collection Part7: Spec# Wrapup In a previous post, I talked about the essentials of Spec# and where it's going. After the first post, I talked with Greg Young a little bit about the possibilities and potential of Spec# and Design by Contract. Greg gave a session on Spec# at DevTeach, so it's great to talk to someone passionate about this ......

Posted On Wednesday, December 12, 2007 3:05 AM

Announcing Washington DC ALT.NET
In the wake of Philly and Pittsburgh ALT.NET groups, those of us in the Washington DC area felt it was time to address some of these issues in our area as well. For those unfamiliar with ALT.NET, here are the kinds of developers that are ALT.NET as defined by David Laribee: Is always keeping an eye out for a better way. Reaches outside the mainstream to adopt the best of any community: Open Source, Agile, Java, Ruby, etc. Is not content with the status quo. Things can always be better expressed, ......

Posted On Tuesday, December 11, 2007 7:21 PM

RockNUG Meeting 12/12
The Rockville .NET User Group (ROCKNUG) will hold it's meeting on 12/12 from 6:30-9PM. This month will cover MbUnit, a favorite tool of mine, by Jay Flowers. Listed below are the details: Release 1.6 Wednesday, December 12, 2007 6:30-9:00 PM Montgomery College, Rockville Humanities Building - Room 103 MbUnit by Jay Flowers In this talk Jay will introduce you to some advanced unit testing techniques. MbUnit offers easy ways to create parameterized unit tests. He will explorer fixtures like the RowTest ......

Posted On Monday, December 10, 2007 2:33 PM

.NET 3.5, Design by contract and Spec#
Updates: Part 2: Method Contracts (Preconditions/Postconditions) Part 3: Invariants Part 4: Object Ownership/Assertions & Assumptions Part 5: Frame Conditions/Inheritance/Boogie Part 6: Implementing a non-null string collection Part7: Spec# Wrapup As I continue to dig deeper into BDD, TDD and DDD, I've been intrigued by Design by contract and Eiffel. For a quick introduction for those lazy to visit those links, Design by contract means that designers of software should define precise verifiable ......

Posted On Monday, December 10, 2007 10:53 AM

ASP.NET 3.5 Extensions (MVC and others) released!
Today, the ASP.NET 3.5 Extensions were released. You can now download them here. Now people can have the opportunity to do a tech preview on a lot of cool things coming to ASP.NET including of course MVC. Scott Guthrie and Scott Hanselman also mention this on their blogs. Scott Hanselman also has a 40 minute "How To" video worth watching as well. Here is what is included in the extensions download: ASP.NET MVC ASP.NET MVC provides model-view-controller (MVC) support to the existing ASP.NET 3.5 runtime, ......

Posted On Sunday, December 9, 2007 10:39 PM

Patterns & Practices MVP Bundle Released
With MVC and MVP patterns being very widespread and more accepted in the ASP.NET world, it's time that Patterns & Practices got in the game. P&P just released the Model View Presenter (MVP) Bundle this week on Codeplex this week and well worth checking out. Note that it's only for Visual Studio 2005 at this time. So, what is it? In short, the MVP Bundle gives you: Guidance on how MVP to promotes testability and separation of concerns within the UI How to implement MVP with standard ASP.NET ......

Posted On Friday, December 7, 2007 4:49 PM

Tools I can't live without
Still working on some Spec# posts right now, but in the mean time, here's something I meant to send out a while ago. Throughout my career, many people have asked which tools I take from project to project. There have been plenty of tools that seemed cool, worked for a little bit then I moved onto something else. Being in the ALT.NET mindset, I have a wide array of tools that I will bring whether they be from Microsoft or the developer community as a whole. I'll categorize each set of tools per type. ......

Posted On Friday, December 7, 2007 2:45 PM

First public preview of ASP.NET MVC tomorrow 12/7?
Update 12/7 - Looks to be delayed til next week... In two previous posts, I have followed the ASP.NET MVC pattern quite intensely as TDD with Web Projects is something I'm always interested in. Anyhow, Scott Guthrie aka (ScottGu) posted the third part in his series on ASP.NET MVC. This one covers passing ViewData from controllers to views, and more specifically cover ways you can pass data from a Controller to a View in order to render a response back to a client. This covers two scenarios of passing ......

Posted On Thursday, December 6, 2007 6:19 PM

Community Megaphone - Get the word out!
Have you ever had a hard time keeping up with user group meetings, webcasts, code camps, or not know which ones are in your area? Sometimes it's really hard to know which day is which. Andrew Duthie, a Microsoft Developer Evangelist, has set up a site called Community Megaphone. This site allows you to add your events to the calendar to get the word out. You can then get the ones you are interested in by filtering. A gadget is also available for your website as noted on the left hand menu on this ......

Posted On Thursday, December 6, 2007 12:27 AM

Not switching to 2008 exclusively yet
Greetings from snowy, beautiful Washington, DC where it takes the average person three hours to get into work. Seems that when people come across frozen bridges, the first idea people get is to step on the brakes. WHY??? Anyhow, that's a rant for another day. The here and now focus is Visual Studio 2005 and 2008. With the projects I've been doing lately, I haven't had the luxury to completely switch over to Visual Studio 2008 just yet. There are a few things holding me back: BizTalk 2006 R2 integration ......

Posted On Wednesday, December 5, 2007 3:37 PM

Behavior Driven Development (BDD) and NBehave
Behavior Driven Development (BDD) has been a big interest of mine lately and the way I tackle software design and development. If you're looking for a good introduction as to what it is, follow the links plus a good introduction from Dan North and one from Tom Adams. Just in case you've been living under a rock or off on some distant planet, you may ask, "Well, what is it?". Well, in a way, it inherits from Test Driven Development and Domain Driven Design. TDD had a failing by just performing tests ......

Posted On Wednesday, December 5, 2007 1:41 AM

ASP.NET MVC Roundup Part 2
In a previous post, I covered a lot of the early happenings within the ASP.NET MVC Framework. Since Scott Guthrie started blogging about ASP.NET MVC, there have been follow-on articles. Here are the latest information about ASP.NET MVC: ASP.NET MVC Framework Part 2 (URL Routing) in which Scott Guthrie drills down deep into the built-in capabilities of the URL routing within ASP.NET MVC. For those chomping at the bit to get this code, this is another great post in the series. An Architectural View ......

Posted On Tuesday, December 4, 2007 5:54 PM

Microsoft and the community duplication of effort?
Recently, there was an interesting exchange on the ALT.NET Yahoo group regarding a real fundamental issue regarding the OSS world and their relationship with Microsoft. Phil Haack noted the exchange between Oren Eini, aka Ayende, and Brad Wilson which is a great post. For those that are lazy, what all happened? Brad: If you're simply angry because we had the audacity to make our own object factory with DI, then I can't help you; the fact that P&P did ObjectBuilder does not invalidate any other ......

Posted On Tuesday, December 4, 2007 5:31 PM

Enterprise Service Bus on the Microsoft Platform Presentation
Join us for the latest Microsoft Integration and Connected Systems User Group (MICSUG) on December 17th at 7:00PM, where we will talk about the Enterprise Service Bus Guidance provided by Microsoft on CodePlex. Since Geoff Snowman will be out, I will be running the show that night, so I hope you come out and hope to have a great crowd. As someone who is currently using this technology on a project, it's always great to see new ideas and perspectives on the technology. In case you don't know what ......

Posted On Monday, December 3, 2007 2:15 PM

Copyright © Matthew Podwysocki | Powered by: GeeksWithBlogs.net | Join free