Beruflich Dokumente
Kultur Dokumente
Table of
contents
Introduction....................
............
Feasibility
Study
Environment and Tools
Used
For
System
.
Architectural
layout
the
of
.NET
Framework
..
Overview
ASP.NET
of
Page
and
control
Framework..
ASP.NET
Security.
C#
Language
SQL
Server..........................
Creation
of
Database..
Introduction
.NET is a software framework that includes
everything required for developing software
for web services. .NET is pronounced as
dot net which is a software component
that runs on the windows operating system.
It has presentation technologies, component
technologies and data technologies on a
single platform so as to enable users to
develop Internet applications as easily as
they do on desktop systems. It provides tools
and libraries that enable developers to
create windows software much faster and
easier.
To run .NET, we must
installed .NET framework. .NET technology
MICROSOFT.NET STRATEGY
Microsoft .NET Platform includes
the following components that would help to
develop a new generation of smart Internet
services:
.NET Infrastructure and tools
FEASIBILITY STUDY
INTRODUCTION:Feasibility is the
measure of how beneficial or practical the
Technical Feasibility
Based on the outline design of system
requirements in terms of inputs, outputs, files,
procedures and staff, the technical issues raised
during technical feasibility include
Does the necessary technology exist to do
what is proposed?
INTRODUCTION
FRAMEWORK
OF
THE
.NET
that
in
of
simplifies
the
the
highly
Internet.
application
distributed
The
.NET
Design Features:
Interoperability
Because computer systems commonly require
interaction between new and older applications,
the .NET Framework provides means to access
functionality that is implemented in programs
that execute outside the .NET environment.
Access to COM components is provided in the
System.Runtime.InteropServices
and
.NET
Framework.
The
BCL
Architectural
layout
of
.NET
Framework
has
two
components:
The Common language runtime
The .NET Framework class library.
main
GUI
applications
(Windows
Forms).
ASP.NET applications.
XML Web services.
Windows services.
Security
NET has its own security mechanism with two
general features: Code Access Security (CAS),
and validation and verification. Code Access
Security is based on evidence that is associated
with a specific assembly. Typically the evidence
is the source of the assembly (whether it is
the
burden
of
managing
memory
.NET
types
(objects)
is
done
a garbage
collector which
runs
compacting and
mark-and-
discover
the
objects
Overview of ASP.NET:
ASP.NET is more than the next version of Active
Server Pages (ASP); it provides a unified Web
development model that includes the services
necessary for developers to build enterpriseclass Web applications. While ASP.NET is
largely syntax compatible with ASP, it also
provides a new programming model and
infrastructure for more scalable and stable
applications that help provide greater
protection. You can feel free to augment your
existing ASP applications by incrementally
adding ASP.NET functionality to them.
ASP.NET is a compiled, .NET-based
environment; you can author applications in
any .NET compatible language, including
Visual Basic .NET, C#, and JScript .NET.
Additionally, the entire .NET Framework is
available to any ASP.NET application.
Developers can easily access the benefits of
these technologies, which include the managed
System.Web.Management:
Contains classes and
interfaces for managing and monitoring the
health of Web applications.
System.Web.Profile:
Contains classes that are used to
implement the ASP.NET user profile in Web
server applications.
System.Web.Query.Dynamic:
Contains classes that are used to
parse
expressions
from
a LinqDataSource control into a LanguageIntegrated Query (LINQ).
System.Web.RegularExpressions:
Provides regular
expressions that are used to parse ASP.NET
files.
All
members
of
the System.Web.RegularExpressions namespa
System.Web.Services:
Consists of the classes that enable
you to create XML Web services using ASP.NET
and XML Web service clients. XML Web
services are applications that provide the ability
to exchange messages in a loosely coupled
environment using standard protocols such as
HTTP, XML, XSD, SOAP, and WSDL. XML Web
services let you build modular applications that
are interoperable across a broad variety of
implementations, platforms, and devices.
System.Web.SessionState:
Contains classes and
interfaces that enable storage of data specific to
a single client during a single browser session
on the server. Session state data is used to give
the client the appearance of a persistent
connection with the application.
System.Web.UI:
Provides classes and interfaces that
enable you to create ASP.NET server controls
and ASP.NET Web pages for the user interface
of your ASP.NET Web applications. This
namespace includes the Control class, which
provides all HTML server controls, Web server
controls, and user controls with a common set
of
functionality.
It
also
includes
the Page control,
which
is
generated
automatically whenever a request is made for
an .aspx file in an ASP.NET Web application.
Also included are classes which provide the
server controls with data-binding functionality,
the ability to save the view state of a given
control or page, and parsing functionality.
System.Web.UI.DataVisualization.Charting:
Contains types for
the Chart Web server control.
System.Web.UI.Design.WebControls:
Contains classes that can
be used to extend design-time support for Web
server controls.
Page
and
Control
Framework
The ASP.NET page and controls framework is a
programming framework that runs on a Web
server to dynamically produce and render
ASP.NET Web pages. ASP.NET Web pages can
be requested from any browser or client device,
and ASP.NET renders markup (such as HTML)
to the requesting browser. As a rule, you can use
the same page for multiple browsers, because
ASP.NET renders the appropriate markup for
the browser making the request. However, you
can design your ASP.NET Web page to target a
ASP.NET Security
Security is a very important aspect of
ASP.NET Web applications. The topics
in this section provide background
information about security issues that
occur in Web applications. The topics
include information about how to
mitigate common security threats,
how to protect resources in a Web
application, and about how to
About C#
C# is an elegant and type-safe object-oriented
language that enables developers to build a
wide range of secure and robust applications
that run on the .NET Framework. You can use
C# to create traditional Windows client
applications, XML Web services, distributed
components,
client-server
applications,
database applications, and much, much more.
Microsoft Visual C# 2005 provides an advanced
code editor, convenient user interface designers,
integrated debugger, and many other tools to
facilitate rapid application development based
on version 2.0 of the C# language and the .NET
Framework.
C# syntax is highly expressive, yet with less
than 90 keywords, it is also simple and easy to
learn. The curly-brace syntax of C# will be
Int my Variable;
// a statement
My Variable = 23;
// another
statement
Int another Variable = my Variable; // yet
another statement
The compiler starts at the beginning of a source
code file and reads down, executing statement
after statement in the order encountered. This
would be entirely straightforward, and terribly
limiting, were it not for branching. Branching
allows you to change the order in which
statements are evaluated.
3.3.4 Data Types
C# is a strongly typed
language. That means that every object you
create or use in a C# program must have a
specific type (e.g., you must declare the object
to be an integer or a string or a Dog or a
Button). Essentially, the type indicates how big
the object is (in memory) and what it can do.
Size
(in .NET
Description
bytes type
)
byte
Byte
char
Char
Unicode characters.
bool
Boolea
True or false.
n
sbyte
SByte
short
Int16
ushort 2
Int
Int32
Double-precision floating
point; holds the values
from approximately +/-5.0
Double
* 10-324 to approximately
+/-1.8 * 10308 with 1516
significant figures.
Uint
float
double
decima 12
l
Decima Fixed-precision up to 28
l
digits and the position of
the decimal point. This is
Int64
ulong
3.3.5 Variables
A variable is an instance of an
intrinsic type (such as int) that can hold a
value:
int my Variable = 15;
You initialize a variable by writing its type, its
identifier, and then assigning a value to that
variable. An identifier is just an arbitrary name
you assign to a variable, method, class, or other
element. In this case, the variable's identifier is
myVariable.You can define variables without
initializing them:
int my Variable;
You can then assign a value to my Variable later
in your program:
int my
Variable;
// some other code here
my Variable = 15; //
assign 15 to my Variable
You can also change the value of a variable
later in the program. That is why they're called
variables; their values can vary.
Int my Variable;
my Variable = 15;
my Variable = 12; // now it is 12
3.3.6
Constants:
Variables are a powerful tool, but there are
times when you want to manipulate a defined
value, one whose value you want to ensure
remains constant. A constant is like a variable
in that it can store a value. However, unlike a
variable, you cannot change the value of a
constant while the program runs.For example,
you might need to work with the Fahrenheit
freezing and boiling points of water in a
program simulating a chemistry experiment.
Your program will be clearer if you name the
variables that store these values FreezingPoint
and BoilingPoint, but you do not want to
permit their values to be changed while the
program is executing. The solution is to use a
constant. Constants come in three flavors:
literals, symbolic constants, and enumerations.
3.3.6.1
Literal
Constants:
A literal constant is just a value. For example,
When we compile
Streams,
Threads,
Security,
Network
environment
or
programming
Language
Microsoft
has
Specification
released
small
(CLS).
set
of
and
checks
for
un-referenced,
There
Value
Double(default)
Decimal
Implicit data types are represented in language
using 'keywords'; so each of above is a keyword
in VB.Net (Keyword are the words defined by
the language and can not be used as
identifiers). It is worth-noting that string is also
an implicit data type in VB.Net, so String is a
keyword in VB.Net. Last point about implicit
data types is that they are value types and thus
stored at the stack, while user defined types or
referenced types are stored at heap. Stack is a
data structure that store items in last in first out
(LIFO) fashion. It is an area of memory
supported by the processor and its size is
INTRODUCTION TO SQL
SERVER
INTRODUCTION
Microsoft SQL Server is a relational model
database server produced by Microsoft. Its
primary query languages are T-SQL and ANSI
SQL. The current version of SQL Server, SQL
Server 2008, (code-named "Katmai",) was
released (RTM) on August 6, 2008and aims to
make data management self-tuning, self
organizing, and self maintaining with the
development of SQL Server Always On
technologies, to provide near-zero downtime.
SQL Server 2008 also includes support for
structured and semi-structured data, including
digital media formats for pictures, audio, video
and other. multimedia data. In current versions,
Creation of Database
CREATING DATA BASE IN SQL SERVER
Run the following query in query window
Create database imp(database name)
Another way:The following steps demonstrate how to create a
database in SQL Server using Enterprise
Manager.
Right click on the "Databases" icon and
select "New Database...":
Properties of data
base
How to create a table in a Database
Create table useraccout(table name)(id int
identity,username varchar(50))
Another way:-1.Ensuring you have the right
database expanded, right click on the "Tables"
icon
and
select
"New
Table...":
Design of a table
What we are doing at this stage, is creating the
column names, specifying the type of data that
can be entered into them, and setting default
values. Restricting the data type for each
column is very important and helps maintain
data integrity. For example, it can prevent us
from accidentally entering an email address
into a field for storing the current date.
Opening of a table