URLÖØд:ʹÓÃ΢ÈíµÄURLRewrite×é¼þ½øÐÐASP.NET URL
¸ÅÊö
URLÖØдÊǽØÈ¡´«ÈëWebÇëÇó²¢×Ô¶¯½«ÇëÇóÖض¨Ïòµ½ÆäËû URL µÄ¹ý³Ì,±ÈÈçä¯ÀÀÆ÷·¢À´ÇëÇóhostname/101.aspx £¬·þÎñÆ÷×Ô¶¯½«Õâ¸öÇëÇóÖж¨ÏòΪhttp://hostname/list.aspx?id=101¡£
urlÖØдµÄÓŵãÔÚÓÚ£º
* Ëõ¶Ìurl£¬Òþ²Øʵ¼Ê·¾¶Ìá¸ß°²È«ÐÔ
* Ò×ÓÚÓû§¼ÇÒäºÍ¼üÈë¡£
* Ò×ÓÚ±»ËÑË÷ÒýÇæÊÕ¼
ʵÏÖurlÖØдµÄ»ù±¾·½·¨
ÏÂÔØMSµÄURLRewriter.dll£¬·Åµ½ÄãµÄweb³ÌÐòµÄbinÏÂ,ÏÂÔصØÖ·:download.microsoft.com/download/0/4/6/0463611e-a3f9-490d-a08c-877a83b797cf/MSDNURLRewriting.msi
ÏÂÔØÍê³Éºó£¬ÔÚweb.configÀïÉèÖÃÈçÏÂ
<?xml version="1.0" encoding="utf-8" ?>
<!--overred-->
<configuration>
<configSections>
<section name="RewriterConfig"type="URLRewriter.Config.RewriterConfigSerializerSectionHandler, URLRewriter" />
</configSections>
<RewriterConfig>
<Rules>
<RewriterRule>
<LookFor>~/d(\d+)\.aspx</LookFor>
<SendTo>~/default.aspx?id=$1</SendTo>
</RewriterRule>
</Rules>
</RewriterConfig>
<system.web>
<httpHandlers>
<add verb="*" path="*.aspx" type="URLRewriter.RewriterFactoryHandler, URLRewriter" />
</httpHandlers>
Ïà¹ØÎĵµ£º
C#ʹÓÃSQLiteÊý¾Ý¿â(asp.net/winform)
2009Äê1ÔÂ7ÈÕ
ÆÀÂÛ
·¢±íÆÀÂÛ
SQLite
ÊÇÄ¿Ç°±È½ÏÁ÷ÐеÄÒ»¸ö¿ªÔ´¡¢Ãâ·ÑµÄСÐ͵ÄEmbeddable RDBMS(¹ØϵÐÍÊý¾Ý¿â)£¬ÓÃCʵÏÖ£¬ÄÚ´æÕ¼ÓýÏС£¬Ö§³Ö¾ø´óÊýµÄSQL92±ê×¼£¬¸ö±ð²»Ö§³ÖµÄÇé¿ö£¬ÔÚÕâÀï
˵Ã÷
¶Ô¸÷ÖÖÓïÑÔµÄÖ§³ÖÒ²±È½Ï²»´í£¬wrapperºÜ¶à¡ ......
×î½ü×öÁËÒ»¸öÃâ·Ñ·¢¶ÌÐŵÄСÍøÕ¾(http://freesms.cloudapp.net/)£¬µ«·¢ÏÖ×î½üÓÐÈËÆƽâÁËÎÒµÄÑéÖ¤Â룬ÒÔÿ3Ãë/ÌõµÄËÙ¶ÈÓÃÎҵĶÌÐÅ·þÎñÀ´·¢ËûµÄ¹ã¸æ¡£¸ü»»ÑéÖ¤Âë³ÌÐòºÍ¹ýÂ˹ؼü×ÖÖ»ÊÇÖα겻Öα¾µÄ·½·¨£¬ÎªÁ˳¹µ××èÖ¹´ËÀàʼþµÄ·¢Éú£¬ÎÒÃÇ»¹ÊÇÀ´¿´Ò»ÏÂÔõÑùͨ¹ýÓÅ»¯³ÌÐòÀ´ÊµÏÖ¡£
& ......
¾¹ý΢Èí.net Framework 2.0µÄ¸ïУ¬.netƽ̨µÄ¿ª·¢Ô½À´Ô½¾«²Ê¡£±ÊÕßÊÕ¼¯»ùÓÚ.net¿ª·¢µÄn¸öÏîÄ¿£¬Ò»·½ÃæΪÐÂÊÖÌṩÓмÛֵѧϰ×ÊÔ´£¬ÅàÑøÆðÈí¼þ¿ª·¢µÄÀÖȤ£¬ÁíÒ»·½Ãæ¹²ÃãÒÑ´ÓÊÂ.netÁìÓò¹¤×÷¶àÄê²¢ÓÐÃ÷È··¢Õ¹Ä¿±êµÄͬÈÊ£¬Ìá¸ß×Ô¼º£¬¸üÉÏÒ»²ãÂ¥¡£
SharpDevelop
Ç¿´óµÄ²å¼þϵͳ£¬Í¨¹ýAddin¹¹½¨³ÉÒ»¸ö¹¦ÄÜÆëÈ«µÄ.net¿ª·¢IDE¡£º ......
web.config
<httpHandlers>
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add verb=" ......