Vous êtes sur la page 1sur 14

INTRODUCTION TO ASP.

NET
ASP.NET is more than the next version of Active Server Pages
(ASP); it provides aunified Web development model that includes the
services necessary for developers to build enterprise-class Web
applications. While ASP.NET is largely syntax compatiblewith ASP, it
also provides a new programming model and infrastructure for
morescalable and stable applications that help provide greater
protection. You can feel
freeto aug men t yo ur ex istin g ASP app lications b y incremen
tally add ing ASP.NETfunctionality to them.ASP.NET is a
compiled, .NET-based environment; you can author applications in
any.NET co mp atib le langu ag e, includ ing Visual Basic .NET
, C# , and JScrip t .NET.Additionally, the entire .NET
Framework is available to any ASP.NET application.Developers
can easily access the benefits of these technologies, which
include themanaged common language runtime environment, type
safety, inheritance, and so on.ASP.NET has been designed to work
seamlessly with WYSIWYG HTML editors andother programming
tools, including Microsoft Visual Studio .NET. Not only does thismake
Web development easier, but it also provides all the benefits that
these toolshave to offer, including a GUI that developers can use to
drop server controls onto aWeb page and fully integrated debugging
support.Developers can use Web Forms or XML Web services
when creating an ASP.NETapplication, or combine these in any
way they see fit. Each is supported by the sameinfrastructure that
allows you to use authentication schemes, cache frequently
useddata, or customize your application's configuration, to name only a
few possibilities.

Web Fo rms allo w you to bu ild po werful fo rms -b ased Web


p ag es. Wh en building these pages, you can use ASP.NET server
controls to create commonUI elements, and program them for
common tasks. These controls allow youto rapidly build a Web
Form out of reusable built-in or custom components,simplifying
the code of a page. For more information, see Web Forms Pages.

For information on how to develop ASP.NET server controls,


seeDevelopingASP.NET Server Controls.

An XML Web service p rovides the mean s to access serv er f


un ction ality remotely. Using XML Web services, businesses can
expose programmaticinterfaces to their data or business logic,
which in turn can be obtained andmanipulated by client
and server applications. XML Web services enable theexchange
of data in client-server or server-server scenarios, using
standardslik e HTTP and XM L messaging to mov e d ata
acro ss f irewalls. XML Web services are not tied to a particular
component technology or object-
callingc o n v e n t i o n . A s a r e s u l t , p r o g r a m s w r i t t e n i n a n y
l a n g u a g e , u s i n g a n y component model, and running on any
operating system can access XML
Webservices. Fo r mo re inf or mation , seeXML
Web Serv ices Created UsingASP.NET and XML Web Service
Clients.Each of these models can take full advantage of all ASP.NET
features, as well as the power of the .NET Framework and .NET
Framework common language runtime.These features and how you
can use them are outlined as follows:

If you have ASP development skills, the new ASP.NET programming


modelwill see m v ery fa miliar to yo u. Ho wev er, th e
ASP.NET object mo d el
h asch ang ed sign ificantly f ro m ASP, mak in g it mo re stru ctu
red an d object -
o rien ted . Unfo rtun ately th is means th at ASP.NET is n ot fu l
ly back ward compatible; almost all existing ASP pages will have
to be modified to someextent in order to run under ASP.NET. In
addition, major changes to VisualBasic .NET mean that existing
ASP pages written with Visual Basic ScriptingEdition typically will not
port directly to ASP.NET. In most cases, though,
then e c e s s a r y c h a n g e s w i l l i n v o l v e o n l y a f e w l i n e s
o f c o d e . F o r m o r e information, seeMigrating from ASP to
ASP.NET.

Accessing databases from ASP.NET applications is an often -used


techniquefor displaying data to Web site visitors. ASP.NET makes it
easier than ever toaccess databases for this purpose. It also allows
you to manage the databasefrom your code. For more information,
seeAccessing Data with ASP.NET.

ASP.NET provides a simple model that enables Web developers to write


logict h a t r u n s a t t h e a p p l i c a t i o n l e v e l . D e v e l o p e r s c a n
write this code in the

Global.asax text file or in a compiled class deployed as an


assembly. Thislogic can include application-level events, but
developers can easily extendthis model to suit the needs of their
Web application. For more information,seeASP.NET Applications.

ASP.NET provides easy-to-use application and session-state facilities


that arefamiliar to ASP developers and are readily compatible
with all other .NETFramework APIs. For more information,
seeASP.NET State Management.

Fo r ad van ced dev elop ers who want to use APIs as po werful
as the ISAPI programming interfaces that were included with
previous versions of ASP,ASP.NET offers
theIHttpHandler andIHttpModuleinterfaces. Implementingthe
IHttpHandler
interface gives you a means of interacting with the low -
lev el requ est and resp onse serv ices of th e IIS Web serv er
an d p ro v id es functionality much like ISAPI extensions, but with
a simpler programmingmo d el. Imp le men ting the
IHttpModule
i n t e r f a c e a l l o w s y o u t o i n c l u d e custom events that
participate in every request made to your application. For more
information, seeHTTP Runtime Support.

ASP.NET takes advantage of performance enhancements found


in the .NETFramework and common language runtime. Additionally, it
has been
designedto offer sign ificant p erfo rman ce imp rov emen ts ov er
ASP and other Web d e v e l o p m e n t p l a t f o r m s . A l l A S P .
N E T c o d e i s c o m p i l e d , r a t h e r t h a n interpreted,
which allows early binding, strong typing, and just-in-
time (JIT)compilation to native code, to name only a few of its
benefits. ASP.NET isalso easily factorable, meaning that developers
can remove modules (a
sessionm o d u l e , f o r i n s t a n c e ) t h a t a r e n o t r e l e v a n t t o t h e
a p p l i c a t i o n t h e y a r e developing. ASP.NET also provides
extensive caching services (both built-inservices and caching APIs).
ASP.NET also ships with performance countersthat developers and
system administrators can monitor to test new
applicationsa n d g a t h e r m e t r i c s o n e x i s t i n g a p p l i c a t i o n s .
F o r m o r e i n f o r m a t i o n , s e e ASP.NET Caching
Featuresand ASP.NET Optimization.

Writing custom debug statements to your Web page can help


immensely
int r o u b l e s h o o t i n g y o u r a p p l i c a t i o n ' s c o d e . H o w e v
e r , t h e y c a n c a u s e e mb arrass men t if th ey are not
re mo v ed . The prob le m is th at re mo v ing the
1 . L a s t N a m e 2 . F i r s t N
a m e 3 . L o c a t i o n 4 . D a t e o f
S e r v i c e 5 . D O B 6 . R
e s i d e A t 7 . G e n d e r
Size Validation:
1.

LastName : 50
Characters2. FirstName : 50 Characters3. SSN : 11 Characters (Includin
g dashes [-])4. MRN : 15 Characters
Other Validations:

SSN (If Entered) : It Should be a specific format like 123-45-6789


Code Description
Functions we used to get this thing done:
1.onPadeLoad():-
This function set all fields value in form fields by set
property for all fields.

2 . f u n _ d e m o _ u p d a t e ( ) : - This function of class file is used to add


parameters andcall stored procedure for update records in Patient and
Patient History tables.
Database Operations
Affected Class:

csDemoGraphics.cs
Affected Function

onPageLoad()

fun_demo_update()
Used SPs :

DE_Dempgraphic_Update()
Fields Description:
Patient Table
M R
N S
S N
F i r s t N a
m e L a s t
N a m e

M i d d l e N
a m e G e n d
e r I d D O B
M a r i t a
l S t a t u
s I d A d d
r e s s 1 A
d d r e s s
2 C i t
y S t
a t e I
d Z i
p P
h o
n e
F a
x C
e l
l C r e a t
e d D a t e C r
e a t e d B y C
o u n t r y I
d C o u n t
y I d R a c
e I d E t h
n i c i t y
I d

Patient History Table


S S N F i r s t
N a m e ,LastName MiddleNameGenderId
DOB

information differ dramatically from that of electronic storage


media. When paper records are stored in different locations, collating
them to a single location for review by a healthcare provider is time
consuming and complicated, whereas the process can be simplified
with electronic records. This is particularly true in the case of
person-centered records, which are impractical to maintain if not
electronic (thus difficult tocentralize or federate). When paper-based
records are required in multiple locations,copying, faxing, and
transporting costs are significant compared to duplication
andtransfer of digital records.Handwritten paper medical records can be
associated with poor legibility, which cancontribute tomedical errors.
Pre-printed forms, the standardization of abbreviations,and standards for
penmanship were encouraged to improve reliability of paper medical
records. Electronic records help with the standardization of
forms,terminology and abbreviations, and data input. Digitization of
forms facilitates thecollection of data for epidemiology and clinical
studies.In contrast, HRA (
www.imedlogin.com/HRA
) can be continuously updated. Theability to exchange records between
different HRA systems ("interoperability") wouldfacilitate the co-
ordination of healthcare delivery in non-affiliated healthcare facilities.In
addition, data from an electronic system can be used anonymously for
statisticalreporting in matters such as quality improvement, resource
management and publichealth communicable disease surveillance

BIBLIOGRAPHY
BIBLIOGRAPHY
Books:

S y s t e m A n a l y s i
s A n d D e s i g n : J
a m e s A . S e n n M i
c r o s o f t S Q L
S e r v e r : M i k
e C h a p p l e A
S P . N E T
: S t e p h
e n W a l
t h e r . A
S P . N E T
: W r o x
P u b l i c
a t i o n
Websites:
www.msdn.microsoft.com/asp.netwww.quickstarts.asp.netwww.sitepoin
t.com/article/sql-injection-attacks-safe
Recommended Documents
Documents Similar To Final Project for MCA student

Project Report Format for Final MCA

Rajeev ranjan Project mca 3rd sem


mca project

MCA Project Synopsis Format(2)

Mca Project Ppt


Ignou Mca Project Ignou Bca Project

Project MCA

Mca Project Topics

mca project

Mcs 044 Mini Projects Synopsis

MCA Synopsis MCS-

Vous aimerez peut-être aussi