Blog Archives

Dealing with Filters in MVC Framework 4.0

Introduction:- In software development field, we developers always try to use those things which makes our life easier. Frankly speaking we developers always try to write as less code as possible. And Microsoft understand it very well, so they developed Filters.

Ok, so question is how Filters will make our life easier?

Read the rest of this entry

Advertisements

All about Int32.Parse, Convert.ToInt32 and Int32.TryParse

Some days back I wrote one chunk of code for fixing one of the client specific defects in one of application on which I was working. I used Int32.Parse for parsing string value to integer. After some days the issue resurfaced again. I debugged the code for finding the root cause behind the issue, and I found that for some values Int32.Parse was failing.

Then I decided to dig into all the options available for parsing and just thought to share my findings with you.

Read the rest of this entry

Some Important T-SQL Programmability feature of SQLSERVER 2008

There are lots of new feature introduced with SQLServer 2008 for improving the SQL experience of developers. Here we will cover some very important and useful features of SQLServer 2008. Features which we are going to cover is –

  1. Declaring and initializing new variables.
  2. Compound assignment operators
  3. Table value constructor
  4. Enhanced Convert Function
  5. Date and Time Data types
  6. Table Type

Read the rest of this entry

%d bloggers like this: