I'm starting to learn ASP.NET (Razor, .NET Framework 4.5), and now am attempting to figure out how to use SQL Server in ASP.NET (I'm used to MySQL in PHP, but from what I've seen SQL Server is more popular/works better in ASP.NET). Looking around, there seem to be a lot of ways to do this, some of the ways I've seen include:
- ADO.NET
- OleDb
- LINQ to SQL
LINQ to SQL would be my favorite choice, since I personally love using LINQ in C#, but the documentation I came across looks like it's for .NET Framework 3.5 (though it may just be outdated documentation, or I could be reading it wrong), and I'm not so sure about having an extra layer/bottleneck for speed considerations. What's the most-used way to do this, and where is the best documentation?