Quantcast
Channel: ADO.NET, Entity Framework, LINQ to SQL, NHibernate
Viewing all articles
Browse latest Browse all 1698

ASP.NET newbie - should I learn ADO.NET or EF?

$
0
0

Hi All,

My background

  • I am very familiar with SQL Server, stored procedures, indexing, queries etc.
  • Now learning ASP.NET for the first time (learning ASP.NET Core with C#)
  • Just learnt ADO.NET and considering learning EF or Dapper

Dilemma

  • Should I learn EF or stick to ADO.NET?
  • It seems a bit confusing

My data access choices for my web projects

  • ADO.NET + stored procedures 
    I would have dozens of stored procedures for even the simplest SQL queries and just call each stored procedure when needed
    Benefit of this choice is that I don't have to learn EF which I think is a big topic on its own

  • EF with or without stored procedures
    Is learning EF necessary if I am not working for someone else?
    Just creating web apps for my own
    Is it hard to learn EF?
    If I plan to use stored procedures exclusively (and not LINQ), would I be better off just sticking to ADO.NET?

If I choose the first option (ADO.NET + stored procedures), would I be missing some benefits?

Appreciate all your advice.


Viewing all articles
Browse latest Browse all 1698

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>