1013AdamFreeman2017A.
Freeman,ProASP.
NETCoreMVC2,https://doi.
org/10.
1007/978-1-4842-3150-0AActionresults.
SeeControllersActions.
SeeControllersApplicationmodel,986actionconstraints,1000Areas.
SeeRoutingArrowfunctions.
SeeLambdaexpressionsASP.
NETCoreMVC(seeModelViewController(MVC))Identity(seeIdentity)middleware,391Asynchronousmethods,99asynckeyword,101Attributerouting.
SeeRoutingAuthentication.
SeeIdentityAuthorization.
SeeIdentityAuthorizeattribute.
SeeIdentityawaitkeyword,101BBower,133,352bower.
jsonfile,376Bundlingfiles,157CC#featuresanonymoustypes,96asynchronousmethods,99extensionmethods,85gettingmembernames,102initializers,80lambdaexpressions,90nullconditionaloperator,73patternmatching,83properties,automaticallyimplemented,76stringinterpolation,79typeinference,96Client-sidevalidation.
SeeModelvalidationConfiguration.
SeeProjectsConnectionstrings,211Controllers,507actionmethodparameters,520actionresults,524baseclass,514contextdata,516folder,62namingconventions,64POCOcontrollers,512purposeinMVCpattern,54responses,522errors,547files,545HTML,526HTTPcodes,547JSON,543redirections,535Viewmethod,527RESTfulcontrollers,632contentformatting,645contentnegotiation,647definingroutes,636dependencies,636HTTPmethodattributes,637JSON,639Routeattribute,636XML,648tempdata,541unittesting,526Viewmethod,527Conventions,63controllerconventions,64layouts,65overconfiguration,63viewconventions,64DDatamodel.
SeeModelDatavalidation.
SeeModelvalidationIndex1014Dependencyinjection,551actioninjection,581closelycoupledcomponents,557concretetypes,570dependencychains,568lifecycles,573scoped,578singleton,580transient,574looselycoupledcomponents,556manuallyaccessingservices,582propertyinjection,582serviceprovider,564SportsStore,202,271Deployment,334connectionstrings,335preparingAzure,335Domaindata.
SeeModelEEntityFrameworkCoreconnectionstring,887creatinganIdentitydatabase,323deletingdatafromthedatabase,319migrations,214,296,340schemachanges,284scopevalidation,213SportsStore,209updatingthedatabase,308Extensionmethods,85,90FFilters,585actionfilters,597authorizationfilters,594contextdata,593dependencyinjection,610exceptionfilters,607filtertypesandinterfaces,592globalfilters,618hybridaction/resultfilters,605orderofexecution,620RequireHttpsattribute,591resultfilters,601FontAwesome,276Formdata,32GGit,351HHostingenvironment,402HTMLHelpers.
SeeTaghelpersI,J,KIdentity,881authentication,920third-parties,using,976authorization,928Authorizeattribute,920claims,955connectionstrings,324creatingusers,893customproperties,951database,887passwordvalidation,897policies,955,964resources,970roles,928seeddata,326SportsStore,323third-partyauthentication,976useraccountvalidation,904userclass,creating,885UserManagerclass,890Initializersforobjectsandcollections,80LLambdaexpressions,90Languagefeatures.
SeeC#featuresLayouts.
SeeRazor,layoutsLinux.
SeeVisualStudioCodeLogging,415Looselycoupledcomponents.
SeeDependencyinjectionMmacOS.
SeeVisualStudioCodeMiddleware,391Minifyingfiles,157Model,26conventions,991roleinMVCpattern,53Modelbinding,33,811arraysandcollections,832complextypes,821datasources,839requestbodies,8451015requestheaders,841defaultvalues,818simpletypes,820Modelvalidation,849asp-validation-summaryattribute,860checkingthemodelstate,40client-sidevalidation,874SportsStore,315customvalidationmessages,862explicitvalidation,855highlightingvalidationerrors,43input-validation-errorattribute,858metadata,869Compareattribute,870customattributes,defining,872Rangeattribute,870RegularExpressionattribute,870Requiredattribute,870StringLengthattribute,870ModelStateproperty,856,866remotevalidation,877SportsStore,290,310,312validationerrors,showing,858usingnullabletypes,40ModelViewController(MVC)actionmethod,17architecturaloverview,6comparedtoASP.
NETWebForms,4controller,17comparedtoWebForms,35editingdefaultcontrollerclass,18conventions,63creatingnewproject,13extensibility,7historyof,3originalMVCFramework,5model.
SeeModelopen-source,9patternASP.
NETimplementation,55controllers,54models,53otherpatterns,56separationofconcerns,53views,55projects.
SeeProjectsroutingsystem,8view,20creatingaview,21viewengine,23Moq.
SeeUnittestingMVC.
SeeModelViewController(MVC)N.
NETCore,5Node.
js,349NodePackageManager(NPM),352NuGetpackages.
SeeVisualStudioNullconditionaloperator,73Nullvalues,73OOSX.
SeeVisualStudioCodeP,QPartialviewsSportsStore,235Patternmatching,83Post/Redirect/GetPattern,540Projectsappsettings.
jsonfile,211Areasfolder,62bower.
jsonfile,376Componentsfolder,62Controllersfolder,62creatingnewproject,60Datafolder,62Dependenciesfolder,62Emptytemplate,61hostingenvironment,402Kestrelwebserver,385logging,415Migrationsfolder,62Modelsfolder,62MVCservices,420Programclass,382Program.
csfile,63Startupclass,386Startup.
csfile,63_ViewImports.
cshtmlfile,111Viewsfolder,62WebApplication(MVC)template,61Properties,automaticallyimplemented,76RRazor,23conditionalstatements,122configuration,684incontext,105expressions,109layouts,23,1121016Layoutproperty,112@modelexpression,36,109,119modelkeyword,36@modelvs.
@Model,109@RenderBodyexpression,113stronglytypedviews,110@usingexpression,112viewimports,111_ViewImports.
cshtmlfile,111viewlocationexpanders,685Views/Sharedfolder,118_ViewStart.
cshtmlfile,116viewstartfile,116VisualStudioIntelliSense,110RazorViewEngine.
SeeRazorReceivingformdata,32RESTfulControllers.
SeeControllersRouting,8,429areas,497Areaattribute,499attributerouting,463Routeattribute,464bestpractices,503catchallsegments,451constraints,453combining,459custom,461regularexpressions,457types,458values,458creatinglinks,471customization,484defaultvalues,437MapRoutemethod,435optionalsegments,449orderingroutes,442outgoingURLs,471segmentvariablereuse,478segmentvariables,445SportsStore,207staticsegments,440URLpatterns,434URLsegments,434SScopevalidation,213Separationofconcerns.
SeeModelViewController(MVC),patternServices.
SeeDependencyinjectionSessiondata,263tempdata,311SportsStoreadministrationfeatures,295BootstrapCSSframework,231checkoutprocess,280configuration,212connectionstring,211controllers,204databasecontextclass,210database,creating,208dependencyinjection,271deployment,334migrations,284model,creating,200navigation,237pagination,218partialview,235project,creating,194routing,207sessiondata,263shoppingcart,257taghelper,221unittestproject,creating,198validation,290views,205SQLite,364Staticcontent,63Stringinterpolation,79TTaghelpers,29,721anchorelements,797applicationrelativeURLs,806asp-actionattribute,29,31,758,797asp-antiforgeryattribute,758asp-append-versionattribute,784asp-areaattribute,758,797asp-controllerattribute,758,797asp-fallback-*attributes,784,794asp-forattribute,31,762,768,770,777asp-formatattribute,762asp-fragmentattribute,797asp-hostattribute,797asp-href-excludeattribute,794asp-href-includeattribute,794asp-itemsattribute,770asp-routeattribute,758,797asp-src-excludeattribute,784asp-src-includeattribute,784asp-validation-forattribute,864asp-validation-summaryattribute,42,860,867cachebusting,791caching,799contentdeliverynetworks,792contextdata,729cross-siterequestforgery,760CSSfiles,794formelements,755hostingenvironment,783Razor(cont.
)1017imageelements,798inputelements,762Javascriptfiles,784labelelements,768output,producing,730registration,731scope,734selectandoptionelements,770shorthandelements,creating,739SportsStore,221TagHelperbaseclass,728textareaelements,777Tempdata,311UUnittesting,167controllers,526Factattribute,170filters,596isolatingcomponents,174mockingframework,187projectconfiguration,168runningtests,172SportsStore,198taghelpers,733test-drivendevelopment,180viewcomponents,712VisualStudioCode,370URLRouting.
SeeRoutingVValidation.
SeeModelvalidationViewbag,534Viewbagdata,24Viewcomponents,691asynchronousviewcomponents,713contextdata,707controllers,combinedwith,715HTMLresults,705partialviews,703POCOviewcomponents,699results,702SportsStore,246ViewComponentbaseclass,700ViewResultclass,23Views,657appsettings.
jsonfile,63creatingHTMLform,30csprojfile,63JSONdata,682layoutsections,673@modelexpression,28namingconventions,64optionalsections,677partialviews,679purposeinMVCpattern,55Razor,666searchlocations,528selectingspecificviews,687specifyingamodeltype,28stronglytyped,27viewengines,659viewimportsfile,62Viewsfolder,62viewstartfile,63VisualStudioBower,133bower.
jsonfile,133packageversionnumbers,135BrowserLink,147bundlingandminification,157client-sidepackages,133configuringauthentication,14debugging,142breakpoints,143datavalues,146developerexceptionpages,141IISExpress,19installing,11iterativedevelopment,137NuGetpackages,131projecttemplatesfileandfolderstructure,16WebApplication(Model-View-Controller),14scaffolding,204selectingbrowser,17startinganapplication,16TestExplorerwindow,172VisualStudio2015.
SeeVisualStudioVisualStudioCode,349Bower,352C#extension,355creatingnewproject,356Git,351installing,353.
NETCore,352Node.
js,349NodePackageManager(NPM),352SQLite,364unittesting,370WWebAPI.
SeeControllersX,Y,ZxUnit.
SeeUnittesting
我们先普及一下常识吧,每年9月的第一个星期一是美国劳工节。于是,有一些服务商会基于这些节日推出吸引用户的促销活动,比如RackNerd有推出四款洛杉矶和犹他州独立服务器,1G带宽、5个独立IP地址,可以配置Windows和Linux系统,如果有需要独立服务器的可以看看。第一、劳工节促销套餐这里有提供2个套餐。两个方案是选择犹他州的,有2个方案是可以选择洛杉矶机房的。CPU内存SSD硬盘配置流量价格...
快快云怎么样?快快云是一家成立于2021年的主机服务商,致力于为用户提供高性价比稳定快速的主机托管服务,快快云目前提供有香港云服务器、美国云服务器、日本云服务器、香港独立服务器、美国独立服务器,日本独立服务器。快快云专注为个人开发者用户,中小型,大型企业用户提供一站式核心网络云端服务部署,促使用户云端部署化简为零,轻松快捷运用云计算!多年云计算领域服务经验,遍布亚太地区的海量节点为业务推进提供强大...
Contabo是一家运营了20多年的欧洲老牌主机商,之前主要是运营德国数据中心,Contabo在今年4月份增设新加坡数据中心,近期同时新增了美国纽约和西雅图数据中心。全球布局基本完成,目前可选的数据中心包括:德国本土、美国东部(纽约)、美国西部(西雅图)、美国中部(圣路易斯)和亚洲的新加坡数据中心。Contabo的之前国外主机测评网站有多次介绍,他们家的特点就是性价比高,而且这个高不是一般的高,是...
fontawesome为你推荐
excursionsios5documentcsspreloadedbaiduspeakingphp支持ipadCTiosphotoshop技术PS技术是干什么的,如何使用PS技术?win10关闭445端口win10怎么关闭445的最新相关信息tcpip上的netbios禁用tcp/ip上的netbios对网络应用软件的正常运行有没有影响?win7telnet怎样在win7下打开telnet 命令
武汉域名注册 韩国vps 最便宜的vps 山东vps krypt edgecast 樊云 yardvps bash漏洞 ssh帐号 绍兴高防 铁通流量查询 150邮箱 e蜗 asp免费空间申请 metalink 免费dns解析 支付宝扫码领红包 海外空间 百度云加速 更多