ASP.NET Core 1.1 For Beginners: How To Build a MVC Website

Jonas Fagerberg

  • 出版商: CreateSpace Independ
  • 出版日期: 2017-05-24
  • 售價: $1,810
  • 貴賓價: 9.5$1,720
  • 語言: 英文
  • 頁數: 422
  • 裝訂: Paperback
  • ISBN: 1546832068
  • ISBN-13: 9781546832065
  • 相關分類: .NETASP.NET
  • 海外代購書籍(需單獨結帳)

商品描述

Want to learn how to build ASP.NET Core 1.1 MVC Web Applications?

Prerequisites:
* C# (Intermediate level)
* HTML5/CSS3 (Basic knowledge)

This book is primarily aimed at developers who want to learn how to build ASP.NET Core 1.1 MVC Applications. You should be an intermediate level C# developer with some experience in HTML5 and CSS3. The book presupposes that you have a solid C# foundation since the language won't be explained in any detail.

You will learn ASP.NET Core 1.1 by building two MVC applications. The first application will be built using an empty template. The goal is to get you familiar with ASP.NET Core 1.1 by adding middleware and services one piece at a time, building a basic application. Then you will build a second MVC application using a template that already contains support for MVC, Entity Framework Core, and user authentication. This application is a video course website, where users can register to gain access to video courses.

If you are already familiar with MVC 5, the content in this book can get you started with ASP.NET Core 1.1 in a fast, no-fluff way.

It's important to mention that this book is practical and tactical, where you will learn as you progress through the modules and build real web applications in the process. To spare you countless pages of fluff (filler material), only valuable information, pertinent to the task at hand, is discussed. The benefit is a shorter and more condensed book, which will save you time and give you a more enjoyable experience.

The goal is to learn ASP.NET Core 1.1 by building two web applications, one from scratch and one from an existing template. This experience is something you can put in your CV when applying for a job or a consultant position, or when negotiating a higher salary.

Technologies, frameworks and languages you will use:
* ASP.NET Core 1.1 MVC (The framework that you will use)
* Services (To provide you own functionality as a reusable service)
* Middleware (To provide you own functionality to HTTP Request pipeline)
* Entity Framework (To crate and communicate with a database)
* View Component (To render data in the _Layout view with model data)
* Razor syntax (To include server-side code in views)
* Bootstrap (Used for styling and to create a responsive design)
* LINQ (To query the database)
* Dependency Injection (To inject objects into constructors)
* Tag Helper (to clean up the HTML and enable re-use)
* HTML Helper methods (to clean up your HTML and enable re-use)
* Bower/NuGet (To install necessary front-end/back-end libraries)

What you will implement:
* Implement a web application from an empty template.
* Implement a web application from an existing template.
* Create a "real world" code-first database using Entity Framework Core.
* Add and modify models, views and controllers to perform CRUD operations against the database.
* Use client-side and server-side validation.
* Secure the controllers, actions and view content with authorization and roles.
* Styling HTML with CSS and Bootstrap.
* Create a responsive website.
* Register users with the site.
* Manage users and their video courses.

Have questions? Reach out to me at: csharpschoolonline@gmail.com

I hope you love the book!
Sincerely,
Jonas Fagerberg

Now click the Buy button and start reading the book.

商品描述(中文翻譯)

想學習如何建立 ASP.NET Core 1.1 MVC 網頁應用程式嗎?

前置條件:
* C#(中級程度)
* HTML5/CSS3(基本知識)

本書主要針對希望學習如何建立 ASP.NET Core 1.1 MVC 應用程式的開發者。您應該是一位具有中級 C# 開發經驗的開發者,並對 HTML5 和 CSS3 有一定的了解。本書假設您擁有扎實的 C# 基礎,因為不會詳細解釋這門語言。

您將通過建立兩個 MVC 應用程式來學習 ASP.NET Core 1.1。第一個應用程式將使用空白模板來建立,目標是讓您熟悉 ASP.NET Core 1.1,逐步添加中介軟體和服務,構建一個基本的應用程式。接著,您將使用一個已包含 MVC、Entity Framework Core 和用戶身份驗證支持的模板來建立第二個 MVC 應用程式。這個應用程式是一個視頻課程網站,使用者可以註冊以獲得視頻課程的訪問權限。

如果您已經熟悉 MVC 5,本書的內容可以讓您快速、簡潔地開始使用 ASP.NET Core 1.1。

值得一提的是,本書是實用且具戰術性的,您將在進行模組學習的過程中,實際構建真實的網頁應用程式。為了避免冗長的填充材料,書中僅討論與當前任務相關的有價值資訊。這樣的好處是使本書更短且更精煉,節省您的時間,並提供更愉快的學習體驗。

目標是通過建立兩個網頁應用程式來學習 ASP.NET Core 1.1,一個是從零開始,另一個是從現有模板開始。這段經驗可以在您申請工作或顧問職位時,或在談判更高薪水時,放入您的履歷中。

您將使用的技術、框架和語言:
* ASP.NET Core 1.1 MVC(您將使用的框架)
* 服務(提供可重用的功能服務)
* 中介軟體(為 HTTP 請求管道提供自定義功能)
* Entity Framework(創建和與數據庫通信)
* 視圖組件(在 _Layout 視圖中渲染模型數據)
* Razor 語法(在視圖中包含伺服器端代碼)
* Bootstrap(用於樣式設計和創建響應式設計)
* LINQ(查詢數據庫)
* 依賴注入(將對象注入構造函數)
* 標籤助手(清理 HTML 並啟用重用)
* HTML 助手方法(清理 HTML 並啟用重用)
* Bower/NuGet(安裝必要的前端/後端庫)

您將實現的內容:
* 從空白模板實現一個網頁應用程式。
* 從現有模板實現一個網頁應用程式。
* 使用 Entity Framework Core 創建一個「真實世界」的代碼優先數據庫。
* 添加和修改模型、視圖和控制器,以對數據庫執行 CRUD 操作。
* 使用客戶端和伺服器端驗證。
* 使用授權和角色來保護控制器、操作和視圖內容。
* 使用 CSS 和 Bootstrap 進行 HTML 樣式設計。
* 創建一個響應式網站。
* 註冊網站用戶。
* 管理用戶及其視頻課程。

有問題嗎?請聯繫我:csharpschoolonline@gmail.com

希望您喜歡這本書!
誠摯地,
Jonas Fagerberg

現在點擊購買按鈕,開始閱讀這本書。