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

ËÑË÷ÒýÇæ asp.net »ù±¾ÓÅ»¯

ÉèÖÃ×é¼þ
<configSections> 
    <section name="rewriter"  requirePermission="false" type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intelligencia.UrlRewriter"/>
</configSections>
ÉèÖÃÄ£¿é
<httpModules>
    <add type="Intelligencia.UrlRewriter.RewriterHttpModule,Intelligencia.UrlRewriter" name="UrlRewriter" />
</httpModules>
ÉèÖÃÖØÐ´¹æÔò
<rewriter>
    <!--
        ×¢²á×Ô¶¨Ò广Ôò ¶ÔÓ¦ÏÂÃæRule ±ê¼Ç £¬¿ÉÒÔ¸ù¾Ý(×Ô¶¨ÒåÀàÃû.Name)ÊôÐԵľßÌå·µ»ØÖµ¾ö¶¨±ê¼ÇÃû³Æ¡£
    -->
    <register parser="Test.RewriteActionParser, Test" />
    <!--
        rule Ϊ×Ô¶¨Ò广Ôòʶ±ð±ê¼Ç¶ÔÓ¦×Ô(¶¨Ò广ÔòÀà.name)ÊôÐÔ
        url ¶¨ÒåÔ´µØÖ·£¬ÔÚrequest.locationÖаüº¬ÏàÓ¦µØÖ·
        to ÖØÐ´Ä¿±êµØÖ·£¬½«request.locationÆ´½ÓÖµ´ËµØÖ®ºóÖØÐ´
    -->
    <Rule url="~/d" to="~/default.aspx" />
  </rewriter>
×Ô¶¨Ò广ÔòÀà
Public Class RewriteActionParser
    Implements IRewriteActionParser
    Public ReadOnly Property AllowsAttributes() As Boolean Implements Intelligencia.UrlRewriter.IRewriteActionParser.AllowsAttributes
        Get
            Return True
        End Get
    End Property
    Public ReadOnly Property AllowsNestedActions() As Boolean Implements Intelligencia.UrlRewriter.IRewriteActionParser.AllowsNestedActions
        Get
            Return False
        End Get
    E


Ïà¹ØÎĵµ£º

asp.net¶ÏµãÐø´«¼¼Êõ

¶ÏµãÐø´«µÄÔ­Àí
  ÔÚÁ˽âHTTP¶ÏµãÐø´«µÄÔ­Àí֮ǰ£¬ÏÈÀ´ËµËµHTTPЭÒ飬HTTPЭÒéÊÇÒ»ÖÖ»ùÓÚtcpµÄ¼òµ¥Ð­Ò飬·ÖΪÇëÇóºÍ»Ø¸´Á½ÖÖ¡£ÇëÇóЭÒéÊÇÓɿͻ§»ú(ä¯ÀÀÆ÷)Ïò·þÎñÆ÷(WEB SERVER)Ìá½»ÇëÇóʱ·¢Ëͱ¨ÎĵÄЭÒé¡£»Ø¸´Ð­ÒéÊÇÓÉ·þÎñÆ÷(web server)£¬Ïò¿Í»§»ú(ä¯ÀÀÆ÷)»Ø¸´±¨ÎÄʱµÄЭÒé¡£ÇëÇóºÍ»Ø¸´Ð­Òé¶¼ÓÉÍ·ºÍÌå×é³É¡£Í·ºÍÌåÖ® ......

flexÉÏ´«Îļþ(flex+asp.net)

·Ï»°²»Ëµ£¬Ö±½Ó´úÂ벿·Ö´úÂëÕª³­×ÔÍøÉÏ£¬ÔÚ´ËÏëÔ­×÷Õß±íʾ¸Ðл
1¡¢·þÎñ¶Ë uploadFile.ashx
<%@ WebHandler Language="VB" Class="UploadFile" %>
Imports System
Imports System.Web
Imports System.Web.HttpServerUtility
Imports System.IO
Imports System.Web.HttpRequest
Public Class UploadFile : Impl ......

Comet:Jquery+asp.netʵÏÖhttp³¤Á¬½Ó(LongPoll)

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="JqueryAjaxLongPoll.aspx.cs" Inherits="JqueryAjaxLongPoll" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" & ......

asp.netĸ°åÒ³ÒýÓÃÎļþµÄ·¾¶ÎÊÌâ

1. ͼƬÎÊÌâ
·Ç³£ºÃ½â¾ö
<img runat="server" src="~/images/ad468x60.gif" alt="" />
¼ÓÉÏrunat="server" £¬Â·¾¶Ê¹Óþø¶Ô·¾¶~/»ù±¾ÉϾÍOKÁË¡£
2. CSSÎļþÒýÓÃ
<link rel="stylesheet" type="text/css" href="style.css" />
ÕâÀïÉñÆæµÄ¾ÍÊÇlinkµÄÎļþµÄhrefÊÇËæ×ű»·ÃÎÊÎļþµÄĿ¼½á¹¹×Ô¶¯µ÷Õû£¬Ëµ°×Á˾ ......

ASP.NETÉÏ´«´óÓÚ4MµÄÎļþµÄÏà¹ØÉèÖÃ

²½Öè1£º
ÐÞ¸Äwin2003ÉÏ´«ÏÞÖÆ£¬ÕÒµ½windows\system32\inserv\metabase.xmlÎļþ
½«ÆäÖеġ¡aspmaxrequestentityallowed= µÄÖµ¸ÄΪ1073741824¡¡£¨1G£©
×¢ÒâÐÞ¸ÄǰҪֹͣIISµÈ·þÎñ¡£
²½Öè2£º
Èç¹ûÄã×°µÄÊÇnet1.1£¬ÇëÕÒµ½windows\...\v1.1.4322\config\machina.configÎļþ£¬½«execution timeout¸ÄΪ36000
½ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ