What DAL technology to use for a .NET/Angular project? [closed]

General Tech Technology & Software 2 years ago

0 2 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Technology & Software related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (2)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

I am in the process of setting up a new web app and will be using Angular and .NET WebAPI. I am looking for a robust framework that I can use for the Data Access Layer. Something that I can quickly get up and running but also helps me easily update table objects, setup lookup data and perform post upgrade operations.

In my previous project, I used EF Code first and although it 'works', I found that Migrations are messy and having a clean ability to maintain scripts for upgrade/setup doesn't exist (or I am not aware of).

Which DAL technology can I use?

profilepic.png
manpreet 2 years ago

If you are happy with Entity Framework (migrations aside) and you need to get something up quickly and easily I would recommend to stick with it. You can use the EF "Code First" approach where you create your models and mappings in code without using migrations. You could manage your scripts in a different way such as using a Visual Studio database project or DBUp.

That said the real answer is "It Depends" based on the specific needs of your new project and what you need from your data access layer. There are other SQL-based alternatives such Dapper and even ADO.NET but also other solutions such as RavenDB.


0 views   0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.