Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ASP.NET ÔËÐлúÖÆ×ܽá


ASP.NET ÔËÐлúÖÆ×ܽá
     ÕâЩÌì¿´ÁËһЩ¹ØÓÚASP.NETµ×²ãµÄÎÄÕÂ,ÊÜÒæ·Ëdz¡£
     ÎªÊ²Ã´ÒªÁ˽âÕâЩµ×²ãÄØ£¿ÎÒ¾õµÃ×öΪһ¸öϲ»¶¿ª·¢ASP.NET³ÌÐòÔ±£¬ÎÒ²»ÃDz»½öÒªÖªµÀ“Ôõô×ö”£¬ÎÒÃǸüÓ¦¸ÃÖªµÀ“ΪʲôÕâô×ö”£¬ÕâÑùµÄÎÒÃDzÅÄÜ×öµÃ¸üºÃ¡£ÕâÑùÎÒÃDzÅÄÜ°Ñ׼ȷµÄ´úÂë·ÅÖÃ׼ȷµÄλÖá£
     ASP.NET ÏñÒ»¸öÈ«×Ô¶¯µÄÏ´³µ·¿£¬³µ¿ª½ø³µ·¿²¢Í¨¹ý²ã²ãÏ´Ë¢£¬×îºó³öÀ´Ò»²¿ÉÁÁÁµÄ³µ¡£
     IISά»¤×ÅÒ»¸öÓ³Éä±í£¨Í¼1£©ÓÃÀ´Ö¸¶¨£ºÊ²Ã´ÑùµÄÇëÇóÓÉʲô³ÌÐòÀ´´¦Àí¸ÃÇëÇ󣬱ÈÈç˵£ºËùÇëÇó×ÊÔ´µÄÀ©Õ¹ÃûΪ.aspµÄÇëÇó£¬ÓÉ"asp.dll" ´¦Àí¸ÃÇëÇó£¬Õâ¸ö“DLL”Îļþ³ÆΪISAPIÀ©Õ¹³ÌÐò¡£
£¨Í¼1£©
     µ±Ò»¸öÇëÇó´Óä¯ÀÀÆ÷·¢³ö£¬µ½´ï·þÎñÆ÷¶Ë£¬IISÊÕµ½¸ÃÇëÇó¡£IIS¸ù¾ÝËùÇëÇó×ÊÔ´µÄÀ©Õ¹Ãû£¬½«¸ÃÇëÇóת½»¸øÏàÓ¦µÄISAPIÀ©Õ¹³ÌÐòÀ´´¦Àí¡£ÄÇÀ©Õ¹ÃûΪ.aspxµÄÇëÇóÊÇÔõôÑùµÄÄØ£¿Í¬ÑùÒ²ÊÇÓÉÏàÓ¦µÄISAPI´¦Àí¸ÃÇëÇó,Ò²¾ÍÊÇaspnet_isapi.dll£¬µ«ÕâÖ»ÊǵÚÒ»Õ¾£¬aspnet_isapi »¹Òª½«¸ÃÇëÇóת½»¸øASP.NETÀ´´¦Àí¡£ÈçÏÂͼ(2)¡£
£¨Í¼2£©
     IISÔËÐÐÔÚÒ»¸öInetInfo.exeµÄ½ø³ÌÖУ¬IISÊÕµ½À©Õ¹ÃûΪ.aspxÇëÇóºó£¬¼ÓÔØASP.NET ISAPI---"aspnet_isapi.dll"£¬ASP.NET ISAPI »áÆô¶¯Ò»¸öÃûΪ"aspnet_wp.exe"µÄ¹¤×÷½ø³Ì£¬“aspnet_wp.exe”Æô¶¯Ê±»á¼ÓÔØCLR¡¢´´½¨appDomain£¬ÔÚ´´½¨¶ÔappDomainʱ»áʵÀý»¯Ò»¸öÃûΪISAPIRuntimeÀ࣬ISAPIRuntimeÊÇAsp.netÓëasp.net ISAPIͨÐŵÄÇÅÁº¡£IISÓëASP.NET ISAPI¶¼ÊÇ·ÇÍйܳÌÐò£¬¶øASP.NET  HttpRuntimeÔòÊÇÒ»¸öÍйܳÌÐò£¬ASP.NET ISAPI ͨ¹ýCOMµÄ·½Ê½ÓëASP.NET Http Runtime»ùÓÚÃüÃû¹ÜµÀͨÐÅ¡£ISAPIRuntimeÊÇÒ»¸öÌØÊâµÄÀ࣬ËüʵÏÖ½Ó¿ÚIISAPIRuntime£¬¸Ã½Ó¿Ú»ùÓÚCOM¡£ËùÒÔ˵·ÇÍйܳÌÐò¿ÉÒÔÒÔCOMµÄ·½Ê½·ÃÎÊ¡£
 
Code
[ComImport, Guid("08a2c56f-7c16-41c1-a8be-432917a1a2d1"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IISAPIRuntime
{
    void StartProcessing();
    void StopProcessing();
    [return: MarshalAs(UnmanagedType.I4)]
    int ProcessRequest(


Ïà¹ØÎĵµ£º

³¹µ×½â¾öIE6ÏÂAsp.net Ajax¿Í»§¶Ë¿ò¼ÜδÄܼÓÔØ

×î½üµÄÏîÄ¿ÀïÓõ½AjaxControlToolkit 3.5,ÏîÄ¿Íê³ÉÒÔºóÔÚ±¾µØ²âÊÔûÎÊÌ⣬·Åµ½·þÎñÆ÷ÉÏÈ¥ÔÚIE6¾Í³öÏÖAjax ¿Í»§¶Ë¿ò¼ÜδÄܼÓÔصÄÎÊÌ⣬ÔÚFF£¬IE7£¬Opera£¬SafariµÈä¯ÀÀÆ÷¶¼Ã»ÎÊÌ⣬ÕæÊǸ㲻¶®MSÔõô¸ãµÃ£¬ÏÖÔÚ ¾ÍÏëÅ×ÆúIE6£¬ÕҵĺÃÐÁ¿à°¡£¬ÍøÉÏ˵µÄ½â¾ö·½°¸¶¼ÊÔ¹ýÁË£¬¶¼Ã»Óã¬×îºóÕÒµ½µÄ´ð°¸ÊÇ£ºÓ¦ÓóÌÐòµÄ±àÂëÎÊ Ì⣬ֻҪÔÚ ......

ASP.NET±íµ¥ÑéÖ¤Ö®ValidationSummary¿Ø¼þ


 ValidationSummary:¸Ã¿Õ¼äµÄ×÷ÓÃÊÇ°ÑËùÓÐÑéÖ¤´íÎóµÄÁбíÏÔʾÔÚÒ³ÃæµÄͬһ¸öµØ·½¡£
ÊôÐÔ£ºDisplayMode:ÏÔʾ´íÎóÐÅÏ¢µÄ·½Ê½£ºBulletList·ÅÔÚ<ul><li></li></ul>ÀList·ÅÔÚ<div>´íÎó1<br/>´íÎó2</div>ÖУ¬²»Í¬ÐÅϢʹÓÃ<br/>¸ô¿ª£»SingleParagraph·ÅÔÚ<div>& ......

asp.net´úÂëÓÅ»¯

ASP.NET´úÂëÓÅ»¯Ò»¡¢Ò³ÃæºÍ·þÎñÆ÷¿Ø¼þ´¦Àí
1¡¢ASP.NET´úÂëÓÅ»¯±ÜÃâµ½·þÎñÆ÷µÄ²»±ØÒªµÄÍù·µÐгÌ
ÔÚijЩÇé¿öϲ»±ØʹÓà ASP.NET ·þÎñÆ÷¿Ø¼þºÍÖ´Ðлط¢Ê¼þ´¦Àí¡£ÀýÈ磬ÔÚ ASP.NET ÍøÒ³ÖÐÑéÖ¤Óû§ÊäÈë¾­³£¿ÉÔÚÊý¾ÝÌá½»µ½·þÎñÆ÷֮ǰÔÚ¿Í»§¶Ë½øÐС£Í¨³££¬Èç¹û²»ÐèÒª½«ÐÅÏ¢´«µÝµ½·þÎñÆ÷ÒÔ½øÐÐÑéÖ¤»ò½«ÆäдÈëÊý¾Ý´æ´¢Çø£¬Çë±ÜÃâÊ ......

Asp.net ×Ô¶¨Òå ·ÖÒ³µ¼º½¿Ø¼þ

using System;
using System.ComponentModel;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace ZZZ.WebControls
{
[DefaultProperty("Text"), ToolboxData("<{0}:PageNavigate runat=\"server\" />")]
public class PageNavigate : WebControl, IPostBackEventHandler
{
......

ASP.NETÒ³Ãæ´«Êý¾ÝµÄ¸÷ÖÖ·½·¨ºÍ·ÖÎö

WebÒ³ÃæÊÇÎÞ״̬µÄ£¬ ·þÎñÆ÷¶Ôÿһ´ÎÇëÇó¶¼ÈÏΪÀ´×Ô²»Í¬Óû§£¬Òò´Ë£¬±äÁ¿µÄ״̬ÔÚÁ¬Ðø¶ÔͬһҳÃæµÄ¶à´ÎÇëÇóÖ®¼ä»òÔÚÒ³ÃæÌøתʱ²»»á±»±£Áô¡£ÔÚÓÃASP.NET Éè¼Æ¿ª·¢Ò»¸öWebϵͳʱ£¬ Óöµ½Ò»¸öÖØÒªµÄÎÊÌâÊÇÈçºÎ±£Ö¤Êý¾ÝÔÚÒ³Ãæ¼ä½øÐÐÕýÈ·¡¢°²È«ºÍ¸ßЧµØ´«ËÍ£¬Asp.net ÌṩÁË״̬¹ÜÀíµÈ¶àÖÖ¼¼ÊõÀ´½â¾ö±£´æºÍ´« ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ