• .NET Mobile

    Getting Started with the <canvas> Tag – Examples to Get You Closer to the HTML5 Bliss

    September 25, 2012 Share
    There is a great tendency among web browsers nowadays - the wide and fast adoption of HTML5 APIs. Why should we, as web developers, be excited about it? Well let's take the canvas tag, for example. Imagine that you can render raster graphics in the browser, edit an image purely on the client-side, apply filters on it or draw complex animations without the need for plugins, just JavaScript. Imagine the power and features you can implement without bothering with the overhead and complexity of server-side calls. This all and much more is possible with the canvas tag. In this blog...
  • .NET Mobile

    Memory Leaks and Memory Consumption in web applications (Part 3)

    This post is number three in a three part series about memory consumption for web applications. Links to Part 1 and Part 2. Memory Consumption - Best Practices To be perfectly honest there is only one issue with memory consumption, i.e. using too much of it. Size does matter. Therefore every web developer should try and minimize the impact on the usage of memory, especially when the application tends to become huge. Web applications are becoming more and more client-side oriented and staying on one and the same page for hours should not be an exception. Therefore careful creation of new objects, managing the...
  • .NET Mobile

    Memory Leaks and Memory Consumption in web applications (Part 2)

    This post is number two in a three part series about memory consumption for web applications in general. Click here to read the first post. Memory leak examples In this post, we will look at different examples of leaks. The examples presented are as close as possible to real situations. Their purpose is to present several patterns that usually cause memory leaks. A way to manage the leakage is given along with the examples. The examples rely on the use of the ASP.NET AJAX Framework. Let’s start with a simple example of attaching a click event to a button element: Attaching event handlers HTML: <form id="form1" runat="server">        <asp:ScriptManager ID="theScriptManager" runat="server" />        <div id="buttonContainer">              ...
  • .NET Mobile

    Memory Leaks and Memory Consumption in web applications (Part 1)

    This post is number one in a three part series about memory consumption for web applications in general. Since the Web 2.0 era, Web Applications have changed for the better. They provide more functionality, better usability and improved performance. However this tendency led to increased complexity. It is not unusual for a user to stay on a single page for hours without leaving. The browser would just poll data from the server through Ajax requests and display it in even more interesting manners. Therefore it is no wonder that web applications have become hungrier for resources and the browsers couldn’t...