Skip to main content

Posts

Showing posts from September, 2007

Memory Leak Detection: Methods and Tools

Following are two articles the explains in the examples how what to do if you .Net application creating memory leak. Memory Leak Detection in .Net .NET Memory Leak: XmlSerializing your way to a Memory Leak In general is: 1. Use performance monitoring to initial analisys 2. Use WinDbg tool from Microsoft to identify the real problem (assembly)

Open VS 2005 Web Site from Windows Explorer

If you are using Visual Studio web site to develop your web application you are probably fanilar with following situation. You found inside the Windows Explorer in the place where project is stored but to open project (web site) you needed to go to the Visual Studio and again to locate the folder. Following link is a good and very simple solution that allow your to open web site projects by right click on the project folder inside Windows Explorer or other file manager.

Reflector for .Net - amaizing how open your .Net source code

Reflector for .Net - Reflector is the class browser, explorer, analyzer and documentation viewer for .NET. Reflector allows to easily view, navigate, search, decompile and analyze .NET assemblies in C#, Visual Basic and IL. At same site there are also other interesting tools like: Resourcer for .NET - Resourcer is an editor for .resources binaries and .resX XML file formats used with the .NET platform Mapack for .NET - Mapack is a .NET class library for basic linear algebra computations.

Sniffer Software (Free)

Open source sniffer software - http://www.securesphere.net/html/projects_sniphere.php Sniphere is an another network wiretapping program for Windows using winpcap. Nevertheless, Sniphere is a pretty handy program with a lot of possibilities which most of free sniffers do not have.

Use SQL Server to Analyze Web Logs

Link that shows how to use the SQL Server to analyze IIS log file. http://support.microsoft.com/kb/296085 In general: 1. Create table in the database CREATE TABLE [dbo].[tablename] ( [date] [datetime] NULL, [time] [datetime] NULL , [c-ip] [varchar] (50) NULL , [cs-method] [varchar] (50) NULL , [cs-uri-stem] [varchar] (255) NULL , [cs-uri-query] [varchar] (2048) NULL , [sc-status] [int] NULL , [sc-bytes] [int] NULL , [time-taken] [int] NULL , [cs(User-Agent)] [varchar] (255) NULL , [cs(Cookie)] [varchar] (2048) NULL , [cs(Referer)] [varchar] (2048) NULL ) 2. Import log file using the bulk Insert function BULK INSERT [dbo].[tablename] FROM 'c:\weblog.log' WITH ( FIELDTERMINATOR = ' ', ROWTERMINATOR = '\n' )