asp.net²Ù×÷ÅäÖÃÎļþ
ÓÉÓÚÏîÄ¿ÖжദÐèÒª¶ÔÅäÖÃÎļþ½øÐвÙ×÷£¬ÈçÅäÖÃÐÅÏ¢µÄ¶ÁÈ¡¡¢¸ü¸ÄºÍдÈ룬ÐèÒªÒ»¸öͨÓõÄÀàÀ´¶ÔÆä½øÐвÙ×÷ºÍ´¦Àí¡£Õâ´ÎµÄÈÎÎñ¾ÍÊÇÅäÖýڵÄһЩÓ÷¨¡£
Õâ´ÎÉý¼¶ºóµÄ¿ª·¢¹¤¾ßÊÇ»ùÓÚVS2005µÄ£¬·ÖÎöÁËVS2005 ÐÂÔöµÄһЩ¹¦ÄÜ£¬Ëü×Ô´øÁËÒ»Ì×ÅäÖÃÎļþÖнáµãµÈµÄÅäÖá£Ä¿Ç°µÄÏîÄ¿ÓõÄÅäÖÃÎļþ¶¼ÊÇϵͳ×Ô´øµÄ£¬Òò´Ë£¬Õâ´ÎµÄÈÎÎñÖ÷ÒªÊǶÔVS2005ÅäÖÃÀàµÄһЩ½éÉܼ°À©³ä£¨Óû§×Ô¶¨ÒåÅäÖýڵãµÄ²Ù×÷£©¡£ÈÎÎñ·ÖΪÁ½¸ö´ó·½Ïò£¬Ò»¸öÊÇÕë¶ÔWebÏîÄ¿£¨¶ÔÓ¦µÄÅäÖÃÎļþΪweb.config£©£¬ÁíÒ»¸öÊÇÕë¶ÔWinFormÏîÄ¿¡£ÏÂÃæµÄÕ½ÚÖ÷Òª¸ÅÒªµØ½éÉÜÒ»ÏÂVS2005ÖÐÅäÖÃÏîµÄÓ÷¨
1. Web 씀1.1 ϵͳ×Ô´ø
ÔÚVS2005ÖУ¬ÎÒÃÇ¿ÉÒÔͨ¹ýϵͳ×Ô´øµÄ¹ÜÀíÀàÀ´¶ÁÈ¡ºÍÐÞ¸ÄÏàÓ¦KeyËù¶ÔÓ¦µÄValueÖµ£¬¾ßÌåµÄ·½·¨ÈçÏ£¨×¢Ò⣺ÓÉÓÚkeyÊÇÖ®¶ÁÊôÐÔ£¬Òò´ËÖ»ÄÜÐÞ¸ÄÓëkeyÏà¶ÔÓ¦µÄValueÖµ£©£º
´«ÈëÏàÓ¦µÄKeyÖµ£¨ÈçTest£©£¬Í¨¹ýµ÷ÓÃConfigurationManager.AppSettings["Test"] .Value¼´¿É»ñµÃ¶ÔÓ¦µÄValueÖµ
1£© ´ò¿ªÅäÖÃÎļþ£¨Web.config£©
¡¡¡¡Configuration config = WebConfigurationManager.OpenWebConfiguration("~");
2£© »ñÈ¡ÏàÓ¦µÄappSettingsÅäÖýÚ
¡¡ AppSettingsSection appSection = (AppSettingsSection)config.GetSection("appSettings");
3£© Ôö¼ÓÏàÓ¦µÄappSettingsÅäÖýÚ
¡¡ Ôö¼Ó Key – Value µÄ¼üÖµ¶Ô£¨Èç ”Test” – “Hello”£© appSection.Settings.Add("Test", "Hello");
4£© ±£´æÅäÖýÚ
config.Save(ConfigurationSaveMode.Modified)
1£© ´ò¿ªÅäÖÃÎļþ£¨Web.config£©
Configuration config = WebConfigurationManager.OpenWebConfiguration("~");
2£© ´«ÈëKeyֵͨ¹ýµ÷ÓÃÏÂÃæ·½·¨À´»ñÈ¡¶ÔÓ¦µÄÖµ
Èç´«ÈëKeyΪTest²ÎÊýÀ´»ñÈ¡¶ÔÓ¦Öµ£ºwebConfig.AppSettings.Settings["Test"].Value
3£© ±£´æÅäÖýÚ
config.Save(ConfigurationSaveMode.Modified)
±£´æµÄ¹¹Ô캯ÊýÓÐÈýÖÖ£º
1¡¢²»´ø²ÎÊý
&
Ïà¹ØÎĵµ£º
public ActionResult LoadRegionPerformance(TGProject.Models.WModels.TgsOutachiveCondition condition)
{
Account account = (Account)Session["Account"];
var questions = SP.TgsAreaShow(int.Parse(account.AREAID.ToString()));
List< ......
ÓÃASP.NETÓÐÒ»¶Îʱ¼äÁË£¬µ«×ܾõµÃ»¹ÊÇÒ»Ö±¸¡ÓÚ±íÃæ£¬¶Ô¿Ø¼þ¿ª·¢ÖªÖ®ÉõÉÙ£¬¹Ê½üÆÚ¿ªÊ¼¶ñ²¹Õâ·½ÃæµÄÄÚÈÝ¡£ÒªÅÜÌâÁË£¬»¹ÊÇÏȻعËÒ»ÏÂÓ¦¸ÃÈçºÎÉÏÊÖASP.NET£¬¸ø¸Õ¿ªÊ¼½Ó´¥ËüµÄͬ־һµãÖ¸Òý£º
1¡¢ÅªÇå³þʲôÊÇ.NET£ºËµ°×ÁËËü¾ÍÊÇÒ»Ì׿ؼþ°ü£¬Ò»°ã±»Ëµ³É¿ò¼Ü£¬ÀàËÆÓÚMFC»òÕßDELPHIµÄVCLµÈµ ......
Ö§¸¶±¦µÄ½Ó¿Úµ÷Óúܲ»·½±ã£¬¸Õ×öºÃÒ»¸ö·â×°£¬ÊµÏÖÁËÐéÄâ½»Ò׺ÍʵÎï½»Òס£
½â¾ö·½°¸ÖÐÓÐÈý¸öÏîÄ¿ÒÔ¼°NDocÉú³ÉµÄÎĵµ£¬¼òµ¥µÄÐòÁÐͼ£ºCommonAliPay£¬·â×°µÄÖ§¸¶±¦½Ó¿Ú¡£
TestAli,asp.netµÄ²âÊÔÏîÄ¿
TestCommonAliPay£¬NunitµÄ²âÊÔÏîÄ¿¡£
µ÷Ó÷½·¨£º
1¡¢ÒýÈëCommonAliPay.dll
2¡¢ÊµÏÖÖ§¸¶±¦·þÎñ½Ó¿ÚµÄ·½·¨µ÷Ó÷½Ê½£º
......
¹Ø¼üÔÚÉÏ´«µÄʹÓÃÓõ½ÁËupload.aspx,¶øÕâ¸öÒ³ÃæÄ¬ÈϵıàÂëͳһΪutf-8,ËùÒÔÎÒÃÇÒª¸øËü¸Ä±äһϡ£ÔÚÄãµÄweb.configÖÐÔö¼Ó´Ë×Ö¶Î
<location path="fckeditor/editor/filemanager/connectors/aspx/upload.aspx">
<system.web>
<globalization req ......
µ¥Î»ÓÐһ̨ÏÐÖÃµÄ¾É IBM Netfinity 7000 µÄ·þÎñÆ÷£¬Ë« Pentium Pro 200 MHz CPU£¬512 MB Äڴ棬һ¸ö 9.1 GB ºÍÎå¸ö 4.5 GB µÄ SCSI Ó²ÅÌ¡£ÎÒÏ뽫Æä·ÏÎïÀûÓÃһϣ¬ÓÚÊÇ£º
1. µ½ http://tw.releases.ubuntu.com/edgy/ ÏÂÔØ PC (Intel x86) server install CD £¬½«ÏÂÔØµÃµ½µÄ ubuntu-6.10-server-i386.iso Îļþ¿Ì¼һÕÅ ......