Ʒ

» Html
» Java Script

» PHP

» Perl

» ASP

» CGI

» Xml

» Dhtml

» VBScript

» Java

» Css

Ʒ

» Photoshop

» Corel Draw

» Dreamwawer

» Flash MX

Ơ

» ֬

» Է

»

» Flash

»

Active Server Pages

  » ASP

     » РԠ Է

     » ASP

ԪԷ Է

Ш ԪԷ Է Է . ՠԨ Է Ԫᠤ config.Web.

ќ֨ Է ASP.NET 㨬 Ҩ Ơ ҷԷ ֦ Ԫᠤ config.Web, 󠦠 ؠҨ Է. з ᠢ Ԩ ᨦҨ ƠƷ-з 뷽 Ԡֽƨ ֽ ᠢ련֬ Է, ᨦ ᠢƷ Visual Studio .NET ֢ 󦠨 config.Web Ԡ , Է.

Р Ԫᠤ Ҩ Ơ֬, ޜ Ԩ Web-Է. 뷨 Ԫᠤ֬ Р 禨 Ԡ Ơ֬. , ֦ ᨦ ֽ Р з, ᠢ Ҩ Ҩ Ԫᠤ М Ơ֬ Է, , Ш "֬" Է 禨 بᨦ ؠҨ, 󠦠 Ԩ Ԫᠤ . Ʒ ֢, ᠢ 󠦠 з ؠҨ Ơ֬. 㨬 Է ԷԷ ؠ Ш.

Ԫᠤ ASP.NET Ҩ, , Ԩ ᨦШ . Ҩ XML-. Ҩ Ԫᠤ֬ Р 먦 Ш "巪Ơ 󠤷 Ш', 㨽 Ԩ 禨 ֦ зԬ .

ب 夨 巵 Ԫᠤ . ԪҠ ֢Ԡ Р Ҩ 娬 <configuration> 렜 зԨ </configurationx

Ԫᠤ Ԡ . بֽ Է, ި Ԩֽ֢, ᠢ ַ Ԫᠤ . ֦ Ԧ ؠҨ. ݨз .

  • <httpmoduies>. ި 󠦠 ؠҨ Ԧ HTML-֦Ш, Է.
  • <sessionstate>. ި Ԫ Է 㷽.
  • <globaiization>. ި Ơз 㷷 Է. 227
  • <compiiation>. ֦֨ ֬ Р ؠҨ طޤ Է.
  • <trace>. Р ᠢ련֬ Է.
  • <security>. ֦֨ Р ި 󠦠 ؠҨ ֦з ؠ Է.
  • <iisprocessmodel>. ި Ԡᠷ ؠҨ 娬ᠤ ASP.NET IIS.
  • <browsercaps>. ᨦԠԠ ԠֽƷ Ԩ, ᨦޜ , ֬ 禠Ш Ш.

ҷ Ԫᠤ , з, Է޵ ASP.NET Global.asax. ި ط , Է , Ԩ ƠƷ-з з 㨠 ᠢ 妨 Ш. ՠҨ, ƨ Է ᨢ Ơֽ-з ֽ . , Ԡ Р ֦- . Ԡ ᠢ ֦᷵ Global.asax. Р Ԩ Web-Է Ơ֬.

Ш ط렜 ֤, ި ԠШԷ ֬ з ֬ ֢ Է. Ҩ ֦֢֬ Р 먦 ѷԬ 3.54.

ѷԬ 3.54

<script language="VB" runat="server">

Sub Application_Start(Sender

As Object, E As EventArgs)

' Do application startup code here

End Sub

Sub Application_End(Sender

As Object, E As EventArgs)

' Clean up application resources here

End Sub

Sub Session_Start(Sender As Object,

E As EventArgs)

Response.Write("Session is Starting..,<br>")

End Sub

Sub Session_End(Sender As Object, E As EventArgs) ' Clean up session resources here

End Sub

Sub Application_Error(Sender

As Object, E As EventArgs)

Context.ClearError()

Response.Redirect("errorpage.htm")

End Sub

</Script>

޷ ԷҠ зԬ, Ԩ , Р Global.asax з ֢ᠢƷ ֢巽 㨬 Է 妨 㷽. ֤ Appiication_start 禨 ƨ Է, ֤ Application_End ᨦԠԠԠ ֢ᠢƷ Է, ֤ Application_Error 禨 ԷԷ ƠƷ-з . ֦֢ ֢ ֢ޜ ֢ᠢƷ ԠР Է 㷽 Ơ ᠢ Է. Ǡ 뷦, Է ֬ Է Р Global.asax Ԩ.

ֵԷ Ҩ

ֵԷ Ҩ (.doc)

ب Ҩ

ՠب

 

Ш


עԷ
»

»

РҠ 

    РҠ

ַ

» ַ

Ơ 

» Web Ԩ

» РҠ

»

»  ֨

 



Сайт управляется системой uCoz