asp.netѧϰ²½Öè
µÚÒ»²½¡¡ÕÆÎÕÒ»ÃÅ¡£NETÃæÏò¶ÔÏóÓïÑÔ£¬C#»òVB.NET ÎÒÇ¿ÁÒ·´¶ÔÔÚûϵͳѧ¹ýÒ»ÃÅÃæÏò¶ÔÏó£¨OO£©ÓïÑÔµÄÇ°ÌáÏÂȥѧASP.NET¡£ ASP.NETÊÇÒ»¸öÈ«ÃæÏò¶ÔÏóµÄ¼¼Êõ£¬²»¶®OO£¬ÄǾø¶Ôѧ²»ÏÂÈ¥£¡
µÚ¶þ²½¡¡¶Ô¡£NET FrameworkÀà¿âÓÐÒ»¶¨µÄÁ˽⠿ÉÒÔͨ¹ý¿ª·¢Windows FormÓ¦ÓóÌÐòÀ´Ñ§Ï°¡£NET Framework¡£ASP.NETÊǽ¨¹¹ÔÚ¡£NET FrameworkÖ®Éϵļ¼Êõ£¬Äã¶Ô¡£NET FrameworkÁ˽âµÃÔ½ÉѧϰASP.NET¾ÍÔ½¿ì¡£ ¾Ù¸öÀý×Ó£ºÏÂÃæ¼òµ¥Áгö¼¸¸ö¶ÔÕÆÎÕASP.NET·Ç³£ÖØÒªµÄ¸ÅÄ¶ÔÏóµÄÄÚ´æÄ£ÐÍ£¬Î¯ÍУ¬Ê¼þ£¬¶àỊ̈߳¬³ÌÐò¼¯ºÍÓ¦ÓóÌÐòÓò£¬°²È«Ä£ÐÍ .NET Frameworkµ±È»»¹ÓÐÐí¶àÆäËüµÄ¶«Î÷£¬µ«²»Àí½âÓë°ÑÎÕÇå³þÉÏÊöÕâЩ¶«Î÷£¬ÊǺÜÄÑÕæÕý°ÑÎÕASP.NETµÄ¡£³öÓÚ¼±ÆȵÄÐÄÇéÓëÏÖʵµÄ¿¼ÂÇ£¬²»ÉÙÈËûÓÐÔúʵµÄÃæÏò¶ÔÏó»ù´¡¾ÍÏëÖ±½ÓѧϰASP.NET£¬Æä½á¹ûÖ»ÄÜÊÇÓûËÙÔò²»´ï¡£Ôھ߱¸ÁËOO»ù´¡Ö®ºó£¬ÒÔÏÂÊǾßÌåµÄѧϰASP.NET¼¼Êõ²½Öè¡£
µÚÒ»²½£ºÑ§Ï°HTMLÓëCSS
Õâ²¢²»ÐèҪȥѧһ´ó¶ÑµÄÖîÈçDreamweaver£¬FireworkÖ®ÀàµÄ¸÷ÖÖÍøÒ³Éè¼Æ¹¤¾ß£¬¹Ø¼üÊÇÀí½âHTMLÍøҳǶÌ×µÄblock½á¹¹ÓëCSSµÄboxÄ£ÐÍ¡£Ðí¶à ASP.NET¿Ø¼þ×îºó¶¼±ØÐëת»¯ÎªHTML¡£¶øÇÒ£¬div+CSSÊǵ±Ç°Ö÷Á÷µÄÍøÒ³²¼¾ÖÄ£ÐÍ¡£Ñ§Ï°Õⲿ·Öʱ£¬¹Ø¼üÔÚÓÚÀí½â¸ÅÄ¶ø²»ÐèÒª½«¾«Á¦»¨ÔÚÃÀ»¯Ò³ÃæµÄÐí¶à¼¼ÇÉÉÏ£¬ÄÇÊÇÍøÕ¾ÃÀ¹¤µÄ¹¤×÷£¬²»ÊdzÌÐòÔ±µÄ¹¤×÷¡£
µÚ¶þ²½£ºÑ§Ï°JavaScript
JavaScript²»ÊÇJava£¬ËüÖ÷ÒªÔËÐÐÓÚä¯ÀÀÆ÷¶Ë¡£¿ÉÒÔÍê³ÉÐí¶à¹¤×÷£¬¹¦ÄÜÒ²ºÜÇ¿´ó£º±ÈÈçËü½«¿Í»§¶ËÍøÒ³ÖеÄHTMLÔªËØ¿´³ÉÒ»¿ÃÊ÷£¬¿ÉÒÔ±àд´úÂë·ÃÎʲ¢ÐÞ¸ÄÊ÷½Úµã£¬¶¯Ì¬Éú³ÉеÄHTML´úÂ룬´Ó¶ø´ïµ½¶¯Ì¬ÐÞ¸ÄÍøÒ³ÏÔʾÌØÐÔµÄÄ¿µÄ¡£
JavaScriptÔÚÄ¿Ç°µÄÍøÕ¾¿ª·¢ÖÐÓõúܶ࣬·Ç³£ÖØÒª¡£
ÁíÍ⣬ËüÒ²ÊÇÄ¿Ç°·Ç³£Á÷ÐеÄAJAX¼¼ÊõµÄ»ù´¡¡£
µÚÈý²½£ºÑ§Ï°¼ÆËã»úÍøÂçÔÀí
ÕÒÒ»±¾´óѧ<¼ÆËã»úÍøÂç>½Ì²Ä£¬Öص㿴¿´ËüµÄÓйػ¥ÁªÍøµÄ²¿·Ö£¬Á˽âһЩÓòÃû½âÎöºÍHTTPÐÒéµÈ֪ʶ¡£ÕâÊǽøÐл¥ÁªÍø¿ª·¢µÄÀíÂÛ»ù´¡¡£
µÚËIJ½£ºÑ§Ï°ASP.NET±íʾ²ã¼¼Êõ£¬»áÉè¼ÆWebÒ³Ãæ
ÐèÒª½áºÏÏÈÇ°´òºÃµÄÃæÏò¶ÔÏó¼¼ÊõµÄ»ù´¡£¬ÖÁÉÙÕÆÎÕÒÔÏÂÄÚÈÝ£º
£¨1£© ¸÷ÖÖWeb¿Ø¼þµÄʹÓ÷½·¨£¬
£¨2£© Àí½âÐÅÏ¢ÔÚÍøÒ³ÖеĴ«ËÍ·½Ê½£¬±ÈÈçCookie£¬ViewState£¬SessionµÈµÄʹÓá£
£¨3£© ASP.NETÓ¦ÓóÌÐòÓëÍøÒ³µÄÉúÃüÖÜÆÚ£¬ÒÔ¼°Ïà¹Ø¶ÔÏ󣨱ÈÈçhttpcontext£¬response£¬request£©µÄÓÃ;¡£
£¨4£© ASP.NETʵÏÖʼþÇý¶¯µÄÄÚÄ»
£¨5£© ×Ô¶¨ÒåÓû§¿Ø¼þ
ÔÙ´ÎÇ¿µ÷һϣ¬Ã»ÓÐOO»ù´¡£¬ºÜÄÑÕÆÎÕÉÏÊö¼¼Êõ£¬¾ÍÖ»Äܱ»ÕâЩ¶«¶«Ç£×űÇ×Ó×ßÁË£¬»áºÜ±»¶¯¡£
µÚÎ
Ïà¹ØÎĵµ£º
¸Õ¸Õ½Ó´¥ÍøÒ³¿ª·¢£¬²»¹ýÓöµ½URR²ÎÊý´«µÝ´íÎóµÄÎÊÌ⣬Á½¸öÒ³Ãæ½øÐÐÐÅÏ¢½»»¥Ê±¿ÉÒÔÓÃurl½øÐд«µÝ£¬µ«ÊÇÈç¹û´«µÝÐÅÏ¢µÄ±àÂë¸ñʽ²»ÊÇUTF-8£¨»òÕß²»ÊÇÉèÖõÄĬÈϸñʽ£©URL´«µÝʱ»á³öÏÖÂÒÂë¡£
±ÈÈçÄã´«È뺺×Ö£¬»òÕß´«Èë"§”µÈÆäËû±àÂë¸ñʽµÄ×Ö·û´®ÏµÍ³½âÎöºóµÄurlΪÂÒÂë¡£¾¹ýÔÚÍøÉϵIJéÕÒ¾õµÃÒ»ÏÂÁ½ÖÖ·½Ê½±È½ÏºÃ£º
1 ......
asp.net¿ª·¢µÄÅóÓÑ£¬¾³£Óõõ½web.configÎļþµÄÅäÖã¬ËùÒÔÎÒÃÇÌØÕûÀíÁËÖÐÎÄ˵Ã÷¡£
<?xml version="1.0" standalone="yes"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<!--ÅäÖÃÈ«¾Ö±äÁ¿-->
<appSettings>
<add key="examstr" value="server=.;da ......
public string GetPage(int page, int pages, string url)
{
if (pages == 0)
{
&n ......
ÔÚ´´½¨ÍøÕ¾ÖУ¬³£³£»áʹÓõ½Éí·ÝÑéÖ¤¡£asp.netÖÐÄÚÖÃÁ˼¸ÖÖÉí·ÝÑéÖ¤µÄ·½Ê½£¬ÈçWindows¡¢froms¡¢PassportµÈ¡£Õ⼸ÖÖÉí·ÝÑéÖ¤µÄ·½Ê½¸÷Óв»Í¬¡£
Ò»°ãÀ´Ëµ£¬ÍøÕ¾µÄÉí·ÝÑéÖ¤·½Ê½¶¼»á¾¹ýÒÔϼ¸¸ö²½Ö裺
1¡¢ÊäÈëÓû§ÃûºÍÃÜÂ룬µ¥»÷È·¶¨°´Å¥¡£
2¡¢ÔÚºǫ́ÅжÏÓû§ÃûºÍÃÜÂëÊÇ·ñÕýÈ·£¬Èç¹û´íÎó·µ»ØÌáʾ£»Èç¹ûÕýÈ·£¬½øÈë¿É·ÃÎʵÄÒ ......
ËäÈ»ÎÒ²»Ï²»¶ÌÖÂÛÌ«¶àÀíÂÛ¸ÅÄîÉϵĶ«Î÷£¬µ«¸÷λ“ש¼Ò”»¹ÊÇÌá³öÁ˺ܶà·Ç³£ÓÐÕë¶ÔÐÔµÄÒâ¼û£¬Íû´ËÌû²»Òª³ÉΪ¿Úˮս²ÅºÃ....ÏÖ´ðÒÉÈçÏ£¨Óкܶà¸öÈËÀí½â£¬²»Ò»¶¨ÕýÈ·£©£º
ש¼ÒÒâ¼ûÇë²Î¼û£ºAsp.Net´óÐÍÏîĿʵ¼ùϵÁе¼º½
ΪʲôѡÔñNHibernate
ÀíÓÉ1£º¶ÔÏó¹ØϵӳÉä¼¼Êõ£¨ORM£©µÄ×îÖ÷ҪĿµÄÊÇΪÁ˽â¾ö¹ØϵÐÍÊý¾Ý¿âÓ ......