ASP.NET MVC 2 & 3 Using Visual Basic 2010 英文版 DVD ASP.NETMVCisafascinatingtechnologythatprovidesanalternativetoWebformsforbuildingWebapplications. InsteadofbuildingpagesusingservercontrolsthatproviderelativelylittlecontrolovertheHTMLtheyproduce,MVCgivesyoucompletecontrol.ThecoursestartswithanintroductiontoASP.NETMVCandtheModel-View-Controllerpatternonwhichitisbased. You'lllearnaboutthemaindifferencesbetweenMVCandWebformsapplications,andseehowtobuildasimpleMVCapplicationwithVisualStudio.Thenyou'llexploreeachofthethreemaincomponentsofanMVCapplication.Next,you'llexploremodels,whichencapsulatethedataandbusinessrulesofanapplication.You'lllearnthattherearealmostnolimitationsinhowyouprovidedatatoanMVCapplication.Thenyou'llgetintoviews,theuserinterfaceofanMVCapplication.Next,you'llexploremodels,whichencapsulatethedataandbusinessrulesofanapplication.You'lllearnthattherearealmostnolimitationsinhowyouprovidedatatoanMVCapplication.Thenyou'llgetintoviews,theuserinterfaceofanMVCapplication.You'llthenmoveontoHTMLHelpersandActionFilterswhereyou'llalsolearnaboutcustomhelpersandfilters.RoutingandURLsarethenextsubjectswhereyou'llseehotocreaterouteconstraintsandotheritems.Inthenextsectionyou'llbeintroducedtoAJAXandjQuerylibrariesandhowtousethemwithMVC.Inthelastsectionofthecourseyou'llseetheupcomingenhancementsforMVC3.0. Inthiscourse,youwilllearn: DifferencesbetweenMVCandWebformsapplications Howtocreatecontrollersandactionstomanagetheworkflowofanapplication Aboutmethodsandresults,andhowtowritecodetoimplementeach ThattherearealmostnolimitationsinhowyouprovidedatatoanMVCapplication HowtoimplementamodelusingbothcustomclassesandEntityFrameworkdatamodels Howtocentralizedatavalidationusingamodel. Interactwithdataprovidedbythecontroller Someofthewaystoaddcontenttoaview AboutusingHTMLHelpersinM??VC Howactionandcustomfiltersareimportantforyourapplication ThatyoucanbecreativewithnamingofyourApplicationURLs TheimportanceandusageofRoutingandWebForms HowAJAXandjQuerylibrariescanaddfunctionalitytoyourapplicationwithoutincreasingdevelopmenttime AboutworkingwithJSONdata WhatnewfeatureswillbecomingMVC3 Prerequisites:ThiscourseassumesthatyouarefamiliarandexperiencedwithMicrosoft's.NETFrameworkandASP.NETdevelopmenttools.YoushouldbefamiliarwithWebdevelopmentandunderstandhowHTTPandHTMLworktoproduceWebpagesfortheuser.YoushouldhaveexperiencewritingapplicationswithASP.NET3.5orlaterWebforms,andbefamiliarwithhowASP.NETprocessespagerequests,andhavestrongexperiencewith.NETFramework3.5orlaterprogramming.YoushouldhaveexperiencewithVisualStudio2008orlaterforbuildingWebapplicationprojects.Experiencewithbuildingdatabaseapplicationsusingthesetoolswillbehelpful,althoughnotstrictlynecessary.