易截截图软件、单文件、免安装、纯绿色、仅160KB

ASP.NET Web Developer Checklist




The following is a simple checklist you can use when building web
applications.  Much of this still applies to other technologies and can
easily be extended.  I try not to get too specific on technology or
methodology, but it is definitely leaning toward ASP.NET.
If you
can think of something I am missing or disagree, please leave a
comment.  Detailed information follows the checklist.
How much
of the checklist you follow will depend on the project.  If its just a
hobby site, you may skip items like load testing, but as the site grows
you will likely need to check off more and more items.  Some items, like
separation of logic should just be done from the start.  In any case,
you should make an actual decision to ignore the item.  This is much
better than just forgetting to do it.
The Check List
Everywhere
Use source control.
Be consistent with naming
conventions.
Create documentation.
Backup
everything.
Use code analysis tools.
Database
Use non-clustered indexes on unique identifier columns.
Setup foreign key relationships.
Use a last updated
timestamp column.
Add simple audit columns or a history
table.
Analyze and tune your database.
Business
Logic
Clearly separate business and data logic.
Use some standard patterns and stick with them.
Do not
duplicate rules.  Data is okay.
Create unit tests.
Web Interface
Make the site accessible.
Use
resource files.
Minimize use of server controls.
Separate
your HTML, JavaScript and CSS.
Minimize ViewState.
Pay
attention to search engine optimization.
Clearly separate
presentation and business logic.
Don’t forget a site map,
favicon and search provider.
Create user interface unit
tests.
Check your site with YSlow.
Load test the
site.
Security test the site.
Use a hosting
provider.
Minify and combine resources.
Turn on
IIS compression.
Process
Stay agile.
Vision before you design.


相关文档:

ASp.NET 2.0中Page事件的执行顺序

Page 执行中将按照如下顺序激活事件:
Page.PreInit
Page.Init
Page.InitComplite
Page.PreLoad
Page.Load
Page.LoadComplete
Page.PreRender
Page.PreRenderComplete
如果页面从令一个页面继承,如BasePage:System.Web.UI.Page,在BasePage中做了一些扩展,如权限检查,而其他页面从BasePage继承,则BasePage和最 ......

ASP.NET 中页面之间的参数传递

总结出以下几个传递参数的方法:
第一种方法:
通过URL链接地址传递
send.aspx:
protected void Button1_Click(object sender, EventArgs e)
    {
        Request.Redirect("Default2.aspx?username=honge");
    }
receive.aspx:
s ......

ASP.NET Theme

转自:http://www.cnblogs.com/sunrack/archive/2009/10/16/1584427.html
theme就是一系列属性设置,利用它可以定义页面和空间的外观。它控制的范围可以是某些网页、整个web应用程序,甚至可以是一个服务器上的所有Web应用。
theme和控件皮肤
theme由一系列元素组成:皮肤、css、图片以及其它资源。它至少包含皮肤。the ......

【转】理解ASP.NET中的三层中的DAL、BLL和USL

一、三层体系架构  1.表示层(USL):主要表示WEB方式,也可以表示成WINFORM方式。如果逻辑层相当强大和完善,无论表现层如何定义和更改,逻辑层都能完善地提供服务。
  2.业务逻辑层(BLL):主要是针对具体的问题的操作,也可以理解成对数据层的操作,对数据业务逻辑处理。如果说数据层是积木,那逻辑层就是对这些积木的 ......

ASP.NET页生命周期概述

ASP.NET页生命周期的定义,有以下8个方面:页请求,开始,页初始化,页加载,验证,回发事件,呈现,卸载。
ASP.NET 页运行时,此页将经历一个生命周期,在生命周期中将执行一系列处理步骤。这些步骤包括初始化、实例化控件、还原和维护状态、运行事件处理程序代码以及进行呈现。了解页的生命周期非常重要,这样就能在合适 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号