Chapter 1

Creating a Basic ASP.NET Core App

IN THIS CHAPTER

Bullet Working with the ASP.NET core templates

Bullet Building your first web application using ASP.NET core

In the beginning, things were simple. Developers used HTML tags to build web pages in a very basic manner. These pages weren’t flexible, they broke easily, and there wasn’t a good way to update them, but they were simple and extremely easy to understand. Today, things are flexible and updateable, but they’re much harder to understand and they still break easily at times. This said, ASP.NET core applications are designed to work with vast quantities of data in a variety of ways that provide automation that those early developers couldn’t contemplate, and this chapter is your introduction to them. It begins by introducing you to some of the templates (of which there are more than a few confusing options, so listen up). All the chapters in this part of the book are specific to Visual Studio 2022 and above.

Creating an ASP.NET core application requires a lot of files, so the second section of this chapter helps you wade through them. Nothing is worse than the feeling that you shouldn’t touch something because you don’t know what it’s connected to. After all, you could possibly cause a complete meltdown of the Internet (but then ...

Get C# 10.0 All-in-One For Dummies now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.