ASP.NET INTRODUCTION
Dotnet :- Dot Net is a software technology, which was introduced bu microsoft in the year 2002.
Dot Net is a Framework technology, that means which is integrated with
multiple technologies like windows, web, webservices, etc.
The
main reason, why dot net called to be framework
technology is “Using single dotnet technology a programmer can develop
multiple type of applications like below
console applications
Windows applications
Web applications
Web services..
Dot Net supports multiple programming technologies
- c# .Net
- VB.Net
- VC++.Net
- c++.Net
- v5#.Net
- F#
- J#
- Others include fortran, cobol, delphi, eiffel,apl, Forth, Java, rpg, python just to name a few
ASP.NET is a development framework for building web pages and web sites with HTML, CSS, JavaScript and server scripting.
ASP.NET supports three different development methods:Web Pages, MVC (Model View Controller), and Web Forms.
Web Pages
Single Pages Model
|
|
MVC
Model View Controller
|
|
Web Forms
Event Driven Model
|
Simplest ASP.NET model.
Similar to PHP and classic ASP.
Built-in
templates and helpers for database, video, graphics,
social media and more. |
|
MVC separates web applications into 3 different components:
Models
for data
Views for display
Controllers for input |
|
The traditional ASP.NET event driven development model:
Web
pages with added server controls, server events, and
server code.
|
Classic ASP - Active Server Pages
Active Server Pages (ASP), also known as Classic ASP, was introduced in 1998 as Microsoft's first server side scripting engine.
ASP is a technology that enables scripts in web pages to be executed by an Internet server.
ASP pages have the file extension .asp, and are normally written in VBScript.
ASP.NET
ASP.NET is a new ASP generation. It is not compatible with Classic ASP, but ASP.NET may include Classic ASP.
ASP.NET pages are compiled, which makes them faster than Classic ASP.
ASP.NET has better language support, a large set of user controls, XML-based components, and integrated user authentication.
ASP.NET pages have the extension .aspx, and are normally written in VB (Visual Basic) or C# (C sharp).
User controls in ASP.NET can be written in different languages, including C++ and Java.
When a browser requests an ASP.NET file, the ASP.NET engine reads the file, compiles and executes the scripts in the file, and returns the result to the browser as plain HTML
NET framework 2.0:
It brings a lot of evolution in class of the framework and refactor control including the support of
Generics
Anonymous methods
Partial class
Nullable type
The
new API gives a fine grain control on the behavior of the runtime with
regards to multithreading, memory allocation, assembly loading and more
Full 64-bit support for both the x64 and the IA64 hardware platforms
New personalization features for ASP.NET, such as support for themes, skins and webparts.
.NET Micro Framework
.NET framework 3.0:
Also
called WinFX,includes a new set of managed code APIs that are an
integral part of Windows Vista and Windows Server 2008 operating systems
and provides
Windows Communication Foundation (WCF), formerly
called Indigo; a service-oriented messaging system which allows programs
to interoperate locally or remotely similar to web services.
Windows
Presentation Foundation (WPF), formerly called Avalon; a new user
interface subsystem and API based on XML and vector graphics, which uses
3D computer graphics hardware and Direct3D technologies.
Windows Workflow Foundation (WF) allows for building of task automation and integrated transactions using workflows.
Windows
CardSpace, formerly called InfoCard; a software component which
securely stores a person's digital identities and provides a unified
interface for choosing the identity for a particular transaction, such
as logging in to a website
.NET framework 3.5:
It implement Linq evolution in language. So we have the folowing evolution in class:
Linq for SQL, XML, Dataset, Object
Addin system
p2p base class
Active directory
ASP.NET Ajax
Anonymous types with static type inference
Paging support for ADO.NET
ADO.NET synchronization API to synchronize local caches and server side datastores
Asynchronous network I/O API
Support for HTTP pipelining and syndication feeds.
New System.CodeDom namespace.
--------------------------------------------------------------------------------------------------------
So lets first start with the difference between 1.0 and 2.0.
Support for 64 bit application.
Generics
SQL cache dependency
Master pages
Membership and roles
Now the next difference .NET 2.0 and 3.0
=========================================
WCF
WPF
WWF
WCS ( card space)
3.0 and 3.5
==========================================
LINQ
Ajax inbuilt
ADO Entity framework
ADO data services
Multi targeting
Finally 3.5 and 4.0
===========================================
MEF
Parallel computing
DLR dynamic
Code contract
language runtime
Lazy initializatio