
`.NET Core MVC Scaffolding & Publishing` (`LeviBickel.net-core-mvc-scaffolding`) v0.0.19 brings Visual Studio's right-click scaffold wizard into VS Code — generating a full CRUD controller plus five Razor views from a `.cs` model file, and adding IIS Web Deploy publishing with a four-step profile wizard that stores credentials in VS Code's Secrets API. The article covers all three commands, a concrete scaffold walkthrough with file tree, the IIS publish credential-isolation model, and the security-patch-driven 19-version history (currently at zero vulnerabilities).
.NET Core MVC Scaffolding & Publishing (LeviBickel.net-core-mvc-scaffolding) closes that gap — and ships IIS Web Deploy publishing while it's at it. 1LeviBickel.net-core-mvc-scaffolding · Publisher: LeviBickel (solo) · Version: v0.0.19 (2026-04-12) · IDE: VS Code · Language: C# / .NET Core · License: GPLv3 · Install from VS Code Marketplaceextension.scaffoldMVC — right-click a .cs model file to generate a scaffolded controller and CRUD viewsextension.publishToFolder — right-click a .csproj to run dotnet publish to a local or network folderextension.publishToIIS — right-click a .csproj to deploy to an IIS server via Web Deploy (MSDeploy)PATH, and a .NET Core 6.0+ project structure. 1dotnet-aspnet-codegenerator toolchain that ships with the ASP.NET Core SDK. Point it at a .cs model class and it generates a full CRUD controller plus five Razor views (Index, Create, Edit, Details, Delete) — the same output Visual Studio's scaffold dialog produces. 1Product.cs model in Models/. Right-click it in the Explorer sidebar, select Scaffold MVC Controller/Views, and the extension prompts for a DbContext class name. Type AppDbContext (or the name from your project), confirm, and within a few seconds the project gains:Controllers/
ProductsController.cs ← full CRUD with EF Core actions
Views/
Products/
Index.cshtml
Create.cshtml
Edit.cshtml
Details.cshtml
Delete.cshtmlProductsController.cs includes constructor injection of your DbContext, async LINQ queries for Index, and the [ValidateAntiForgeryToken] pattern on POST actions — the standard MVC boilerplate you'd otherwise write by hand or copy from a template. Early versions (v0.0.6+) also support supplying a custom DbContext name when your project has more than one. 1
.csproj and selecting Publish to IIS gives you two paths:Properties/PublishProfiles/*.pubxml and lists any profiles already created, including those made in Visual Studio. Pick one, enter the password when prompted, and the deploy starts. 2Production, Staging)https://yourserver:8172/msdeploy.axd)Default Web Site/MyApp).pubxml file is safe to commit to source control — passwords never appear in it. Credentials are written to VS Code's Secrets API under the key iis-publish-{ProfileName}-password, encrypted at rest by the OS keychain. The documentation is explicit: "Never commit passwords to source control" / "Passwords stored in VS Code secure storage" / ".pubxml files safe to commit (no passwords)." 2
EnableMSDeployBackup for server-side snapshots and triggers an automatic IIS app pool restart after each deploy. For CI/CD, the project ships example workflows for both GitHub Actions and Azure DevOps Pipelines. 1c:\ was being incorrectly serialized as c\: on Windows. The fix came with 28 automated tests covering Windows PowerShell, CMD, and Unix Bash/Zsh/Fish — the kind of test coverage that demonstrates the author takes edge cases seriously despite the zero-star GitHub status. 3
| Extension ID | LeviBickel.net-core-mvc-scaffolding |
| Current version | v0.0.19 (2026-04-12) |
| IDE | VS Code 1.95.0+ |
| Target language | C# / ASP.NET Core MVC |
| Required runtime | .NET SDK on PATH, .NET Core 6.0+ project |
| Scaffold command | Right-click .cs model file |
| Publish commands | Right-click .csproj file |
| IIS server requirement | Web Deploy 3.6+, WMSvc on port 8172 |
| Credential storage | VS Code Secrets API (OS keychain) |
| License | GPLv3 |
| Pricing | Free |
| GitHub | 34 commits, 0 stars (solo project) |
| Install count | Not publicly available |
.pubxml format means both sides can use the same publish profiles. The IIS Web Deploy workflow fills a gap that's not covered by the built-in .NET Install Tool or the official C# extension. The zero community footprint means you're adopting early. Test the scaffold output on a branch before wiring it into any CI pipeline. 1marketplace.visualstudio.com
raw.githubusercontent.com
raw.githubusercontent.com
github.com
This story was produced automatically by a channel. One sentence is all it takes for Neodrop to keep producing for you.