389AAngular2applicationinitialization,293–294components,294–295coreconcepts,293eventbinding,298interpolation,297propertybinding,297routing,300–302services,295–296structuralbinding,299templating,297two-waydatabinding,298–299VisualStudioGulpSetup,287NPMPackages,286projectcreation,282–283projectfiles,284Startupclass,284–285TypeScriptsetup,287–288ASP.
NETCoreMVCWebAPIattributerouting,86DI,85HTTPrequest,87and.
NETCore,84NuGetpackagesdataaccesslayer,90updatingandadding,90projecttemplate,88–89routing,86runtimeentity,85"super"packages,91URLtemplates,86webapplication,88BBootstrapping,354Bowercommand,223folderstructure,221installingGit,222NPM,227packages,135–136prerequisites,222searchpackagespage,224VisualStudio,222,224–226Bundlingandminificationconfiguration,137–138definition,137enablebundleonbuild,140JavaScriptfiles,138.
NETCoreCLI,141–142produceoutputfiles,139TaskRunnerExplorer,141VisualStudiointegration,139CClasses,246Compilersettings,251–252Configuremethod,97–98ConfigureServicesmethod,98–100Connectionstrategy,21–22Constructor,96–97Controllersandaction,102category,111CategoryControllerclass,104customer,112debuggingprofile,102Formattedresponse,103–104Getmethod,105HTTPGetcommand,105HTTPstatuscode,102–103launchsettings.
jsonfile,101orders,113–114,168–169products,114–115constructor,165detailsaction,166Erroraction,165GetListOfProductshelpermethod,166Index390IndexandFeaturedactions,167Searchaction,167–168RedirectActionResult,104search,113shoppingcart,115–118AddToCartactions,173AutoMapper,171constructor,170HTTPgetaction,173HTTPpostaction,174–175Indexaction,171modelbinding,171–172route,170CoreMVCWebapplicationsBowerpackages,135–136Bundling(seeBundlingandminification)controller,129–130fakeauthentication,151–152,154filesandfoldersappsettings.
json,124Configuremethod,125ConfigureServicesmethod,125controllers,126JavaScript,128libandfavicon.
ico,129program.
cs,124SiteCSSandimagefiles,128Startup.
cs,124views,126wwwroot,126–127layouts,133–134NuGetPackages,122–123projectcreation,120,122RazorViewEngine,133routingtable,123URLtemplatesanddefaultvalues,123views,130,132–135,154–155WebApiCallsclass(seeWebApiCallsclass)webservicelocator,142–143CRUDoperationsconcurrencychecking,32creatingrecords,31deletingrecords,33EntityState,33no-trackingqueries,32readingrecords,31updaterecords,32DDataaccesslayerdatacreation,76–78Down()method,60foreignkeys,50initializer,78–80migrationcreation,58migrationdeploy,58migrations,61modelclass(seeModelclasses)navigationproperties,50NuGetpackages,81ordertotalcalculatedfield,60repositoriescategory,67customer,69ICategoryRepointerface,64ICustomerRepointerface,65InvalidQuantityException,72IOrderDetailRepointerface,66IOrderRepointerface,65IProductRepointerface,65IShoppingCartRepointerface,66order,71–72OrderDetail,70–71product,67,69ShoppingCartRecords,72,74–75Up()method,59–60Viewmodels(seeViewmodels)DataaccesslayerNuGetpackages,90DbContextclass,17–18DbSetcollectiontype,20Dependencyinjection(DI),85Displayattribute,51Down()method,60EEntityFrameworkCoreCategoriesDbSet,26categorymodelclass,24–25connectionstrategy,21–22convention,23CRUDoperations,31,33dataannotationssupport,24DbContext,18DbSet,20EF6.
x,4entitybaseclass,22,23frameworkmigrations(seeMigrations)NuGetpackages,13SpyStore.
DALprojectaddingpackages,14,16updateandinstallpackages,16SpyStoredatabase,4–5StoreContextclass,19–20storedproceduresandfunctions,51testing(seeUnittesting)Controllers(cont.
)391Exceptionfiltersaction,110SpyStoreExceptionFilter,108–109FFakeauthentication,151–152,154Foreignkeys,50G,HGenerics,250Gulpbenefits,227copyingfiles,229dependencies,230–231installation,228nestedtasks,231TaskRunnerExplorer,231IInheritance,247–248Interfaces,249Interpolation,297J,K,LJavaScriptapplicationtoolsBower,220command,223folderstructure,221installingGit,222NPM,227prerequisites,222searchpackagespage,224VisualStudio,222,224–226Gulp,227benefits,227copyingfiles,229dependencies,230–231installation,228nestedtasks,231TaskRunnerExplorer,231Node.
jsChocolateypackagemanager,213executablepackages,218–219locallyvs.
globally,install,220manualinstallation,212–213NPM,215–216projectcreation,215savingprojectdependencies,217–218VisualStudiosetup,213–214SystemJS,233–236WebPack,237–240MMigrationscreatingandexecuting,27–28removal,29SpyStoredatabase,30SQLscriptscreation,30update,29Modelbinding,106Modelclassescategorymodel,52customermodel,55DbSet,56FluentAPI,56–57orderdetailmodel,54–55ordermodel,54productmodel,52–53shoppingcartrecordmodel,53StoreContext,56Model-View-Controller(MVC),83–84Modules,252–253MVCprojectsandfilesappsettings.
jsonfile(s),93–94configuremethod,97–98ConfigureServicesmethod,98–100constructor,96–97controllers,100–102program.
csFile,92–93runtimeconfig.
template.
json,94Startup.
cs,94Startupservices,95–96NNavigationproperties,50.
NETCoreCommandLineInterface(CLI),8NuGetpackagesCoreMVCWebapplications,122–123packagesrestoringCLI,13manually,13PMC,13projectreference,14OObjectRelationalMapping(ORM),3P,QPackageManagerConsole(PMC),13392RRazorViewEngine,133Reactappcomponent,365–367,369applicationorganization,355bootstrapping,354cartcomponent,380–383,384CartRecordcomponent,384–386CategoryLinkscomponent,369–371component,351–354Initialcomponents,361–362models,356–357NPMpackages,334–337ProductDetailcomponent,376–380productscomponent,371,375–376built-inmethods,373interface,372loadFeaturedProducts(),374ProductService,372refreshProducts()method,373render(),374–375projectfolder,338–341routing,362–365services,357,359–361setState()method,367solution,329Startupclass,333–334TypeScriptsetup,337–338VisualStudioprojectcreation,330–332projectfiles,332–333WebPack,343–344configuration,342–343loader,346NPM,342paths,345pluginssection,346–349production,343–344resolvesection,345TypeScriptcode,349wwwrootfolder,347Repositoryinterfacebaserepository,43–46categoryrepository,46–47creation,41–42Routing,300–302Runningapplication,107SSolutionandprojectsaddingproject,10addingSpyStore,11creation,8–9fileglobbing,11targetframework,update,12SpyStoreAngular2addroutingappcomponent,306andcomponentstoappmodule,305–306creatingroute,304–305productcomponent,303–304addToCartmethod,318–319angularbootstrap,292appmodule,292approotcomponents,321cartpageappmodule,325cartrecordcomponent,323–324cartroute,325components,321,323checkoutprocess,326–327connectingtoservice,306–310productdetailroute,320productdetailscomponent,316–318productdetailspage,316rootappcomponent,291rootpage,289–291routeparameters,311–312searchpage,313–315SpyStoredatabase,4–5,49SpyStoreMVCapplicationcontrollerorders,168–169products,165–168shoppingcart,170–175runningapplication,205–206validation(seeValidation)ViewComponents(seeViewComponents)SpyStore.
Reactsolution.
SeeReactStoreContextclass,19–20Storedproceduresandfunctions,51"Super"packages,91SystemJS,233–236TTagHelpers,119anchor,160built-intag,158–159custom,163–164environment,163form,160HTMLHelper,157image,163input,160–161linkandscript,163select,161–162393TextArea,161validation,162Transpiler,241TypeScriptaddingfiles,261–262classes,246,263compilersettings,251–252currentPricemethod,279CustomerAnonymous.
ts,264–265datatypes,242–243,245debugging,272,274–275ECMAScriptfeatures,242generics,250inheritance,247–248interfaces,249loadProductsmethod,278modules,252–253NPMpackages,259,261productinterface,276–277productlist,266–272,279projectcreationaddingHTMLpage,257compileroptions,259NuGetpackagemanager,256templateselection,255tsconfig.
jsonfile,258SPAs,242transpiler,241UUnittesting,118categoryrecordadding,37–38delete,40retrieve,38update,39CategoryTestsclass,34–36concurrencychecking,41creatingandrunning,36CRUDoperations,37Up()method,59–60VValidationclientside,180,182–183serverside,176–179ViewComponents,119AddtoCart,192–193Cart,195clientsidecode,186customtaghelpers,186Detailsview,201–203displaytemplate,193,204–205editortemplate,193,195,198–199Indexview,195–197,200–201layoutview,188–190LoginPartialView,187–188orders,200productsview,203–204serversidecode,183–185sharedfolder,187Updatepartialview,197–198validationscripts,191Viewmodelscartrecord,64orderdetail,63ProductandCategory,62ViewsCartViewModelBase,155folder,130–132partial,134ProductAndCategoryBase,154RazorViewEngine,133sendingdata,134–135stronglytyped,135VisualStudioCLI,8installation,5–6launchsettings,106–107.
NETCoreSDKs,6–7W,X,Y,ZWebApiCallsclassBaseclass,144BaseHTTPdeletecalls,147–148BaseHTTPGetcalls,145–146BaseHTTPPostandPutcalls,146–147classcreation,148–150DIcontainer,151IWebApiCallsinterface,143WebPack,237–240,343–344appcomponent,368configuration,342–343loader,346NPM,342package.
jsonfile,351paths,345pluginssection,346–349production,343–344resolvesection,345TypeScriptcode,349–350wwwrootfolder,347
WHloud Official Notice(鲸云官方通知)(鲸落 梦之终章)]WHloud RouMu Cloud Hosting若木产品线云主机-香港节点上新预售本次线路均为电信CN2 GIA+移动联通BGP,此机型为正常常规机,建站推荐。本次预售定为国庆后开通,据销售状况决定,照以往经验或有咕咕的可能性,但是大多等待时间不长。均赠送2个快照 2个备份,1个默认ipv4官方网站:https:/...
95idc是一家香港公司,主要产品香港GIA线路沙田CN2线路独服,美国CERA高防服务器,日本CN2直连服务器,即日起,购买香港/日本云主机,在今年3月份,95IDC推出来一款香港物理机/香港多ip站群服务器,BGP+CN2线路终身7折,月付350元起。不过今天,推荐一个价格更美的香港物理机,5个ip,BGP+CN2线路,月付299元起,有需要的,可以关注一下。95idc优惠码:优惠码:596J...
imidc对日本独立服务器在搞特别促销,原价159美元的机器现在只需要88美元,而且给13个独立IPv4,30Mbps直连带宽,不限制流量。注意,本次促销只有一个链接,有2个不同的优惠码,你用不同的优惠码就对应着不同的配置,价格也不一样。88美元的机器,下单后默认不管就给512G SSD,要指定用HDD那就发工单,如果需要多加一个/28(13个)IPv4,每个月32美元...官方网站:https:...
targetframework为你推荐
淘宝客推广淘宝客推广是什么意思?如何免费开通黄钻怎么免费开通黄钻真正免费的网络电话谁有真正免费的网络电话??中国电信互联星空电信的互联星空服务是什么?中国论坛大全天涯论坛的网址?镜像文件是什么镜像文件是什么意思?申请证书手机申请证书中小企业信息化中小企业如何进行企业信息化规划腾讯文章腾讯新闻的精选微信里面收藏的文章在哪里vbscript教程vbs 学习方法以及 vbs 实例 有编程基础
长沙域名注册公司 域名服务器的作用 qq空间域名 美国主机排名 主机测评网 腾讯云数据库 国外私服 iisphpmysql godaddy域名转出 网站实时监控 免费ddos防火墙 e蜗 165邮箱 佛山高防服务器 免费智能解析 免费的asp空间 石家庄服务器托管 东莞主机托管 广州虚拟主机 云服务器比较 更多