|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/learn-net-core-from-scratch-from-an-empty-console/
课程评论:没有评论
课程名称:从零开始学习 .NET Core(空白控制台应用) 课程概述: 在开始项目之前,我们需要了解 .NET Core 框架的构建方式。为此,我们需要三个关键要素:首先,从一个空白的控制台应用程序开始,重新创建整个框架,理解每个组件及其对请求的反应;其次,理解框架中不同组件之间的交互,例如中间件和服务容器等;最后,加入 .NET 框架,如实体框架和身份验证,创建业务逻辑。 我们将从控制台应用程序中的 Main 方法开始,然后添加 WebHost,以便将其作为网络应用程序运行,接受端口,并逐步添加构成 .NET Core 框架的所有功能。我们将依次处理所有组件,深入了解其工作原理。此外,理解 MVC 模式至关重要,熟悉 .NET Core Razor Pages 模式将使我们在构建项目时具备优势。 需要注意的是,逐步学习整个框架将帮助我们更好地理解在编写默认方法和类时的“背后逻辑”,这些是 .NET Core 框架为我们提供的内置功能。这种学习方式也有助于根据业务需求及时进行扩展和调整。课程中,将通过项目实践巩固所学知识,新的项目会不断添加,旧项目也会进行更新。
Before jumping to Projects we need to understand how.NET Core framework is built. To achieve that we need at least three ingredients: Firstly, start from a blank Console App and re-create the whole framework by understanding every component and how it reacts to requests. Secondly, we need to understand the interactions between different components of the Framweork like Middleware, Service Container, etc.Thirdly, add.Net frameworks like Entity Framework and Indentity and create business logic.We will start from a Main method inside a Console Application and then add WebHost, so that we run as a web application, receive a Port, and then add all features that compose.Net Core Framework. We will proceed in this manner with all the components, adding them one by one so that we would get a deeper knowledge.Understanding also the MVC pattern is more than essential and being familiar with NET Core Razor Pages pattern would render us an advantage in building projects.What is important to note, is that learning step by step the whole framework might help you understand better what is "under the hood" when you write default methods and classes that.NET Core framework provides from you, out of the box. This is also efficient in terms of being able to extend and adapt according to your business need anytime you need. * Not the last, exercise what you've learned by following the projects in the course.** New projects will be continuously added and old ones will be updated.