Windows 2003ÖÐÅäÖÃASP.Net»·¾³
´ó¼ÒÖªµÀ£¬MicrosoftΪÁ˸üºÃµØÔ¤·À¶ñÒâÓû§ºÍ¹¥»÷ÕߵĹ¥»÷£¬ÔÚĬÈÏÇé¿öÏ£¬Ã»Óн« IIS6.0 °²×°µ½ Windows Server 2003 ¼Ò×åµÄ³ÉÔ±ÉÏ¡£¶øÇÒ£¬µ±ÎÒÃÇ×î³õ°²×° IIS6.0 ʱ£¬¸Ã·þÎñÔڸ߶Ȱ²È«ºÍ"Ëø¶¨"ģʽÏ°²×°¡£ÔÚĬÈÏÇé¿öÏ£¬IIS6.0 ֻΪ¾²Ì¬ÄÚÈÝÌṩ·þÎñ¼´£¬ÖîÈç ASP¡¢ASP.NET¡¢ÔÚ·þÎñÆ÷¶ËµÄ°üº¬Îļþ¡¢WebDAV ·¢²¼ºÍ FrontPage Server Extensions ¹¦ÄÜÖ»ÓÐÔÚÆôÓÃʱ²Å¹¤×÷¡£ÔÚwindows 2003 IIS 6.0Öа²×°²¿ÊðASP.net»·¾³£¬ÎÒÃÇÊ×ÏÈÒªÁ˽âÒ»ÏÂIIS6.0 еÄÌص㣬ÔÚwindows 2003 ServerÏÂÈçºÎ°²×°IIS6.0£¬ÔÚIIS6.0µÄÅäºÏÏÂÎÒÃÇÈçºÎÀ´°²×°ºÍ²¿ÊðASP.net»·¾³£¬ÒÔ¼°ËüÃÇÖ®¼ä¹Øϵ£¬ÏÂÃæµÄÄÚÈݽ«¸ø´ó¼ÒÒ»¸ö½â´ð¡£
Ò»¡¢IIS6.0 ÐÂÌصã
IIS 6.0 °üÀ¨Ðí¶àй¦ÄÜ£¬ËüÃÇÖ¼ÔÚ°ïÖúÆóÒµ¡¢IT רҵÈËÊ¿ºÍ Web ¹ÜÀíԱʵÏÖÆäÍøÕ¾£¨ËûÃÇ¿ÉÄÜÓµÓÐλÓÚµ¥¸ö IIS6.0 ·þÎñÆ÷»ò¶à¸ö·þÎñÆ÷ÉϵÄÊýǧ¸öÍøÕ¾£©ÔÚÐÔÄÜ¡¢¿É¿¿ÐÔ¡¢¿ÉÉìËõÐԺͰ²È«ÐÔ·½ÃæµÄÄ¿±ê¡£
ϱí×ܽáÁ˲»Í¬°æ±¾µÄ IIS Ö®¼äµÄÖØÒªÇø±ð¡£
¶þ¡¢ÔÚWindows2003 Server°²×°IIS 6.0·þÎñÆ÷
1¡¢Ê¹ÓÃ"ÅäÖÃÄúµÄ·þÎñÆ÷Ïòµ¼"°²×° IIS6.0
1)´Ó"¿ªÊ¼"²Ëµ¥£¬µ¥»÷"¹ÜÀíÄúµÄ·þÎñÆ÷"¡£
2)ÔÚ"¹ÜÀíÄúµÄ·þÎñÆ÷½ÇÉ«"Ï£¬µ¥»÷"Ìí¼Ó»òɾ³ý½ÇÉ«"¡£
3)ÔĶÁ"ÅäÖÃÄúµÄ·þÎñÆ÷Ïòµ¼"ÖеÄÔ¤±¸²½Ö裬Ȼºóµ¥»÷"ÏÂÒ»²½"¡£
4)ÔÚ"·þÎñÆ÷½ÇÉ«"Ï£¬µ¥»÷"Ó¦ÓóÌÐò·þÎñÆ÷ (IIS£¬ASP.NET)"£¬È»ºóµ¥»÷"ÏÂÒ»²½"¡£
5)ÔĶÁ¸ÅÒªÐÅÏ¢£¬È»ºóµ¥»÷"ÏÂÒ»²½"¡£
6)µ¥»÷"Íê³É"¡£
2¡¢Ê¹ÓÿØÖÆÃæ°å°²×° IIS¡¢Ìí¼Ó×é¼þ»òɾ³ý×é¼þ
1£©´Ó"¿ªÊ¼"²Ëµ¥£¬µ¥»÷"¿ØÖÆÃæ°å"¡£
2£©Ë«»÷"Ìí¼Ó»òɾ³ý³ÌÐò"¡£
3£©µ¥»÷"Ìí¼Ó/ɾ³ý Windows ×é¼þ"¡£
4£©ÔÚ"×é¼þ"Áбí¿òÖУ¬µ¥»÷"Ó¦ÓóÌÐò·þÎñÆ÷"¡£
5£©µ¥»÷"ÏêϸÐÅÏ¢"¡£
6£©µ¥»÷"Internet ÐÅÏ¢·þÎñ¹ÜÀíÆ÷"¡£
7£©µ¥»÷"ÏêϸÐÅÏ¢"ÒԲ鿴 IIS ¿ÉÑ¡×é¼þµÄÁÐ±í¡£
8£©Ñ¡ÔñÒª°²×°µÄËùÓпÉÑ¡×é¼þ¡£
9£©µ¥»÷"È·¶¨"£¬Ö±µ½·µ»Øµ½"Windows ×é¼þÏòµ¼"¡£
10£©µ¥»÷"ÏÂÒ»²½"£¬È»ºóÍê³É"Windows ×é¼þÏòµ¼"¡£
Èý¡¢ÔÚWindows 2003 Server °²×° ASP.NET
Windows Server 2003 ¼Ò×åÀûÓà ASP.NET ºÍ IIS ¼¯³É¸ÄÉÆÁË¿ª·¢ÈËÔ±ÌåÑé¡£ASP.NET ʶ±ð´ó¶àÊý ASP ´úÂ룬ͬʱΪ´´½¨¿É×÷Ϊ Microsoft .NET Framework µÄÒ»²¿·Ö¹¤×÷µÄÆóÒµ¼¶ Web Ó¦ÓóÌÐòÌṩ¸ü¶àµÄ¹¦ÄÜ¡£Ê¹ÓÃASP.NET ÔÊÐíÎÒÃdzä·ÖÀûÓù«¹²ÓïÑÔÔËÐпâµÄ¹¦ÄÜ£¬ÈçÀàÐÍ°²È«¡¢¼Ì³Ð¡¢ÓïÑÔ»¥²Ù×÷ÐԺͰ汾¿ØÖÆ¡£II
Ïà¹ØÎĵµ£º
ASP.NETÒ³Ã滺´æµÄ¼¸µãÌå»á
¾¡¹Ü±¾ÎĵÄ×÷ÕßдµÄºÜ¼òµ¥£¬µ«ÊÇÏàÐÅͨ¹ýÕâЩÎÄ×Ö£¬»¹ÊÇÄܶԴó¼ÒÁ˽âASP.NETÒ³Ã滺´æÓкܴóµÄ°ïÖú¡£
Ç°¼¸ÌìÓöµ½¸öÎÊÌ⣬°Ù˼²»µÃÆä½â¡£ºóÀ´²éÔÄÁËһЩ×ÊÁÏÐÄÀï²ÅÓÐÁ˵ã˼·¡£°Ñ×Ô¼ºÓöµ½µÄÎÊÌâ¼Ç¼ÏÂÀ´Ï£ÍûÄܸøÆäËûµÄÔ°ÓÑһЩ°ïÖú°É¡£
ÊÂÇéÊÇÕâÑùµÄ¡£ÎÒµÄÒ»¸öASP.NETÒ³ÃæÓÃwindow.openµ¼º½ºó ......
ÔÚ×öASPÏîÄ¿µÄʱºò£¬ÅжÏÓû§ÊÇ·ñµÇ½³£Óõķ½·¨ÊÇÔÚÿ¸öÒ³ÃæÅжÏsessionÊÇ·ñ´æÔÚ£¬
ÎÞÄÎÓÃjavaµÄʱºò¹ýÂËÆ÷¾ÍÓõIJ»Êì¡£¡£¡£»¹ÊÇÓü̳аɡ£º¹¡£¡£¡£
н¨Ò»¸öÀà
Csharp ´úÂë
using System;
using System.Web;
using System.Web ......
using System;
using System.Collections;
using System.Configuration;
using System.Data;
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 Sy ......
ÕâÀïÎÒÃǽ«½éÉÜASP.NET»º´æµÄ¹¤×÷ÔÀí£¬°üÀ¨¼òµ¥µÄ¶¨Ò壬Êý¾Ý»º´æÒÔ¼°»º´æµÄÉèÖõȵÈÄÚÈÝ¡£Ï£Íû±¾ÎÄÄܶԴó¼Ò½ñºóµÄ¹¤×÷ÓÐËù°ïÖú¡£
ÈçºÎ±ÜÃâASP.NET»º´æÕ¼ÓÃϵͳ×ÊÔ´
ÔÙ̸ASP.NET»º´æ»úÖÆ£º¿ª·¢Ð§ÂÊÓëÓÅ»¯µÄ..
ASP.NET»º´æ»úÖÆ»ù´¡¸ÅÄî
ASP.NET»º´æÊý¾ÝÌí¼Ó·½·¨Ò»ÀÀ
ASP.NET»º´æÊý¾Ý¼¼ÇÉÈýÔò
½éÉÜ
»º´æÊÇÔÚÄÚ´æ´ ......
ÒªÏëÁ˽âasp.net 2.0µÄÒì²½Ò³µÄ´¦Àí¹ý³Ì,ÏÈÁгöÒ³ÃæµÄÉúÃüÖÜÆÚ£º
1 £ºInit ʼþ£º Ò³Ãæ³õʼ»¯ £¬³õʼ»¯ÉèÖá£
2£º LoadViewState·½·¨£º ¼ÓÔØÊÓͼ״̬£¬ Ìî³äViewStateÊôÐÔ¡£
3 £ºLoadPostData·½·¨£º ´¦Àí»Ø·¢Êý¾Ý£¬ ´¦Àí´«Èë´°ÌåÊý¾Ý¡£
4£º Load ʼþ£º ¼ÓÔØÒ³Ãæ £¬Ò³Ãæ¿Ø¼þ³õʼ»¯Íê³É²¢·´Ó³ÁË¿Í»§¶ËµÄÊý¾Ý¡£
5 £ºRa ......