Category Archives: Visual Studio

Presenting EF Migrations at Hampton Roads .NET Users Group

By Shahed C on December 27, 2013

Update:

  • the presentation material and sample files are available on the Downloads page.

Original Post:

Continuing my talks on Entity Framework Code First MigrationsI will be presenting at Hampton Roads .NET Users Group (HRNUG) on January 14, 2014 :

 

Hampton Roads .NET Users Group (HRNUG)

 

Presenting EF Migrations at BaltoMSDN

By Shahed C on October 19, 2013

Update:

  • the presentation material and sample files are available on the Downloads page.

Original Post:

Continuing my talks on Entity Framework Code First MigrationsI will be presenting at BaltoMSDN this week :

Oct23 baltoMSDN Logo

Baltimore Area Microsoft Developer User Group (BaltoMSDN)

 

Presenting Entity Framework at GWU’s Graduate Computing Club

By Shahed C on September 21, 2013

Having presented Entity Framework Code First Migrations at several venues throughout  this year, I will be presenting an EF intro session at George Washington University (GWU)

Sep27

GWU logo

GWU Graduate Computing Club (GCC)

  • Website: http://gcc.seas.gwu.edu/?p=78
  • Date/Time: Wednesday, September 27, 2013 at 6:00 PM
  • Location: George Washington University, Washington DC.

Diff’ing your code with Beyond Compare

By Shahed C on September 14, 2013

Every now and then, I find a tool that I find useful enough that I want to recommend it to other developers. Beyond Compare is such a tool.

Available as a free trial from Scooter Software, Beyond Compare is “the ideal tool for comparing files and folders on your Windows or Linux system”.

BeyondCompare

 

In my current project, I am using TFS for source control and automated builds. When it is time to compare a file with previous versions of its code, the TFS file diff viewer leaves a lot to be desired.

Using a tool such as Beyond Compare, I have more control over performing file-diffs, and resolving conflicts. If you want to change your Visual Studio diff settings, follow the instructions outlined in the following Stack Overflow post:

http://stackoverflow.com/questions/4466238/how-to-configure-visual-studio-to-use-beyond-compare

Within my own project, I use Beyond Compare when merging code from a forked branch back into the main trunk. It’s very useful, and helps highlight problem areas.

I would highly recommend it! 🙂

 

TODO Comments and Technical Debt

By Shahed C on July 21, 2013

When I first started out in software development, I used to write a lot of comments in my code. To stay consistent with the developers who had previously worked on the same code, I even added to the historical comments above each module.

As a result, the top of a VB module could look like this:

' ****************************************
' Module: EmailProcessor
' Purpose: Process Email
' Author: John Doe
' Last Modified By: Jane Smith
' *****************************************
Sub ProcessEmail
  ' process email here
  Call ProcessEmail()
End Sub

Continue reading