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

asp.net mvc 2 RC ÔÚiisÉϵIJ¿Êð

Ò»£¬Èç¹ûÖ±½Ó°Ñasp.net mvc2 RC ²¿ÊðÔÚiis5.1ÉÏ£¬»á³öÏÖÎÞ·¨ÏÔʾҳÃæµÄÇé¿ö£¬Ô­Òò¿ÉÄÜÊÇ·¾¶Ó³ÉäûÓÐÆð×÷Óá£
½â¾ö°ì·¨£º
      1.ÔÚ  routes.MapRoute(
                "Default",                                              // Route name
                "{controller}/{action}/{id}",                           // URL with parameters
                new { controller = "Home", action = "Index", id = "" }  // Parameter defaults
            );ÖÐcontrollerºóÃæ¼ÓÉϹ̶¨µÄºó׺.mvc ÈçÏÂ
 routes.MapRoute(
                "Default",                                              // Route name
                "{controller}.mvc/{action}/{id}",                           // URL with parameters
                new { controller = "Home", action = "In


Ïà¹ØÎĵµ£º

ASP.NET δ±»ÊÚȨ·ÃÎÊËùÇëÇóµÄ×ÊÔ´

ASP.NET δ±»ÊÚȨ·ÃÎÊËùÇëÇóµÄ×ÊÔ´¡£Ç뿼ÂÇÊÚÓè ASP.NET ÇëÇó±êʶ·ÃÎÊ´Ë×ÊÔ´µÄȨÏÞ¡£ASP.NET ÓÐÒ»¸öÔÚÓ¦ÓóÌÐòûÓÐÄ£ÄâʱʹÓõĻù½ø³Ì±êʶ(ͨ³££¬ÔÚ IIS 5 ÉÏΪ {MACHINE}\ASPNET£¬ÔÚ IIS 6 ÉÏΪÍøÂç·þÎñ)¡£Èç¹ûÓ¦ÓóÌÐòÕýÔÚͨ¹ý Ä£Ä⣬Ôò±êʶ½«ÎªÄäÃûÓû§(ͨ³£Îª IUSR_MACHINENAME)»ò¾­¹ýÉí·ÝÑéÖ¤µÄÇëÇóÓû§¡£
ÈôÒªÊÚÓè ......

Asp.Net FormsÑéÖ¤(×Ô¶¨Òå¡¢½ÇÉ«Ìṩ³ÌÐò¡¢µ¥µãµÇ¼)

Asp.Net FormsÑéÖ¤(×Ô¶¨Òå¡¢½ÇÉ«Ìṩ³ÌÐò¡¢µ¥µãµÇ¼)
ÒÔÇ°¿ª·¢ÏîĿʱ¾­³£ÊÇ×Ô¼º¿ª·¢Ò»Ì×Óû§È¨ÏÞ¹ÜÀíϵͳ½øÐÐÑéÖ¤£¬±È½ÏÁé»î¡£×î½üΪÁ˵¥µãµÇ¼µÄÎÊÌâÓÖ°ÑAsp.Net×Ô´øµÄÑéÖ¤·½Ê½¿´ÁËÒ»±é£¬·¢ÏÖÕâÖÖ·½Ê½Ò²±È½Ï·½±ã£¬¹¦ÄÜÒ²»¹¿ÉÒÔ¡£ÔÚAsp.NetÌṩÁËÈýÖÖ³£ÓõÄÑéÖ¤·½Ê½£ºWindows·½Ê½ÊǺÍIIS½áºÏÆðÀ´¿ÉÒÔʵÏÖ»ù±¾¡¢ÕªÒª¡¢¼¯³É ......

ASP.NETÖÐÁ¬½ÓÊý¾Ý¿âµÄ¸÷ÖÖ·½·¨


½ñÌ죬ѧϰÁËASP.NETÖÐÁ¬½ÓÊý¾Ý¿âµÄ¸÷ÖÖ·½·¨£¬ÕâÊÇÎÒ×Ô¼ºµÄÒ»¸öС×ܽᣬ²»Ò»¶¨ÍêÈ«ÕýÈ·£¬½ö¹©²Î¿¼£¡   O(∩_∩)O~
 
 
Á¬½ÓSQLÊý¾Ý¿âµÄ·½·¨£º
(Ò»)¡¢ÔÚWeb.ConfigÖд´½¨Á¬½Ó×Ö·û´®£º
1¡¢
<add name="ConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename= ......

asp.netдµÄweb serviceÀý×Ó

µÚÒ»£¬ н¨ÍøÕ¾£¬Ñ¡ÔñÀàÐÍΪasp.net web ·þÎñ¡£
ϵͳ×Ô¶¯ÎªÄ㽨Á¢Á˸öÎļþservice.asmx.Õâ¾ÍÊÇÒ»¸ö×î¼òµ¥µÄweb service·þÎñ¡£Äã¿ÉÒÔÖ±½ÓÔËÐв鿴Ч¹û¡£
µÚ¶þ£¬ÎÒÃÇÐèÒªµÄÊÇÐÞ¸Äservice.csÖеĴúÂ룬À´Âú×ãÎÒÃǵÄÒªÇó¡£
Ð޸ĺóµÄService.csÖеĴúÂëΪ£º
using System;
using System.Web;
using System.Web.Services; ......

asp.netÐÔÄÜÓÅ»¯×ܽá ÐÄÈçֹˮ

1. C#ÓïÑÔ·½Ãæ
1.1 À¬»ø»ØÊÕ
¡¡À¬»ø»ØÊÕ½â·ÅÁËÊÖ¹¤¹ÜÀí¶ÔÏóµÄ¹¤×÷£¬Ìá¸ßÁ˳ÌÐòµÄ½¡×³ÐÔ£¬µ«¸±×÷ÓþÍÊdzÌÐò´úÂë¿ÉÄܶÔÓÚ¶ÔÏó´´½¨±äµÃËæÒâ¡£
¡¡1.1.1 ±ÜÃâ²»±ØÒªµÄ¶ÔÏó´´½¨
¡¡ÓÉÓÚÀ¬»ø»ØÊյĴú¼Û½Ï¸ß£¬ËùÒÔC#³ÌÐò¿ª·¢Òª×ñÑ­µÄÒ»¸ö»ù±¾Ô­Ôò¾ÍÊDZÜÃâ²»±ØÒªµÄ¶ÔÏó´´½¨¡£ÒÔÏÂÁоÙһЩ³£¼ûµÄÇéÐΡ£
¡¡1.1.1.1 ±ÜÃâÑ­»·´´½¨¶ÔÏ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ