Click here to Skip to main content
15,888,454 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Is it possible to create scaffolding for Web Forms Pages using Entity Framework in Visual Studio 2017? The option is not there.

When one created a Webforms project and goes to Application -> Add -> New Scaffolded Item, one sees the following on the left hand side:

Installed
MVC
Web API

However in Visual Studio 2013, I did an app some years back, the scaffolding has a Webforms option.

Application -> Add -> New Scaffolded Item

And then:

Installed
MVC
Web API
Web Forms

On Clicking on Webforms, one sees the option of "Web Forms Using Entity Framework".

How do I enable this option in VS 2017?

What I have tried:

I have searched the web for solving this issue in VS 2017 but to no avail.
Posted
Updated 28-Aug-19 23:50pm
Comments
[no name] 28-Aug-19 8:44am    
Don't see how one relates to the other. If the "admin" functions use EF or not, makes no difference to your existing or planned EF "app" code; good or bad. I see no point in spending time on this.
Kinyanjui Kamau 28-Aug-19 9:35am    
I don't really get you. I meant scaffolding in webforms as a feature in 2013 that created the CRUD functions on a click. Yes I could code that in 2017.

1 solution

There is no option in VS 2017 for Web forms Scaffolding, there was an Extension

Web Forms Scaffolding - Visual Studio Marketplace[^]

but it seems they've not updated it for VS 15/17/19
 
Share this answer
 
Comments
Kinyanjui Kamau 29-Aug-19 6:00am    
So it seems. Thanks anyway. Will just code it all. Won't make much difference.
dnxit 29-Aug-19 6:13am    
basically it uses Dynamic Data Entity templates and Field templates, for more details see
https://docs.microsoft.com/en-us/previous-versions/aspnet/cc488545(v=vs.100)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900