易截截图软件、单文件、免安装、纯绿色、仅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 mvc浏览器缓存和压缩的实现

cache在开发高可扩展性的web应用中起着至关重要的作用,我们可以按照预定的时间将任何get请求缓存到浏览器中,如果在预定的时间内用户请求同一URL那么response就会通过浏览器的cache来实现而非server。可以通过下面的action filter在ASP.NET MVC应用中实现同样的功能:
using System;
using System.Web;
using System.We ......

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

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

认识ASP.NET配置文件Web.config

一、认识Web.config文件
Web.config文件是一个XML文本文件,它用来储存 ASP.NET Web 应用程序的配置信息(如最常用的设置ASP.NET Web 应用程序的身份验证方式),它可以出现在应用程序的每一个目录中。当你通过VB.NET新建一个Web应用程序后,默认情况下会在根目录自动创建一个默认的
Web.config文件,包括默认的配置设置 ......

【转】ASP.NET中常用到的27个函数集

1、DateTime 数字型
以下是引用片段:
System.DateTime currentTime=new System.DateTime();
1.1 取当前年月日时分秒 currentTime=System.DateTime.Now;
1.2 取当前年 int 年=currentTime.Year;
1.3 取当前月 int 月=currentTime.Month;
1.4 取当前日 int 日=currentTime.Day;
1.5 取当前时 int 时=currentTi ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号