Sunday, May 12, 2013

Visual Studio 2012 Treasures

Recently got an opportunity to talk about Visual Studio 2012 features to one of the reputed IT division head.  The wealth of features VS2012 provides are amazing, making use of the at right time helps the organization and individuals.  Here is quick summary.

  • TFS Features
    • Agile Template: One of the must try feature, helps to manage product backlog, capacity planning, Employee Task list view, Drag & drop status update.

image

    • Code Review: A productive, quality improvement which nice code review workflow, contextual comment, tight integration with TFS.  Amazing feature.

image

image

  • VS2012
    • IDE Search capabilities

image

image

    • Code Analysis

image

image

To get the complete list of new feature check out the Visual Studio Ultimate 2012 Overview videos.

Saturday, April 20, 2013

SQL Server Tabular Model

Recently we worked on a project which uses most of the features of Tabular Model.  While implementing there were lot of online link which helped to solve the problems.  This blog post is to consolidate all of them.  Tabular Model, DAX keyword were not Search Engine friendly, getting these out was not that easy, if you are just starting Tabular this post sure will help.
DAX Query


Update 7/15




Thursday, April 18, 2013

Data Tools, DACPAC & BACPAC

Database development is no more just scripts, there are lot of improvement in Database Project development, maintenance and deployment.  in this blog post let me summarize the recent developments.

  • Database Project (Install DataTools from here)
    • Database Project creation
    • Database Reference
    • Compilation and integration errors
    • Warnings and Errors
  • Database Deployment (Part of SQL 2012)
    • DACPAC – Only Schema
    • BACPAC – Schema and Data (JSON format)

DB Tasks

  • Export Import (Available from SQL Server 2005)
    • Script Generation (from SQL 2008 R2, include data in script), Even you can target to SQL Azure.

    imageimage

Visual Studio 2012 Update

Make sure you are updated with latest update of Visual Studio 2012, the UI navigation for VS 2012 is diff from the traditional update!!

Open Visual Studio 2012 click on Tools Menu and select Extension and Updates..

01 UPD 

Get the latest updates… Enjoy!!

02 UPD

Click here to see the list of updates covered in Visual Studio 2012 Update 2

Monday, April 15, 2013

Wireframe

Prototyping is important to visualize the product ahead in SDLC, this helps to validate scenarios and receive early user feedbacks.  There are whole lot of tools to do the same.  Try

Tuesday, March 26, 2013

EXEC vs SP_EXECUTESQL

 

We all know Stored Procedure are better than having any dynamic SQL Statement,   There are times where dynamic SQL Statement is unavoidable.  In such cases we can make use of dynamic SQL, there are two options to run dynamic SQL.

EXEC SP_ExecuteSQL
Every time the Execution Plan is created for different parameters Reuses the execution plan
May introduce SQL injection Parameters are safe from SQL Injection
Type casting is required Type casting not required
slow as every time the execution plan needs to be created faster as execution plan is reused.
Non-parameterized Parameterized

 

Make use of SP_ExecuteSQL over EXEC.

Engineering Excellence

Engineering Excellence Having solid engineering process and tools in place help to improve the agility of the system. Here is the high-level...