{"id":553,"date":"2011-04-14T01:35:00","date_gmt":"2011-04-14T01:35:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/cesardelatorre\/2011\/04\/14\/entity-framework-4-1-just-released\/"},"modified":"2011-04-14T01:35:00","modified_gmt":"2011-04-14T01:35:00","slug":"entity-framework-4-1-just-released","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/cesardelatorre\/entity-framework-4-1-just-released\/","title":{"rendered":"Entity Framework 4.1 just Released!"},"content":{"rendered":"<p>For me, it means fundamentally <strong>&lsquo;Code First approach&rsquo;<\/strong>, which is actually the best approach for <strong>DDD (Domain Driven Design) architectural styles<\/strong> (for your Domain Entity Model). So now, it is ready for production developments!!.<\/p>\n<p>Release to Web (RTW) of Microsoft ADO.NET Entity Framework 4.1 (EF 4.1). This is a fully supported, go-live release.<\/p>\n<h4>&nbsp;<\/h4>\n<h4>What&rsquo;s in EF 4.1?<\/h4>\n<p>ADO.NET Entity Framework 4.1 introduces two new features:<\/p>\n<ul>\n<li>The <strong>DbContext API<\/strong> is a simplified abstraction over ObjectContext and a number of other types that were included in previous releases of the ADO.NET Entity Framework. The DbContext API surface is optimized for common tasks and coding patterns. DbContext can be used with Database First, Model First and Code First development. <\/li>\n<li><strong>Code First<\/strong> is a new development pattern for the ADO.NET Entity Framework and provides an alternative to the existing Database First and Model First patterns. Code First is focused around defining your model using C#\/VB.NET classes, these classes can then be mapped to an existing database or be used to generate a database schema. Additional configuration can be supplied using Data Annotations or via a fluent API. <\/li>\n<\/ul>\n<h4>&nbsp;<\/h4>\n<h4>Getting EF 4.1<\/h4>\n<p>ADO.NET Entity Framework 4.1 is available in a couple of places:<\/p>\n<ul>\n<li>Download the <a href=\"http:\/\/www.microsoft.com\/downloads\/en\/details.aspx?FamilyID=b41c728e-9b4f-4331-a1a8-537d16c6acdf&amp;displaylang=en\">stand alone installer<\/a><\/li>\n<li>Add the <a href=\"http:\/\/nuget.org\/List\/Packages\/EntityFramework\">&lsquo;EntityFramework&rsquo; NuGet package<\/a> to your project <br \/><strong>Note:<\/strong> <em>The NuGet package only includes the EF 4.1 runtime and does not include the Visual Studio item templates for using DbContext with Model First and Database First development.<\/em><\/li>\n<\/ul>\n<p><em><\/em><\/p>\n<h4>Getting Started<\/h4>\n<p>There are a number of resources to help you get started with EF 4.1:<\/p>\n<ul>\n<li><a href=\"http:\/\/msdn.com\/data\/ef\"><strong>ADO.NET Entity Framework page<\/strong><\/a><strong> on the MSDN Data Developer Center<\/strong> <br \/>There is lots of great new content on this site, including &lsquo;Getting Started&rsquo; videos for the new features in EF 4.1 <\/li>\n<li><a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/gg696172(v=VS.103).aspx\">MSDN Documentation<\/a><\/li>\n<li><a href=\"http:\/\/social.msdn.microsoft.com\/Forums\/en-US\/adodotnetentityframework\/threads\">ADO.NET Entity Framework Forum<\/a><\/li>\n<li><a href=\"http:\/\/blogs.msdn.com\/b\/adonet\/archive\/2011\/03\/15\/ef-4-1-code-first-walkthrough.aspx\">Code First walkthrough<\/a><\/li>\n<li><a href=\"http:\/\/blogs.msdn.com\/b\/adonet\/archive\/2011\/03\/15\/ef-4-1-model-amp-database-first-walkthrough.aspx\">Model First \/ Database First walkthrough<\/a><\/li>\n<\/ul>\n<h4>&nbsp;<\/h4>\n<h4>Non-English Releases?<\/h4>\n<p>This initial release only includes US English IntelliSense, exception messages and Visual Studio item templates. In approximately a month we will also be releasing a series of &lsquo;Language Packs&rsquo; that will add localized versions of these resources to an existing EF 4.1 install. These language packs will be available for the same language set as Visual Studio 2010.<\/p>\n<h4>&nbsp;<\/h4>\n<h4>Support<\/h4>\n<p>This release can be used in a live operating environment subject to the terms in the <a href=\"http:\/\/go.microsoft.com\/fwlink\/?LinkID=211010\">License Terms<\/a>. The <a href=\"http:\/\/social.msdn.microsoft.com\/Forums\/en-US\/adodotnetentityframework\/threads\">ADO.NET Entity Framework Forum<\/a> can be used for questions relating to this release.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For me, it means fundamentally &lsquo;Code First approach&rsquo;, which is actually the best approach for DDD (Domain Driven Design) architectural styles (for your Domain Entity Model). So now, it is ready for production developments!!. Release to Web (RTW) of Microsoft ADO.NET Entity Framework 4.1 (EF 4.1). This is a fully supported, go-live release. &nbsp; What&rsquo;s [&hellip;]<\/p>\n","protected":false},"author":362,"featured_media":12806,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[41,48],"class_list":["post-553","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cesardelatorre","tag-ddd","tag-entity-framework"],"acf":[],"blog_post_summary":"<p>For me, it means fundamentally &lsquo;Code First approach&rsquo;, which is actually the best approach for DDD (Domain Driven Design) architectural styles (for your Domain Entity Model). So now, it is ready for production developments!!. Release to Web (RTW) of Microsoft ADO.NET Entity Framework 4.1 (EF 4.1). This is a fully supported, go-live release. &nbsp; What&rsquo;s [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/cesardelatorre\/wp-json\/wp\/v2\/posts\/553","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/cesardelatorre\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/cesardelatorre\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cesardelatorre\/wp-json\/wp\/v2\/users\/362"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cesardelatorre\/wp-json\/wp\/v2\/comments?post=553"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/cesardelatorre\/wp-json\/wp\/v2\/posts\/553\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cesardelatorre\/wp-json\/wp\/v2\/media\/12806"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/cesardelatorre\/wp-json\/wp\/v2\/media?parent=553"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cesardelatorre\/wp-json\/wp\/v2\/categories?post=553"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cesardelatorre\/wp-json\/wp\/v2\/tags?post=553"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}