Creating ASP.NET Core Web Applications
62,99 €
Sofort verfügbar, Lieferzeit: Sofort lieferbar
Creating ASP.NET Core Web Applications, Apress
Proven Approaches to Application Design and Development
Von Dirk Strauss, im heise Shop in digitaler Fassung erhältlich
Produktinformationen "Creating ASP.NET Core Web Applications"
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, _ViewImports, and _ViewStart 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
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.
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 Registration
CHAPTER 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 : 30
SUB - TOPICS:
1. Separate Production Scripts from Development Scripts
2. Setting up SCSS and generating CSS with the Web Compiler
3. Creating a Client-side API
4. Working with Chrome Developer Tools
CHAPTER 7: EXPLORING MIDDLEWARE
CHAPTER GOAL: THE READER WILL LEARN HOW TO USE MIDDLEWARE AND HOW TO CREATE CUSTOM MIDDLEWARE. WE WILL ALSO BE LOOKING AT LOGGING APPLICATION EVENTS.
NO OF PAGES : 25
SUB - TOPICS:
1. What is Middleware
2. Creating Custom Middleware
3. Logging Information
CHAPTER 8: WEB APPLICATION DEPLOYMENT
CHAPTER GOAL: THE READER WILL LEARN HOW TO DEPLOY THE WEB APPLICATION THEY CREATED. THIS WILL LOOK AT DEPLOYMENT TO A WEB SERVER AS WELL AS CONNECTING THE WEB APPLICATION TO A SQL SERVER DATABASE.
NO OF PAGES : 25
SUB - TOPICS:
1. Getting Your Site Ready for Deployment
2. Deploying Your Web Application to IIS
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, _ViewImports, and _ViewStart 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
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.
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 Registration
CHAPTER 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 : 30
SUB - TOPICS:
1. Separate Production Scripts from Development Scripts
2. Setting up SCSS and generating CSS with the Web Compiler
3. Creating a Client-side API
4. Working with Chrome Developer Tools
CHAPTER 7: EXPLORING MIDDLEWARE
CHAPTER GOAL: THE READER WILL LEARN HOW TO USE MIDDLEWARE AND HOW TO CREATE CUSTOM MIDDLEWARE. WE WILL ALSO BE LOOKING AT LOGGING APPLICATION EVENTS.
NO OF PAGES : 25
SUB - TOPICS:
1. What is Middleware
2. Creating Custom Middleware
3. Logging Information
CHAPTER 8: WEB APPLICATION DEPLOYMENT
CHAPTER GOAL: THE READER WILL LEARN HOW TO DEPLOY THE WEB APPLICATION THEY CREATED. THIS WILL LOOK AT DEPLOYMENT TO A WEB SERVER AS WELL AS CONNECTING THE WEB APPLICATION TO A SQL SERVER DATABASE.
NO OF PAGES : 25
SUB - TOPICS:
1. Getting Your Site Ready for Deployment
2. Deploying Your Web Application to IIS
Artikel-Details
- Anbieter:
- Apress
- Autor:
- Dirk Strauss
- Artikelnummer:
- 9781484268285
- Veröffentlicht:
- 05.03.21