文章分类 - ASP.NET Core
摘要:This quick start guide will teach you how to build TypeScript with gulp and then add Browserify, uglify, or Watchify to the gulp pipeline(输油管道,输气管道).
阅读全文
摘要:Setup # Install ASP.NET Core and TypeScript # First, install ASP.NET Core if you need it. This quick-start guide requires Visual Studio 2015 or 2017.
阅读全文
摘要:Table of Contents # Introduction For programs to be useful, we need to be able to work with some of the simplest units of data: numbers, strings, stru
阅读全文
摘要:https://www.typescriptlang.org/docs/handbook/typescript-in-5-minutes.html Let’s get started by building a simple web application with TypeScript. Inst
阅读全文
摘要:We did it. We have reached the end of our ASP.NET Core 101 video series but we haven't told anyone.We haven't published it to the Cloud.there's lots o
阅读全文
摘要:We had made a star ratings system,addRatings that we added to our products service. We've got a modal pop-up(弹出窗口; 弹出式广告;) dialog right now,which is l
阅读全文
摘要:debug I'm not even ensure if these products are getting selected because when I click the buttons nothing happens. Yeah and because we have this code
阅读全文
摘要:Blazorwe're going to introduce a new concept here called Blazor.Blazor is interesting,it's just a new app model,a new way of thinking about your appli
阅读全文
摘要:We got back our products but we didn't actually modify the data or do anything with the data. In this one let's actually change it and write it back i
阅读全文
摘要:we are talking about the need for a single responsibility principle or what do they call that, separation of concerns? Earlier, you may made me make a
阅读全文
摘要:This data is coming out of a JSON file,but again it could come out of anywhere.In fact, this data could have come out of like a web service from someo
阅读全文
摘要:we're going to do @ and then retrieve the image property that we set when making the product. When I say @, I've just switched from HTML into Razor or
阅读全文
摘要:We have a class whose job it is,is to get that data,and if we did it right,our webpage won't even know whether it's a database or a web service or fil
阅读全文
摘要:JsonFileProductService what we're going to do is we're going to add a service, So in this context,service is like if you're at a restaurant and the wa
阅读全文
摘要:What is a database?Database is where you store all that information that you're going to go and retrieve from it.It could be a static database,which d
阅读全文
摘要:Making an ASP.NET Core Website There's a checkbox. It says, "Place solution and project in the same directory," or we can maybe if in the future you a
阅读全文
摘要:What is ASP.NET? it's an open source web framework for building fast and secure web apps and services within.NET. ASP.NET is also cross platform which
阅读全文
摘要:ASP.NET Core MVC 概述 ASP.NET Core MVC 是使用“模型-视图-控制器”设计模式构建 Web 应用和 API 的丰富框架。 什么是 MVC 模式? 模型-视图-控制器 (MVC) 架构模式将应用程序分为三个主要组成部分:模型、视图和控制器。 此模式有助于实现关注点分离。
阅读全文
摘要:ASP.NET Core 基础知识 Startup 类 Startup 类位于: 已配置应用所需的服务。 已定义请求处理管道。 服务是应用使用的组件 。 例如,日志记录组件就是一项服务。 将配置(或注册)服务的代码添加到 Startup.ConfigureServices 方法中 。 请求处理管道由
阅读全文
摘要:为服务器应用选择 .NET Core 或 .NET Framework 有两种支持的实现可用于通过 NET Framework 和 .NET Core 生成服务器端应用程序。 这两者共享许多相同的组件,可在它们之间共享代码。 但两者之间存在根本的差异,可根据需要实现的目标进行选择。 本文介绍了在何种
阅读全文