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 6674501
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:45:12+00:00 2026-05-26T03:45:12+00:00

I am creating my first ASP.NET MVC 3 application, and my data comes from

  • 0

I am creating my first ASP.NET MVC 3 application, and my data comes from a data source I can access only via its REST API.

I will only be using READ-ONLY access at this point to the REST data source (no updating, etc.)

I would like to use the Entity Framework V4 to provide a Business Entity interface to MVC 3 without exposing it to the REST API.

I need to get something working quickly – so I don’t have time to fully understand the Server Layer / UnitOfWork and Repository patterns just yet, although I plan to go there next.

I am willing to use a Repository class at this time, but not ready for DI / IoC container yet.

Any suggestions on where the RESP API calls go?

EDIT

Learned by asking this question that it is not necessarily useful to integrate an ORM with a REST API – See my accepted answer below.

  • 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-26T03:45:13+00:00Added an answer on May 26, 2026 at 3:45 am

    An Object/Relational Mapper, or ORM, like Entity Framework has specifically been developed to abstract away a relational database. It might not be the right fit for REST calls.

    You could instead build a repository class that encapsulates the REST call and exposes methods like IEnumerable<T> GetAll() or T GetyById(...).

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

Sidebar

Related Questions

What's the recommended way of creating a Data Access layer in real-life ASP.NET MVC
I'm looking at creating my first ASP.NET MVC application using MVC3. The project template
I'm creating an asp.net MVC app, first time I've done this. I have a
I'm creating an ASP.NET MVC application using F# on IIS 7. When I attempt
When you start creating an application or site in ASP.NET MVC, what do you
I'm creating a new ASP.NET MVC application. So far I've used the Account controller
I'm creating my first ASP.NET MVC 3 website for my company's intranet. It's a
Asp.net MVC2: I have many dropdownlists in my mvc application. At first, I started
I am creating my first site in asp.net MVC and I have a very
I am learning ASP.NET MVC and Entity Framework Code First, LINQ by creating a

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.