ASP .Net MVC Quick Start

所在平台: Udemy

课程主页: https://www.udemy.com/course/aspnet-mvc-quick-start/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:ASP .Net MVC 快速入门 课程概述:本课程是一个快速的工作坊,旨在帮助您在短短几小时内(轻松在一个周末完成)创建一个出色的真实世界 CRUD 网络应用程序。课程使用 ASP.Net MVC、实体框架(代码优先开发方法)和 ASP.Net MVC 内置的脚手架功能。最终,您将拥有自己的公共网站,这将增强您的简历并为求职面试和申请展示您的技能。 本课程涵盖了 MVC(模型-视图-控制器)这一广为人知和认可的设计模式。微软通过其 MVC 框架,使得使用此模式创建网络解决方案变得极为简单和方便。我们将学习如何按照一些简单的指导方针来使用该系统,使其自动化处理大量工作。 课程中,我们将快速了解如何使用实体框架轻松建模并创建数据库,通过代码优先的方法创建我们的模型,并编写 DBContext 以存储这些模型。我们还将探讨一些关键操作,例如构建关系和填充数据。在学习应用程序的不同方面后,我们将快速创建几个控制器,并利用 ASP.Net MVC 的内置视图和脚手架生成器,轻松实现对数据库的 CRUD 操作。 此外,我们还将关注身份认证、授权以及其他一些安全问题。为了使解决方案更加健壮,我们将学习使用仓储和服务层来分离关注点,同时将我们的模型和数据保存在自身的项目中。我们还将围绕这些层实施集成测试和单元测试,使用 XUnit、Shouldly、Moq 和内存数据库。 在创建网站的后端部分后,我们将在索引视图上添加 DataTables.js,以便轻松展示数据,并提供内置的 JavaScript 工具来进行数据过滤和排序。这将使您的应用程序在视觉上更吸引人,因为其快速且易于浏览。 课程中还将涉及到使用 GIT 进行源代码控制,将我们的代码库推送到 GitHub,并通过 GitHub Actions 利用 CI/CD 自动部署解决方案到 Azure。随着 Azure 现已免费提供,您可以轻松利用其强大的平台解决方案而无需花费任何费用。您将获得设置 Azure 应用服务的经验,配置连接字符串以连接 Azure SQL 服务器和数据库,并学习利用 Azure 应用程序监控工具监控您的应用程序,包括编写自定义事件和异常处理。 到课程结束时,您将熟悉创建 ASP.Net MVC CRUD 应用程序的主要工作部分,并将其发布到具有相对良好响应 UI 的公共网站。您将掌握模型、视图和控制器的工作原理,以及它们如何相互作用以创建功能齐全的网络应用程序。您还将接触到实体框架和使用 SQL Server 后端的代码优先迁移。最重要的是,尽管这听起来可能有些令人生畏,但实际上借助约定和工具,绝大部分工作将变得相对轻松。

课程评论(0条)

课程详情

This course is a very quick workshop to take you through the basic actions that will be required for you to create an awesome, real-world CRUD web application in just a few hours (you could do it over a weekend very easily) using ASP.Net MVC, the Entity Framework (code-first development approach), and the built-in scaffolding capabilities of ASP.Net MVC. In the end, you'll have your own public-facing website to enhance your resume and show off your skills in your own e-portfolio for job interviews and applications! MVC = Model, View, Controller, and is a well-known and established design pattern. Microsoft has made it extremely easy and convenient to create your web solutions using this pattern. In Microsoft's MVC framework, we find that convention is favored over configuration, so as long as we follow a few simple guidelines, the system will do a lot of the work for us. We'll also be taking a quick look at how we can use the Entity Framework to easily model and create a database for us. By using the code-first approach, we'll simply create our models and then look at writing a DBContext to store the models. We'll also look at some of the more critical operations, such as building relationships and seeding our data. After we've learned about the different aspects of our application, we'll quickly create a couple of controllers and use ASP.Net MVC's built-in view and scaffolding generators to easily build our CRUD operations against our database. While working on controllers we'll also look at Authentication, Authorization, and a couple of other quick security concerns.To make the solution more robust, we'll learn about using repository and service layers to separate concerns, while also keeping our models and data in their own projects. We'll also implement integration and unit testing around these layers using XUnit, Shouldly, Moq, and in-memory databases.After creating the backend portion of the site, we'll put DataTables.js on our Index view so that we can easily show the data, as well as provide built-in JavaScript tools that will filter and sort the data for us. This will make your application "pop" when people look at it because it will be fast and easy to sort through the data and filter for results.Other things we will learn throughout the course involve the use of GIT for source control, pushing our repository to GitHub, and utilizing CI/CD through GitHub Actions to automatically deploy your solution to Azure. With Azure being free now, you can easily utilize the robust platform solutions available at Azure without spending any money. You'll gain experience setting up an Azure app service, configuring the connection string to connect to your Azure SQL server and database, and you'll learn about utilizing Azure Application Insights to monitor your application, including writing your own custom events and exception handling.By the end of the course, you'll be familiar with the major working parts of creating an ASP.Net MVC CRUD application and publishing to a public-facing website with a fairly nice and responsive UI. You'll have working knowledge of Models, Views, and Controllers, as well as how they interact to create a functional web application. You'll also be exposed to the Entity Framework and Code First Migrations with use of a SQL Server backend. The best part is that although this sounds pretty daunting, it's actually quite easy with a majority of the work done for us by convention and tools.

课程标签

0人关注该课程

主题相关的课程