ASP.NET ÅäÖÃ
ʹÓà ConfigurationSettings ¶ÔÏóµÄ AppSettings ÊôÐÔ¼ìË÷ ASP.NET ÅäÖÃÐÅÏ¢¡£
ASP.NET ÔÊÐí¿ª·¢ÈËԱͨ¹ýÖ±½Ó¹«¿ªÅäÖÃÉèÖã¨ÒÔÇ¿ÀàÐÍÊôÐÔµÄÐÎʽ£©»òʹÓ󣹿ÅäÖà API£¬´ÓÓ¦ÓóÌÐòÖзÃÎÊÅäÖÃÉèÖá£ÏÂÃæµÄʾÀýÏÔʾÁËÒ»¸öʹÓà System.Web.HttpRequest ÀàµÄ Browser ÊôÐÔ·ÃÎÊ <browserCaps> ÅäÖýڵÄÒ³¡£ÕâÊÇÓйØÊôÐԵĹþÏ£±í£¬ÕâЩÊôÐÔ·´Ó³Á˵±Ç°ÕýÔÚ·ÃÎÊÒ³µÄä¯ÀÀÆ÷¿Í»§¶Ë¹¦ÄÜ¡£Êµ¼ÊµÄ <browserCaps> ½ÚÊý¾Ý°üº¬ÔÚ machine.config ÎļþÖС£
ÒÔÏÂÄÚÈÝΪ³ÌÐò´úÂ룺
<%@ Page Language="C#" %>
<html>
<body style="font: 10.5pt ËÎÌå" mce_style="font: 10.5pt ËÎÌå">
<h3>¼ìË÷ä¯ÀÀÆ÷¹¦ÄÜ</h3>
Boolean ActiveXControls = <%=Request.Browser.ActiveXControls.ToString()%><br>
Boolean AOL = <%=Request.Browser.AOL.ToString()%><br>
Boolean BackgroundSounds = <%=Request.Browser.BackgroundSounds.ToString()%><br>
Boolean Beta = <%=Request.Browser.Beta.ToString()%><br>
String Browser = <%=Request.Browser.Browser%><br>
Boolean CDF = <%=Request.Browser.CDF.ToString()%><br>
Boolean Cookies = <%=Request.Browser.Cookies.ToString()%><br>
Boolean Crawler = <%=Request.Browser.Crawler.ToString()%><br>
Boolean Frames = <%=Request.Browser.Frames.ToString()%><br>
Boolean JavaApplets = <%=Request.Browser.JavaApplets.ToString()%><br>
Boolean JavaScript = <%=Request.Browser.JavaScript.ToString()%><br>
Int32 MajorVersion = <%=Request.Browser.MajorVersion.ToString()%><br>
Double MinorVersion = <%=Request.Browser.MinorVersion.ToString()%><br>
String Platform = <%=Request.Browser.Platform%><br>
Boolean Tables = <%=Request
Ïà¹ØÎĵµ£º
+++ ¹æ¶¨»º´æÏîµÄ¼üÖµ¾Í¿ÉÒÔ´Ó»º´æÖмìË÷»º´æÏîµÄÊý¾Ý¡£È»¶ø£¬ÒòΪ±£´æÔÚ»º´æÖеÄÊý¾ÝÊDz»Îȶ¨µÄ£¬¿ÉÄܻᱻASP.NETÒÆ³ý£¬ËùÒÔ£¬ÍƼöµÄ¿ª·¢·½Ê½ÎªÓ¦¸ÃÏÈÈ·¶¨»º´æÏîÊÇ·ñ´æÔÚ£¬Èç¹û²»´æÔÚ£¬Ó¦¸ÃÏÈÌí¼Ó¸Ã»º´æÏîµ½»º´æ£¬È»ºóÔÙ¼ìË÷¸Ã»º´æÏî¡£
+++ ¼ìË÷»º´æÏî
ÏÂÃæµÄÀý×ÓÑÝʾ£¬È·¶¨ÃûΪ“CacheItem”µÄ»º´æÏîÊÇ·ñ´æÔÚ ......
<FRAMESET> <FRAME>
<NOFRAMES>
<IFRAME>
¡ö ¿ò¼Ü¸ÅÄî £º
Ëùν¿ò¼Ü±ãÊÇÍøÒ³»Ãæ·Ö³É¼¸¸ö¿ò´°£¬Í¬Ê±È¡µÃ¶à¸ö URL¡£Ö»¡¡Òª <FRAMESET> <FRAME> ¼´¿É£¬¶øËùÓпò¼Ü±ê¼Ç¡¡Òª·ÅÔÚÒ»¸ö×ÜÆðµÄ html µµ£¬Õâ¸öµµ°¸Ö»¼Ç¼Á˸ÿò¼Ü ÈçºÎ»®·Ö£¬²»»áÏÔʾÈκÎ×ÊÁÏ£¬ËùÒÔ²»±Ø·ÅÈë <BODY> ......
<a>±êÇ©
1. <a href=”test.aspx”></a>
2. ÕâÊÇ×î³£¼ûµÄÒ»ÖÖתÏò·½·¨;
HyperLink¿Ø¼þ
1. Asp.net ·þÎñÆ÷¶Ë¿Ø¼þ ÊôÐÔNavigateUrlÖ¸¶¨ÒªÌø×ªµ½µÄUrlµØÖ·
2. &n ......
1¡¢.NetµÄHTTPÇëÇó
.NETÓëASPµÄÔËÐлúÖÆÓкܴó²»Í¬.
ASPµÄÇëÇóÓëÏìÓ¦ÊÇ,ASPÒ³Ãæ±»ÇëÇó,È»ºóÖðÐнâÊÍ.ÊÇ»ùÓÚ¹ý³ÌµÄ.×î¶àÊǰüº¬ÁËÎļþ,ÐèÒªÏÈÒýÈëÎļþ°ÕÁË.
¶ø.Net,ÔÚÒ³Ãæ±»ÇëÇóºó,Ê×ÏÈÊǼÓÔØHTTP Module,Õâ²»ÊDZ¾ÎĵÄÖØµã.È»ºóÔÙ¼ÓÔØHTTP
Handler.ÕâÒ²²»ÊDZ¾ÎĵÄÖØµã.¼ÓÔØµÄÕâÁ½Ïî,¶¼ÐèÒªÔÚWebconfigÎļþÖÐÅäÖÃ.´ó¼ÒÖªµÀ ......
1.¹ØÓÚ»º´æ
»º´æÉÏ£¬Êý¾Ý²ãÉϵĻº´æÊDZØÐëµÄ£¬Õâµã²»±Ø¶à˵ÁË¡£
ÁíÒ»¸öºÜÖØÒªµÄÊÇ£ºÊÓͼƬ¶Î»º´æ¡£
ÎҲο¼ÁËÀÏÕÔµÄдµÄÈýƪ¹ØÓÚÆ¬¶Î»º´æµÄÎÄÕ£º
ÊʺÏASP.NET MVCµÄÊÓͼƬ¶Ï»º´æ·½Ê½£¨ÉÏ£©£ºÆð²½
ÊʺÏASP.NET MVCµÄÊÓͼƬ¶Ï»º´æ·½Ê½£¨ÖУ©£º¸üʵÓõÄAPI
ÊʺÏASP.NET MVCµÄÊÓͼƬ¶Ï»º´æ·½Ê½£¨Ï£©£ºÒ³ÃæÊä³öÔÔò
± ......