This weekend was the first Hartford area Microsoft Code Camp. It was very successful with well over 150 attendees and over 22 presenters. We presented the following topics:
Lee Rodgers – Spring.NET & IOC
Reddy Kadasani – Silverlight – Lighting up the Web
Presentation content and demo content will be posted to this site in the next few days, so please check back.
Addition information about the code camp can be found at the Conneticut .NET user group website (http://ctdotnet.org).
I have been doing some work and research with ASP.NET MVC 2.0. My first interest was to try to figure out how to get Dependency Injection working with ASP.NET. I started doing investigating how to link in Springframework.net. This direction led me down a track that required some manual configuration. This is when i found S#arp Architecture [dead link], which I found very interesting since it gave you the benefits without the configuration up front.
S#arp Architecture is a project template for Visual Studio that will set you up with a ASP.NET MVC application that is already wired up for Dependency Injection and using nHibernate for data access. more information can be found on the S#arp Architecture website and wiki.
My findings so far have been very positive. Within about 45 minutes I had a web application with some basic CRUD functionality. …
A couple topics I have been looking into lately are Ruby on Rails and ASP.NET MVC.
Here are some helfpul links I found along the way.
Visual Studio Add-ins – I have heard of quite a few of these. The link is kind of old but some of the tools are still relevant.
Free Chapter on MVC in Action – This book comes out in August but some of the content is available now.
MVC.NET – Interesting article. I like the last section where they talk about MVC vs. Web Forms.
ASP.NET vs. Ruby – Decent comparison between the two technologies.
http://dotnetaddict.dotnetdevelopersjournal.com/ruby_vs_aspnet_1.htm [dead link]
http://dotnetaddict.dotnetdevelopersjournal.com/aspnet_ruby_agility.htm [dead link]
http://dotnetaddict.dotnetdevelopersjournal.com/aspnet_ruby_datadriven.htm [dead link]
I was in the process of trying to restore my TFS Server to a different machine until there was time for it to be rebuilt. This turned out to be quite a headache. Once all the querks were identified it wasn’t all that bad but it took much longer than it should have. Here are the key steps:
Install Fresh Copy of Team Foundation Server
Stop all Services (IIS, REporting Services)
Restore all TFS Databases
Restore Reporting Services Databases
Restore SharePoint Content Database
Log into SharePoint Administration and remove content database and re-add WSS_CONTENT database
Ensure Reporting Services is functioning
Run TfsAdminUtil configureconnections and ensure reporting services is pointing to new machine
Modify web.config in the web services/services/ directory so the data tier matches EXACTLY what was in the previous machine
Run TFSAdminUtil renamedt ensuring data tier
Run TFSAdminUtil activateat
After those steps you should be up and running. The major issue…
This Saturday was the first Hartford Code Camp. I presented on SpringFramework.NET specifically regarding Inversion of Control (IOC).
The presentation is in PowerPoint and discusses some of the basic concepts that need to be understood prior to understanding Spring.NET.
The source code is what was demonstrated during the presentation. It contains two solution folders.
TightlyCoupledClasses – Example of normal C# development where classes are tightly coupled together with manual instantiation.
LooselyCoupledClasses – Similar code loosely coupled using Spring.NET IOC. Includes various NUnit tests utilizing mock objects showing the ability to isolate tests with manual injection of mock objects.
If you have any question feel free to post questions or comments here or email me directly at email@example.com.
Found a great resource today for how to go about testing BizTalk applications. It covers best practices on how to unit test various BizTalk artifacts such as schemas, maps, pipelines, orchestrations. This covers how these should be covered with tests for integration testing as well as functional testing. Very interesting read.
One of the tasks developers find most tedious is documentation. It gets to the point that documentation never gets done in many cases. This is where documentation tools comes in handy. There is a documentation tool that is available that analyzes the BizTalk application and creates a CHM file containing:
Send & Receive Ports
Schemas & Maps
The tool is an open source project that can be found on CodePlex:
Unit testing is a best practice when it comes to application development. BizTalk development falls into this realm of application development so it would be great to be able to unit test these applications as well.
The most commonly used unit testing tool with BizTalk is BizUnit (http://www.codeplex.com/bizunit). This is a step based test framework where steps are defined in XML. Using BizUnit in conjunction with either Visual Studio .Net Tests or nUnit tests would allow for unit tests to be integrated as part of a build process.
More information and examples will be posted in the coming weeks so stay tuned.