Best Practices with Web User Interfaces
When creating a user interface (UI) with ASP.NET 8, it can be intimidating since most developers are so used to working with C#. There are a lot of factors to consider when creating a web application, such as avoiding duplication, recognizing similar interfaces for reusable components, creating a structured website, and making it easier for search engines to index the site—a process known as search engine optimization (SEO).
In this chapter, we’re going to cover the following main topics:
- Using a task runner
- Applying standards to UIs
- Introducing Buck’s coffee shop project
In the first section, we’ll examine why a task runner is so important to developers, how to set it up and run it automatically, and how to bundle and minify scripts. Then, in the next section, we’ll review a number of common standards with ASP.NET 8 sites, including centralizing links, keeping controllers and Razor...