Microsoft.VisualStudio.Web.CodeGeneration
                               
                            
                                9.0.0
                            
                        
                            
                                
                                
                                    Prefix Reserved
                                
                            
                    See the version list below for details.
dotnet add package Microsoft.VisualStudio.Web.CodeGeneration --version 9.0.0
NuGet\Install-Package Microsoft.VisualStudio.Web.CodeGeneration -Version 9.0.0
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration" Version="9.0.0" />
<PackageVersion Include="Microsoft.VisualStudio.Web.CodeGeneration" Version="9.0.0" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration" />
paket add Microsoft.VisualStudio.Web.CodeGeneration --version 9.0.0
#r "nuget: Microsoft.VisualStudio.Web.CodeGeneration, 9.0.0"
#:package Microsoft.VisualStudio.Web.CodeGeneration@9.0.0
#addin nuget:?package=Microsoft.VisualStudio.Web.CodeGeneration&version=9.0.0
#tool nuget:?package=Microsoft.VisualStudio.Web.CodeGeneration&version=9.0.0
ASP.NET Scaffolding
ASP.NET scaffolding generates boilerplate code for web apps to speed up development.
For more information on ASP.NET scaffolding, see the following tutorials:
- Add a model to an ASP.NET Core MVC app
- Add a model to a Razor Pages app
- Tutorial: Create a web API with ASP.NET Core
- Scaffold Identity
This project is part of ASP.NET Core. You can find samples, documentation and getting started instructions for ASP.NET Core at the home repository.
| Product | Versions Compatible and additional computed target framework versions. | 
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. | 
- 
                                                    net8.0- Humanizer (>= 2.14.1)
- Microsoft.AspNetCore.Razor.Language (>= 6.0.24)
- Microsoft.Build (>= 17.10.4)
- Microsoft.CodeAnalysis.Common (>= 4.8.0)
- Microsoft.CodeAnalysis.CSharp (>= 4.8.0)
- Microsoft.CodeAnalysis.CSharp.Features (>= 4.8.0)
- Microsoft.CodeAnalysis.CSharp.Workspaces (>= 4.8.0)
- Microsoft.CodeAnalysis.Features (>= 4.8.0)
- Microsoft.CodeAnalysis.Razor (>= 6.0.24)
- Microsoft.CodeAnalysis.Workspaces.Common (>= 4.8.0)
- Microsoft.Extensions.DependencyInjection (>= 9.0.0-rc.2.24473.5)
- Microsoft.Extensions.DependencyModel (>= 9.0.0-rc.2.24473.5)
- Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore (>= 9.0.0)
- Mono.TextTemplating (>= 3.0.0)
- Newtonsoft.Json (>= 13.0.3)
- NuGet.Packaging (>= 6.11.0)
- NuGet.ProjectModel (>= 6.11.0)
- System.Formats.Asn1 (>= 9.0.0-rc.2.24473.5)
- System.Security.Cryptography.ProtectedData (>= 8.0.0)
 
NuGet packages (9)
Showing the top 5 NuGet packages that depend on Microsoft.VisualStudio.Web.CodeGeneration:
| Package | Downloads | 
|---|---|
| Microsoft.VisualStudio.Web.CodeGenerators.Mvc Code Generators for ASP.NET Core MVC. Contains code generators for MVC Controllers and Views. | |
| IntelliTect.Coalesce.CodeGeneration Core code generation engine and services for Coalesce. Learn more at https://coalesce.intellitect.com/ | |
| IntelliTect.Coalesce.CodeGeneration.Api Generates ASP.NET Core API controllers, DTOs, and Semantic Kernel plugins for Coalesce projects. Learn more at https://coalesce.intellitect.com/ | |
| IntelliTect.Coalesce.CodeGeneration.Vue Generates frontend Vue.js metadata, models, api clients, and view models for Coalesce projects. Learn more at https://coalesce.intellitect.com/stacks/vue/overview.html | |
| IntelliTect.Coalesce.Tools Legacy DotNetCliToolReference-style tool for Coalesce code generation. For the modern .NET global/local tool, see https://www.nuget.org/packages/coalesce. Learn more at https://coalesce.intellitect.com/ | 
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Microsoft.VisualStudio.Web.CodeGeneration:
| Repository | Stars | 
|---|---|
| aspnet/Universe 
                                                            [Archived] Repo for building the entire ASP.NET and Entity Framework stack. Project moved to https://github.com/aspnet/AspNetCore
                                                         | 
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 10.0.0-rc.1.25458.5 | 4,314 | 9/9/2025 | |
| 9.0.0 | 6,064,292 | 11/12/2024 | |
| 9.0.0-rc.2.24508.2 | 10,163 | 10/8/2024 | |
| 9.0.0-rc.1.24457.2 | 8,120 | 9/10/2024 | |
| 9.0.0-preview.7.24413.1 | 3,993 | 8/14/2024 | |
| 9.0.0-preview.6.24358.4 | 13,310 | 7/9/2024 | |
| 9.0.0-preview.4.24271.3 | 4,673 | 5/21/2024 | |
| 9.0.0-preview.3.24207.3 | 6,931 | 4/9/2024 | |
| 9.0.0-preview.2.24158.2 | 4,916 | 3/12/2024 | |
| 9.0.0-preview.1.24112.3 | 5,833 | 2/13/2024 | |
| 8.0.7 | 4,206,925 | 11/12/2024 | |
| 8.0.6 | 2,787,783 | 10/8/2024 | |
| 8.0.5 | 1,576,790 | 9/10/2024 | |
| 8.0.4 | 1,861,729 | 8/14/2024 | |
| 8.0.3 | 1,996,785 | 7/9/2024 | |
| 8.0.2 | 7,285,436 | 3/12/2024 | |
| 8.0.1 | 1,554,323 | 2/13/2024 | |
| 8.0.0 | 3,654,447 | 11/15/2023 | |
| 8.0.0-rc.2.23509.1 | 32,313 | 10/10/2023 | |
| 8.0.0-rc.1.23461.3 | 17,041 | 9/12/2023 | |
| 8.0.0-preview.7.23408.2 | 5,449 | 8/15/2023 | |
| 8.0.0-preview.6.23360.4 | 4,675 | 7/12/2023 | |
| 8.0.0-preview.5.23313.2 | 6,761 | 6/14/2023 | |
| 8.0.0-preview.4.23261.6 | 8,090 | 5/18/2023 | |
| 8.0.0-preview.3.23206.5 | 5,470 | 4/11/2023 | |
| 8.0.0-preview.2.23158.7 | 6,459 | 3/14/2023 | |
| 8.0.0-preview.1.23117.2 | 6,035 | 2/21/2023 | |
| 7.0.12 | 641,420 | 2/13/2024 | |
| 7.0.11 | 1,352,779 | 10/25/2023 | |
| 7.0.10 | 805,709 | 9/12/2023 | |
| 7.0.9 | 949,875 | 8/9/2023 | |
| 7.0.8 | 775,573 | 7/12/2023 | |
| 7.0.7 | 675,947 | 6/13/2023 | |
| 7.0.6 | 1,460,865 | 4/11/2023 | |
| 7.0.5 | 627,894 | 3/14/2023 | |
| 7.0.4 | 816,184 | 2/15/2023 | |
| 7.0.3 | 632,922 | 1/24/2023 | |
| 7.0.2 | 371,603 | 1/11/2023 | |
| 7.0.1 | 616,498 | 12/13/2022 | |
| 7.0.0 | 965,745 | 11/8/2022 | |
| 7.0.0-rc.2.22510.1 | 15,169 | 10/11/2022 | |
| 7.0.0-rc.1.22452.2 | 3,639 | 9/14/2022 | |
| 7.0.0-preview.7.22404.3 | 4,615 | 8/9/2022 | |
| 7.0.0-preview.6.22330.7 | 16,745 | 7/12/2022 | |
| 7.0.0-preview.5.22313.5 | 5,914 | 6/14/2022 | |
| 7.0.0-preview.4.22259.1 | 11,077 | 5/10/2022 | |
| 7.0.0-preview.3.22212.3 | 8,535 | 4/13/2022 | |
| 7.0.0-preview.1.22116.2 | 20,415 | 2/17/2022 | |
| 6.0.18 | 512,195 | 10/8/2024 | |
| 6.0.17 | 321,199 | 7/9/2024 | |
| 6.0.16 | 4,189,782 | 8/9/2023 | |
| 6.0.15 | 725,015 | 7/12/2023 | |
| 6.0.14 | 824,453 | 6/13/2023 | |
| 6.0.13 | 2,389,907 | 3/14/2023 | |
| 6.0.12 | 1,072,940 | 2/15/2023 | |
| 6.0.11 | 2,406,881 | 12/13/2022 | |
| 6.0.10 | 5,283,804 | 9/27/2022 | |
| 6.0.9 | 930,618 | 9/16/2022 | |
| 6.0.8 | 3,234,820 | 8/9/2022 | |
| 6.0.7 | 2,430,884 | 7/12/2022 | |
| 6.0.6 | 2,172,998 | 6/14/2022 | |
| 6.0.5 | 2,501,146 | 5/17/2022 | |
| 6.0.4 | 716,794 | 5/10/2022 | |
| 6.0.3 | 1,878,858 | 4/12/2022 | |
| 6.0.2 | 4,233,341 | 2/8/2022 | |
| 6.0.1 | 3,590,352 | 12/15/2021 | |
| 6.0.0 | 3,145,864 | 11/8/2021 | |
| 6.0.0-rc.2.21511.1 | 28,382 | 10/12/2021 | |
| 6.0.0-rc.1.21464.1 | 36,960 | 9/14/2021 | |
| 6.0.0-preview.7.21413.1 | 17,582 | 8/13/2021 | |
| 6.0.0-preview.7.21412.2 | 1,031 | 8/13/2021 | |
| 6.0.0-preview.7.21406.1 | 1,061 | 8/10/2021 | |
| 6.0.0-preview.6.21362.1 | 7,557 | 7/14/2021 | |
| 6.0.0-preview.5.21321.1 | 19,692 | 6/21/2021 | |
| 6.0.0-preview.5.21313.1 | 1,123 | 6/15/2021 | |
| 6.0.0-preview.4.21274.1 | 12,828 | 5/24/2021 | |
| 6.0.0-preview.3.21209.2 | 10,541 | 4/10/2021 | |
| 6.0.0-preview.2.21161.1 | 6,402 | 3/11/2021 | |
| 6.0.0-preview.1.21112.2 | 10,034 | 2/18/2021 | |
| 5.0.2 | 14,383,988 | 2/11/2021 | |
| 5.0.1 | 2,380,940 | 12/8/2020 | |
| 5.0.0 | 1,567,007 | 11/10/2020 | |
| 5.0.0-rc.2.20516.1 | 17,454 | 10/19/2020 | |
| 5.0.0-rc.2.20473.1 | 7,246 | 10/13/2020 | |
| 5.0.0-rc.1.20453.2 | 16,163 | 9/14/2020 | |
| 5.0.0-preview.8.20419.1 | 6,095 | 8/25/2020 | |
| 5.0.0-preview.7.20370.3 | 8,999 | 7/21/2020 | |
| 5.0.0-preview.6.20323.1 | 11,813 | 6/25/2020 | |
| 5.0.0-preview.5.20311.2 | 2,608 | 6/12/2020 | |
| 5.0.0-preview.4.20261.3 | 6,816 | 5/19/2020 | |
| 5.0.0-preview.3.20207.1 | 2,781 | 4/23/2020 | |
| 3.1.5 | 12,574,632 | 2/11/2021 | |
| 3.1.4 | 19,456,067 | 8/4/2020 | |
| 3.1.3 | 13,414,403 | 5/19/2020 | |
| 3.1.2 | 6,937,861 | 4/2/2020 | |
| 3.1.1 | 11,128,335 | 1/28/2020 | |
| 3.1.0 | 4,712,382 | 12/3/2019 | |
| 3.1.0-preview3.19558.8 | 18,469 | 11/14/2019 | |
| 3.1.0-preview2.19553.1 | 21,045 | 11/5/2019 | |
| 3.1.0-preview1-19509-03 | 504,387 | 10/15/2019 | |
| 3.0.0 | 7,154,580 | 9/23/2019 | |
| 3.0.0-rc1-19462-10 | 16,706 | 9/16/2019 | |
| 3.0.0-preview9-19453-02 | 31,865 | 9/4/2019 | |
| 3.0.0-preview8-19413-06 | 82,511 | 8/14/2019 | |
| 3.0.0-preview7-19378-04 | 23,358 | 7/30/2019 | |
| 3.0.0-preview6-19319-03 | 59,740 | 6/21/2019 | |
| 3.0.0-preview5-19264-04 | 56,034 | 5/15/2019 | |
| 2.2.4 | 11,076,289 | 9/25/2019 | |
| 2.2.3 | 16,439,059 | 3/11/2019 | |
| 2.2.2 | 1,117,392 | 2/12/2019 | |
| 2.2.1 | 1,513,480 | 1/8/2019 | |
| 2.2.0 | 4,589,751 | 12/3/2018 | |
| 2.2.0-preview3-35497 | 32,524 | 10/17/2018 | |
| 2.2.0-preview2-35157 | 23,241 | 9/12/2018 | |
| 2.2.0-preview1-35029 | 24,503 | 8/22/2018 | |
| 2.1.10 | 4,380,501 | 9/25/2019 | |
| 2.1.9 | 6,008,233 | 3/11/2019 | |
| 2.1.7 | 119,487 | 1/8/2019 | |
| 2.1.6 | 847,826 | 11/13/2018 | |
| 2.1.5 | 1,565,803 | 10/1/2018 | |
| 2.1.4 | 942,833 | 9/11/2018 | |
| 2.1.3 | 920,631 | 8/21/2018 | |
| 2.1.1 | 7,306,415 | 6/18/2018 | |
| 2.1.0 | 2,339,834 | 5/29/2018 | |
| 2.1.0-rc1-final | 19,835 | 5/6/2018 | |
| 2.1.0-preview2-final | 20,710 | 4/10/2018 | |
| 2.1.0-preview1-final | 95,447 | 2/26/2018 | |
| 2.0.4 | 2,480,454 | 5/7/2018 | |
| 2.0.3 | 2,493,171 | 3/13/2018 | |
| 2.0.2 | 1,658,225 | 1/9/2018 | |
| 2.0.1 | 1,092,255 | 11/14/2017 | |
| 2.0.0 | 1,928,091 | 8/11/2017 | |
| 2.0.0-preview2-final | 5,989 | 6/28/2017 | |
| 2.0.0-preview1-final | 6,074 | 5/10/2017 | |
| 1.1.5 | 21,620 | 7/10/2018 | |
| 1.1.4 | 64,621 | 12/12/2017 | |
| 1.1.3 | 6,508 | 11/14/2017 | |
| 1.1.2 | 13,510 | 9/20/2017 | |
| 1.1.1 | 576,187 | 5/9/2017 | |
| 1.1.0 | 521,276 | 3/6/2017 | |
| 1.1.0-preview4-final | 87,687 | 11/16/2016 | |
| 1.1.0-msbuild3-final | 31,176 | 1/27/2017 | |
| 1.0.3 | 12,117 | 11/14/2017 | |
| 1.0.2 | 6,309 | 9/20/2017 | |
| 1.0.1 | 11,109 | 5/9/2017 | |
| 1.0.0 | 245,115 | 3/6/2017 | |
| 1.0.0-preview4-final | 10,808 | 12/12/2016 | |
| 1.0.0-preview3-final | 6,058 | 10/24/2016 | |
| 1.0.0-preview2-update1 | 127,643 | 9/13/2016 | |
| 1.0.0-preview2-final | 222,729 | 6/27/2016 | |
| 1.0.0-preview1-final | 39,315 | 5/16/2016 | |
| 1.0.0-msbuild3-final | 18,771 | 1/27/2017 | |
| 1.0.0-msbuild2-final | 5,348 | 12/12/2016 | |
| 1.0.0-msbuild1-final | 11,396 | 11/16/2016 |