IISÖÐÀûÓÃIpµØַʵÏÖÔÚ¾ÖÓòÍøÖзÃÎÊAsp.netÍøÕ¾
×î½üÏë°Ñ×öµÄASP.NETÍøÕ¾ÅäÖõ½IIS£¬ÊµÏÖÔÚ¾ÖÓòÍøÖзÃÎÊ¡£ÔÚÍøÕ¾ÉÏÕÒÁËЩ×ÊÁÏ£¬×Ô¼ºÑо¿ÁËÏ£¬ÏÖ°ÑһЩ¾ßÌå²½Öè¼°ÎÊÌâ·ÖÏí³öÀ´£¬Ï£Íû¶Ô´ó¼ÒÓÐËù°ïÖú¡£
Ò»¡¢ÅäÖÃIIS
1¡¢"³ÌÐò"->"ÉèÖÃ"->"¿ØÖÆÃæ°å"->"¹ÜÀí¹¤¾ß"->Ñ¡Ôñ"Internet ÐÅÏ¢·þÎñ"£¬Èç¹û¹ÜÀí¹¤¾ßÖÐûÓÐInternet Information Sever£¬Ê×Ïȵ½ÍøÉÏÕÒÒ»¸öÏà¹ØµÄ°æ(ÎÒʹÓõÄÊÇIIS5.1£¬¿ÉÒÔ¸ù¾Ý¸öÈËÐèÒª)£¬"³ÌÐò"->"ÉèÖÃ"->"¿ØÖÆÃæ°å"->"Ìí¼Ó»òɾ³ý³ÌÐò"->"Ìí¼Óɾ³ýWindows×é¼þ"->Ë«»÷"Internet ÐÅÏ¢·þÎñ(IIS)"->Ñ¡ÔñÐèÒªÌí¼ÓµÄ×é¼þ(ÎҵĻúÆ÷³ýÁ˵ÚÒ»¸öºÍ×îºóÒ»¸öûÓÐÑ¡)->"È·¶¨"->"ÏÂÒ»²½"
Ïà¹ØÎĵµ£º
ÔÚWeb±à³Ì¹ý³ÌÖУ¬´æÔÚןܶలȫÒþ»¼¡£±ÈÈçÔÚÒÔÇ°µÄASP°æ±¾ÖУ¬CookieΪ·ÃÎÊÕߺͱà³ÌÕ߶¼ÌṩÁË·½±ã£¬²¢Ã»ÓÐÌṩ¼ÓÃܵŦÄÜ¡£´ò¿ªIEä¯ÀÀÆ÷£¬Ñ¡Ôñ“¹¤¾ß”²Ëµ¥ÀïµÄ“InternetÑ¡Ï¬È»ºóÔÚµ¯³öµÄ¶Ô»°¿òÀïµ¥»÷“ÉèÖÔ°´Å¥£¬Ñ¡Ôñ“²é¿´Îļþ”°´Å¥£¬ÔÚµ¯³öµÄ´°¿ÚÖУ¬¾Í»áÏÔʾӲÅÌÀï ......
ÏÖÔںܶàÍøÕ¾ÌرðÊÇ×ÊѶÀàµÄ¶¼°ÑÄÚÈÝÉú³É¾²Ì¬Ò³£¨htm\html\shtmlµÈ£©£¬ÕâÀà×ܽáÁËÒ»ÏÂÁ½ÖÖÉú³É¾²Ì¬Ò³µÄ·½·¨²¢×öÁËÒ»¸öDemoÎļþ¹©´ó¼ÒÏÂÔØ¡£
·Ö±ðÊÇͨ¹ýÄ£°å£¨±È½Ï³£Ó㩺͸ù¾ÝurlÉú³É£¨²»µ½Íò²¿ÔòÒÔ²»Óã¬ÒòΪÕâÖз½Ê½Ö»ÄÜ»ñÈ¡htmlµÄ²¿·Ö£©£º
Asp.netÉú³É¾²Ì¬Îļþ£¨¸ù¾Ýʱ¼ä×Ô¶¯ÃüÃû±£³Ö£¬Ä¬ÈÏÀ©Õ¹ÃûÊÇhtm¿ÉÒÔ×ÔÐÐÐ޸ģ©¡ ......
using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using Syste ......
ÓÉÓÚmvc¼Ü¹¹ºÍ´«Í³µÄ.net³ÌÐòÓÐËù²»Í¬£¬ËùÒÔ½øÐÐÒì²½Ìá½»µÄʱºò£¬¾ÍºÍ¹ýÈ¥µÄ·½·¨²ÎÊýÓÐËù²î±ð£¬ÏÂÃæÎҾͽéÉÜÏÂÁ½ÖÖ³£ÓõÄÌá½»·½Ê½ÔÚMVCÏÂÈçºÎµ÷Óá£
1.Ö±½ÓÌá½»Êý¾Ýµ½Action
¼ÙÉèÒ»¸ö·¢²¼BLOGµÄÒ³ÃæµÄ»Ø¸´¹¦ÄÜ£¬ÓÐÒ»¸öIDΪ'ReInfo'µÄdiv¸ºÔðÏÔʾ»Ø¸´µÄÏûÏ¢¡£
µã»÷Ìá½»°´Å¥ºó£¬qjµÄpost·½·¨½«Êý¾Ý´«µÝµ½/Blog/BlogR ......
ÏÈ¿´ÏÂÃæµÄÒ»¶Î´úÂ룺
public class UserTest
{
public int age { set; get;
}
¡¡¡¡¡¡¡¡ public string name { set; get; } & ......