Sei sulla pagina 1di 24

1

INTRODUCTION TO THE PROJECT

Freelancer’s world.com is a website for online quotations &


specification provided by user according to their needs of
software & providing a best response among the different
companies to users.

The main objective of this website is to provide a easy &


reliable way of communication to request & design various
soft wares respectively..

The website is all about an online business which has


various modules like Admin, Client, Provider,employees. We
all have worked basically on distinct modules . The Client
who wants to make a new s/w for himself or for organization
first has to register himself as the member of the site
2

SYSTEM ANALYSIS
IDENTIFICATION OF NEED

One must know what the problem is before it can be solved.


The basis for a candidate system is recognition of
a need for improving an information system or a procedure

PRELIMINARY INVESTIGATION

After identifying the need, the next step is to perform


preliminary survey or an initial investigation to determine
whether an alternation system can solve the problem. In
the present system he has to maintain the data on files or
by login records.

.
3

HARDWARE AND SOFTWARE


REQUIREMENTS
1. ASP.NET (VB.NET) AND SQL SERVER2000

2. OPERATING SYSTEM

~ WINDOWS XP (PROFESSIONAL)
OR HIGHER VERSION

3. VGA OR SVGA GRAPHICS ADAPTER

4. SERIAL POINTER MOUSE AND KEYBOARD

5. 20.GB HARD DISK

6. 256 MB RAM AND MORE

7. 1.44 FLOPPY/CD ROM DRIVE

8.15” INCH MONITOR

9. PRINTER

10. INTERNET EXPLORER (7.0) OR WEB BROWSER


4

INTRODUCTION OF .NET

NET was originally called NGWS.


NGWS - Next Generation Windows Services
Microsoft officials to the rest of the world
presented NET strategy in June 2000:
 .NET is Microsoft's new Internet and Web
strategy
 .NET is NOT a new operating system
 .NET is a new Internet and Web based
infrastructure
 .NET delivers software as Web Services
 .NET is a framework for universal services
 .NET is a server centric computing model
 .NET will run in any browser on any platform
 .NET is based on the newest Web standards

. NET Internet Standards


. NET is built on the following Internet standards:
 HTTP, the communication protocol between
Internet Applications
 XML, the format for exchanging data
between Internet Applications
5

 SOAP, the standard format for requesting


Web Services
 UDDI, the standard to search and discover
Web Services

INTRODUCTION OF .NET FRAMEWORK

The .NET Framework is the infrastructure for the


new Microsoft .NET Platform. The .NET
Framework is a common environment for
building, deploying, and running Web Services
and Web Applications.
The .NET Framework contains common class
libraries - like ADO.NET, ASP.NET and Windows
Forms - to provide advanced standard services
that can be integrated into a variety of computer
systems.
The .NET Framework is language neutral.
Currently it supports C++, C#, Visual Basic,
JScript (The Microsoft version of JavaScript) and
COBOL. Third-party languages - like Eiffel, Perl,
Python, Smalltalk, and others - will also be
available for building future .NET Framework
applications.The new Visual Studio.NET is a
common development environment for the
new .NET Framework. It provides a feature-rich
6

application execution environment, simplified


development and easy integration between a
number of different development languages.
ASP.NET is the latest version of Microsoft's
Active Server Pages technology (ASP).
. NET framework and the common language
runtime
VB.NET is only one component of revolution in
windows- the .NET framework. At the base of
the .NET framework is Common Language
Runtime (CLR). The CLR is the module that
actually runs your VB.NET applications. When
you create a VB.NET application, which really
happens is that your code is compiled into the
CLR’s Intermediate Language. When you run
the application, that IL code is translated into
binary code your computer can understand by
some special comiplers built into the CLR.
Compilers translate your code into something
that your machine’s hardware, or other software,
ca deal with directly.
7

INTRODUCTION OF VISUAL
BASIC.NET

VB.NET now supports OOP features like


inheritance interface and overloading that make
strong OOP language.
The biggest change is that everything is object
oriented.
Generally, a language is object oriented if it
supports the following:
 Abstraction: - The ability to create an
abstract representation of concept in code.
 Encapsulation: - This has to do with the
separation between implementation and
interface; that is ,when you encapsulate an
object, you make its code internal and not
accessible to the outside except through a
well defined interface.
 Polymorphism: - Broadly speaking, this is
the ability to create procedure that can
operate objects of different types.
 Inheritance-It is the process by which you
can drive new classes from other classes.
 Exception handling –vb.net supports
structured exception handling, using an
enhanced version of the try….catch …finally
8

syntax supported by other languages such


as c++ structured exception handling
combines a modern control structure(select
case or while)with exceptions ,protected
blocks of code, and filters ,structured
exception handling with robust
,comprehensive error handlers
 Overloading- overloading is the ability to
define properties, methods , or procedures
that have the same name but use different
data types, overloaded procedures allow
you to provide as many implementation as
necessary to handle different kinds of
data ,while giving the appearance of a single
,versatile procedure ,for details ,see
overloaded properties and methods
 Overriding properties and methods- the
overrides keyword allows derived objects to
override characteristics inherited from parent
objects ,overridden members have the same
arguments as the members inherited from
the base class, but different implementations
.
 Constructors and destructors- constructors
are procedures that control initialization of
new instances of a class, conversely
,destructors are methods that free system
9

resources when a class leaves scope or is


set to nothing .visual basic.net supports
constructors and destructors using the sub
new and sub finalise procedures ,for
details ,see object lifetime ;how objects are
created and destroyed

Visual basic.net introduces new


data types the char data type is an unsigned 16
bit quantity used to store Unicode characters, it
is equivalent to the .net framework system. Char
data type. The short data type, a signed 16 bit
integer was named integer in earlier versions of
visual basics. The decimal data type is a 96 bit
signed integer scaled by a variable power of 10,
in earlier versions of visual basic it was available
only within a variant

. INTERFACES- interfaces describe the


properties and methods of classes, but unlike
classes , do not provide implantations. The
interface statement allows you to declare
interfaces, while the implements statement lets
you write code that puts the items described in
the interface into practice for details see
interfaces in visual basic.net
10

. DELEGATES- delegates –objects that


can call the methods of objects on your behalf
are sometimes described as type safe, oriented
function pointers. You can use delegates to let
procedures specify to event handler method that
runs when an event occurs. For details, ee
delegates and the address of operator

. SHARED MEMBERS- shared members


are properties procedures and fields that are
share by all instances of a class shared data
members are useful when multiple objects need
to use information that is common to all,shared
class methods can be used without first creating
an object from a class

. REFERENCES-references allow you to


use objects defined in other assemblies. In
visual basic.net ,references point to assemblies
instead of type libraries
11

. ATTRIBUTES-attributes enable you to


provide additional
information about program elements. For
example you can use an attribute to specify
which methods in a class should be exposed
when the class is used as a xml web service

. MULTITHREADING-visual basic.net
allows you to write applications that can perform
multiple tasks independently. A task that has the
potential of holding up other tasks can execute
on a separate thread, a process known as
multithreading by causing complicated tasks to
run threads are separate from your user
interface, multithreading makes your
applications more responsive to user input

 ASSEMBLIES-You combine assemblies


to form .net applications and ,although we
won’t deal with them directly very often, we
need to get the terminology down. An
12

assembly holds the intermediate language


modules for your application. When you
create an application in Vb.Net and run it,
Vb.Net creates one or more assemblies,
which are run by the CLR. That is,
assemblies are how your applications
interact with the .Net framework instead of
the EXE or DLL files of Vb6.

What’s in a .Net assembly-first is the mainfest,


which is similar to a table of contents, giving the
name and version of the assembly. The maInfest
also lists the other assemblies needed to
support this one and explains how to handle
security issues. The actual meat of assembly is
made up of modules, which are internal files of
IL code, ready to run. That’s how Vb.Net stores
the IL it creates, in modules inside assemblies.
Each module, in turn contains types-the classes
and interfaces that your code has defined, and
that the assembly has to know to let the various
modules interact with each other

VB.net supports all the OOP essentials and it


becomes a true OOP language. VB.net uses
13

namespaces to prevent naming conflicts by


organizing classes interfaces and methods into
hierarchies. You can imports various
namespaces to gain access to its classes,
interfaces and methods. For example: - the
class that supports window’s form is
system.windows.form. The data types you can
use are now restricted. You can use classes,
components, and objects. Many other concepts
have been added to visual basic programming
such as assemblies, namespaces, delegates
and attributes.

OOP in VB.NET: -

 It’s all OOP now. All data items are objects


now based on the system. Object class.
 It supports structured handling, using an
enhanced version of the try…catch…finally
syntax supported by other languages (such
as c++ and Java).
 It supports multithreaded applications.
14

 It supports constructors and destructors for


use when initializing an object of a specific
class.
 User defined typed are defined by structure
keyword.
 In VB, collections were the part of it but in
VB.NET, they come from the namespace
syste.collections namespace.
 The And, Or, Not and Xor operators have
changed from being bitwise operators to
being Boolean operators, which only work
on true/false. The bitwise operators are
bitand, bitor, bitnot, and bitxor.

BUILDING VB.NET APPLICATIONS


To build applications in VB.NET, we have to get
some technology under our belts. Assemblies
are building block of the .NET Framework; they
form the fundamental unit of deployment,
version control, reuse, and security permissions.
An assembly provides the CLR with the
information and compiled code it needs to know
how to run your code, much like EXE files did for
windows in VB6.
15

SOLUTIONS AND PROJECTS


When we created applications in visual basic
6.0, we created projects. Each project held the
code and data for an application, ActiveX control
or whatever else we wanted to build. If we
wanted to combine projects together, we created
a project group. In Vb.Net, however, project
group have become far more integral to the
development process, and now they are called
solutions. By default, when we create a new
project in Vb.Net, visual basic will create a new
solution first, and then add a project to that
solution. Here the terminology is that solution
contains projects, and these in turn contain
items.

FILE EXTENSIONS USED IN VB.NET


When we have a solution, it’s given the file
extension .sln, and all the projects in the solution
are saved with the extension .vbproj.
16

List of file extensions in files in vb.net and the


kind of files they correspond to.
 .vb:-The most popular file extension is
.vb.This is a useful list, because if vb.net has
added files to your solution that have not
expected, you often can figure them out by
their file extension.
 .xsd:-An XML schema provided to create
typed datasets.
 .xml:-An XML document file.
 .htm:-An HTML document.
 .txt:-A text file.
 .xslt:-An XSLT stylesheet file, used to
transform XML document to XML schema.
 .css:-A cascading stylesheet file.
 .js:-A Jscript file
 .vbs:-A vbscript file.
 .aspx:-A web form.
 .asp:-An active server page.
 .config:-Application configuration files
contain setting specific to an application.
This file contains configuration setting that
the common language runtime reads and
settings that the application can read.
The integrated development environment:-
About .net technology:-
17

 . Net is object oriented. All items, even


variables are now objects. All aspects of
object oriented programming have been
implemented in VB.net.
 Multithreading applications can also be
created.

INTRODUCTION OF ASP.NET

WHAT IS ASP?
ASP is a server side scripting technology that enables scripts
(embedded in web pages) to be executed by an Internet
server.
 ASP is a Microsoft Technology
 ASP stands for Active Server Pages
 ASP is a program that runs inside IIS
 IIS stands for Internet Information Services
 IIS comes as a free component with Windows 2000
 IIS is also a part of the Windows NT 4.0 Option Pack
 The Option Pack can be downloaded from Microsoft
 PWS is a smaller - but fully functional - version of IIS
18

 PWS can be found on your Windows 95/98 CD


What is an ASP File?
 An ASP file is just the same as an HTML file
 An ASP file can contain text, HTML, XML, and scripts
 Scripts in an ASP file are executed on the server
 An ASP file has the file extension ".asp"
How Does it Work?
 When a browser requests an HTML file, the server
returns the file
 When a browser requests an ASP file, IIS passes the
request to the ASP engine on the server
 The ASP engine reads the file, line by line, and
executes the scripts in the file
 Finally, the ASP file is returned to the browser as plain
HTML
.
What is ASP+?

ASP+ is the same as ASP.NET. ASP+ is just an early name


used by Microsoft when they developed ASP.NET.
What is ASP.NET?

ASP 3.0 is the latest version of ASP, but there will never be
an ASP 4.0 version. ASP.NET is the next generation ASP, but
it's not an upgraded version of ASP. ASP.NET is an entirely
new paradigm for server-side ASP scripting. ASP.NET is a
part of the .NET Framework. Microsoft spent three years
rewriting ASP.NET from the ground up, and ASP.NET is not
fully backward compatible with ASP 3.0.
19

.NET Framework

The .NET Framework is the infrastructure for the


Microsoft .NET platform.The .NET Framework is an
environment for building, deploying, and running Web
applications and Web Services. The .NET Framework
contains a common language runtime and common class
libraries - like ADO.NET, ASP.NET and Windows Forms - to
provide advanced standard services that can be integrated
into a variety of computer systems. The .NET Framework
provides a feature-rich application environment, simplified
development and easy integration between a number of
different development languages. The .NET Framework is
language neutral. Currently it supports C++, C#, Visual
Basic, and JScript (Microsoft's version of JavaScript).
Microsoft's Visual Studio.NET is a common development
environment for the .NET Framework.

ASP.NET Web Forms


All server controls must appear within a <form> tag, and the
<form> tag must contain the runat="server" attribute. The
runat="server" attribute indicates that the form should be
processed on the server. It also indicates that the enclosed
controls can be accessed by server scripts:
<form runat="server">
...HTML + server controls
</form>
20

Submitting a Form
A form is most often submitted by clicking on a button. The
Button server control in ASP.NET has the following format:
<asp:Button id="id" text="label" OnClick="sub"
runat="server" />
The id attribute defines a unique name for the button and the
text attribute assigns a label to the button. The onClick event
handler specifies a named subroutine to execute. In the
following example we declare a Button control in an .aspx
file. A button click runs a subroutine which changes the text
on the button:

DIFFERENCES BETWEEN ASP AND


ASP .NET
ASP .NET has better language support a large set of new
controls and XML based components, and better user
authentication. ASP .NET provides increased performance
by running compiled code. ASP .NET code is not fully
backward compatible with ASP.
New in ASP .NET
 Better language support
 Programmable controls
 Event-driven programming
 XML-based components
 User authentication, with accounts and roles

ASP .NET also contains a new set of object oriented input


controls, like programmable list boxes and validation
21

controls. A new data grid control supports sorting, data


paging, and everything you expect from a dataset control.
 lability
 Increased performance - Compiled code
 Easier configuration and deployment
 Not fully ASP compatible

Language Support
ASP .NET uses the new ADO .NET.
ASP .NET supports full Visual Basic, not VBScript.
ASP .NET supports C# (C sharp) and C++.
ASP .NET supports Jscript

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 forms-based user authentication,
including cookie management and automatic redirecting of
unauthorized logins.(You can still do your custom login page
and custom user checking).
User Accounts and Roles
ASP .NET allows for user accounts and roles, to give each
user (with a given role) access to different server code and
executables.
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
22

DBMS

SQL SERVER:

SQL Server is an SQL-compliant RDBMS. SQL-


compliant means it use the ANSI (American National
Standard Institute) version of Structured Query
Language or ‘SQL’. Structured Query Language is a
command that allow us to modify or retrieve information
from the database.

Client server means that SQL Server is designed to


store data in the central location (the server) and deliver
it on demand to numerous other locations (the client).
SQL Server is also a Relational Database Management
System (RDBMS).

FEATURES OF SQL SERVER 2000:


 Information representation

 Unique definition of rows

 Systematic treatment of Null values


23

 Guaranteed access

 High level Update, Insert, and Delete

 Retrieving information from the database.

 Accepting query language statements.

 Enforcing security specifications.

 Enforcing data integrity specifications

 Enforcing transaction consistency

 Managing data sharing

 Optimizing queries

 Managing System catalogs

Enterprise Manager:

SQL Server Enterprise Manager is a graphical tool that


allows easy configuration and management of Microsoft
SQL Server and SQL 2000 program group.
 SQL Server Enterprise Manager can also be
used to:
 Manage logins, permission and users.
 Create a database
 Take back-up of database and transaction
24

logs.
 Manage tables

Query Analyzer:

The SQL Server Query Analyzer allows us to create


adhoc queries and run them interactively. We may also
execute Transact-SQL statements stored in text file and
view the result in result plane or result grid. The Query
Analyzer also has a color-coded editor to assist the
user with checking of syntax. It also has context
sensitive help.

Potrebbero piacerti anche