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

asp.net ÖÐʵÏÖÒ³ÃæÃ¿¸ôÒ»·ÖÖÓË¢ÐÂÒ»´ÎµÄЧ¹û

ÔÚGlobal.asax
ÐèÒª»Ø¹ËµÄ֪ʶµãÊÇ Ïß³Ì ºÍ  Îı¾ÎļþµÄ¶Áд¡£
<%@ Application Language="C#" %>
<%@ Import Namespace="System.IO" %>
<%@ Import Namespace="System.Threading" %>
<script runat="server">
    string logpath;
    Thread thread;
    void writelog()
    {
        while (true)
        {
            StreamWriter sw = new StreamWriter(logpath, true, Encoding.UTF8);
            sw.WriteLine(thread.Name + ":" + DateTime.Now.ToString());
            sw.Close();
            Thread.CurrentThread.Join(1000 * 60);
        }
    }
    void Application_Start(object sender, EventArgs e)
    {
        // ÔÚÓ¦ÓóÌÐòÆô¶¯Ê±ÔËÐеĴúÂë
  
        logpath = HttpContext.Current.Server.MapPath("log.txt");
        thread = new Thread(new ThreadStart(writelog));
        thread.Name = "дÈëµÇ½ÈÕÖ¾Ïß³Ì";
        thread.Start();
       
    }
   
    void Application_End(object sender, EventArgs e)
    {
        //  ÔÚÓ¦ÓóÌÐò¹Ø±ÕʱÔËÐеĴúÂë
     
    }
       
    void Application_Error(object sender, EventArgs e)
    {
        // ÔÚ³öÏÖδ


Ïà¹ØÎĵµ£º

ASP.NET ¿çÒ³´«µÝ

Ò»¡¢ÏìÓ¦ÖØ¶¨Ïò·½·¨
ÏìÓ¦ÖØ¶¨Ïò·½·¨ÊÇĿǰΪֹ½«Ò»¸öÍøÒ³ÖØ¶¨Ïòµ½ÁíÒ»¸öÍøÒ³µÄ×î¼òµ¥µÄ·½·¨µÄ×î¼òµ¥µÄ·½·¨¡£µ±Web·þÎñÆ÷½Óµ½Ò»¸öÖØ¶¨ÏòÇëÇóºó£¬Ëü»á½«Ò»¸öÏìӦͷË͸ø¿Í»§¶Ë£¬Õ⽫µ¼Ö¿ͻ§¶Ë·¢ËÍÒ»¸öеÄÇëÇóµ½·þÎñÆ÷¡£°´¾ä»°Ëµ£¬Ò»¸öÖØ¶¨ÏòÇëÇóʵ¼ÊÉÏÊÇÁ½¸öÇëÇóÏìÓ¦£ºÒ»¸öÊÇ×î³õµÄÇëÇóÏìÓ¦£¬ÁíÒ»¸öÊÇеÄÖØ¶¨ÏòÇëÇóÏìÓ¦¡ ......

´´½¨ASP.NET WEB×Ô¶¨Òå¿Ø¼þ

±¾ÎÄͨ¹ýÒ»¶ÎÍêÕûµÄ´úÂëÏò¶ÁÕß½éÉܸ´ºÏ×Ô¶¨Òå¿Ø¼þµÄÖÆ×÷£¬°üÀ¨£º×Ô¶¨ÒåÊôÐÔ¡¢Ê¼þ´¦Àí¡¢¿Ø¼þ¼äÊý¾Ý´«µÝµÈ·½ÃæµÄ¼¼Êõ¡£
ÒÔÏÂÊÇÒ»¸öµÇ½¿òµÄ´úÂ룬°üÀ¨£ºÓû§ÃûÊäÈëTextBox¡¢ÃÜÂëÊäÈëTextBox¡¢Ìá½»Button¡¢ÖØÖÃButtonÒÔ¼°³ÐÔØÒÔÉÏËÄÏîµÄPanel¡£¿Ø¼þÀàÃûΪLoginCtrl¡£
£¨Àý³ÌʹÓÃC#£©
using System;
using System.Web.UI; ......

FCKeditor 2.X ÔÚ Asp.NetÖеÄÉèÖÃ

FCKeditorÏà¹Ø×ÊÁϼò½é£º
¹Ù·½ÍøÕ¾http://www.fckeditor.net/
¹Ù·½Îĵµhttp://wiki.fckeditor.net/
ÏÂÔØµØÖ·http://www.fckeditor.net/download/default.html
¹Ù·½ÑÝʾhttp://www.fckeditor.net/demo/default.html
FCKEditor asp.netÉèÖÃ
ÏÂÔØ£ºhttp://www.fckeditor.net
£¨ÒªÏÂÔØFCKeditor2.4.2.zipºÍFCKeditor.NET ......

asp.net 2.0 ÏÂµÄ±íµ¥ÑéÖ¤CookielessÊôÐÔ

ÔÚ²»Ö§³ÖCookiesµÄÒÆ¶¯É豸ģÄâÆ÷ÖÐÎÞ·¨Õý³£½øÐÐ±íµ¥ÑéÖ¤,ÁªÏëµ½×òÌìʹÓÃweb.configÉèÖÃcookielessÊôÐÔʱ»áÔÚ·ÃÎÊʱ»á³öÏÖ"Cannot use a leading .. to exit above the top directory"µÄÒì³£,×ÔÈ»¶øÈ»µÄÎÒ¾ÍÏëµ½ÁËǰһ¶Îʱ¼äÀ§ÈÅÎҺܾõÄÒ»¸öÕ¾µãÒì³£ÎÞ·¨Ê¹ÓÃǰµ¼ .. ÔÚ¶¥¼¶Ä¿Â¼ÉÏÍ˳ö(Cannot use a leading .. to exit abo ......

×Ôд±£´æ×Ö·û´®»òÎļþΪasp.net»º´æµÄÀà

using System;
using System.Text;
using System.Web;
using System.IO;
namespace Chsword {
    /// <summary>
    /// ³É»Ã»¥Áª»º´æÀà
    /// ×Þ½¡ 2007.5
    ///  ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ