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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:35:01+00:00 2026-05-26T15:35:01+00:00

We currently have a solution that was completely written by hand in ASP.NET and

  • 0

We currently have a solution that was completely written by hand in ASP.NET and MVC.

There are a lot of ugly hacks and workarounds in the DAL currently and rather than expand on these hacks, I’ve managed to convince the suits that we need to migrate to an ORM of some sort.

With Entity Framework experience in the team, we’ve decided to go with the Entity Framework, however, I have a migration question for anyone who may have had an experience with this.

Would there be any performance issues if we were to migrate Entity-by-Entity until everything was migrated to EF? What possible roadblocks (other than the obvious of having to rewrite most of the BL) could we face? Should it literally be done Entity-by-Entity (in terms of, creating the models) or would there be issues creating the entity model and just changing the BL bit-by-bit.

I can’t seem to find any documentation on the subject.. MSDN seems to just say “Yay Entity Framework is good, so migrating to it is good.”.

Any advice would be appreciated.

PS: I did read this: Migrating from 'native' OODBMS to ORM (Entity Framework / SQL Server)

However as we’ve decided to go with EF instead of NHibernate, it didn’t prove very useful.

  • 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-26T15:35:02+00:00Added an answer on May 26, 2026 at 3:35 pm

    It’s good question and i have a answer from my prospective. It’s about ‘Yay Entity Framework is good, so migrating to it is good’

    Now our team is working over big (very big) HR SaaS solution. From the beginning we decided to use:

    • EF 4.1
    • MySQL (that was requirement from client)
    • .NET MVC 3

    Then time passed (near 3 weeks) we noticed next about EF: using Model first is not applicable and useful in our system in case of hard to support system in future when we need, for example, change a little bit db structure or make new relations between tables.

    In this case we moved to EF Code First (with one generic repository for all db requests). That was the risk cause it’s so new technology and there was no best practices or use cases on big solutions. As result we recived a lot of other headache:

    • ORM made a lot of db requests (cause of a lot of relations between tables). Fixed by .Include()
    • Dynamic Proxy for POCO objects – made a lot of troubles, cause in code first entities from db came not like requested entity type – like dynamic proxy type. So when we tried to serialize them and put to Memcached on deserialization we get the error that this entity no more available in current context. Fixed like this: http://msdn.microsoft.com/en-us/library/dd456853.aspx and this: http://blogs.dotnetkicks.com/dpeterson/2011/08/11/theres-a-proxy-in-my-boots-entity-framework-poco/
    • Stupid bag with Membership that sent a lot of unbelievable requests. Fixed by reviewing our work with Membership

    Also we tried NHibernate to just compare performance. NHiberanate has the same 🙂

    General info that you should know about EF:

    • If you want to attache 3rd part caching be ready for workaround. NHibernate have a native integration of this
    • There is no big different between EF and Nh performance, but Nh have a lot of hand work with mapping

    Hope i answer to your questing and info is relevant for you.

    ps> sorry for my English 🙂

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

Sidebar

Related Questions

Currently I have solution A that contains a domain layer base and solution B
We have a solution written by an outside contractor whereby a .net Windows Service
All, I currently have my solution comprising of 2 Class librarys and a Web
So I currently have 2 WSDLs added as Service References in my solution. They
I am looking for a better solution than what we currently have to deal
I have a Visual Studio Solution. Currently, it is an empty solution (=no projects)
I currently have an MS Access application that connects to a PostgreSQL database via
I have an application, currently written in C#, which can take a Base64-encoded string
I am currently converting a very old, but working classic ASP site to ASP.Net.
I currently have a table that has a width of 94%, and the following

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.