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

  • Home
  • SEARCH
  • 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 8418959
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T02:28:28+00:00 2026-06-10T02:28:28+00:00

In our MVC implementaton, we have a View, Controller and a Model The Model

  • 0

In our MVC implementaton,
we have a View, Controller and a Model

The Model is an .edmx file (Entity Framework).

Our controller calls a Repository where we do get the data from the Entity Framework.

Is the Repository considered part of the Model then?
Is it usually part of the Model as the M is MVC can be many layers.

  • 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-06-10T02:28:29+00:00Added an answer on June 10, 2026 at 2:28 am

    The repository is not part of the Model, it is it’s own separate entity that can also be invoked at the Controller and/or Model level when needed. The repository is simply an area of storage, i.e. a database.

    As a breakdown:

    • The controller takes care of all the web requests, i.e. GET and POST. It can also populate a model and return the appropriate view for that request.

    • The model contains the domain objects and logic to perform (i.e. extracting information from the repository and manipulating the data to be passed to the view).

    • The view returns the markup which is based upon the data stored within the model.

    In certain implementations additional logic such as checking conditions and Repository calls also take place at the controller level, which is a technique known as Fat Controller Thin Model.

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

Sidebar

Related Questions

We have textbox on our MVC view. Once we load data, we are unable
Our current MVC project is set up to have ViewModels that encapsulate the data
In our ASP.NET MVC project we have a Strings.resx file and the accompanying autogenerated
Using log4net we would like to log all calls to our ASP.NET MVC controller
So I have our MVC web application up and running and we'd like to
I believe I have set up our MVC app to use [HandleError] properly. This
We have a issue with using Linq expressions in our MVC views. Visual studio
In our ASP.NET MVC project, we have an HtmlHelper extension method to generate a
I am currently working in ASP.NET MVC 4 while using the entity framework. I've
Our PHP/MVC webapp lets users upload pictures. They get a link for each image,

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.