2014??????????д???????????????????????ASP.NET????????????????????????????ɡ?

1 ??????Web???????ò
??????2002????.NET 1.0??Visual Studio.NET????2013??.NET 4.5.1??Visual Studio 2013??????????.NET??????11??????????Web???????????????????????μ??????????????

??????????Web???????ò

?????????ASP.NET??????????????????仯?????????HTTP??????????HTTP???????HTTP Module????HTTP???????“???“?????HTTP Handler??????????????HTML???????????????????б仯?????б仯????????????

??????????????ASP.NET????????????????

??????1.0?е?Web Forms??????????“??????“???й??????????????????????????

????ASP.NETMVC?????????????????????????Web????????????????????????Web??????????????????????MVC???????????????????????????????????Web Forms??????????????MVC???????????ASP.NET 4.5?п??÷????????????????????????????????URL??????????????????????MVC???????“???”??Web Forms????“??”??“????”???????С?

????Web Api??????????????????????????????????????“WCF????”??WebApi???????????????????????????????????豸??????????????????HTTP??API????REST????????????????Json??Xml??????????????????????????????????????Android??iOS?豸????????Web Api????????Web Forms??MVC??????????????????????????????÷????Service??????????

????????MVC/Web API???????????????е?“?????????SPA??Single Page Apps??”????????????????????????????????????MVC???????壬Web Api?????????????????????????Web????????Angular??knockout????AJAX????????????Web Api?????????????????????????????????????

???????????Web Pages??????????PHP?????????????????????Razor????C#??????MVC??????????“??????”??????????????????????????????????MVC????????????ù??????????????С?????Web Pages??????

???????????PHP???Щ??????????PHP??JSP??????????????Web????????????ASP.NET???????????????????????????ж?????????????????PHP/JSP?????ASP.NET???????????????????о?????????ASP.NET????????????????????в?????????????????????“?????”?????????????????????б??????????????????ν“?????????”???????????Web?????????к??????????????????????????????

????SignalR??ASP.NET???????????μ???????????????Web?????????????“??”??Web??á???ν“??”?????????????????????佨??“???”?????????????????????????????????????????????SignalR?????????????????????????HTML5 WebSocket?????????????????????????????????????????????????????л????????????????
?????е?ASP.NET???????????У?Web Forms??“???”??MVC??“?1?”????????????Web??????????????????????????????????

2 MVC vs Web Forms
????Web Forms???????????MVC???????????????Web??????????????????“?????”????????????????????????????д?????Web??????????????????????????????????????????????????????????????????????????????????У???????????????????????????

If it’s not broken?? don’t fix it.

?????????????????????Web Forms??????????????????????????????????????????????????????????????????????????????????????????????“??”???????

????John Ciliberti????ASP.NETMVC 4 Recipes??????ж?Web Forms???????????????????????????????????????????£??????????Щ????????

Web Form????????????????????
????????????????ASP.NET MVC??????????
????????????????????VB??????????
???????????????HTML??JavaScript???????????“???????”??????????????????Web Forms???“???”????“????”??????????????????????????????????????“????”??
???“???”?????????????????????????????????????????????У??????????????????????????????????
????????????????????????????????????????????
??????????????????????з??????????????????????????дJ(rèn)avaScript???????
???????????JavaScript?????????AJAX?????????????????Web????????????????
Web Forms???——?????????????????????