asp.netÍøÒ³¾²Ì¬»¯
Ò»¡£¢Ù£ºÊ×ÏÈÒªÓÐÕâ¸öÎļþURLRewriter.dll,Èç¹ûûÓÐ,¸Ï¿ìµ½ÍøÉÏÏÂÔØÒ»¸ö,²¢½«Æä·Åµ½ÏÂÃæµÄbinĿ¼ÀïÃæ,²¢ÇÒ½«ÆäÒýÓÃÌí¼Óµ½ÏÂÃæÀïÃæ;
¢Ú£ºÏÂÃæ¾ÍÊÇWeb.ConfigÎļþµÄÅäÖÃÁË,µ±È»,ÅäÖùý³ÌÏ൱¼òµ¥£º
1£ºÏÈÌí¼ÓÕâ¸ö
<configSections>
<section name="RewriterConfig" type="URLRewriter.Config.RewriterConfigSerializerSectionHandler, URLRewriter" />
</configSections>
<RewriterConfig>
<Rules>
<!-- Rules for Blog Content Displayer -->
<RewriterRule>
<LookFor>~/(.[0-9]*)\.html</LookFor>
<SendTo>~/ArticleDetail.aspx?MyID=$1</SendTo>
</RewriterRule>
</Rules>
</RewriterConfig>
2£ºÔÙÌí¼ÓÕâ¸ö
<httpHandlers>
<add verb="*" path="*.aspx" type="URLRewriter.RewriterFactoryHandler, URLRewriter" />
<add verb="*" path="*.html" type="URLRewriter.RewriterFactoryHandler, URLRewriter" />
</httpHandlers>
ÖÁ´Ë,Òѳɹ¦Ò»´ó°ë,ÉÏÃæÁ½¸ö¶¼Ìí¼Óµ½Web.Config,Ìí¼Óµ½Ê²Ã´Î»Öÿ´À´Ã»±ØÒª½²ÁË£¡
×îºóÒ»²½£ºÔÚIISÖÐÕÒµ½×Ô¼ºµÄÐéÄâĿ¼ÍøÕ¾,µãÊôÐÔ,È»ºóµãÅäÖÃ,È»ºóµ¯³öÓ¦ÓóÌÐòÅäÖöԻ°¿ò,Ñ¡ÔñÌí¼Ó,Ìí¼ÓµÄ¿ÉÖ´ÐÐÎļþ·¾¶Îªc:\windows\microsoft.net\framework\v2.0.50727\aspnet_isapi.dll,À©Õ¹ÃûΪ.html£¨Èç¹ûÊÇÐéÄâÖ÷»ú£¬¿É¹ºÂòʹÓþÅÍø»¥ÁªµÄÖ÷»ú£¬¿ÉÖ±½ÓÔÚÏß²Ù×÷¿ªÍ¨Î±¾²Ì¬
¶þ¡£
view plaincopy to clipboardprint?
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.IO;
namespace Web.Admin
{
public partial class Admin_MakeIndex : System.Web.UI.Page
{
&n
Ïà¹ØÎĵµ£º
ÔÚWindows NTÖУ¬Í¼ÐζàýÌåϵͳ»ùÓÚ²ã´Î½á¹¹¡£Ó¦ÓóÌÐòÓ붥²ãµÄAPI£¨Êµ¼ÊÉÏÊǶà¸öÓû§Ä£Ê½µÄϵͳDLL£¬±ÈÈçGDI32.DLL£©½»»¥£¬ÕâЩϵͳDLL×îÖÕ»áͨ¹ýϵͳ·þÎñµ÷Óô¦ÓÚÄÚºËģʽµÄϵͳ·þÎñ¡£
NTϵͳµÄÏêϸÐÅÏ¢¿É²Î¿¼¡¶Windows ͼÐαà³Ì¡·µÄµÚÒ»¡¢¶þÕ¡£ÔÚWindows VistaÖУ¬Í¼ÐÎϵͳÒѾÒƳöÁËÄÚºËģʽ£¬²¢ÓÐ×Ô¼ºµÄ¿Õ¼ä ......
asp.net¼òÌå×Öת·±Ìå×ÖµÄÀà¿â
ÕⶫÎ÷ËäÈ»¼òµ¥£¬µ«Ò²²»Ê§Îª¾µäµÄÀà¿â£¬¸öÈ˶øÑÔ£¬¾Í·Ç³£Ï²»¶Õâ¸öÀà¿â¡£
ÓÃÎÄ×ּǼÏÂÀ´°É£¬Áô¸ö¼ÇÄî°É
ÔÚvsÖУ¬ÓÐÒ»¸ö¾µäµÄMicrosoft.VisualBasic.dllµÄVBÀà¿â£¬¸ù¾Ý¹Ù·½µÄÃèÊö£º
ËüÄÜÌṩ¶ÔÐí¶à .NET Framework ÀàµÄ¼òµ¥Ö±¹ÛµÄ· ......
×÷Õß: Stephen Walther
ÔÎĵØÖ·£ºhttp://msdn.microsoft.com/asp.net/default.aspx?pull=/library/en-us/dnvs05/html/UserProfiles.asp
Òë
ÕߣºTony Qu
¸ÅÒª£ºÐí¶àASP.NETÓ¦ÓóÌÐòÐèÒª¿ç·ÃÎʵÄÓû§ÊôÐÔ
¸ú×Ù¹¦ÄÜ£¬ÔÚASP.NET1.1ÖУ¬ÎÒÃÇÖ»ÄÜÈ˹¤ÊµÏÖÕâÒ»¹¦ÄÜ¡£µ«Èç½ñ£¬Ê¹Óà ASP.NET 2.0µÄProfile¶ÔÏó£¬Õâ¸ö¹ý³Ì±äµÃÒì
......
Ò»¡£¢Ù£ºÊ×ÏÈÒªÓÐÕâ¸öÎļþURLRewriter.dll,Èç¹ûûÓÐ,¸Ï¿ìµ½ÍøÉÏÏÂÔØÒ»¸ö,²¢½«Æä·Åµ½ÏÂÃæµÄbinĿ¼ÀïÃæ,²¢ÇÒ½«ÆäÒýÓÃÌí¼Óµ½ÏÂÃæÀïÃæ;
¢Ú£ºÏÂÃæ¾ÍÊÇWeb.ConfigÎļþµÄÅäÖÃÁË,µ±È»,ÅäÖùý³ÌÏ൱¼òµ¥£º
1£ºÏÈÌí¼ÓÕâ¸ö
<configSections>
<section name="RewriterConfig" type="URLRewriter.Config.Rew ......