Archives

Archives / 2007 / November
  • Basic of GDI+

    In this article, Handy Chang will explain about GDI+ in .NET Framework. If you haven't heard about GDI+, then GDI+ is a set of classes in .NET framework that deal with graphics. You can use GDI+ to draw custom drawing on the screen. GDI provides a layer of abstraction, hiding the differences between different video cards.

    You simply need to call the Windows API function to do the specific task, and internally the GDI figures out how to get to the client's particular video card to do whatever that you want.

    Although GDI exposes a relatively high level API to developers, it is still an API that based on the old Windows API with C style functions. GDI+ sits as a layer between GDI and your application providing more intuitive and inheritance based object model.

    GDI+ is generally considered a Windows technology. However, some of the new GDI+ features make this technology an excellent choice for Web applications, enabling developers to generate images, graphs, diagrams, and much more.

  • Scheduled Tasks Web Service

    Let's say for example that you have to calculate the value of some fields in your database every hour from 8am to 8pm, but you don't have full control of the server where your web application is running; this is a common scenario and my project will provide you the tools to make the job possible.

  • Creating a better Master Page

    MasterPage is a new technique in ASP.NET 2.0 that is very helpful in maintaining full web application design in generic places. Using this, we can change the complete look and feel of the application within a short duration. Normally, we keep our layout designs in MasterPage and all other pages will extend the UI from it.

  • ImageTemplate.NET

    Have you ever had the need to generate images on the fly in your ASP.NET applications? You could use GDI.NET to do this directly, but we think we have an easier way. Enter ImageTemplate.NET. ImageTemplate.NET lets you configure an image template in an XML file and then change the image that is generated by passing parameters in the URL.

  • Page and User Control communication

    This article shows how the page and user controls within the page can communicate together with a little more work. It shows how the use of interfaces or custom page classes can make the application more efficient and reduce code.

  • Extending .NET Events Functionality

    Anyone who has used .NET events and delegates understands its power and ease of use. Creating an event and subscribing onto it has become quite simple in C# or VB.NET classes. Moreover, it is a helpful mechanism to implement (for instance) a responsive user interface. When carefully designed you don't need to poll for an object's state, instead you signal its state by means of an event.

  • Developing a Wiki with ASP.NET

    Recently, more and more articles and books have been published on the ASP.NET AJAX framework 1.0 ("MS AJAX" for short). However, due to various reasons, such as the difficulty in immediately mastering the client-centric framework and the immaturity of the client-centric type framework itself, there are comparatively few materials dwelling on the client side techniques. In this four-part tutorial, Xianzhong Zhu will venture to write a wiki-like web application that will allow users to write and share articles mainly using MS AJAX client-centric techniques.