The minimum requirements are:
RAM: 256 MB (Recommended)
Processor: Pentium II 450 MHz
Operating System: Windows 2000 or Windows XP
Hard Disk Space: 3.5 GB (Includes 500 MB free space on disk)
.NET is a new layer of software that sits above the Windows operating system.
.NET provides a comprehensive framework of language-neutral class libraries.
.NET understands only one language, Microsoft Intermediate Language (IL).
.NET Framework can integrate with any other code.
5. .NET applications, running under the scheme shown in figure 1.1, are referred to as managed applications.
single solution, containing multiple projects, in which the individual projects are written in separate languages.
Windows Application: Forms and Controls
Class Library: allows to create classes
Windows Control Library: to create new controls to be used in Windows applications.
Web Application: ASP.NET
Web Control Library:
6. non-.NET Windows applications are known as unmanaged applications.
Objects Browser & Syntax Reference Card:
There are no variant types, there is only one string type, and all string data is Unicode.
Common Language Runtime
A managed environment is one in which the environment provides common services automatically. Examples of the types of services a managed environment provides are garbage collection and security.
.NET Framework Class Library:
System.Collections namespace : provides sorted lists, hash tables, and other ways to group data.
The System.IO namespace : provides file I/O, streams, and so on.
The System.NET namespace provides Transmission Control Protocol/Internet Protocol (TCP/IP) and sockets support.
ADO.NET: Data and XML:
® Data Object (ADO) technology.
ADO.NET is the next generation of ActiveX
ADO.NET provides improved support for the disconnected programming model. It also provides rich XML support.
consists of classes that constitute the ADO.NET object model.
At a high level, the ADO.NET object model is divided into two layers:
includes the DataSet class, which represents multiple tables and their relations. These data sets are completely self-contained data structures that can be populated from a variety of data sources.
One data source could be XML
another could be OLE DB
third data source could be the direct adapter for SQL Server.
namespace provides the entire core infrastructure for Web Services, including features such as moving back and forth between objects and an XML representation.
XML parser and a writer
Transformations are provided by the System.Xml.Xsl namespace and the implementation of XPath that allows data graph navigation in XML.
ASP.NET: Web Forms and Services:
In theSystem.Web namespace, there are services such as caching, security, configuration, and others that are shared between Web Services and Web user interface (UI).
TheSystem.Web.Services namespace handles Web Service requirements such as transportation protocols and service discovery.
TheSystem.Web.UI namespace provides two classes of controls: HTML controls and Web controls.
The HTMLControls provide direct mapping of HTML tags, such as <INPUT>.
WebControls that are richer and allow you to structure controls with templates (for example, a grid control).
System.Windows.Formsnamespace classes to build the client UI.
TheSystem.Drawing namespace provides access to GDI+ basic graphics functionality.
More advanced functionality is provided in the System.Drawing.Drawing2D, System.Drawing.Imaging, and System.Drawing.Text namespaces.
Visual Basic .NET Projects:
classes (.cls), forms (.frm), modules (.bas), and user controls (.ctl).
Crystal Report file (.rpt) or text file (.txt).
Web projects store their items in a Web server virtual directory and in an offline cache.
set project references to other .NET assemblies, existing COM components, or other .NET projects within the same .NET solution.
Select the current project in Solution Explorer. On the Project menu, click Add Reference.
Namespaces are used in .NET Framework assemblies to organize the objects of an assembly (classes, interfaces, and modules) into a structure that is easy to understand.
the SQLClient namespace defined within the System.Data assembly provides the relevant objects required to use a Microsoft SQL Server™ database.
'Create classes, modules, and interfaces
'Related to Customer information
Setting Project Properties:
Development Environment Features:
All objects are based on the
Declaring a variable of type Integer is the same as declaring a System.Int32
Value-Type and Reference-Type Variables:
Value-type variables : integers, doubles, floats, and structures.
Reference-type variables: strings, arrays, and classes.
New Data Types:
Char:a single Unicode character in a two-byte variable.
Changes to Existing Data Types:
CType to Convert Data Types:
Declaring and Initializing Variables and Arrays:
Declaring Multiple Variables:
Converting Use Cases into Classes:
Object-Oriented Programming Concepts:
This UML diagram allows you to model physical aspects of a system, such as the source code, executables, files, and database tables. You can use interfaces, components, packages, and dependencies to model this view.
This UML diagram gives a view of the physical nodes (computational devices) on which the system executes. This type of diagram is especially useful when the system will involve more than one computer, such as in an enterprise solution.
Instantiating and Initializing Objects:
Windows Forms Class Hierarchy:
Control class: functionality for a control, such as sizing, visibility, and tab order.
ScrollableControl class: provides automatic scrolling capabilities for any control that requires scroll bars.
ContainerControl class: adds tabbing and focus management functionality
Providing User Help:
ASP.NET code is compiled
Early binding, strong typing, and just-in-time (JIT) compilation to native code.
Improve the performance of ASP.NET applications when you have an increased number of clients.
Response and Request Objects:
Requesting Information from the Client Browser:
form values from a client browser by using the HttpRequest class.
Sending Information to the Client Browser:
browser redirection to the client browser by using the HttpResponse class.
Maintaining Client-Side State:
Using Cookies for Enhanced Client-Side State:
Response.Cookies("User_FullName").Value = strFullName
Response.Cookies("User_FullName").Expires = _
If Not (Request.Cookies("User_FullName") Is Nothing) Then
strFullName = Request.Cookies("User_FullName").Value
Maintaining Server-Side State:
shopping cart application may need to maintain information about a customer order through multiple visits to a page before the items are purchased.
You can maintain state at either the application or session level.
A Web farm is an application that is hosted across multiple computers.
A Web garden is an application that is hosted on a single computer with multiple processors.
Web Service Architecture
6. Internet Information Services (IIS)
|Click to go to Home Page|