ASP.NET Page Life Cycle

When a visitor first requests a .aspx page on your server, the server sends it to the HTTP Pipeline. The HTTP Pipeline handles the conversion of application code into HTML. The first class initiated is called HttpRuntime. This class finds a free HttpApplication object to start processing the request. The HttpApplication object then runs the … [Read more…]

Difference Between Int32.Parse(), Convert.ToInt32(), and Int32.TryParse()

Int32.parse(string) Int32.Parse (string s),%method converts the,%string,%representation of a number to its 32-bit signed integer equivalent. When %s,%is a,%null,%reference, it will throw,%ArgumentNullException. If,%s,%is other than,%integervalue, it will throw,%FormatException. When %s,%represents a number less than,%MinValue,%or greater thanMaxValue, it will throw,%OverflowException. For example: string s1 = “1234”; string s2 = “1234.65”; string s3 = null; string s4 = … [Read more…]

Routed Events in WPF

A routed event is a type of event that can invoke handlers on multiple listeners in an element tree, rather than just on the object that raised the event. These events which navigate up or down the visual tree according to their RoutingStrategy. The routing strategy can be bubble, tunnel or direct. The concept of … [Read more…]

Introduction to Windows Presentation Foundation

The Windows Presentation Foundation is Microsofts next generation UI framework to create applications with rich user experience. It is part of the .NET framework 3.0 and higher. WPF combines application UIs, 2D graphics, 3D graphics, documents and multimedia into one single framework. Its vector based rendering engine uses the hardware acceleration of modern graphics cards. … [Read more…]