ASP.NET Core Web Forms App: A namespace cannot directly contain members such as fields

After creating a new Razor web forms app I scaffolded in an existing database: Scaffold-DbContext "Server=<server>;Database=<db-name>;User ID=<username>;Password=<password>;" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models And kept getting an error on the newly created entries: A namespace cannot directly contain members such as fields After ensuring I had added Entity Framework to the project using NuGet, I still got the... » read more

Visual Studio Code for Classic ASP coding?
Visual Studio Code for Classic ASP coding?

I can’t quite believe I’ve been struggling without Visual Studio Code all this time when I’ve been supporting the classic ASP sites we still run. Up until now I’ve been using the full version of Microsoft Visual Studio, hacking WinSCP to open the .asp files, and editing them there. It kind of works but often... » read more