Creating ASP.NET Core Web Applications: Proven Approaches to Application Design and Development
暫譯: 建立 ASP.NET Core 網頁應用程式:應用設計與開發的驗證方法
Strauss, Dirk
商品描述
Design and develop an ASP.NET Core web application using .NET Core 3.0. This book shows you how to publish a web application to a web server and connect the published web application to a production database.
Creating ASP.NET Core Web Applications starts by setting up the Visual Studio project where you will learn about Razor pages, Entities, and creating a data service. You will create models along with methods to use a query string and handle bad requests. Modifying data with Tag helpers is discussed as well as installation of Entity Framework, working with database migrations, and implementing a data access service. You will learn how to use layout pages and sections with Partial Views, View Imports, and View Start files. You also will create custom middleware and log application events. You will be able to deploy the web application as well as connect it to a SQL Server database.
What You Will Learn
- Work with models
- Modify data
- Work with EF Core and SQL Server
- Work with Razor pages and Partial Views
- Use separate scripts for production vs development
- Trace client-side errors using Chrome Developer tools
- Create cascading style sheets (CSS) with Sassy CSS (SCSS)
- Explore middleware
- Deploy your web application to IIS
Who This Book Is For
Software developers on the .NET stack who want to create ASP.NET Core web applications
商品描述(中文翻譯)
設計和開發一個使用 .NET Core 3.0 的 ASP.NET Core 網頁應用程式。本書將向您展示如何將網頁應用程式發佈到網頁伺服器,並將發佈的網頁應用程式連接到生產資料庫。
創建 ASP.NET Core 網頁應用程式s 開始於設置 Visual Studio 專案,您將學習 Razor 頁面、實體 (Entities) 和創建資料服務。您將創建模型以及使用查詢字串和處理錯誤請求的方法。還將討論使用標籤輔助工具 (Tag helpers) 修改資料,以及安裝 Entity Framework、處理資料庫遷移和實現資料存取服務。您將學習如何使用佈局頁面和部分視圖 (Partial Views) 的區段,並使用視圖匯入 (View Imports) 和視圖啟動 (View Start) 檔案。您還將創建自定義中介軟體 (middleware) 並記錄應用程式事件。您將能夠部署網頁應用程式並將其連接到 SQL Server 資料庫。
您將學到什麼
- 處理模型
- 修改資料
- 使用 EF Core 和 SQL Server
- 使用 Razor 頁面和部分視圖
- 為生產和開發使用不同的腳本
- 使用 Chrome 開發者工具追蹤客戶端錯誤
- 使用 Sassy CSS (SCSS) 創建層疊樣式表 (CSS)
- 探索中介軟體
- 將您的網頁應用程式部署到 IIS
本書適合誰
希望創建 ASP.NET Core 網頁應用程式的 .NET 技術棧軟體開發人員
作者簡介
Dirk Strauss is a software developer from South Africa who has been writing code since 2003. He has extensive experience in SYSPRO, with C# and web development being his main focus. He studied at the Nelson Mandela University, where he wrote software on a part-time basis to gain a better understanding of the technology. He remains passionate about writing code and imparting what he learns with others.
作者簡介(中文翻譯)
Dirk Strauss 是來自南非的軟體開發人員,自 2003 年以來一直在撰寫程式碼。他在 SYSPRO 方面擁有豐富的經驗,主要專注於 C# 和網頁開發。他在納爾遜·曼德拉大學(Nelson Mandela University)學習,期間以兼職的方式撰寫軟體,以更好地理解技術。他對撰寫程式碼充滿熱情,並樂於與他人分享所學的知識。