February 2010 - Posts

1
Comments

HTML Encoded Code Expression by vik20000in

Hi, One of the new features in Asp.Net 4.0 is the inclusion of Code expressions which are HTML encoded by default. IN Asp.Net the code expression by default does not encode any text and hence it can leave the chance of Cross Site scripting attack. In...
Filed under: , ,

Comments

Changes in Asp.Net Request Validation by vik20000in

Hi, When a page is submitted, users can also script along with the post data. Also unauthorized postback could be triggered. The event validation mechanism reduces the risk of unauthorized postback requests and callbacks when the EnableEventValidation...
1
Comments

HtmlEncode and UrlEncode Now Encode Single Quotation Marks by vik20000in

Hi, One of the small but important change in the Asp.Net 4.0 is the change is the Encode methods. Now the HtmlEncode and UrlEncode methods in the HttpUtility and HttpServerUtility class respectively also encode the single quote (‘). The HtmlEncode method...
Filed under: ,
3
Comments

Who is your tomorrow's competitor by vik20000in

Who sells the largest number of cameras in India? Your guess is likely to be Sony, Canon or Nikon. The answer is: None of the above. The winner is Nokia, whose main line of business in India is not cameras but cellphones. The reason is that cameras bundled...
Filed under:

Comments

Visual Studio 2010 RC released for MSDN Subscriber by vik20000in

Hi, Today Microsoft has released Visual Studio 2010 (VS 2010) RC for MSDN Subscriber. It will be available for the General people on RC on 10th February. If you are an MSDN subscriber you can go ahead and download the bits right now from the link below...
Filed under: , ,
4
Comments

Wrapping Text Line in a label control by vik20000in

Hi, Many a times there is requirements for us to display text in multi-line in web pages. The first try that most of the people do is by giving a fixed width to the label. But this never works. Height and Width works only for block level element. Label...
Filed under: , , , ,
5
Comments

Difference is comparison when using equals method or Double Equal to operator by vik20000in

Hi, There are normally two ways to compare 2 objects. One by using == operator and by using the equals method. But these two are not same in the way they implements the comparison. The difference is there in the type of object (reference type or value...
More Posts