【正文】
efault ? And disabled on upgrades ? IIS serves static files by default ? 404’s for disabled application extensions () ? Substatus codes logged in W3C logs by default now ? Only 404 sent to client ? , FPSE, amp。 Run in the MTA ? When on .NET Server: Run COM+ ponents in process (Local Server) 如何編寫更好的程序? ? ISAPI ? Review for best practices ? Don’t execute on the IIS thread, maintain small threadpool ? Use Async IO wherever possible (that includes using Async version of VectorSend and WriteClient() ? Rearchitect ISAPI filters into extensions ? Consider changing WriteClient calls to VectorSend and specify FinalSend flag when plete ? Determine if certain dynamic responses can be stale。 to publish via for Intra or Dev server ? Or just enable to allow apps to be served. Demo: Web Service Extensions Console Making .NET Applications More Manageable Metabase improvements ? XML Metabase ? Metabase now stored in XML ? Autoversioning: Like an automatic backup ? Edit while running ? Make changes directly to the file while IIS is running ? Any editor can be used – , PERL, etc. Admin Base Objects ADSI UI Making .NET Applications More Manageable Metabase improvements – Import/export ? Export/import metabase config to/from XML ? Options include ? Export/Import inherited properties ? Export/Import node only (or entire subtree) ? Password encrypt exported file ? Use w/ASP .NET XCOPY deployment of apps 1. Export IIS6 metabase config for .NET app 2. store in .NET app directory 3. Import app metabase config file after XCOPY Admin Base Objects ADSI UI demo 運(yùn)行中更改 配置除據(jù)庫 (metabase) 程序設(shè)計(jì)環(huán)境 : Web應(yīng)用程序的可伸縮性(Scalability) ? Stateless ? Application code and ponents can be restarted cheaply。 FTP not installed by default ? enabled when installed ? Only Known extensions served ? Unknown extension = ? New Security Console used to enable app extensions: ? Individual ISAPI extensions and CGI’s ? Example: Enable FPSE amp。 If true, cache them 閱讀 參考: ? Inter Information Server (IIS) 6 Overview ? evaluate/?frame=true ? ASP .NET Performance Tips ? %20Performance%20Tips%20and% ? Managed Code Analysis Tools ? Intel’s VTune vtune60/ ? Numega’s TrueTime ? Sessions ? DEV330: ASP .NET: Performance Tuning and Caching