Chapter 1: Creating and Setting Up Your Project
Chapter Goal: Create the Visual Studio project required to start the Web Application development. Here we will look at Razor pages, Entities, creating a data service and using this dummy data to display data on the web page.
No of pages 25
Sub -Topics
1. Creating Your Web Application Project
2. Adding and Editing Razor Pages
3. Looking at the Configuration
4. Working with Entities
5. Create and Register a Data Service 6. Displaying Test Data on Your Web Page
Chapter 2: Creating Models
Chapter Goal: Create a search form that allows the reader to find data in the data store. Here the reader will look at using models, model binding, working with a query string, and specifying page routes. We will also take a look at how to handle bad requests.
No of pages: 25
Sub - Topics
1. Building a Search Form
2. Implementing the Find logic
3. Using Query Strings, Model Binding and Tag Helpers 4. Displaying Related Data
5. Working with Page Routes
6. Handling Bad Requests Chapter 3: Modifying Data
Chapter Goal: The reader will learn how to create a page to edit and add data stored in the data store. The reader will also revisit Tag Helpers.
No of pages: 20
Sub - Topics:
1. Editing Existing Data and Using Tag Helpers
2. Validating Edited Data 3. Display Validation Errors
4. Creating New Data
5. Modify the Data Access Service
Chapter 4: EF Core and SQL Server
Chapter Goal: The reader will learn how to install Entity Framework, working with database migrations and implementing a data access service.
No of pages: 25
Sub - Topics:
1. Install Entity Framework
2. Implement DbContext
3. Specify Database Connection Strings 4. Working with Database Migrations
5. Implement a New Data Access Service
6. Changing the Data Access Service RegistrationChapter 5: Working With Razor Pages
Chapter Goal: The reader will learn how to use layout pages and sections. They will also learn about working with Partial Views, _ViewImports and _ViewStart files.
No of pages: 25
Sub - Topics:
1. Using Sections in Your Razor Pages 2. What are _ViewImports and _ViewStart files?
3. Working with Partial Views
4. Working with ViewComponents
Chapter 6: Adding Client-Side Logic
Chapter Goal: The reader will learn how to work with SCSS to create CSS, using JavaScript and jQuery. The reader will also learn how to separate scripts targeted at production from scripts targeted for development.
No of pages
About the Author: 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.