A long time ago, in this galaxy, back when I started developing in school, setting up an ASP.NET website wasn't so easy. The process was excruciating. Now we just click a couple of times and tadaa.
Microsoft has a lot of documentation on all ASP.NET Core frameworks.
ASP.NET Core Documentation
Check Overview of ASP.NET Core for more information on ASP.NET CoreCreating an ASP.NET website with Razor@Model.Size>
To set up this blog website, I didn't do anything too complex. I followed the documentation on the ASP.NET Core Documentation website.
ASP.NET Core Razor Pages Documentation
Check Tutorial: Get started with Razor Pages in ASP.NET Core on how to set up a Razor Web AppOk, where was I... Ah yes, setting up the website. After I installed the template, I removed some of the default stuff that I don't need for now, just to have a basic version to begin with. In the end you have to make it your own.
And when I run the project, in Visual Studio that is, it's up and running. And you can even find it immediately online at https://localhost:7096/. You should check it out. Haha.
Conclusion@Model.Size>
Wow, it's that easy to set up the basics for a website in ASP.NET Core Web Pages using Razor.
Of course it's all just boilerplate stuff and there's still the need to configure and develop to make it production worthy. But still.
Documentation Reference
- Microsoft Visual Studio IDE - https://visualstudio.microsoft.com/
- ASP.NET Core Documentation - Overview of ASP.NET Core
- ASP.NET Core Razor Pages Documentation - Tutorial: Get started with Razor Pages in ASP.NET Core