Sunday, January 3, 2010
install the .NET framework and SDK
and SDK. The .NET Framework includes the necessary files to run and
view ASP.NET pages, while the .NET Framework SDK includes samples, documentation,
and a variety of free tools.
The .NET Framework SDK also provides you with the ability to install MSDE,
the free database server that you can use with this book. Once the .NET Framework
and SDK are installed, little else needs to be done for you to begin working
with ASP.NET. The .NET Framework is installed as part of the operating system
if you’re lucky enough to be running Windows .NET Server 2003, in which case
you can skip directly to installing the SDK. If not, you will need to download
the .NET redistributable package, which is approximately 21 MB, and includes
the files necessary for running ASP.NET applications.
To develop .NET applications, you also need to install the software development
kit, which includes necessary tools along with samples and documentation. Be
aware that the .NET Framework SDK is 108 MB in size—be prepared to wait!
what you need to do?
Web server. Open source initiatives are underway to produce versions of ASP.NET
that will run on other operating systems, such as Linux; however, these are not
expected to be available in stable form for a while.
While developers had the option of getting their feet wet with ASP on Windows
95, 98, or ME, using a scaled-down version of IIS called a Personal Web Server
(PWS), ASP.NET requires the real deal. As a bare minimum, you’ll need a computer
equipped with Windows 2000 Professional before you can get started.
Windows XP Professional will work fine too, as will any of the Windows 2000
Server packages and Windows 2003 Server.
ASP.NET is server-side
That is, it runs on the Web server. Most Web designers
start by learning client-side technologies like HTML, JavaScript, and Cascading
Style Sheets (CSS). When a Web browser requests a Web page created with clientside
technologies, the Web server simply grabs the files that the browser (the
client) requests and sends them down the line. The client is entirely responsible
for reading the code in the files and interpreting it to display the page on the
screen. Server-side technologies, like ASP.NET, are different. Instead of being
interpreted by the client, server-side code (for example, the code in an ASP.NET
page) is interpreted by the Web server. In the case of ASP.NET, the code in the
page is read by the server and used dynamically to generate standard
HTML/JavaScript/CSS that is then sent to the browser. As all processing of
ASP.NET code occurs on the server, it’s called a server-side technology. the user (client) only sees the HTML, JavaScript, and CSS within
the browser. The server (and server-side technology) is entirely responsible for
processing the dynamic portions of the page.
what is .NET
.NET is the result of a complete make-over of Microsoft’s software development
products, and forms part of the company’s new strategy for delivering software
as a service. The key features that .NET offers include:
1..NET Platform: The .NET platform includes the .NET Framework and tools
to build and operate services, clients, and so on. ASP.NET is a part of .netframework
2. .NET Products: .NET products currently include MSN.NET, Office.NET,
Visual Studio.NET, and Windows Server 2003, originally known as Windows
.NET Server. This suite of extensively revised systems provides developers
with a friendly, usable environment in which they may create applications
with a range of programming languages including C++. NET, Visual Basic.
NET, ASP.NET, and C#. Because all these products are built on top of
.NET, they all share key components, and underneath their basic syntaxes
you’ll find they have much in common.
3 .NET My Services: An initiative formerly known as "Hailstorm", .NET My
Services is a set of XML Web Services1 currently being provided by a host of
partners, developers, and organizations that are hoping to build corporate
services and applications for devices and applications, as well as the Internet.
The collection of My Services currently extends to passport, messenger, contacts,
email, calendars, profiles, lists, wallets, location, document stores, application
settings, favorite Websites, devices owned, and preferences for receiving
alerts.
Saturday, January 2, 2010
NEW FEATURES OF ASP.NET
- Language Support
ASP.NET uses ADO.NET.
ASP.NET supports full Visual Basic, not VBScript.
ASP.NET supports C# (C sharp) and C++.
ASP.NET supports JScript.
- ASP.NET CONTROLS
ASP.NET contains a large set of HTML controls. Almost all HTML elements on a page can be defined as ASP.NET control objects that can be controlled by scripts.
ASP.NET also contains a new set of object-oriented input controls, like programmable list-boxes and validation controls.
A new data grid control supports sorting, data paging, and everything you can expect from a dataset control.
- Event Aware Contr
All ASP.NET objects on a Web page can expose events that can be processed by ASP.NET code.
Load, Click and Change events handled by code makes coding much simpler and much better organized.
- ASP.NET Components
ASP.NET components are heavily based on XML. Like the new AD Rotator, that uses XML to store advertisement information and configuration.
- User Authentication
ASP.NET supports form-based user authentication, cookie management, and automatic redirecting of unauthorized logins.
- User Accounts and Roles ASP.NET allows user accounts and roles, to give each user (with a given role) access to different server code and executables.
- High Scalability Much has been done with ASP.NET to provide greater scalability.
Server-to-server communication has been greatly enhanced, making it possible to scale an application over several servers. One example of this is the ability to run XML parsers, XSL transformations and even resource hungry session objects on other servers.
- Compiled Code The first request for an ASP.NET page on the server will compile the ASP.NET code and keep a cached copy in memory. The result of this is greatly increased performance.
- Easy Configuration Configuration of ASP.NET is done with plain text files.
Configuration files can be uploaded or changed while the application is running. No need to restart the server. No more metabase or registry puzzle.
- Easy Deployment No more server-restart to deploy or replace compiled code. ASP.NET simply redirects all new requests to the new code.
- Compatibility ASP.NET is not fully compatible with earlier versions of ASP, so most of the old ASP code will need some changes to run under ASP.NET.
To overcome this problem, ASP.NET uses a new file extension ".aspx". This will make ASP.NET applications able to run side by side with standard ASP applications on the same server.
New in ASP.NET
Programmable controls,
Event-driven programming ,
XML-based components User authentication,
with accounts and roles,
Higher scalability ,
Increased performance - Compiled code Easier configuration and deployment ,
Not fully ASP compatible
ASP.NET 2.0 and 3.0
ASP.NET 2.0 improves upon ASP.NET by adding support for several new features.
ASP.NET 3.0:
ASP.NET 3.0 is not a new version of ASP.NET. It's just the name for a new ASP.NET 2.0 framework library with support for Windows Presentation Foundation, Windows Communication Foundation, Windows Workflow Foundation; and Windows CardSpace.
ASP.NET 3.0 is not covered in this tutorial.