Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7506657
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T22:19:36+00:00 2026-05-29T22:19:36+00:00

I am trying to learn MVC. I want to automatically generate the required view

  • 0

I am trying to learn MVC. I want to automatically generate the required view code as and when I add a controller. This is possible if I select the option “Controller with read/write actions and views, using Entity Framework” . However I am not using Entity Framework. How can I achieve the similar behavior without using Entity Framework? And why it is unable to automatically generate the view when I don’t use Entity Framework?

Also, is there any good MVC3 tutorial that does not use Entity Framework (with code download available) ?

Reference

  1. How do I configure ASP.net MVC to Scaffold using ADO.net dataservice?

  2. Levergaing T4Scaffolding for WCF Web API

  3. ASP.NET MVC 3 and NHibernate Scaffolding

  4. Scaffold your ASP.NET MVC 3 project with the MvcScaffolding package

  5. Once again LINQ to SQL or Entity Framework for new MVC 3 project

  6. MVC Scaffolding for WCF Services

  7. Create a Dropdown List for MVC3 using Entity Framework (.edmx Model) & Razor Views && Insert A Database Record to Multiple Tables

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T22:19:37+00:00Added an answer on May 29, 2026 at 10:19 pm

    You might find some of what you’re looking for in Steve Sanderson’s MvcScaffolding package

    Nuget

    Install-Package MvcScaffolding
    

    After installing (it will probably install some EF requirements) you could scaffold basic CRUD views for your model as follows assuming a model type MySweetModel

    Scaffold Views MySweetModel
    

    Please note this command will not create the controller class, but should create the following views under /Views/MySweetModel

    • _CreateOrEdit.cshtml
    • Create.cshtml
    • Delete.cshtml
    • Details.cshtml
    • Edit.cshtml
    • Index.cshtml

    It looks like you might be able to override the default T4 templates, but I’ve never used MvcScaffolding outside the scope of EF. It’s also possible someone has already done this for your persistence layer e.g. NHibernate or whatever you’re using. I’d search a bit before implementing your own templates.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to learn ASP.NET MVC and I hit this problem: I have
I'm trying to learn ASP.NET MVC, and I want to have menus highlighted on
I'm trying to learn ASP.NET MVC, so I did as test project this where
I want to learn some MVC framework. I am trying to learn CakePHP by
I am trying to learn Microsoft MVC 2, and have in that case found
I am trying to learn asp.net MVC and having an issue to submit a
I'm trying to learn ASP.NET MVC + Entity Framework by developing a small project.
Well I am trying to learn the java MVC pattern, but I can't understand
I'm trying my best to learn MVC and cakePHP and I had a question
I am trying to learn some ASP.NET MVC. Please bear with me but asp.net

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.