Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I never coded on VS and I'm a junior programmer in C# and I would like to know if the entity framework is available only for ASP .NET applications ?

share|improve this question

closed as off topic by Glenn Nelson, Yusubov, MichaelT, StuperUser, Joris Timmermans May 8 '13 at 14:57

Questions on Programmers Stack Exchange are expected to relate to software development within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 5 down vote accepted

Not only. Entity Framework is an ORM for .NET applications.

Any time you want to bridge between an application and a database, you can use an ORM, including EF.

It is useful for WebForms, WinForms, WPF and other types of applications (using any .NET language).

share|improve this answer

No. It is suitable for any .NET application. ASP.NET WebForms and MVC websites, WinForms and WPF desktop applications, Windows services, console apps - anything. If you need to connect to a database, Entity Framework is the main Microsoft-endorsed way to do it.

share|improve this answer

Entity Framework (EF) is an Object Relational Mapper (ORM) for .NET Framework. You can use it in any application type. It has no dependency on your application User Interface (UI) type. It actually populates objects with data from your database and if you make any changes in your object then it saves that object data to database.

After getting the data in object form you can use that object in any type of application in .NET Framework like ASP.NET (WebForm and MVC), Windows Forms Application, WPF, Class library, Console Application etc.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.