Fervent Coder

Coding Towards Utopia...by Rob Reynolds
posts - 272 , comments - 427 , trackbacks - 0

My Links

News


Rob Reynolds

Subscribe to Fervent Coder RSS
Subscribe to Fervent Coder by Email

About Me

I manage several open source projects. Need...
   ...package management for Windows?
   ...automated builds?
   ...database change management (migrations)?
   ...your application to check email?
   ...a monitoring utility?

I also write for



Like what you are reading? Want to buy me a cup of coffee?
PayPal - The safer, easier way to pay online!

Archives

Post Categories

Sites

Code

DevConnections - ASP.NET & VS Keynote - Scott Guthrie
Scott Guthrie gave a great keynote this morning. As is turns out VS 2008 is almost complete and we are not getting a copy here at the conference. We will get one mailed to us however after they release it. Which means we will not really be one of the first to get it. :( Visual Studio 2008 - Of course this is going to be able to be used immediately by us due to the fact that you can target .NET Framework 2.0. That means we can just install and continue developing the same applications with AJAX integration ......

Posted On Tuesday, November 6, 2007 12:21 PM | Comments (0) | Filed Under [ Code Personal ApplicationsToysOther ]

DevConnections in Vegas
So here I find myself at DevConnections again. I came because I had such an enjoyable experience in Orlando last year. This year I am hoping for the same. This is my first time at the Vegas DevConnections and it looks like many more people come out here than go to Orlando. They also have more co-conferences at the same time. I am looking forward to the WCF presentations and the first one I will be headed to is a pre-conference workshop on SOA with Michele Leroux Bustamante. The post-conference session ......

Posted On Monday, November 5, 2007 11:56 AM | Comments (3) | Filed Under [ Code Personal WCF ]

Windsor is Like Dad Helping with a 6th Grade Science Project...
You remember when you were in sixth grade and you did your science project all on your own, but Sally and Billy had their fathers help them? Your project looked like a sixth grader put it together, and Sally's project, well it looked more like a professional did it. Sally's project looked much more professional than yours...and why was that? Was it because Sally was just very creative and good at that kind of stuff and you weren't? Was it because she had better access to resources to complete hers? ......

Posted On Wednesday, October 17, 2007 11:07 AM | Comments (6) | Filed Under [ Code CastleProject ]

WCF Faulted State Question
I'm calling a WCF service with a windows application. If the service errors (say you throw an exception from the service), it goes into the faulted state and I can't use the proxy anymore for calls. In light of realizing that your proxy can only fault once, and not wanting to do one of the two things below (from Jeff's post): Subscribe to the Faulted event of the communication object. Check the State property of the communication object before executing a service operation. I will add option three: ......

Posted On Tuesday, October 16, 2007 2:17 PM | Comments (4) | Filed Under [ Code WCF ]

WCF Impersonation - Specifying Windows Authentication Credentials on the Service Host Side of the WCF Equation
We don't want to use AspNetCompatibility mode in case we ever want to take advantage of net.tcp or another custom binding, so is there a way to specify and implement impersonation (read: userName=,password=) on the WCF Service Host side? Did Microsoft in their infinite wisdom leave this out? I posed this question to my friend Dru today after we were having trouble finding a way to do it. So there are plenty of articles on WCF Impersonation out there, but nearly all of them originate from the client ......

Posted On Wednesday, October 3, 2007 1:29 AM | Comments (8) | Filed Under [ Code ApplicationsToysOther WCF ]

WCF in IIS with Websites that have Multiple Identities
Error Description: "This collection already contains an address with scheme http. There can be at most one address per scheme in this collection. Parameter name: item" A fantastic<sarcasm> thing you may come across using WCF when you deploy to a production network is that your networks group uses more than one identity per website (most likely due to different host headers). Below is a picture of what it looks like in IIS. You get there when you right click on the website (in IIS) and select ......

Posted On Tuesday, October 2, 2007 11:56 PM | Comments (14) | Filed Under [ Code ApplicationsToysOther WCF ]

Restricting Export Options in Report Manager
This doesn't really seem to be out there a lot, but a colleague of mine found this for me recently. http://sqljunkies.com/WebLo... Now if we can figure out how to override the default output so we can tell SQL Server Reporting Services (SSRS) not to ignore whitespace. Reports look great in everything BUT HTML when you want more than one space on items ......

Posted On Tuesday, October 2, 2007 2:45 PM | Comments (0) | Filed Under [ Code ApplicationsToysOther ]

Interface based Development
This is a great article on the benefits of interface based development. I might be doing a presentation on that when I go to Tulsa TechFest in October, so you might be seeing more blog posts than normal by me. http://www.c-sharpcorner.co... ......

Posted On Thursday, September 6, 2007 10:20 AM | Comments (2) | Filed Under [ Code ]

Silverlight RC1 released

http://weblogs.asp.net/scottgu/archive/2007/08/01/vs-2008-javascript-intellisense-for-silverlight.aspx

Posted On Thursday, August 2, 2007 7:34 AM | Comments (0) | Filed Under [ Code ApplicationsToysOther ]

My End of Year Roadmap to Becoming a Better Person (and Developer)
Recently I was tagged by Russ on the Justice Gray challenge. Personal Something I have been attempting over the last few years is to be healthier. What does that mean? Well for my wife and I that means making healthier decisions when we eat. We find the good substitutes. Over the past two years we realize that is not enough. A healthy diet is a good step in the right direction, but you need that level of exercise to be the catalyst for a healthy lifestyle. -I think I want to run in something, probably ......

Posted On Tuesday, July 24, 2007 11:18 PM | Comments (3) | Filed Under [ Code Personal ApplicationsToysOther ]

Chocolatey Community Feed Update!
Average approval time for moderated packages is currently under 10 hours! In my last post, I talked about things we were implementing or getting ready to implement to really help out with the process of moderation. Those things are: The validator - checks the quality of the package The verifier - tests the package install/uninstall and provides logs The cleaner - provides reminders and closes packages under review when they have gone stale. The Cleanup Service We've created a cleanup service, known ......

Posted On Saturday, January 16, 2016 8:34 AM | Comments (0) | Filed Under [ Code chocolatey ]

SidePOP XMLConfigurator
From my previous post on SidePOP, I wanted to make it even easier to configure SidePOP. So instead of the configure_mail_watcher() from the last post, this is what it looks like now: private void configure_mail_watcher() { EmailWatcherConfigurator configurator = new SidePopXmlConfigurator(); foreach (EmailWatcher emailWatcher in configurator.configure()) { emailWatcher.MessagesReceived += runner_messages_received; emailWatcher.start(); } } Pretty. Notice that Runner became EmailWatcher and instead ......

Posted On Tuesday, December 8, 2009 1:29 PM | Comments (1) | Filed Under [ Code chucknorris SidePOP ]

How To Check Email Programmatically - SidePOP
Background Sending email has long been easy to do with the .NET Framework. There really hasn’t been a facility for checking email though. I recently had a need to be able to check email with and send a response with Bombali (a monitoring tool). I went searching for examples or a solution I could use. I found a few articles on this from a few years ago including the .NET POP3 MIME Client. I never found anything that was free and I never found anything that was easy to configure. Those who know me ......

Posted On Tuesday, December 8, 2009 12:38 AM | Comments (3) | Filed Under [ Code chucknorris SidePOP ]

Command Line Parsing on Windows with Mono.Options
When you have command line arguments to parse (whether on Windows or Linux), the place to look is Mono.Options. To date, I have not found anything better to get the job done. It is a single C# file if you do not want to download the entire Mono Library to use it. I was first introduced in Mono 2.2. The equivalent product is NDesk.Options by Jonathan Pryor. His single Options.cs file has been implemented as Mono.Options. To demonstrate how easy command line parsing can be, I’m going to show you is ......

Posted On Sunday, November 22, 2009 12:49 PM | Comments (1) | Filed Under [ Code RoundhousE chucknorris ]

RoundhousE: Version Your Database
Versioning your database is as important as versioning your code. How much time do we waste currently before we are even productive when we have to fix or enhance something in a database? RoundhousE versions your database how you want. The recommended way is to version based on source control, but that may not be your solution. But for a moment let’s pretend it is. Why would versioning your database based on source control be a big help? What happens if you get a prod fix (or work order) to fix a ......

Posted On Thursday, November 19, 2009 1:26 AM | Comments (1) | Filed Under [ Code RoundhousE ]

NHibernate Event Listener Registration With Fluent NHibernate
I’m a huge fan of NHibernate. It has excellent documentation and just makes the whole job of getting things into and out of the database much more enjoyable. There is a whole series of posts on NHibernate from one of the committers, Ayende. When Fluent NHibernate (FNH) came out, it was like butter on sliced bread. FNH makes it even easier to use NHibernate. Ayende had a post a while back on how to use Event Listeners. That helped me to get to event listeners set up. Event Listeners namespace somethingimportant.we.hope.... ......

Posted On Wednesday, November 18, 2009 1:04 AM | Comments (3) | Filed Under [ Code ]

RoundhousE: Configuration
This week I introduced RoundhousE and it’s getting quite a stir. Let’s take a look at the configuration. We are going to focus on the MSBuild/NAnt task configuration for now because the console isn’t yet complete. The console will actually have at least this much if not more (we’ve talked about how to use it to create the migration scripts and not just run them). Because we like to be able to infer things, we have determined that there are only two required items. Thus – the minimal configuration: ......

Posted On Sunday, November 15, 2009 4:06 AM | Comments (9) | Filed Under [ Code RoundhousE ]

this.Log– Source, NuGet Package & Performance
Recently I mentioned this.Log. Given the amount of folks that were interested in this.Log, I decided to pull this source out and make a NuGet package (well, several packages). Source The source is now located at https://github.com/ferventc... Please feel free to send pull requests (with tests of course). When you clone it, if you open visual studio prior to running build.bat, you will notice build errors. Don’t send me a pull request fixing this, I want it to work the way it does now. ......

Posted On Wednesday, December 19, 2012 11:21 PM | Comments (0) | Filed Under [ Code NuGet ]

From Zero To Deployed Contest–Winner Announced PLUS Extension To Most Creative
Recently we had a contest to see who could beat my time to get from no code to deployed. Thanks to everyone that participated and everyone that thought about participating in the contest. Most Creative From Zero To Deployed Contest Extended! Unfortunately there were not enough entries to award the most creative video for ZtD. So what we are doing is extending the most creative until May 15, 2011 @ 11:59 PM CST. This gives you almost two months to get your videos in! If you entered before, you are ......

Posted On Monday, March 21, 2011 12:09 AM | Comments (0) | Filed Under [ Code ApplicationsToysOther UppercuT RoundhousE chucknorris gems ]

RoundhousE DB Migration: Action Shots
I just started the appetites with my last post on RoundhousE. RoundhousE itself has a migration sample to help you get familiar with how it works. You can get to that by using a subversion client to download the source. When you download the RoundhousE source from SVN and run build.bat, you get a code_drop folder. Go in there and look at the deployment folder for a sample run. Prerequisites: Locally installed (and running) SQL Server 2008 Run That Bad Boy When you get into the code_drop folder, take ......

Posted On Friday, November 13, 2009 1:17 AM | Comments (2) | Filed Under [ Code RoundhousE ]

VS2008 Beta2 Available
http://weblogs.asp.net/scottgu/archive/2007/07/26/vs-2008-and-net-3-5-beta-2-released.aspx

Posted On Friday, July 27, 2007 9:07 AM | Filed Under [ Code ApplicationsToysOther ]

Super D to the B to the A – AKA Script for reducing the size of a database
The following is a script that I used to help me clean up a database and reduce the size of it from 95MB down to 3MB so we could use it for a development backup. I will note that we also removed some of the data out. I shared this with a friend recently and he used this to go from 70GB to 7GB! UPDATE: Special Note Please don’t run this against something that is live or performance critical. You want to do this where you are the only person connected to the database, like a restored backup of the ......

Posted On Friday, December 14, 2012 9:43 AM | Comments (1) | Filed Under [ Code ]

Refresh Database–Speed up Your Development Cycles
Refresh database is an workflow that allows you to develop with a migrations framework, but deploy with SQL files. It’s more than that, it allows you to rapidly make changes to your environment and sync up with other teammates. When I am talking about environment, I mean your local development environment: your code base and the local database back end you are hitting. Refresh database comes in two flavors, one for NHibernate and one for Entity Framework. I’m going to show you an example of the one ......

Posted On Wednesday, December 12, 2012 5:08 PM | Comments (2) | Filed Under [ Code RoundhousE chucknorris NuGet ]

Symbolic Regular Expression Exploration
This is a pretty sweet little tool. Rex (Regular Expression Exploration) is a tool that allows you to give it a regular expression and it returns matching strings. The example below creates10 strings that start and end with a number and have at least 2 characters: > rex.exe "^\d.*\d$" /k:10 This is something I could use to validate/generate the Regular Expressions I have created with both UppercuT and RoundhousE. Check out the video below: Margus Veanes - Rex - Symbolic Regular Expression Exploration ......

Posted On Saturday, April 17, 2010 2:02 PM | Comments (0) | Filed Under [ Code ApplicationsToysOther ]

Virtual Alt.NET – UppercuT Automated Builds
Tomorrow on February 24th, 2010, I’m going to be giving a presentation on UppercuT (UC) at Virtual Alt.NET (VAN). If you are interested in learning about an automated build tool that will save you time and get you to a professional build in moments, not days, you can log into the VAN around 8PM CST on Wednesday (tomorrow). You don’t even have to go to a physical place to see the presentation! You can hang out from the comfort of your own home and watch me walk through how easy it is to use UC. Here ......

Posted On Tuesday, February 23, 2010 10:09 PM | Comments (0) | Filed Under [ Code UppercuT chucknorris ]

HowTo: Use .NET Code on a Network Share From Windows
If you use VMWare/VirtualPC and you want to offload your source code repositories to your host OS and code from it inside the VM, you need to do a few things to fully trust the share. I’ve found that I keep heading out and searching on this every time I need it so I thought I would write it down this time to save myself the trouble next time. CasPol Changes Save the following as caspol.bat: %WINDIR%\Microsoft.NET\Fram... -q -machine -ag 1.2 -url file://e:/* FullTrust %WINDIR%\Microsoft.NET\Fram... ......

Posted On Wednesday, December 12, 2012 1:08 AM | Comments (0) | Filed Under [ Code ]

DropkicK–Deploy Fluently
DropkicK (DK) has been in development for over two years and has been used for production deployments for over a year. Dru Sellers originally posted about DK back in 2009. While DK isn’t yet as super easy to grok as some of the other ChuckNorrisFramework tools and offers little in the idea of conventions, it is still a stellar framework to use for deployments. DK works well in environments where you know all of the environments you will deploy to ahead of time (although not required due to the ability ......

Posted On Sunday, October 23, 2011 1:32 PM | Comments (0) | Filed Under [ Code ApplicationsToysOther RoundhousE chucknorris DropkicK ]

Windows Services: Update Configuration Without Restarting The Service Follow up
I recently posted on How To Receive Configuration Updates without restarting a .NET Windows Service. For some reason it never showed up in Google Reader. I guessed the reader maybe missed it for some reason. Perhaps it was something in the naming of my post. Like I mentioned in the article, it is possible to update the configuration and not have to restart the service. I was interested in learning how when I saw that log4net was doing it. I didn't take quite the same path they did, but I was influenced ......

Posted On Sunday, September 7, 2008 11:27 AM | Comments (0) | Filed Under [ Code ]

.NET Windows Services: How to Receive Configuration Updates without Restarting the Service
Something I have been working on recently is a utility that will watch the configuration file and let me know when it changes. It is a work in progress (I am always tweaking code) even though it works now and I am always open for feedback. I was heavily influenced by looking at how log4net implemented the same thing with the XMLConfigurator (although they used a custom way of getting the file). Basics of How to Receive Configuration Updates Without Restarting a Service To start setting up a configuration ......

Posted On Friday, September 5, 2008 1:06 AM | Comments (2) | Filed Under [ Code ]

Inserting into Microsoft SQL Server Database Identity Columns
This came up in a discussion the other day so I thought I would share it. CREATE TABLE dbo.TestIdentity ( ID bigint identity(1,1) --primary key ,[Desc] char(20) ) INSERT INTO dbo.TestIdentity ([Desc]) values ('first') INSERT INTO dbo.TestIdentity ([Desc]) values ('second') SET IDENTITY_INSERT TestIdentity ON --note the identities being inserted INSERT INTO dbo.TestIdentity (ID,[Desc]) values (1200,'id-third') INSERT INTO dbo.TestIdentity (ID,[Desc]) values (1,'id-fourth') -–this works until you set ......

Posted On Saturday, August 23, 2008 7:11 PM | Comments (0) | Filed Under [ Code ]

Published Applications AKA _PublishedApplications
Less maintenance. Less work to package during your automated builds. Too easy. Remember Our Old Friend _PublishedWebsites? You’ve probably seen the _PublishedWebsites folder when building websites in automated builds. If not you can stop paying attention now. Still with me? Great! So you know how it packages up everything nicely with content files going where they should with nearly ZERO cost to your build scripts. All you need to do is override the output directory (OutDir) and you get this feature. ......

Posted On Monday, March 21, 2011 12:22 AM | Comments (0) | Filed Under [ Code ApplicationsToysOther UppercuT ]

AppHarbor - Azure Done Right AKA Heroku for .NET
Easy and Instant deployments and instant scale for .NET? Awhile back a few of us were looking at Ruby Gems as the answer to package management for .NET. The gems platform supported the concept of DLLs as packages although some changes would have needed to happen to have long term use for the entire community. From that we formed a partnership with some folks at Microsoft to make v2 into something that would meet wider adoption across the community, which people now call NuGet. So now we have the ......

Posted On Friday, February 18, 2011 6:12 AM | Comments (0) | Filed Under [ Code ApplicationsToysOther UppercuT RoundhousE chucknorris gems ]

UppercuT v1.2–NuGet Support
For those that have not yet heard, NuGet went v1 recently along with a whole slew of tools from the Microsoft folks. I’ve been lucky to be a part of the NuGet project and see it take shape over the past few months with community input and contributions. Even though v1.0 was released, we are already moving forward with getting ideas and prioritizing features for the next version. To follow the announcement, UppercuT (UC) v1.2 now includes support for NuGet out of the box. Plus, it will handle versioning ......

Posted On Sunday, January 23, 2011 8:48 PM | Comments (2) | Filed Under [ Code UppercuT chucknorris ]

The Evolution of Package Management for .NET
The thing to realize is that the destination is never the most important part of the journey. It’s the journey itself. When you start a journey, you are never fully sure where it is going to end up. We started the journey down package management for .NET three times with Nu[bular] (we in this context means the nu team, not me in particular, I was only involved in the last reboot) before we decided to try an existing infrastructure with Ruby Gems. I have always said that I would use the best tool ......

Posted On Wednesday, October 6, 2010 1:03 PM | Comments (0) | Filed Under [ Code Personal ApplicationsToysOther gems ]

Herding Code Talks About Nu
Dru and I were recently featured on Herding Code Podcast. In the podcast we talk about everything from package management in general to Nubular (Nu) to other package management systems (OpenWrap, Bricks, and Horn, although horn was/is slightly different) to the possibility of Microsoft releasing a package management system. It was a good time and I enjoyed doing the podcast, but the herding code guys start recording at an insane 10:30 PM! I have no idea how I made it through the whole thing and was ......

Posted On Friday, August 27, 2010 1:29 AM | Comments (2) | Filed Under [ Code UppercuT RoundhousE chucknorris gems ]

Gems For .NET – Community Response
There has been a lot of response in the community about this gems idea we’ve been talking about. I even had the opportunity to sit down with Nick Quaranto, the guy behind Rubygems.org, over coffee Sunday and talk about where we think we are going and what it will take to get there. One of the biggest things that everyone wants to see carrying this idea forward is that we migrate off of Rubygems.org and have our own gem server. And we all agree this is a great idea. There are just two things that ......

Posted On Monday, July 19, 2010 1:29 PM | Comments (0) | Filed Under [ Code gems ]

How To – Gems And .NET – Dependencies (References)
In my last post I didn’t mention dependencies. Dependencies are their own animal. They require a couple more things to be in place. Let’s talk about those things. In the .NET world, the dependency for compiled bits is usually an exact version of a reference. Let me explain. So for example, you have a reference to log4net, and you don’t ILMerge it into your assembly. You now have a dependency that the DLL needs to be there and a particular version (outside of redirecting the bindings). So what I’m ......

Posted On Saturday, July 17, 2010 7:57 AM | Comments (1) | Filed Under [ Code UppercuT gems ]

How To - Gems And .NET
In my last post I showed gems being used for .NET. Now let’s talk about How. Most of this stuff I’ve learned over the past two days, so if I have a mistake here or you have a better idea, please don’t hesitate to offer a better solution. The GemSpec The Gem::Specification reference is your friend. In order to create a gem, you need to define a gem specification, commonly called a “gemspec”. A gemspec consists of several attributes. Some of these are required; most of them are optional. From here ......

Posted On Friday, July 16, 2010 2:27 AM | Comments (0) | Filed Under [ Code UppercuT RoundhousE chucknorris gems ]

The Future of .NET Open Source Software Delivery
Imagine we are awhile into the future. How do you get open source releases down to your project so that you can use them? How do you get the products down to your computer so that you can use them? Is it easier or harder than the way we’ve always done it before? The Past and Present Before we can go there, let’s look at what we do now (the past is really the same for us here). Let’s say I want to use NHibernate. What do I do? There are basically three paths we all follow in this process. 1. Never ......

Posted On Monday, July 26, 2010 11:30 PM | Comments (5) | Filed Under [ Code CastleProject UppercuT gems ]

How To – UppercuT and Gems
In a previous post I mentioned how I was going to show you how UppercuT (UC) has the ability to make gems stupid simple to create and publish. You ask if gems can get any easier and to that I answer, “Why YES, they can!” How about just filling out the information for the gemspec, running a build and having a nice, shiny new gem ready for publishing? Rock The Gems Basically you want to get the latest release of UppercuT. You can download it or grab the source and compile. There are already instructions ......

Posted On Wednesday, July 21, 2010 1:34 AM | Comments (0) | Filed Under [ Code UppercuT chucknorris gems ]

Gems - Package Management For .NET
The Ruby community has enjoyed a great user experience with a package management system they use called Gems. A gem is a package (or a library), compressed with some additional metadata, and can be either source files or binaries. Let’s focus on binary gems. We have the same concept in .NET (DLLs/EXEs). You may have references to other DLLs. When you want to update a reference you are using on a project, you may also need to update its dependencies as well. And so on and so forth. A package management ......

Posted On Thursday, July 15, 2010 11:37 PM | Comments (3) | Filed Under [ Code CastleProject UppercuT RoundhousE chucknorris SidePOP gems ]

RoundhousE – ADO.NET over SMO
One thing most database change management tools use is SQL Server Managment Objects (SMO). Most do that because ADO.NET doesn’t allow the batch statement separator keyword GO in sql statements. So most people write off the ability to use a database change tool for sql server without actually having the sql server installed on the machine that is running the tool. This is not a reality in some organizations, especially when licenses for SQL server are limited. Split the GO Recently, a few guys have ......

Posted On Tuesday, February 23, 2010 9:49 PM | Comments (1) | Filed Under [ Code RoundhousE chucknorris ]

Warmup – Getting Started
What if there was a tool out there that could let you specify a structure for a project (visual studio solution + everything else) and save you up to 3+ hours of work every time you started a new project? Warmup was an idea by Dru Sellers to remove all of the setup work required every time you set up a new project. You know, create the solution, add projects, put in your references, etc. Then how about getting the infrastructure for your service/website/console set up as well with things like IoC, ......

Posted On Monday, February 1, 2010 8:10 AM | Comments (1) | Filed Under [ Code chucknorris ]

Windows Mobile Phone Bug: Text/SMS messages coming in from 2016 – Need a fix?
If you are seeing text messages coming in from the year 2016 and thinking this is a total WTF (mate?!), put down the phone. There is no need to break the phone. It’s fine. Nearly all WM phones are experiencing this right now. I repeat, there is no need to break the phone! There is a fix for this that requires maybe five minutes of your time. DISCLAIMER: You do this on your own terms. I am in no way liable if you follow these instructions and damage or render useless anything at all including but ......

Posted On Tuesday, January 5, 2010 11:28 PM | Comments (2) | Filed Under [ Code Personal ]

Two Major Milestones for RoundhousE and UppercuT
This last year I had a focus to get more involved in Open Source (OSS). The year before I had been involved a little by submitting a patch here and there, but 2009 was a big year for me in OSS. I now manage 4 open source projects that have solved a need for me and others. Coming up on the end of the year it was important for me to get some final touches into at least two projects to finish out the year. UppercuT UppercuT (UC), for those of you who have never heard of it, is an automated build tool ......

Posted On Friday, January 1, 2010 2:55 PM | Comments (0) | Filed Under [ Code UppercuT RoundhousE chucknorris ]

Lessons In Building An Email Parser
The Classic Infinite Email Loop When building an email parser, one must think about validating an email address that sends you a message. Just because that email address is where the message says it is from does not really mean that is a valid email address. Some of you can already see where I’m going with this. I was building something in Bombali that would respond to emails when receiving them. When Bombali received a message from an address, Bombali would send a response. No checking on the address. ......

Posted On Friday, December 18, 2009 3:15 AM | Comments (0) | Filed Under [ Code chucknorris SidePOP ]

Enter The Dragon: RoundhousE DB Migrations
One of the coolest projects I have been working on is how to solve issues with database versioning and migration. A project dubbed RoundhousE. RoundhousE is an open source automated database deployment (change management) system that allows you to use your current idioms and gain much more. Currently it only supports Microsoft SQL Server, but there are future plans for other databases. It seeks to solve both maintenance concerns and ease of deployment. We follow some of the same idioms as other database ......

Posted On Wednesday, November 11, 2009 4:51 PM | Comments (9) | Filed Under [ Code RoundhousE ]

Sproc Executing Slow? It Might be This
So you have stored procedure and it’s having issues. When you run it, it returns really fast. When .NET runs it, its like a dog. The first thing you learn about SQL Server is that it has something called ARITHABORT and it is turned on in SQL Management Studio and OFF in ADO.NET. Yeah you heard that right. OFF. So when you find this out, your first thought is WTF, mate?! Why do we have to make this hard on ourselves? Reference post: http://sqladvice.com/blogs/... ......

Posted On Friday, November 6, 2009 12:02 PM | Comments (7) | Filed Under [ Code ]

UppercuT and Mono Migration Analyzer
If you are using UppercuT, you will be pleased to know that it now supports Mono Migration Analyzer (MoMA for short). All you have to do is upgrade. And with the design of UppercuT, we’ve made it super simple to upgrade. How hard is it to upgrade UppercuT? Just drop in the files in your build folder, check for changes to the lib folder (especially in the NAnt directory) and new folders, and then check for any changes to the .bat files and UppercuT.config and you’re done. Mono Migration Analyzer Here ......

Posted On Sunday, October 25, 2009 2:05 AM | Comments (0) | Filed Under [ Code UppercuT ]

UppercuT – Elegant Solution to Strong Naming
Here’s how you can sign a set of assemblies in a project with a key using UppercuT: 1. Open the UppercuT.config file. 2. Change the following to “true”: 3. Done. Did I mention that creates a private key if it is not there as well?! This was from a patch sent in by Dru Sellers. Thanks Dru! With this knowledge you shall build ......

Posted On Saturday, September 26, 2009 12:09 AM | Comments (0) | Filed Under [ Code UppercuT ]

Full Code Archive

Powered by: