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

ASP.NET MVC ¼ò½é

Õâ¸öÊÇÔÚÍøÉÏÕÒµÄÒ»¸ö¹ØÓÚASP.NET MVC µÄ¶¨Ò壬ÎÒ¾õµÃÒѾ­½âÊ͵Ĺ»ºÃÁË£¬ËùÒԾͽè¹ýÀ´ÓÃÓÃÁË £¬ºÇºÇ
Ï£ÍûÓÐÐÄѧϰASP.NET MVC µÄÅóÓÑÏÈÊìϤ¶¨Ò壬ÔÚºóÐøµÄÎÄÕÂÖлá¸üÇáËɵÄѧϰASP.NET MVC
ÏÂÃæÎÒÃÇÒ»Æð̤ÉÏASP.NET MVC Ö®Âðɣ¬Ö»ÒªÓкãÐĺÍÒãÁ¦£¬×£Ñ§ÕßÃÇÂÃ;Óä¿ì£¡
The Model-View-Controller (MVC) architectural pattern separates an application into three main components: the model, the view, and the controller. The ASP.NET MVC framework provides an alternative to the ASP.NET Web Forms pattern for creating MVC-based Web applications. The ASP.NET MVC framework is a lightweight, highly testable presentation framework that (as with Web Forms-based applications) is integrated with existing ASP.NET features, such as master pages and membership-based authentication. The MVC framework is defined in the System.Web.Mvc namespace and is a fundamental, supported part of the System.Web namespace.
MVC is a standard design pattern that many developers are familiar with. Some types of Web applications will benefit from the MVC framework. Others will continue to use the traditional ASP.NET application pattern that is based on Web Forms and postbacks. Other types of Web applications will combine the two approaches; neither approach excludes the other.
MVC¼Ü¹¹Ä£Ê½½«Ó¦ÓóÌÐò·ÖΪģÐÍ-ÊÓͼ-¿ØÖÆÆ÷Èý¸öÖ÷Òª×éÖ¯²¿·Ö£¬ASP.NET MVC¿ò¼ÜÌṩһÖÖ¿ÉÒÔ´úÌæASP.NET Web FormsģʽÀ´´´½¨»ùÓÚMVCµÄÓ¦ÓóÌÐò£¬ASP.NET MVCÊÇÇáÁ¿¼¶µÄ£¬¸ß¿É²âÊԵĿò¼Ü£¬²¢ÇÒ¿ÉÒÔ½áºÏÏÖÓеÄASP.NETµÄÌØÐÔÈçĸ°å¡¢»ùÓÚmembershipµÄÉí·ÝÑéÖ¤£¬MVC¿ò¼Ü»ù´¡¶¨ÒåÔÚSystem.Web.MvcÃüÃû¿Õ¼äÖеģ¬³ÉΪSystem.WebÃüÃû¿Õ¼äµÄÒ»²¿·Ö¡£
MVC×÷Ϊһ¸ö±ê×¼µÄÉè¼Æģʽ±»¹ã´óµÄ¿ª·¢ÈËÔ±ËùÊìÖª¡£Ä³Ð©ÀàÐ͵ÄWebÓ¦ÓóÌÐò½«ÊÜÒæÓÚMVC framework¡£ÆäËüÀàÐ͵ÄÓ¦ÓóÌÐò¿ÉÒÔ¼ÌÐøʹÓô«Í³µÄ»ùÓÚPostbacksµÄWeb formsģʽ½øÐÐASP.NET¿ª·¢£¬Ò²¿ÉÒÔ½áºÏÕâÁ½ÖÖģʽ£¬ËüÃÇÊDz¢ÐдæÔÚ¶ø²»ÊÇ»¥Ïà³åÍ»µÄ¡£
The MVC framework includes the following components:
MVC¿ò¼Ü°üº¬ÈçÏÂ×é³É²¿·Ö£º
Models. Model objects are the parts of the application that implement the logic for the application's data domain. Often,


Ïà¹ØÎĵµ£º

windows 7 ÏÂASP.net ±¾µØÅäÖà ( IIS 7)

 ½ñÌìµ÷ÊÔblend 3µÄÒ»¸öZune3DÑùÀýʱ, ÔËÐкóÉú³ÉµÄÊÇsliverlight³ÌÐò, ÓÉÓÚÎҵĻúÆ÷ÊǸմÓvistaÉý¼¶µ½windows 7, iis¶¼Ã»ÓÐÅäÖÃ, Òò´ËÎÞ·¨Ô¤ÀÀ.ÏÖ¸ø³ö²½Öè:
(Ò». ÅäÖÃIIS)
1. ´ò¿ª"Control Panel" / "Programs" / "Turn Windows features on or off",  ¹´Ñ¡"Internet Information Services", windows 7ĬÈϹ´Ñ ......

ASP.NET°²È«ÈÏÖ¤ Ò»

×÷Õߣºº®Óð·ã(cityhunter172)
Ðò
´úÂëд N ¾ÃÁË£¬×ÜÏëдµÃ±ðµÄ¡£Õâ²»£¬ÉÏͷ˵ÔÚÕûºÏÁ½¸öÏîÄ¿£¬×ö³Éµ¥Ò»µÇ¼£¨Single Sign On£©£¬Ò²ÓÐÈ˳Æ֮Ϊ“µ¥µãµÇ¼”¡£²éÔÄÏà¹ØÎĵµºó£¬ÖÕÓÚʵÏÖÁË£¬ÏÖÔÚ°ÑËüÄóöÀ´Óë´ó¼ÒÒ»Æð·ÖÏí¡£»òÐí´ó¼Ò»áÎÊ£º“ÕâÓë±êÌâ²»·ûѽ£¿”±ð¼±£¬ÔÚϱÊ֮ǰ£¬ÎÒÄÔ×ÓÀïÏëµ½ÁËÎÒ¸ÕʹÓà ......

asp.net µ÷Óô洢¹ý³Ì

1.»ñÈ¡Return·µ»ØÖµ
 ³ÌÐò´úÂë//´æ´¢¹ý³Ì
//Create PROCEDURE MYSQL
//     @a int,
//     @b int
//AS
//     return @a + @b
//GO
SqlConnection conn = new SqlConnection(ConfigurationManager.ConnectionStrings["LocalSqlServer"].ToStri ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ