Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ASP.NETÌí¼Ó¡¢Ð޸ġ¢É¾³ýweb.configÅäÖÃÐÅÏ¢


  ASP.NETÌí¼Ó¡¢Ð޸ġ¢É¾³ýweb.configÅäÖÃÐÅÏ¢
  1 using System;
    2 using System.Data;
    3 using System.Configuration;
    4 using System.Collections;
    5 using System.Web;
    6 using System.Web.Security;
    7 using System.Web.UI;
    8 using System.Web.UI.WebControls;
    9 using System.Web.UI.WebControls.WebParts;
   10 using System.Web.UI.HtmlControls;
   11 using System.Xml;
   12 using study.pctoday.net.cn 
   13 public partial class Default2 : System.Web.UI.Page
   14 {
   15     protected void Page_Load(object sender, EventArgs e)
   16     {
   17         Configuration config = System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration(Request.ApplicationPath);
   18 
 
 
   19         //²Ù×÷appSettings
   20         AppSettingsSection appseting = (AppSettingsSection)config.GetSection("appSettings");
   21         appseting.Settings["web"].Value = "Ö£ÉÙȺ";            //ÐÞ¸ÄÉèÖÃ
   22         appseting.Settings.Add("name", "Ö£ÉÙȺ");               //Ôö¼ÓÉèÖÃ
   23 
 
 
 
   24         //²Ù×÷connectionStrings
   25     &nbs


Ïà¹ØÎĵµ£º

ASP.NET¾­µäÃæÊÔÌâ

1. ¼òÊö private¡¢ protected¡¢ public¡¢ internal ÐÞÊηûµÄ·ÃÎÊȨÏÞ¡£
´ð . private : ˽ÓгÉÔ±, ÔÚÀàµÄÄÚ²¿²Å¿ÉÒÔ·ÃÎÊ¡£
protected : ±£»¤³ÉÔ±£¬¸ÃÀàÄÚ²¿ºÍ¼Ì³ÐÀàÖпÉÒÔ·ÃÎÊ¡£
public : ¹«¹²³ÉÔ±£¬ÍêÈ«¹«¿ª£¬Ã»ÓзÃÎÊÏÞÖÆ¡£
internal: ÔÚͬһÃüÃû¿Õ¼äÄÚ¿ÉÒÔ·ÃÎÊ¡£
£¨partial ÔÊÐí½«Àà¡¢½á¹¹»ò½Ó¿ÚµÄ¶¨Òå²ð·Öµ½¶à¸ ......

ASP.NET 2.0»º´æ¼¼Êõ̽ÌÖ

±¾ÎĽéÉÜͨ¹ý»º´æÀ´Ìá¸ßÍøÒ³µÄÖ´ÐÐЧÂÊ¡£
¡¡¡¡1.¡¡¡¡¡¡¡¡¡¡¡¡ ASP.NET Output Caching
¡¡¡¡µ±Ò»¸öÍøҳƵ·±±»·ÃÎʵÄʱºò£¬ÎÒÃÇ¿ÉÒÔͨ¹ý°ÑÕû¸öÍøÒ³»º´æÀ´Ìá¸ßÖ´ÐÐЧÂÊ¡£ÕâÑù×÷µÄÓŵãÊÇ£¬µ±Óû§ÔٴηÃÎÊÕâ¸öÍøÒ³µÄʱºò£¬±»¸ñʽ»¯ºÃµÄHTML»á±»Ö±½ÓËÍÏÔ¡£
¡¡¡¡ÎªÊ²Ã´»á´æÔÚÕâÖÖЧ¹ûÄØ£¿ÎÒÃÇͨ¹ýASP.NETµÄ»ù±¾ÔËÐлúÖÆÀ´½âÊÍÕ ......

ASP.NET¶ÔÇëÇó´¦ÀíµÄ¹ý³Ì

ASP.NET¶ÔÇëÇó´¦ÀíµÄ¹ý³Ì
µ±ÇëÇóÒ»¸ö*.aspxÎļþµÄʱºò£¬Õâ¸öÇëÇó»á±»inetinfo.exe½ø³Ì½Ø»ñ£¬ËüÅжÏÎļþµÄºó׺£¨aspx£©Ö®ºó£¬½«Õâ¸öÇëÇóת½»¸ø ASPNET_ISAPI.dll£¬ASPNET_ISAPI.dll»áͨ¹ýhttp¹ÜµÀ£¨Http PipeLine£©½«ÇëÇó·¢Ë͸øASPNET_WP.exe½ø³Ì£¬ÔÚASPNET_WP.exe½ø³ÌÖÐͨ¹ýHttpRuntimeÀ´´¦ÀíÕâ¸öÇëÇ󣬴¦ÀíÍê±Ï½«½á¹û·µ»Ø ......

ÕýÈ·ÈÏʶWebFormÓëAsp.NET MVC

1.´«Í³WebForm¿ª·¢ÖдæÔÚµÄһЩÎÊÌâ
 ´«Í³µÄASP.NET¿ª·¢ÖУ¬Î¢ÈíµÄ¿ª·¢ÍŶÓΪ¿ª·¢ÕßÉè¼ÆÁËÒ»¸öÔÚ¿ÉÊÓ»¯Éè¼ÆÆ÷ÖÐÍϷſؼþ£¬±àд´úÂëÏìӦʼþµÄ¿ìËÙ¿ª·¢»·¾³¡£È»¶ø£¬ËüËù´øÀ´µÄ¸ºÃæЧӦÊÇ£º 
 ÓÉÓڿؼþ·â×°Á˺ܶණÎ÷£¬¿ª·¢ÕߺÜÄÑÁ˽âÕâ±³ºóµÄHTMLÊÇÈçºÎÔË×÷µÄ
ÈÝÒ׵õ½Ò»¸ö°üº¬´óÁ¿ViewStateµÄÒ³Ã棬ʹµÃÒ ......

asp.net mvcÖÐckeditor+ckfinderµÄÅäÖ÷½·¨

¿ªÔ´ÍøÒ³±à¼­Èí¼þFCKEditorÔÚ09Äê·¢²¼¸üе½3.0£¬²¢¸ÄÃûΪCKEditor¡£¸Ä½øºóµÄckeditor¸ü¼ÓÄ£¿é»°£¬ÅäÖøü¼ÓÁé»î£¬ºÍÒÔÇ°µÄfckeditorʹÓ÷½Ê½ÉÏÒ²ÓÐËù²»Í¬¡£ÔÚÎÒµÄmvcÏîÄ¿ÖÐÓÉÓÚÒªÓõ½ ckeditor£¬ÌØÒâÑо¿ÁËÏÂËüµÄʹÓ÷½·¨£¬Ð´ÏÂÀ´ºÍ´ó¼Ò·ÖÏí¡£
ÎÒÓõÄÊÇ×îа汾µÄ£ºckeditor_3.0.1  ÏÂÔصØÖ·£ºhttp://ckeditor.com/
......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ