Author Archives: kedarnadhsharma

No exports were found that match the constraint vs2012

I installed VS 2013 Express edition over the weekend and suddenly when I opened my VS 2012 I got this version. I got rid of this error by deleting the following folder. %AppData%\..\Local\Microsoft\VisualStudio\11.0\ComponentModelCache If you have a VS 2013 version … Continue reading

Posted in .NET Framework | Leave a comment

Postman–A new tool to unit test Web APIs

I was going through some articles on the Web API and I found a tool “Postman” which can be used to test our APIs. Postman is a Chrome extension that helps us building HTTP requests with parameters, headers, authentication, and … Continue reading

Posted in Interesting Stuff | Leave a comment

Unexpected results when querying a SQL View

The other day I was trying to run a select statement from a view in SQL Server and I got some unexpected errors with the data types in the result set from the view with respect to the base table. … Continue reading

Posted in Interesting Stuff | Leave a comment

Identity vs SCOPE_IDENTITY vs IDENT_CURRENT

It is a common practice to use IDENTITY value for columns which are simple integer increments. We can also specify what is the initial value and how we want to increment using seed values. In some cases the client applications … Continue reading

Posted in SQL Server | Leave a comment

Parameter passing in C#

Many people are confused on how parameters are passed as references specifically for reference types. Jon Skeet has a nice article which clearly explains the differences here. Same concepts explained with more pictures  here

Posted in .NET Framework, C# | Tagged , | Leave a comment

Update Panel within a Repeater Control

We all know Update Panels are used to make asynchronous post backs to server. But when we have some fairly sophisticated controls like GridView, Repeaters etc. the general tendency is to put these controls inside the update panel so on … Continue reading

Posted in .NET Framework | Leave a comment

ChildrenasTriggers in UpdatePanel

Recently I was reading about the UpdatePanel and I came across a property called ChildrenAsTriggers. As you all know UpdatePanels has 2 types of triggers AsyncPostbackTrigger PostBackTrigger Both of these triggers cause a postback to server depending on the trigger … Continue reading

Posted in .NET Framework | 1 Comment