Top 10 JavaScript traps for a C# developer

If you are an experienced C# developer, coming into JavaScript world for application development, you will end up making few common mistakes. However some of the mistakes you would make are due to the basic differences between any strongly typed language [C#, Java etc.] and a dynamically typed language [JavaScript, Python etc]. Although dynamic feature ...

Microsoft Intermediate Language [MSIL] Tools

Microsoft Intermediate Language [MSIL] Tools
Background I have been a .Net developer since long time and I have developed fairly complex and large scale applications using different .Net framework technologies like C#, ASP.Net, Windows Forms, WCF etc. I have conducted numerous training sessions on these technologies for my team members and colleagues as well. Most of the time my focus ...

Team Foundation Server : Check-in and Check-out Policies to ensure traceability

Team Foundation Server : Check-in and Check-out Policies to ensure traceability
One of the things each team thrives to achieve is 100% traceable code against Business Requirement Document (BRD) or Requirement Matrix.  With evolution of ALM tools, it has become very easy to create traceability matrices and to be able to view history of code and the rational behind design decisions that were taken at the ...

Team Foundation Server : Disable Work Item to be marked as Resolved

Team Foundation Server : Disable Work Item to be marked as Resolved
When you check-in a code change using Team Explorer in Visual Studio, you can associate the check-in with one or more work items. As shown in the snapshot below, the default option that appears against each work-item is ‘Resolve’.  What this means is that when you check-in the changes, the work item status will be ...

Using Directives and Namespace in C#

UsingDirectivesMustBePlacedWithinNamespace is one of the rules of StyleCop and I was trying to figure out why StyleCop recommends having using directives defined within the namespace.  Most of the books and articles (including mine) we have read do not really have using blocks within the namespace.  So is it really a good practice?  If yes, why?  ...

Team Foundation Server : Build Logging

When you use Team Foundation Server for Build Automation, you can configure build controller and agents.  In the Team Foundation Administration Console, you can view the Logs however these logs provide minimal information.  Even the Event Viewer provides minimal event logging rather than extensive logging.  Now even if these Logs or Event Viewer provide you ...

Upgrading to .NET 4.5.x for Enterprise Applications

Upgrading to .NET 4.5.x for Enterprise Applications
Microsoft launched .NET 4.5 in 2012 and later added an upgrade to .NET 4.5.1 in Dec, 2013.  So considering the timelines, there has been over an year that .NET 4.5 has been launched.  It means .NET 4.5.x has been tested thoroughly (by general public/developers), bugs have been identified and fixed and hence should be an ...

Team Foundation Server : Build Automation

Team Foundation Server : Build Automation
This article will focus on achieving build automation using TFS.  However, if you want to understand the architecture, configuration, project creation, product backlog, managing SPRINT and releases etc. you can go through these articles Understanding Architecture Creating TFS Account and Project Creating Product Backlog Managing SPRINT and releases All the examples, referred below, use Team ...

Team Foundation Server : Understanding the Architecture

Team Foundation Server : Understanding the Architecture
This article will briefly describe the high-level architecture of Team Foundation Server.  It will help you understand the different tiers in TFS, their responsibilities and firewalls. Heard of TFS as a Service, what is it? TFS as a Service is a cloud-based application life management (ALM) system that integrates source control management, product backlog, build ...

Web Forms, MVC, Single Page App, Web Pages Comparison

Web Forms, MVC, Single Page App, Web Pages Comparison
ASP.Net is a GREAT platform to build rich, interactive web based application and services. It provides many useful features like authentication, authorization, session handling, HTTP request handling, routing, bundling and minification, friendly URLs etc. You might have seen below diagram in many presentations from Microsoft, which highlights core pieces of ASP.Net web stack. Sites section ...