ASP.NETʵս±Ê¼Ç£¨1£©Ìá¸Ù£¬»¶ÓÖ¸Õý¡£
¼Æ»®ÍƳöµÄ¡¶ASP.NETʵս±Ê¼Ç¡·£¬Ìá¸ÙÈçÏ£º µÚһƪ µäÐ͵ÄÍøÕ¾¼Ü¹¹½â¾ö·½°¸
µÚ1Õ ϵͳĿ±ê
1.1 ÐèÇó·ÖÎö
1.2 ϵͳĿ±ê
µÚ2Õ ϵͳ¹¦ÄÜÔ¤ÀÀ
2.1 Óû§¹ÜÀí
2.1.1. Óû§×¢²á
2.1.2. Óû§µÇ¼
2.1.3. ȨÏÞ¿ØÖÆ
2.2 ÉÌÆ·¹ÜÀí
2.2.1. Ìí¼ÓÉÌÆ·
2.2.2. ¹ÜÀíÉÌÆ·
2.2.3. ÉÌÆ·ÂúÒâ¶È
2.2.4. ¹ÜÀíÉÌÆ·ÆÀÂÛ
2.3 ·ÖÀà¹ÜÀí
2.3.1. Ìí¼Ó·ÖÀà
2.3.2. ¹ÜÀí·ÖÀà
2.3.3. Ìí¼ÓÉÌÆ·µ½·ÖÀà
2.4 ¹ã¸æ¹ÜÀí
2.4.1. Ìí¼Ó°æλ¹ã¸æ
2.4.2. ¹ÜÀí¹ã¸æ
2.4.3. ¹ã¸æÏÔʾ
2.5 ÐÐÏú»î¶¯¹ÜÀí
2.5.1. Ìí¼ÓÔùÆ·
2.5.2. Ìí¼Ó»î¶¯
2.5.3. ·¢ËÍÕÛ¼Û劵
2.5.4. ·¢ËͺìÀû
2.5.5. ·¢ËÍʵÌåÔùÆ·
2.6 ¹ºÎï³µ¹ÜÀí
2.6.1. ÉÌÆ·¼ÓÈ빺Îï³µ
2.6.2. ¹ºÎï³µ½áÕË
2.6.3. ½»Ò׼ͼ¹ÜÀí
2.7 ¿Í·þ¹ÜÀí
2.7.1. Ìí¼ÓÎÊÌâ
2.7.2. »Ø¸´ÎÊÌâ
µÚ3Õ µç×ÓÉÌÎñÍøÕ¾¼Ü¹¹
3.1 ¼Ü¹¹¸ÅÊö
3.2 Êý¾Ý·ÃÎʲã
3.3 ÒµÎñÂß¼²ã
3.4 Ò³ÃæÏÔʾ²ã
µÚ4Õ MVC¿ò¼Ü¸ÅÊö
4.1 MVC¿ò¼Ü¸ÅÊö
4.1.1. Ä£ÐÍ
4.1.2. ÊÓͼ
4.1.3.
Ïà¹ØÎĵµ£º
ÔÚWeb±à³Ì¹ý³ÌÖУ¬´æÔÚןܶలȫÒþ»¼¡£±ÈÈçÔÚÒÔÇ°µÄASP°æ±¾ÖУ¬CookieΪ·ÃÎÊÕߺͱà³ÌÕ߶¼ÌṩÁË·½±ã£¬²¢Ã»ÓÐÌṩ¼ÓÃܵŦÄÜ¡£´ò¿ªIEä¯ÀÀÆ÷£¬Ñ¡Ôñ“¹¤¾ß”²Ëµ¥ÀïµÄ“InternetÑ¡Ï¬È»ºóÔÚµ¯³öµÄ¶Ô»°¿òÀïµ¥»÷“ÉèÖÔ°´Å¥£¬Ñ¡Ôñ“²é¿´Îļþ”°´Å¥£¬ÔÚµ¯³öµÄ´°¿ÚÖУ¬¾Í»áÏÔʾӲÅÌÀï ......
×î½üÏë°Ñ×öµÄASP.NETÍøÕ¾ÅäÖõ½IIS£¬ÊµÏÖÔÚ¾ÖÓòÍøÖзÃÎÊ¡£ÔÚÍøÕ¾ÉÏÕÒÁËЩ×ÊÁÏ£¬×Ô¼ºÑо¿ÁËÏ£¬ÏÖ°ÑһЩ¾ßÌå²½Öè¼°ÎÊÌâ·ÖÏí³öÀ´£¬Ï£Íû¶Ô´ó¼ÒÓÐËù°ïÖú¡£
Ò»¡¢ÅäÖÃIIS
1¡¢"³ÌÐò"->"ÉèÖÃ"->"¿ØÖÆÃæ°å"->"¹ÜÀí¹¤¾ß"->Ñ¡Ôñ"Internet Ð ......
1.ASP.NETÖÐʹÓÃAJAXʱÈçºÎµ¯³ö¶Ô»°¿ò
¾ÙÀýÈçÏ£º
ScriptManager .RegisterStartupScript (UpdatePanel1, UpdatePanel1.GetType(), "", "alert('³É¹¦')", true)
ÏÂÃæÕâ¸ö¸´ÔÓЩ
ScriptManager .RegisterStartupScript (UpdatePanel1, UpdatePanel1.GetType(), "", "alert('Ìáʾ£º²úÆ·Ìí¼Ó³É¹¦£¡');if(confirm('ÊÇ·ñ¼ÌÐø ......
ÏîÄ¿ÖÐÓÐһЩ±¨±í£¬±¾ÉíËٶȾͲ»Ì«¿ì£¬Óöµ½Êý¾ÝÁ¿´óµÄÇé¿ö£¬¸üÊÇÈÃÈË×¥¿ñ£¬Óû§Ò²Ìá³öÁ˱¨±íËÙ¶ÈÂýµÄÎÊÌ⣬ÓÚÊÇÏë×ÅÈçºÎʵÏÖ±¨±íµÄÊý¾ÝÒÀÀµ»º´æ£¬¼´½«±¨±íÊý¾Ý»º´æ£¬µ±Êý¾Ý·¢Éú¸Ä±äʱ£¬ÔÙÖØлñÈ¡Êý¾Ý¡£
×î¼òµ¥µÄ·½·¨£¬ÊÇÔÚÏÔʾ±¨±íµÄaspxÒ³ÃæµÚÒ»ÐмÓÉÏÐÎÈç<%@ OutputCache Duration="600" VaryByParam="some_par ......
·½·¨1:
Response.Cookies["username"].Value="gjy";
Response.Cookies["username"].Expires=DateTime.Now.AddDays(1);
·½·¨2:
System.Web.HttpCookie newcookie=new HttpCookie("username");
newcookie.Value="gjy";
newcookie.Expires=DateTime.Now.AddDays(1);
Response.AppendCookie(newcookie);
´´½¨´ø ......