# Connect Database

**URL:** <https://forum.codewithmosh.com/t/connect-database/14952>\
**Category:** C#\
**Created:** [September 6, 2022, 12:42am UTC](https://forum.codewithmosh.com/t/connect-database/14952 "2022-09-06T00:42:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![acenemo](https://avatars.discourse-cdn.com/v4/letter/a/2bfe46/32.png) [@acenemo](https://forum.codewithmosh.com/u/acenemo)\
**Post date:** [September 6, 2022, 12:42am UTC](https://forum.codewithmosh.com/t/connect-database/14952/1 "2022-09-06T00:42:03Z")

</div>

Hi I’m Alex,  
I would like to now how to configure the database connection in [ASP.Net](http://ASP.Net) MVC using ApplicationDbContext?

---

<div class="post-metadata">

**Author:** ![UniqueNospaceShort](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/uniquenospaceshort/32/1814_2.png) [@UniqueNospaceShort](https://forum.codewithmosh.com/u/UniqueNospaceShort)\
**Post date:** [September 6, 2022, 4:05pm UTC](https://forum.codewithmosh.com/t/connect-database/14952/2 "2022-09-06T16:05:43Z")

</div>

Hi,  
Read about [entity framework](https://www.entityframeworktutorial.net/what-is-entityframework.aspx).

Good luck.
