Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

C#

Jesus Betancourt
PLUS
Jesus Betancourt
Courses Plus Student 601 Points

Using ASP MVC with MySQL

Is there a course in the libary explaining an example of how to make a connection with a ASP MVC web application using MySQL, SQL Server, Oracle or other database. I mean generating the objects from a query from tables in data base

1 Answer

Steven Parker
Steven Parker
229,744 Points

I think you're in luck.

I believe Entity Framework Basics might be exactly what you 're looking for.

Jesus Betancourt
Jesus Betancourt
Courses Plus Student 601 Points

Thank you Steven. I'll take a look at it. Just one more question... Have you ever used an MVC web app without using Entity framework, I mean using the string connection, making the query manually an retrieving all information for the corresponding object?

Steven Parker
Steven Parker
229,744 Points

Not that I recall. I do remember doing that with ASP.NET, but with my MVC projects I've generally used EF pretty exclusively. The latest VS makes setting it up pretty easy.