Tuesday, February 9, 2010

.NET Framework

You should understand that the .NET Framework is really a cluster of several
technologies:
The .NET languages: These include C# and VB .NET (Visual Basic .NET), the objectoriented
and modernized successor to Visual Basic 6.0; these languages also include
JScript .NET (a server-side version of JavaScript), J# (a Java clone), and C++ with
Managed Extensions.
The CLR (Common Language Runtime): The CLR is the engine that executes all .NET
programs and provides automatic services for these applications, such as security
checking, memory management, and optimization.
The .NET Framework class library: The class library collects thousands of pieces of
prebuilt functionality that you can “snap in” to your applications. These features are
sometimes organized into technology sets, such as ADO.NET (the technology for
creating database applications) and Windows Forms (the technology for creating
desktop user interfaces).
ASP.NET: This is the engine that hosts web applications and web services, with almost
any feature from the .NET class library. ASP.NET also includes a set of web-specific
services.
Visual Studio: This optional development tool contains a rich set of productivity and
debugging features.

Monday, February 8, 2010

.NET Introduction

Why .NET?
To understand why we should use .NET, Let us first understand the difference between client-side & server-side coding.
There are following problem exists with client-side coding.
1. Isolation : No contact with Database(Except error condition occurs)
2. Security: End users can view client-side code. And once malicious users understand
how an application works, they can often tamper with it.
3. Thin clients: As the Internet continues to evolve, web-enabled devices such as mobile
phones, palmtop computers, and PDAs (personal digital assistants) are appearing.
These devices can communicate with web servers, but they don’t support all the
features of a traditional browser. Thin clients can use server-based web applications,
but they won’t support client-side features such as JavaScript.

In some cases, ASP.NET allows you to combine the best of client-side programming
with server-side programming. For example, the best ASP.NET controls can intelligently
detect the features of the client browser. If the browser supports JavaScript, these controls
will return a web page that incorporates JavaScript for a richer, more responsive user
interface. However, no matter what the capabilities of the browser, your code is always
executed on the server.