Friday
Snippet Compiler
Snippet Compiler This tool allows to compile your C# code as a script. It is like notepad for C#
Saturday
Fredrik Norm�n's blog - NSQUARED2
Fredrik Norm�n's blog - NSQUARED2: "Add a new row to the GridView control dynamically when a row is selected. "
LogParser
- Create a database w3svc
- Run the folowing SQL Script
USE [W3Svc]GO/****** Object: Table [dbo].[IISLogs] Script Date: 02/18/2006 22:41:50 ******/SET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONGOSET ANSI_PADDING ONGOCREATE TABLE [dbo].[IISLogs]( [date] [datetime] NOT NULL, [Time] [datetime] NULL, [c-ip] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [cs-username] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [s-sitename] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [s-computername] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [s-ip] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [cs-method] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [cs-uri-stem] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [sc-status] [int] NULL, [sc-bytes] [bigint] NULL, [cs-bytes] [bigint] NULL, [time-taken] [bigint] NULL, [cs-host] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [sc-substatus] [int] NULL) ON [PRIMARY]
GOSET ANSI_PADDING OFF
----------------------------------
Go to logparser cmd directory and execute the following command..... Change the logfile path....
logparser "SELECT date,time,c-ip,cs-username,s-sitename,s-computername,s-ip,cs-method,cs-uri-stem,sc-status,sc-bytes,cs-bytes,time-taken,cs-host,sc-substatus INTO IISLogs FROM "C:\WIN2003\system32\LogFiles\W3SVC1\ex*.log" " –i:IISW3C –o:SQL –database:w3svc –iCheckpoint:MyCheckpoint.lpc
- Run the folowing SQL Script
USE [W3Svc]GO/****** Object: Table [dbo].[IISLogs] Script Date: 02/18/2006 22:41:50 ******/SET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONGOSET ANSI_PADDING ONGOCREATE TABLE [dbo].[IISLogs]( [date] [datetime] NOT NULL, [Time] [datetime] NULL, [c-ip] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [cs-username] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [s-sitename] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [s-computername] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [s-ip] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [cs-method] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [cs-uri-stem] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [sc-status] [int] NULL, [sc-bytes] [bigint] NULL, [cs-bytes] [bigint] NULL, [time-taken] [bigint] NULL, [cs-host] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [sc-substatus] [int] NULL) ON [PRIMARY]
GOSET ANSI_PADDING OFF
----------------------------------
Go to logparser cmd directory and execute the following command..... Change the logfile path....
logparser "SELECT date,time,c-ip,cs-username,s-sitename,s-computername,s-ip,cs-method,cs-uri-stem,sc-status,sc-bytes,cs-bytes,time-taken,cs-host,sc-substatus INTO IISLogs FROM "C:\WIN2003\system32\LogFiles\W3SVC1\ex*.log" " –i:IISW3C –o:SQL –database:w3svc –iCheckpoint:MyCheckpoint.lpc
Thursday
Improving DataSet Serialization and Remoting Performance
Improving DataSet Serialization and Remoting Performance: "Improving DataSet Serialization and Remoting Performance"
.NET Remoting Architectural Assessment
.NET Remoting Architectural Assessment: ".NET Remoting Architectural Assessment"
Executive Summary
.NET Remoting is a useful tool to employ in certain types of distributed solutions. It offers an extensible model in terms of the protocols and message formats it can support and can offer performance advantages in specific scenarios. It should not be deployed directly on the Internet and its server objects should be hosted under IIS in order to benefit from the security and performance features that IIS provides to processes running under its control.
Remoting should be considered for "closed world" distributed solutions where both client and server are CLR-managed processes. Examples are as a component at any tier within an intranet solution either over a secure TCP channel such as IPSec or over HTTP or as a middle-tier application component conversing with a .NET Web tier component over a firewall; in this case, the HTTP channel with the binary formatter should be chosen after the solution has been proven using the SOAP formatter.
For systems that need to interoperate with non-CLR clients, use ASMX Web services, taking care to avoid some of the pitfalls with respect to datatypes (refer to the section on Strong Type Support).
Note that hosting outside of IIS using TCP brings with it performance benefits, but at the cost of requiring custom security.
Design and Implementation
Executive Summary
.NET Remoting is a useful tool to employ in certain types of distributed solutions. It offers an extensible model in terms of the protocols and message formats it can support and can offer performance advantages in specific scenarios. It should not be deployed directly on the Internet and its server objects should be hosted under IIS in order to benefit from the security and performance features that IIS provides to processes running under its control.
Remoting should be considered for "closed world" distributed solutions where both client and server are CLR-managed processes. Examples are as a component at any tier within an intranet solution either over a secure TCP channel such as IPSec or over HTTP or as a middle-tier application component conversing with a .NET Web tier component over a firewall; in this case, the HTTP channel with the binary formatter should be chosen after the solution has been proven using the SOAP formatter.
For systems that need to interoperate with non-CLR clients, use ASMX Web services, taking care to avoid some of the pitfalls with respect to datatypes (refer to the section on Strong Type Support).
Note that hosting outside of IIS using TCP brings with it performance benefits, but at the cost of requiring custom security.
Design and Implementation
Performance Comparison: .NET Remoting vs. ASP.NET Web Services
Performance Comparison: .NET Remoting vs. ASP.NET Web Services: "Performance Comparison: .NET Remoting vs. ASP.NET Web Services"
Subscribe to:
Posts (Atom)