0

I'm in pre-development stages of an ASP.NET forms application (MVC not a consideration at this point in time).

I simply need to create and access a database. At this point, these are the choices I have found to be available.

ADO.NET Datasets -- LINQ to SQL -- Entity Framework: Code First, Model First, Database First

I'm just simply confused. I've read the other threads on this topic and while they provided some clarification, they have not really helped me.

What's the best choice for maximum simplicity? I'm frustrated by the pile of options an am currently at the head-banging-against-the-wall stage.

7
  • Opinion based questions are tend to be shot down Commented May 20, 2014 at 20:24
  • I'm looking for maximum simplicity.. I have to ask, shot down or not. The number of options makes it difficult to learn even one of the methodologies. Commented May 20, 2014 at 20:25
  • 1
    (in my personal opinion) ADO.NET is the simplest and the most you have control over. Commented May 20, 2014 at 20:33
  • 1
    Other things, like Linq-2-SQL/Entity framework etc. give your strongly typed objects. Intellisence etc. etc. but as with any ORMs there're trade-offs Commented May 20, 2014 at 20:38
  • 1
    Entity Framework can save you a lot of coding, and is handy for working with your data as objects. But it's a lot to learn, and it's better to understand ADO.NET and then later EF later. Commented May 20, 2014 at 20:39

1 Answer 1

2

For simplicity? Go with webforms and sqldatasource - you don't even need to know what either of those words mean. Just watch this short video...

https://www.youtube.com/watch?v=dIKN9vbbUIw

That said, you need to make your own choice regarding what technology to use. After creating a simple gridview, take some time looking around at the different discussions regarding MVC and webforms, entity framework, code-first vs database-first, etc. Then pick a route and follow it.

All of these choices are good, valid choices for any size application. Many of the differences come down to personal preference.

In the long run, you should learn multiple technologies, but you have to pick one you think you might be comfortable with, and start.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.