Archive for August, 2008

CrossPage PostBack

August 29, 2008

ASP.Net 1.1 provides for web forms posting back only to themselves. In many situations, the solution requires posting to a different web page. The traditional workaround alternatives were to use Response.Redirect and/or Server.Transfer to move to a different page and simulate cross page post-back behavior.

ASP.Net 2.0 provides a feature [...]

Introduction to Assemblies – Private / Public

August 26, 2008

Introduction
I have seen many people posting the questions about what is shared assemblly, What is private assembly, so I thought of bringing it in the articles section so that everyone could be benefitted from it. This article explains a mcuh needed introduction to new comers in .Net
ASSEMBLIES
Assemblies are basically the compiled code in .Net which [...]

Shared Assemblies

August 26, 2008

Introduction
Each machine on which the Common Language Runtime is installed has a machine-wide code cache. This cache is divided into two components, a download cache and a global assembly cache.
The global assembly cache is used to store assemblies meant to be used by several applications on the machine. The only way to deploy an assembly [...]

Consume a .NET Assembly from a classic ASP page

August 21, 2008

I haven’t really done a lot with strongly named assemblies or interop so, this morning I thought that I’d be bold and try a little experiment; I thought that I’d create a .dll in Visual Basic .NET and consume it from a classic ASP page – seems pretty trivial, so off I went:
1) Open New [...]

Static Constructor and Constructors

August 12, 2008

Here goes some stuff on the constructors and static constrctors, How compiler will get calls the static and normal constructors in .Net. Hope you will understand better after working with this code.
while those classes are inherited, Constructors are getting called from Top to bottom

where as static constructors are getting called from bottom to Top.
Look into below [...]

Log4Net

August 7, 2008

Introduction:
Logging is an essential tool in every developer’s arsenal. It helps the developer to identify problems faster by showing the state of an application at any given point. It is important after deployment, when all that the poor system admins have are the logs that are generated by your application. So it is absolutely necessary [...]

IIS

August 6, 2008

The difference between 64 and 32 bit processors
1.    Mathematics
 

Processor

Holds

32Bit

0 to 4,294,967,295

64bit

0 to 18,446,744,073,709,551,615

 
Obviously this means your computer can do math with larger numbers, and be more efficient with smaller numbers.
 
2.    Benefits
To academic institutions and private companies
Where large calculations are being performed
Huge databases are being accessed
Complex problems are being solved
 
The true benefits of this set up [...]

Changes b/w IIS 6.0 & IIS 7.0 security

August 6, 2008

Introduction
IIS 7.0 introduces many new security improvements from IIS 6.0. This document overviews these improvements with respect to Authentication, Authorization, SSL, Web Service Extension Restriction List and IP restrictions.
This article contains:

Authentication

How IIS 7.0 Determines the Authenticated Identity

Authorization

SSL

Web Service Extension Restriction List

IP Restrictions

Authentication
For ASP.NET application developers there had been, before IIS 7.0, two authentication models you needed [...]

Difference b/w IIS 5.0 and 6.0

August 6, 2008

IIS 5.0…
While processing the Web Requests,IIS picks up the request on Port 80 and forwards the request to aspnet_isapi.dll. After that it is forwarded to the Worker process…asp_wp.exe.
Worker Process
It Manages the pipeline through request flows. All asp.net software components like HttpApplication,Session run by the instance of Worker Process.IIS 6.0…
While processing the request is processed by [...]

C# & LINQ

August 6, 2008

C# & LINQ Features
Instantiation
you dont need to create a object variable and assign the instantiation to it.
Example
new MyClass().AddMethod(12,35) ;
Extensions
Declare a Class and add Static class with Extensions keyword under the same namespace
that will add all methods of Static class Extensions to all classes in that namespace
Example
class Class1
{
    public  Class1()
    {
    }
   public void Method1(string s)
   [...]