Search  
Wednesday, January 07, 2009 ..:: Blogs ::.. Register  Login
 Moke Blog Minimize

    

 Moke Blog Minimize

    

 Moke Blog Minimize
Author: Rick Mokros Created: 12/20/2006 11:04:26 PM
My blog is where I write about technology and general life topics that may or may not be of interest to others.

TortoiseSVN ignore list
By Rick Mokros on 5/21/2008 9:55:52 AM

Here is my Tortoise SVN configuration and ignore list.

*.cache bin obj *.suo *.obj *.pdb *.exe *.dll *.csproj.user

Here is a snapshot of my current configuration.  Notice, I also selected to use _svn instead of .svn.  This just works better with Microsoft tools.

TortoiseSvnConfiguration.png

Comments (0)

Faster builds when using TortoiseSVN
By Rick Mokros on 5/15/2008 8:21:13 PM

On my current project, we are using subversion and, naturally, TortoiseSVN.  One thing that bugged me was that it slows down the build process in Visual Studio to an unacceptable level.  I have excluded the root of my c drive like so c:\* but performance is still unacceptable.

So, I found myself killing the TSVCache.exe process before each build.  So, my quick fix was to add this command as a pre-build event in my project.

taskkill /T /f /fi "imagename eq TSVNCache.exe"

Comments (1) More...

Using SED to convert ASP.NET 1.1 pages to 3.5
By Rick Mokros on 5/12/2008 8:52:00 AM
Using SED to drive your ASP.NET 1.1 to 3.5 upgrade
Comments (0) More...

VS2005 - Customizing Code Snippets
By Rick Mokros on 5/23/2007 1:48:00 PM

In Visual Studio 2005 when you right-click on a method and select "Generate Method Stub" the following code is generated. 

public bool IsDogLoose()

{

   throw

Comments (0) More...


Microsoft SQL Server 2000 - Reset Identity Column to Zero
By Rick Mokros on 5/21/2007 2:05:00 PM

Here is some sql to reset the identity column on a table in Microsoft SQL Server.

dbcc checkident ('tablename', reseed, 1)


 

Comments (0)

Time Stamp changes to your database table
By Rick Mokros on 5/21/2007 12:57:00 PM

Below is a snippet of SQL code that I use to add transaction-time columns to a database table.

a) when and who created a record

b) when and who updated a record

Snodgrass refers to a table with these columns as a transaction-time state table.

alter table [table1] add [CreateDate] [smalldatetime] NOT NULL CONSTRAINT [DF_table1_CreateDate] DEFAULT (getdate())
alter table [table1] add [CreateUserId] [varchar] (20) NOT NULL CONSTRAINT [DF_table1_CreateUserId] DEFAULT (suser_sname())
alter table [table1] add [UpdateDate] [smalldatetime] NOT NULL CONSTRAINT [DF_table1_UpdateDate] DEFAULT (getdate())
alter ta ...

Comments (1) More...

Developing Time-Oriented Database Applications
By Rick Mokros on 5/19/2007 9:04:00 AM

On one or my current projects, the client wants to know the state of a table at any point in time.  Until now, I have always heard this concept referred to as "effective dating" a table meaning date columns have been added to the table to represent the EffectiveDate and ExpirationDate for the current row.  While doing some research, I found some work by Richard Snodgrass that refers to this as "temporal" design.

Rick's book, called Developing Time-Oriented Database Applications using SQL, is extremely detailed in analyzing different implementations and providing solutions to many common scenarios.  This book also

Comments (0) More...

Visual Studio 2005 UnitTest ProjectTypeGuids
By Rick Mokros on 5/17/2007 2:50:00 PM

Have you ever created a class library project, started to write some unit tests and realize you did not use the VS2005 UnitTest Project Template to create your project.

I have done this countless times, left over habits from NUnit days I guess.

So, using notepad, I popped open a csproj file the I created using the correct VS2005 Project Template for unit testing.  I found a key called ProjectTypeGuids.  Using notepad again, I opened my class library project and did not find a key called ProjectTypeGuids.  So, I put the following key in my project, and what do you know it worked!!!!

I think the guids are different for VB.NET and C# project templates.  So if  you are using VB.NET, you may have to lookup the appropriate guids.

Comments (0) More...

Winforms 2.0 MaskedTextBox enhancements
By Rick Mokros on 5/1/2007 1:55:00 PM
Here are some enhancements that I would make to the MaskedTextBox control available in Winforms 2.0.
Comments (0) More...

Microsoft Team Foundation Server Branching Guidance
By Rick Mokros on 3/21/2007 2:48:00 PM

Jeff Beehler, thanks for pointing us to this.

Finally, some documented Branching Guidance with Team Foundation Server from Microsoft .  This includes a section on how Microsoft is using branching using "Feature Crews".

Doug Neumann is a program manager on Visual Studio Team System's Source Code control system, and I found the video Branching 101 with him very useful.  However, watch him squirm in his chair when asked about when should a client consider branching, or what is the right branching mod ...

Comments (0) More...


    

There are no categories in this blog.
Copyright 2006 by Moke's Information Technology, Inc.   Terms Of Use  Privacy Statement