Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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×Ô¶¯¸øURL¼ÓÉϳ¬Á´½Ó

×÷Ϊһ¸ö³ÌÐòÔ±£¬ÔÚÍê³ÉÉè¼Æºó»¹Òª¸ù¾Ý³ÌÐòµÄÇé¿öÒÔ¼°Óû§µÄ·´Ó³²»¶Ï¶Ô³ÌÐò½øÐиĽø£¬ÕâÑù²ÅÄܲ»¶ÏµØÍêÉÆ×Ô¼ºµÄ×÷Æ·¡£±ÊÕßÔÚÖÆ×÷ÍêÈí¼þÉÌÎñÍøµÄÂÛ̳ºó£¬·¢ÏÖÈËÃÇ×Üϲ»¶ÔÚÌû×ÓÖмÓÉϸ÷ÖÖÓÐÓõÄURLÁ´½Ó»òEmailµØÖ·¡£¶ø±ÊÕßµ±³õÉè¼ÆʱûÓп¼Âǵ½ÕâÒ»µã£¬Ê¹µÃÕâЩURLÁ´½Ó»òEmailµØÖ·Ö»ÄÜÒÔÎÄ×ÖµÄÐÎʽ¶ø²¢²»ÊÇÒÔ³¬Á´½ÓµÄÐÎʽÏÔʾ ......

ASP.NETË¢ÐÂÒ³Ãæ

      µÚÒ»£º
private void Button1_Click( object sender, System.EventArgs e )   
{
     Response.Redirect( Request.Url.ToString( ) );
}
 
µÚ¶þ£º
private void Button2_Click( object sender, System.EventArgs e )   
{ ......

ÀûÓÃASP.NETʵÏÖwebÌ×´ò

×î½ü£¬Òª°ÑÒ»¸öC/S½á¹¹µÄ³ÌÐò¸Ä³ÉB/S½á¹¹¡£ÆäÖоÍÓöµ½ÁË´òÓ¡µÄÎÊÌâ¡£Ñо¿ÁËһϣ¬webÏ´òÓ¡·½·¨´ó¸ÅÓÐÕâô¼¸ÖÖ£º
1¡¢ÀûÓÃIEÖ±½Ó´òÓ¡£¬ÕâÖÖ·½Ê½×î·½±ã£¬µ«ÊÇ¿ØÖÆÄÜÁ¦½Ï²î¡£
2¡¢ÀûÓÃACTIVE¿Ø¼þ£¬¿ÉÒÔ×Ô¼º×öÒ»¸öIEµÄ¿Ø¼þÀ´¿ØÖÆ´òÓ¡¡£
3¡¢Ë®¾§±¨±íµÈµÚÈý·½¹¤¾ß£¬¹ºÂò¼Û¸ñ°º¹ó¡£
    ¸ù¾ÝÎÒµÄÐèÇóÇé¿ö£¬ÓÃIEÖ ......

¡¾×ª¡¿Àí½âASP.NETÖеÄÈý²ãÖеÄDAL¡¢BLLºÍUSL

Ò»¡¢Èý²ãÌåϵ¼Ü¹¹¡¡¡¡1.±íʾ²ã(USL)£ºÖ÷Òª±íʾWEB·½Ê½£¬Ò²¿ÉÒÔ±íʾ³ÉWINFORM·½Ê½¡£Èç¹ûÂß¼­²ãÏ൱ǿ´óºÍÍêÉÆ£¬ÎÞÂÛ±íÏÖ²ãÈçºÎ¶¨ÒåºÍ¸ü¸Ä£¬Âß¼­²ã¶¼ÄÜÍêÉƵØÌṩ·þÎñ¡£
¡¡¡¡2.ÒµÎñÂß¼­²ã(BLL)£ºÖ÷ÒªÊÇÕë¶Ô¾ßÌåµÄÎÊÌâµÄ²Ù×÷£¬Ò²¿ÉÒÔÀí½â³É¶ÔÊý¾Ý²ãµÄ²Ù×÷£¬¶ÔÊý¾ÝÒµÎñÂß¼­´¦Àí¡£Èç¹û˵Êý¾Ý²ãÊÇ»ýľ£¬ÄÇÂß¼­²ã¾ÍÊǶÔÕâЩ»ýľµÄ ......

ASP.NETÒ³ÉúÃüÖÜÆÚ¸ÅÊö

ASP.NETÒ³ÉúÃüÖÜÆڵĶ¨Ò壬ÓÐÒÔÏÂ8¸ö·½Ã棺ҳÇëÇ󣬿ªÊ¼£¬Ò³³õʼ»¯£¬Ò³¼ÓÔØ£¬ÑéÖ¤£¬»Ø·¢Ê¼þ£¬³ÊÏÖ£¬Ð¶ÔØ¡£
ASP.NET Ò³ÔËÐÐʱ£¬´ËÒ³½«¾­ÀúÒ»¸öÉúÃüÖÜÆÚ£¬ÔÚÉúÃüÖÜÆÚÖн«Ö´ÐÐһϵÁд¦Àí²½Öè¡£ÕâЩ²½Öè°üÀ¨³õʼ»¯¡¢ÊµÀý»¯¿Ø¼þ¡¢»¹Ô­ºÍά»¤×´Ì¬¡¢ÔËÐÐʼþ´¦Àí³ÌÐò´úÂëÒÔ¼°½øÐгÊÏÖ¡£Á˽âÒ³µÄÉúÃüÖÜÆڷdz£ÖØÒª£¬ÕâÑù¾ÍÄÜÔÚºÏÊÊ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ