Create a web UI with ASP.NET Core
ASP.NET Core supports creating webpages using a native templating engine called Razor. In this module, you'll learn how to create web pages using Razor with ASP.NET Core.
Learning objectives
In this module, you will:
- Understand when and why to use Razor Pages for your ASP.NET Core app.
- Use the .NET CLI to create a new page in the app.
- Create a form that supports the app's product data management requirements.
- Add client-side form input validation using Razor's Input Tag Helper.
- Add server-side model validation using data annotations.
- Consume a RESTful service in your app to manage product data.
- Examine the life cycle of a sample HTTP request.
- Deploy and test the web app.
Prerequisites
- Experience writing C# at the beginner level
- Ability to write HTML at an intermediate level
- Knowledge of RESTful services and HTTP action verbs