Posts

Showing posts from June, 2005

VB.NET Vs C#

Top 10 reasons why VB.NET is better than C# AND C# is better than VB.NET

GDI+ powerpoints

...from Dino's MSDN Mag article . The GDI+ subsystem is a native component of the Windows XP and Windows Server 2003 operating systems that is available to 32-bit and 64-bit Windows-based apps. ..the core services of GDI+ are still in unmanaged code. The classes in the .NET Framework are merely wrappers around them. This is something that is expected to change in the upcoming version of Windows, code-named Longhorn. In the .NET Framework, GDI+ functions are defined in the System.Drawing namespace. The namespace includes three child namespaces, which encompass 2D drawing,imaging, and text manipulation. In System.Drawing you find the basic drawing primitives to handle fonts, brushes, pens, and bitmaps. Advanced 2D and vector graphics effects are provided by the classes in System.Drawing.Drawing2D.In particular, you'll find gradients, blending, paths, and regions. Image rendering, color manipulation, and metafile support is available in System.Drawing.Imaging.

RSS feeds of MS Support KB

A good way to stay updated with the latest MS Support KB articles is by subscribing to its RSS feeds

HOW TO generate an image dynamically with ASP.Net

GDI is a Microsoft Windows standard for representing graphical objects and transmitting them to output devices such as monitors and printers. GDI+ is a wrapper-library for traditional GDI. Unlike GDI, GDI+ text layout is resolution independent , and forms built with GDI+ text look the same at all resolutions and when printed This nifty snippet places text dynamically on an image using GDI+ in ASP.NET. View the output first and change the querystring value to notice how neat it is. 1<%@ OutputCache Duration="500" VaryByParam="Text" %> 2<%@ Page Language="C#" trace="false" Explicit="true" aspcompat="true" Debug="true" %> 3<%@ Import Namespace="System" %> 4<%@ Import Namespace="System.IO" %> 5<%@ Import Namespace="System.Text" %> 6<%@ Import Namespace="System.Drawing" %> 7<%@ Import Namespace="System.Drawing.Imaging" %> 8<%

Web Mapping

Geocoding is the process that assigns a latitude-longitude coordinate to an address. Once a latitude-longitude coordinate is assigned, the address can be displayed on a map or used in a spatial search. Innovative geocoding web applications powered by Microsoft's MapPoint , Yahoo & Google Maps have come up for locating cheap gas & home rentals , getting driving directions , identifying real-time traffic and weather conditions in a selected geographic area.

View HTML Source in EditPlus

To View > (HTML) Source of a web page in IE in EditPlus (if that is your preferred editor), go to Tools > Preferences and in the General category, check the box that says "Use EditPlus in Internet Explorer 5"

T-SQL Debugger

T-SQL Debugger is a convenient tool for debugging stored procedures.

Handling high memory levels in ASP.NET

High memory is when you see that your Aspnet_wp.exe process (Internet Information Services (IIS) 5.0) or W3wp process (IIS 6.0) memory is consistently increasing and is not returning to a comfortable level (under 600 MB in the default 2 GB user memory address space). Quick things to check when you experience high memory levels in ASP.NET - Application set up for debugging? Disable debugging & tracing in web.config on moving app to Production server String concatenation - use System.Text.StringBuilder class Not yet running the .NET Framework 1.1 Service Pack 1 (SP1) ? Install it. Recycle periodically - For some applications, it's a pretty good idea to just restart the worker process every couple of days or so, at a convenient time.

Fiddler - the HTTP debugger

Fiddler is a HTTP debugger (with a neater UI than the Firefox extension LiveHTTPheaders ) that lets you see incoming and outgoing HTTP traffic in a meaningful way . It runs on port 8888 and any program that can be configured to use an HTTP proxy on a port can be set to use Fiddler.

Voice of Opera

The Opera Voice feature in Opera 8.0 allows the user to control the interface by talking and to have documents read aloud. The three main new concepts of voice-enabled Opera are * voice browser * screen reader * CSS3 Speech

XMLHTTP resources

^An exhaustive compilation of XMLHTTP resources...