A Tour of EF Core's (1.1) Most Interesting & Important FeaturesJulie Lerman
Slide deck from Devintersection Fall 2016 presentation.
High level info about EF Core plus new features plus comparison to EF6. Also see "EF6 or EF Core? How Do I Choose" at http://www.slideshare.net/JulieLerman/ef6-or-ef-core-how-do-i-choose
Facilitating Idiomatic Swift with Objective-CAaron Taylor
Blog Post: https://www.meta.sc/tech/swiftobjc
If you are hitting roadblocks in trying to communicate with Core Foundation and C APIs directly from Swift, just wrap them in a friendly Objective-C class that provides an simple API for the rest of your application to use.
Xtext beyond the defaults - how to tackle performance problemsHolger Schill
Nearly every Eclipse user is aware what Xtext is and what it is useful for. It is always a pleasure to see in which kind of areas it is used.
One reason is clearly, that it is really easy to build a first working example in no time. The grammar alone is sufficient and the rest is done by a code generator. Xtext will generate stub classes, that are ready to fill in individual logic for different areas.
By doing that most of the things just work, because Xtext comes with a lot of defaults that suits in most of the cases.
But as projects get bigger and the amount of models grow, the defaults might not scale and you might need to tweak your language to make working smooth again.
Here it becomes more complicated and you need to understand what’s going on under the covers.
In this session I will go through typical problems and solutions, that we have seen in customer projects. Sometimes it’s a tradeoff to tackle those problems, but it’s important to understand the implications.
For some typical examples I will go into details and explain what’s going on under the covers.
After the session attendees should have an idea how to tweak their own languages and why it might be worth the effort to migrate to a newer version of Xtext.
A Tour of EF Core's (1.1) Most Interesting & Important FeaturesJulie Lerman
Slide deck from Devintersection Fall 2016 presentation.
High level info about EF Core plus new features plus comparison to EF6. Also see "EF6 or EF Core? How Do I Choose" at http://www.slideshare.net/JulieLerman/ef6-or-ef-core-how-do-i-choose
Facilitating Idiomatic Swift with Objective-CAaron Taylor
Blog Post: https://www.meta.sc/tech/swiftobjc
If you are hitting roadblocks in trying to communicate with Core Foundation and C APIs directly from Swift, just wrap them in a friendly Objective-C class that provides an simple API for the rest of your application to use.
Xtext beyond the defaults - how to tackle performance problemsHolger Schill
Nearly every Eclipse user is aware what Xtext is and what it is useful for. It is always a pleasure to see in which kind of areas it is used.
One reason is clearly, that it is really easy to build a first working example in no time. The grammar alone is sufficient and the rest is done by a code generator. Xtext will generate stub classes, that are ready to fill in individual logic for different areas.
By doing that most of the things just work, because Xtext comes with a lot of defaults that suits in most of the cases.
But as projects get bigger and the amount of models grow, the defaults might not scale and you might need to tweak your language to make working smooth again.
Here it becomes more complicated and you need to understand what’s going on under the covers.
In this session I will go through typical problems and solutions, that we have seen in customer projects. Sometimes it’s a tradeoff to tackle those problems, but it’s important to understand the implications.
For some typical examples I will go into details and explain what’s going on under the covers.
After the session attendees should have an idea how to tweak their own languages and why it might be worth the effort to migrate to a newer version of Xtext.
This brief architectural presentation shows the components and code required to build a simple integration pipeline with the Spring Integration Java DSL. For supporting code see https://github.com/benwilcock/spring-integration-scratchpad
Using PowerShell as DSL in .Net applicationsJoy George
The slide explains about what is DSL? Types of DSL such as external and internal.How to select a DSL for our project ? Pros and Cons of DSL in software. How to use PowerShell as DSL in .Net applications
This is Part 1 of a 2-part series where we would be discussing improvements of ASP.NET Core when moving from ASP.MVC. Part 2 would be a deep dive topic where detailed performance improvements report would be discussed and shared with the crowd.
Mobile App Development Using Appcelerator and DNN WebAPIsDNN
Want to get a jump start on doing mobile development with DNN?
Ash Prasad, who built native mobile app "dnnmobi" for DNN using Appcelerator and DNN Web APIs, presents a deep dive into the code and what it takes to build a mobile app:
Mobile logins, permissions, creation of simple list views, dialogs, interacting with DNN's native web APIs, and actionable tips that you can put to use immediately
There has been a lot of information available about accessing DNN WebAPI from within a module, however, there isn't a lot of info on how to access those APIs securely from another client, say Windows Client or Mobile. I've developed sample apps in Win Forms to access Core or Custom Web APIs keeping in mind Anti-Forgery and Module / Tab Permissions. Join me to get tips and tricks on writing WebAPIs in DNN that can be securely accessed (using Anti-Forgery and obeying Module Permission) from DNN Modules as well as outside.
ASP.NET MVC 4 Request Pipeline InternalsLukasz Lysik
This is a presentation about ASP.NET MVC 4 request pipeline, presented on Study Group meeting. It mainly contains analysis of MVC framework's source code.
This brief architectural presentation shows the components and code required to build a simple integration pipeline with the Spring Integration Java DSL. For supporting code see https://github.com/benwilcock/spring-integration-scratchpad
Using PowerShell as DSL in .Net applicationsJoy George
The slide explains about what is DSL? Types of DSL such as external and internal.How to select a DSL for our project ? Pros and Cons of DSL in software. How to use PowerShell as DSL in .Net applications
This is Part 1 of a 2-part series where we would be discussing improvements of ASP.NET Core when moving from ASP.MVC. Part 2 would be a deep dive topic where detailed performance improvements report would be discussed and shared with the crowd.
Mobile App Development Using Appcelerator and DNN WebAPIsDNN
Want to get a jump start on doing mobile development with DNN?
Ash Prasad, who built native mobile app "dnnmobi" for DNN using Appcelerator and DNN Web APIs, presents a deep dive into the code and what it takes to build a mobile app:
Mobile logins, permissions, creation of simple list views, dialogs, interacting with DNN's native web APIs, and actionable tips that you can put to use immediately
There has been a lot of information available about accessing DNN WebAPI from within a module, however, there isn't a lot of info on how to access those APIs securely from another client, say Windows Client or Mobile. I've developed sample apps in Win Forms to access Core or Custom Web APIs keeping in mind Anti-Forgery and Module / Tab Permissions. Join me to get tips and tricks on writing WebAPIs in DNN that can be securely accessed (using Anti-Forgery and obeying Module Permission) from DNN Modules as well as outside.
ASP.NET MVC 4 Request Pipeline InternalsLukasz Lysik
This is a presentation about ASP.NET MVC 4 request pipeline, presented on Study Group meeting. It mainly contains analysis of MVC framework's source code.
Presentation from 2nd meeting of ASP.NET MVC 4 Study Group. It containts:
1. Route registration (also for areas).
2. How routing works?
3. URL Generation.
4. Route Debugging.
ORM технологии в .NET (Nhibernate, Linq To SQL, Entity Framework)Pavel Tsukanov
Расскажу зачем они вообще нужны. Пройдемся по технологиям и промоем им косточки. Рассмотрим достоинства и недостатки, а также где и когда лучше всего применять ту или иную ORM.
Learn about some of the new features in Laravel 5, with a focus on the command pipeline, including a few opinions about how to use the pipeline in the best possible way to enforce a solid separation of concerns.
Blog Post: http://WakeUpAndCode.com/aspnetcore-overview-nvcc2016
Recently known as ASP.NET 5, the all-new ASP.NET Core 1.0 is Microsoft's cross-platform lightweight approach to building robust applications for the modern Web. Get a high-level overview of what you need to know about ASP.NET Core from Shahed Chowdhuri, Sr. Technical Evangelist @ Microsoft.
This is a lecture about Software Architecture Styles, part of the Advanced Software Engineering course, at the University of L'Aquila, Italy (www.di.univaq.it/muccini/SE+/2012)
THIS PPT SHOWS A SHORT JIST ON HOW ARCHITECTURE STYLES HAS BEEN EVOLVED FROM PREHISTORIC TO MODERN CONCEPTS.THOUGH IT IS START UP WORK I THINK THIS WILL BE HELPFUL FOR STUDENTS WHO ARE IN THE FIELD.SUGGESTIONS ARE WELCOMED
Architectural Patterns and Software Architectures: Client-Server, Multi-Tier,...Svetlin Nakov
Few days ago I gave a talk about software architectures. My goal was to explain as easy as possible the main ideas behind the most popular software architectures like the client-server model, the 3-tier and multi-tier layered models, the idea behind SOA architecture and cloud computing, and few widely used architectural patterns like MVC (Model-View-Controller), MVP (Model-View-Presenter), PAC (Presentation Abstraction Control), MVVM (Model-View-ViewModel). In my talk I explain that MVC, MVP and MVVM are not necessary bound to any particular architectural model like client-server, 3-tier of SOA. MVC, MVP and MVVM are architectural principles applicable when we need to separate the presentation (UI), the data model and the presentation logic.
Additionally I made an overview of the popular architectural principals IoC (Inversion of Control) and DI (Dependency Injection) and give examples how to build your own Inversion of Control (IoC) container.
In this session we will analyze the options we have in order to start using Entity Framework
CodeFirst in existing projects where the data access is done in an older fashion.
On Sept 27, 2010, Julie Lerman, Rachel Appel and Steve Bohlen presented a full day of Entity Framework presentations to help developers get started with EF. The presentations begin with "why entity framework" and end with creating better architectures when using EF.
In this webinar, we covered the following
1. What's new in Entity Framework 7
2. What's in initial release and future release
3. EF7 Nuget Packages
4. Modeling -- Shadow Properties
NET app modernization and Microsoft Azure
Stack Overflow migrates to .NET Core 3.0 for better performance, faster development, and containerization
“Internal and external developers can independently release microservices at any point in time, which makes development faster and enables a continuous delivery approach completely based on Azure. We have set an astonishing speed for product development.”
One .NET (unified platform) - Single SDK, One BCL.
Cross-platform Native UI - Xamarin Forms.
Cross-platform Web UI – Blazor Web and Blazor Desktop.
Mobile – Xamarin included.
Cloud Native – .NET Orchestration Tools and High-Performance Proxy.
Continual Improvement – Speed, size, diagnostics, and Microsoft Azure services.
Web Forms, WCF Server and Windows Workflow remain on .NET Framework 4.8 only. There are no plans to port these.
Migration and modernization strategies
Web Forms, WCF Server and Windows Workflow remain on .NET Framework 4.8 only. There are no plans to port these.
Web Forms, WCF Server and Windows Workflow remain on .NET Framework 4.8 only. There are no plans to port these.
Web Forms, WCF Server and Windows Workflow remain on .NET Framework 4.8 only. There are no plans to port these.
Web Forms, WCF Server and Windows Workflow remain on .NET Framework 4.8 only. There are no plans to port these.
Web Forms, WCF Server and Windows Workflow remain on .NET Framework 4.8 only. There are no plans to port these.
Web Forms, WCF Server and Windows Workflow remain on .NET Framework 4.8 only. There are no plans to port these.
Web Forms, WCF Server and Windows Workflow remain on .NET Framework 4.8 only. There are no plans to port these.
Web Forms, WCF Server and Windows Workflow remain on .NET Framework 4.8 only. There are no plans to port these.
Web Forms, WCF Server and Windows Workflow remain on .NET Framework 4.8 only. There are no plans to port these.
The .NET developers can automate database operations by using a number of object relational mapping (ORM) systems. But Microsoft recommends .NET developers to automate database operations and activities more efficiently through Entity Framework. In addition to being an object oriented ORM system for .NET, Entity Framework enables developers to work with multiple databases without writing additional data access code.
Building n-Tier ASP.NET WebForms with Entity Framework 4, LermanJulie Lerman
New England Code Camp 14 presentation on tips & tricks for using new features in EF4 when building WebForms applications with Entity Framework. by Julie Lerman.
The ultimate cheat sheet on .net core, .net framework, and .net standardConcetto Labs
Here you will learn the difference between .Net core, .Net framework, & .Net standard and will guide you to choose the best as per your business requirements.
Building nTier Applications with Entity Framework Services (Part 1)David McCarter
Learn how to build real world nTier applications with the new Entity Framework and related services. With this new technology built into .NET, you can easily wrap an object model around your database and have all the data access automatically generated or use your own stored procedures and views. The session will demonstrate how to create and consume these new technologies from the ground up and focus on database modeling including views and stored procedures along with coding against the model via LINQ. Dynamic data website will also be demonstrated.
Domain-Driven Design with Tender Loving Care (DDD with TLC)Julie Lerman
Evolving Legacy Software and Legacy Minds
Presentation given at Domain-Driven Design Exchange at SkillsMatter in London (2017) (https://skillsmatter.com/conferences/8231-ddd-exchange-2017) and at Build Stuff Summer 2017 in Mallorca Spain (http://buildstuff.lt/summer/)
Tips for helping legacy developers prepare their minds to rewrite their legacy software using modern practices and patterns. Guidance and strategies for consultants and team members.
For the VS2017 launch, this presentation from Vermont.NET's launch meetup gives you another way to view all of the information on the wonderful but very large VS2017 poster that Microsoft created. (Links to the poster are in the slides). I've created one slide for each section of the poster and am sharing this with Microsoft's permission so that you may have an alternative way to share the poster as well.
Entity Framework and Domain Driven DesignJulie Lerman
Given at Oredev 2013 (Nov 2013 in Malmo Sweden). This presentaiton is about the intersection of Entity Framework (EF ) and Domain Driven Design (DDD) and gives pointers about *not* worrying about EF when implementing your domain in code and what you can expect when it's time to implement the persistence layer. There is a video of me giving this presentation on Vimeo at http://vimeo.com/78893724
High level look at RavenDB features presented as a 10 minute lightning talk at the Nov 19 2013 BTVWag.org meeting of 8 lightning talks on NoSQL databases.
Perspectives on Entity Framework, Julie LermanJulie Lerman
Presented at ONETUG (Orlando .NET User Group) Brown Bag live meeting on Oct 27, 2010. Guidance on different approaches to using EF: db first, model first, code first and architecting for enterprise apps vs RAD (or demoware) apps.
Getting Persistence Ignorant with Entity Framework, Julie LermanJulie Lerman
New England Code Camp 14 presentation on architecting applications that use ADO.NET Entity Framework with repositories, persistence ignorant classes and unit testing.
Persistence Ignorance in Entity Framework 4, Julie LermanJulie Lerman
Slides from NDC 2010 (June 2010) and Cleveland .NET SIG (Aug. 2010).
POCO, Persistence Ignorance, Repositories, Unit Testing and overall better architecture using Entity Framework 4
Persistence Ignorance in Entity Framework 4, Julie LermanJulie Lerman
Persistence Ignorance in Entity Framework 4, Julie LermanSlides from NDC 2010 (June 2010) presentation and modified for Cleveland .NET SIG (August 2010).
POCO support, Persistence Ignorance, Unit Testing & better architectures in Entity Framework 4.
This presentation walks through the new features of Entity Framework in Visual Studio 2010 & .NET 4 that simplify using entities in WCF. The live session demo'd the features and a WCF service with a client consumer.
The Visual Studio 2010 EDM designer and the .NET 4 Entity Framework runtime introduce a new story to Entity Framework - agile code. EF now supports POCOs, Persistence Ignorance, Unit Testing, Model First development and even model-less development. THis is the latest version of this presentation given at www.go-esdc.com and East Bay.NET User group in early March 2010.
Julia Lerman
Agile Entity Framework 4
Prented in vairous forms at
www.oredev.com, www.vtdotnet.org, www.notatpdc.com
in November 2009
www.learnentityframework.com
Using Entity Framework's New POCO Features: Part 1, by Julie LermanJulie Lerman
EF4, the new version of Entity Framework in .NET 4.0, now supports agile development with the ability to use POCO (Plain Old CLR Objects) classes with EF. Now you can use your own classes without having to bind them to the Entity Framework APIs, yet still benefit from the querying, change tracking and updates that EF provides. One flavor of POCO is "in the box" and uses a model that you define. An extension to EF will also provide Code Only development where you will not even be required to build a model. This session will show you how to integrate your classes into the Entity Framework. See Part 2 to learn how to get the full benefit of this with unit testing and more.
What's New in Entity Framework 4, by Julie LermanJulie Lerman
Programming Entity Framework author, Julie Lerman, reviews the new features coming to Entity Framework in the VIsual Studio 2010/.NET 4.0 release. Watch for the 2nd Edition of her book in early 2010. This presentation is based on the Beta 1 of VS2010 and .NET 4.0.
In the ever-evolving landscape of technology, enterprise software development is undergoing a significant transformation. Traditional coding methods are being challenged by innovative no-code solutions, which promise to streamline and democratize the software development process.
This shift is particularly impactful for enterprises, which require robust, scalable, and efficient software to manage their operations. In this article, we will explore the various facets of enterprise software development with no-code solutions, examining their benefits, challenges, and the future potential they hold.
Graspan: A Big Data System for Big Code AnalysisAftab Hussain
We built a disk-based parallel graph system, Graspan, that uses a novel edge-pair centric computation model to compute dynamic transitive closures on very large program graphs.
We implement context-sensitive pointer/alias and dataflow analyses on Graspan. An evaluation of these analyses on large codebases such as Linux shows that their Graspan implementations scale to millions of lines of code and are much simpler than their original implementations.
These analyses were used to augment the existing checkers; these augmented checkers found 132 new NULL pointer bugs and 1308 unnecessary NULL tests in Linux 4.4.0-rc5, PostgreSQL 8.3.9, and Apache httpd 2.2.18.
- Accepted in ASPLOS ‘17, Xi’an, China.
- Featured in the tutorial, Systemized Program Analyses: A Big Data Perspective on Static Analysis Scalability, ASPLOS ‘17.
- Invited for presentation at SoCal PLS ‘16.
- Invited for poster presentation at PLDI SRC ‘16.
Quarkus Hidden and Forbidden ExtensionsMax Andersen
Quarkus has a vast extension ecosystem and is known for its subsonic and subatomic feature set. Some of these features are not as well known, and some extensions are less talked about, but that does not make them less interesting - quite the opposite.
Come join this talk to see some tips and tricks for using Quarkus and some of the lesser known features, extensions and development techniques.
AI Genie Review: World’s First Open AI WordPress Website CreatorGoogle
AI Genie Review: World’s First Open AI WordPress Website Creator
👉👉 Click Here To Get More Info 👇👇
https://sumonreview.com/ai-genie-review
AI Genie Review: Key Features
✅Creates Limitless Real-Time Unique Content, auto-publishing Posts, Pages & Images directly from Chat GPT & Open AI on WordPress in any Niche
✅First & Only Google Bard Approved Software That Publishes 100% Original, SEO Friendly Content using Open AI
✅Publish Automated Posts and Pages using AI Genie directly on Your website
✅50 DFY Websites Included Without Adding Any Images, Content Or Doing Anything Yourself
✅Integrated Chat GPT Bot gives Instant Answers on Your Website to Visitors
✅Just Enter the title, and your Content for Pages and Posts will be ready on your website
✅Automatically insert visually appealing images into posts based on keywords and titles.
✅Choose the temperature of the content and control its randomness.
✅Control the length of the content to be generated.
✅Never Worry About Paying Huge Money Monthly To Top Content Creation Platforms
✅100% Easy-to-Use, Newbie-Friendly Technology
✅30-Days Money-Back Guarantee
See My Other Reviews Article:
(1) TubeTrivia AI Review: https://sumonreview.com/tubetrivia-ai-review
(2) SocioWave Review: https://sumonreview.com/sociowave-review
(3) AI Partner & Profit Review: https://sumonreview.com/ai-partner-profit-review
(4) AI Ebook Suite Review: https://sumonreview.com/ai-ebook-suite-review
#AIGenieApp #AIGenieBonus #AIGenieBonuses #AIGenieDemo #AIGenieDownload #AIGenieLegit #AIGenieLiveDemo #AIGenieOTO #AIGeniePreview #AIGenieReview #AIGenieReviewandBonus #AIGenieScamorLegit #AIGenieSoftware #AIGenieUpgrades #AIGenieUpsells #HowDoesAlGenie #HowtoBuyAIGenie #HowtoMakeMoneywithAIGenie #MakeMoneyOnline #MakeMoneywithAIGenie
Navigating the Metaverse: A Journey into Virtual Evolution"Donna Lenk
Join us for an exploration of the Metaverse's evolution, where innovation meets imagination. Discover new dimensions of virtual events, engage with thought-provoking discussions, and witness the transformative power of digital realms."
GraphSummit Paris - The art of the possible with Graph TechnologyNeo4j
Sudhir Hasbe, Chief Product Officer, Neo4j
Join us as we explore breakthrough innovations enabled by interconnected data and AI. Discover firsthand how organizations use relationships in data to uncover contextual insights and solve our most pressing challenges – from optimizing supply chains, detecting fraud, and improving customer experiences to accelerating drug discoveries.
Enterprise Resource Planning System includes various modules that reduce any business's workload. Additionally, it organizes the workflows, which drives towards enhancing productivity. Here are a detailed explanation of the ERP modules. Going through the points will help you understand how the software is changing the work dynamics.
To know more details here: https://blogs.nyggs.com/nyggs/enterprise-resource-planning-erp-system-modules/
Enhancing Research Orchestration Capabilities at ORNL.pdfGlobus
Cross-facility research orchestration comes with ever-changing constraints regarding the availability and suitability of various compute and data resources. In short, a flexible data and processing fabric is needed to enable the dynamic redirection of data and compute tasks throughout the lifecycle of an experiment. In this talk, we illustrate how we easily leveraged Globus services to instrument the ACE research testbed at the Oak Ridge Leadership Computing Facility with flexible data and task orchestration capabilities.
Code reviews are vital for ensuring good code quality. They serve as one of our last lines of defense against bugs and subpar code reaching production.
Yet, they often turn into annoying tasks riddled with frustration, hostility, unclear feedback and lack of standards. How can we improve this crucial process?
In this session we will cover:
- The Art of Effective Code Reviews
- Streamlining the Review Process
- Elevating Reviews with Automated Tools
By the end of this presentation, you'll have the knowledge on how to organize and improve your code review proces
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Łukasz Chruściel
No one wants their application to drag like a car stuck in the slow lane! Yet it’s all too common to encounter bumpy, pothole-filled solutions that slow the speed of any application. Symfony apps are not an exception.
In this talk, I will take you for a spin around the performance racetrack. We’ll explore common pitfalls - those hidden potholes on your application that can cause unexpected slowdowns. Learn how to spot these performance bumps early, and more importantly, how to navigate around them to keep your application running at top speed.
We will focus in particular on tuning your engine at the application level, making the right adjustments to ensure that your system responds like a well-oiled, high-performance race car.
We describe the deployment and use of Globus Compute for remote computation. This content is aimed at researchers who wish to compute on remote resources using a unified programming interface, as well as system administrators who will deploy and operate Globus Compute services on their research computing infrastructure.
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxrickgrimesss22
Discover the essential features to incorporate in your Winzo clone app to boost business growth, enhance user engagement, and drive revenue. Learn how to create a compelling gaming experience that stands out in the competitive market.
Globus Connect Server Deep Dive - GlobusWorld 2024Globus
We explore the Globus Connect Server (GCS) architecture and experiment with advanced configuration options and use cases. This content is targeted at system administrators who are familiar with GCS and currently operate—or are planning to operate—broader deployments at their institution.
Check out the webinar slides to learn more about how XfilesPro transforms Salesforce document management by leveraging its world-class applications. For more details, please connect with sales@xfilespro.com
If you want to watch the on-demand webinar, please click here: https://www.xfilespro.com/webinars/salesforce-document-management-2-0-smarter-faster-better/
1. EF Core or EF 6
How Do I Choose?
Julie Lerman @julielerman about.me/julielerman
2. Entity Framework in the Enterprise (Update)
Play by Play: First Look at EF Core
Getting Started with EF6
Domain-Driven Design Fundamentals
Looking Ahead to Entity Framework 7
EF6 Ninja Edition: What’s New in EF6
Automated Testing for Fraidy Cats Like Me
Getting Started with Entity Framework 5
Entity Framework Code First Migrations
Data Layer Validation with Entity Framework 4.1+
Entity Framework 4.1 - DbContext Data Access
Entity Framework 4.1 - Code First
Querying the Entity Framework
Designer Supported EDM Customization
Entity Framework and Data Models
Entity Framework 4.0 By Example
My Courses on
10. EF Core 1.0.0
EF Core 1.0.0
EF Core 1.1.0
EF Core 1.1.0
EF6 Feature Set EF Core >1.1.0
EF Core >1.1.0
Never coming to EF Core
NewLimitedParity
EF6 Features vs EF Core Features
16. The Big Q’s
We’re starting a new app.
Should we use EF6 or EF Core?
We’re updating our app.
Should we use EF Core? EF6? Wait?
17. Existing
Migration not Upgrade
Not backwards compat
Missing features
Eliminated features
Don’t, Unless You Must!*
New Apps
“V.1” Comfort?
Feature Decision
.NET Core : EF Core
18. Biggest Planned Feature Cuts
EDMX Support
ObjectContext API
Entity SQL
Metadata Workspace API
Overly complex mappings
MEST* mapping
Automatic Migrations
*Multiple Entities for Single Type
19. EF6 EF Core
Production Ready
Actively Evolving
Visual Designer *expect 3rd party support
Backwards Compatible
Full .NET Support
.NET Core Support
Lightweight API(s)
Better APIs, New Features
Non-Relational Data *coming post 1.1
Open-Source (on Github)
*4.5.1 +
21. Migrating Code
Simple models and code with Code First, DbContext, Migrations
Complex models and code with Code First, DbContext, Migrations
22. Migrating Code
Simple models and code with Code First, DbContext, Migrations
Complex models and code with Code First, DbContext, Migrations
Small EDMX models, simple actions, with DbContext
23. Migrating Code
Simple models and code with Code First, DbContext, Migrations
Complex models and code with Code First, DbContext, Migrations
Small EDMX models, simple actions, with DbContext
Large EDMX, mappings, not so simple interaction, DbContext
24. Migrating Code
Simple models and code with Code First, DbContext, Migrations
Complex models and code with Code First, DbContext, Migrations
Small EDMX models, simple actions, with DbContext
Large EDMX, mappings, not so simple interaction, DbContext
ObjectContext, ESQL
29. Bottom Line for Near Future
EF Core is best for new, .Net Core
apps Know what is and is not there
Use it if you know it suits you
Be very picky about EF6->EFCore
Use EF6 until EF Core is ready for you
Plan ahead with good design
30. Resources
Pluralsight:
Play by Play : EF Core First Look (bit.ly/PS_EFCoreLook)
Coming soon: Getting Started with EF Core
EF Docs: docs.efproject.net
EFCore: github.com/aspnet/entityframework
EF6: github.com/aspnet/entityframework6
Roadmap: bit.ly/efcoreroadmap
Julie Lerman TheDataFarm.com
@julielerman
Like EF6, EF Core is open source and available on Github. Notice the URL is github.com/aspnet/entityframework. You can watch it evolve, raise issues that you may discover, download and use the latest bits even if they aren’t officially released yet and most importantly, you can submit your own fixes or features to become part of EF Core. Any pull requests that are submitted from the community go through a rigorous examination before they are accepted into the official code base.
EF6 was moved from codeplex to github in mid-2016 and it’s repository is also part of the aspnet group.
The most notable feature that is not coming forward into EF Core is the entity framework designer and the designer based model – the EDMX. There is no way to sugar coat this for developers who have ecisting apps that use EDMX. Personally, I haven’t used the designer in a long time. I happen to be more comfortable with code first. But that doesn’t mean it’s not a useful or important workflow for developers so I have enormous empathy for developers who are very unhappy about this decision.
Also, just because Micfrosoft will not be providing support for the designer based model, that doesn’t mean all is lost. There are third party companies that already provide alternate designers for entity models. [CLICK] DevArt has a designer called Entity Developer. I asked them about possible support for EF7 and they said that they are currently considering it. [CLICK]Another alternate to Microsoft’s entity framework designer is one provided in LLBLGen Pro. That designer already supports code first for EF6 and earlier versions and it’s creator, Frans Bouma, says that he is planning to also support EF7 and doesn’t anticipate any problems adding that support.
Also, many developers worry that no designer means no database first. The database first and code first monikers have always been a little misleading. [CLICK] Database first refers to reverse engineering and existing database into an edmx to be used in the designer. Code first really just means no designer. It is absolutely possible to reverse engineer an existing database and use it with code first … without a designer. We’ve been able to do this since code first was released thanks to the entity framework power tools. The current EF designer for visual studio 2012 and 2013 lets you do this. [CLICK] And there are also a few 3rd party tools like the very popular EF Reverse Poco code first generator by Simon Hughes. That’s is on code plex and can be installed as an extension to visual studio and its free. The EF team definitely plans to provide a means of letting you reverse engineer from existing databases to EF7 models as well.
The EF power tools also used the designer to provide an important capability for develoeprs using code first which was to visualize the model we are defining. I use that all the time and can’t use code first without that tool. The team assured me that they already working on making sure we have something comparable for EF7.
cutting the designer based EDMX from EF Core is what I’ve heard the most feedback about. But There are other EF features that are also getting cut. these are not as worrisome to developers, based on my own experience and paying attention to response in social media but it’s important to be aware of the biggest of these cut features.
Look for a link in the resources list pointing to a blog post I’ve written with more details about why each of these features will not be in Entity Framewrok Core.
<Click> The first is the ObjectCOntext API. This is the original mechanism for EF’s change tracking and database interaction. Since EF4.1 was released with the DbContext in early 2011, Microsoft has recommended that all new projects use DbContext and let it do the more cumbersome work of interacting with the ObjectContext. But the Objectcontext has remained a public API for backwards compatibility with EF4 and EF3.5 projects. Also, we could access the obje ctcontext to do low level tasks if needed. The ObjectContext API will be removed from EFcore completely. Rather than relying on the ObjectContext for metadata work, change tracking and database interaction, this lowlevel activity is being restructured and we’ll get all of it directly from the DbContext. If you have old software that is still using the ObjectContext and you haven’t updated it by now, hopefully, you won’t want to update it to EFcore anyway. I wrote a two part article for MSDN magazine that included guidance for moving ObjectCOntext code to DbContext if you think you may want to explore that.
<CLICK>Entity SQL was the original string based querying SQL like language written for EF but by the teim EF was first released, it had already embraced LINQ. ESQL is only usable with the ObjecctContext API. I think I used to be one of the few people in the world who really knew how to use ESQL beasue I wrote about it extensively in my first EF book, giving it equal visibility as LINQ to entities. In the 2nd edition, I had split the ESQL details out into their own chapter beause by then it was clear that it was barely being used. I haven’t had any reason to use ESQL in many years. I’ve not heard of anyone using it either. So it is going to fade away along with the ObjectContext API and won’t be part of EFCore.
<CLICK>Entity framework has allowed a lot of variations on mappings fro m your classes to your database objects and fields. It even let you combine many of these crazy mappings in one model, the EF team blog post highlights the example of “ For example you could have an inheritance hierarchy that combined TPH, TPT, and TPC mappings as well as Entity Splitting all in the same hierarchy” It was possible because of the metadata workspace API. But building in this flexibility also meant that using that API was very complex, made query compilation difficult and for developers, discovering information about a model’s metadata has been very cumbersome.
<CLICK>So EFCore has a simpler metadata model which means some the truly edge case mappings won’t be achievable. This doesn’t mean things like inheritance will go away (although currently, EF Core only supports TPH), just the funky, rare mapping combinations. <CLICK>The one single mapping technique that will go away is MEST. In all of my years of working with EF, I’ve never come across anyone who was taking advantage of it. It was only supported with EDMX and ObjectContext and the team decided not to try to bring it forward to the code-based model and DbContext for EFCore.
<CLICK>Migrations are a critical technique for evolving a database schema from a code-based model. We’ve had two ways to use EF migrations – the default way which is to explicitly add migrations through the package manager console and then to apply thoe migrations using a variety of techniques. Another option has been to use automatic migrations that are worked out and executed on the fly at run time. Supporting automatic migrations caused a number of major headaches for migrations support overall. It forced migrations to store model snapshots directly in the database. This caused problems for developers using regular migrations. I’ve been in loops where I can’t add a migration because it thinks I need to apply one, but when I try to execute a migration it tells me I have to add one. I’m not the only one who has gotten all tangled up in some circular problems when trying to manage migrations. These problems will go away because EFCore will not attempt to automate migrations at all. You can read more about this in Brice Lambson’s blog posts about EFCore Migrations which I’ll link to in the resources at the end of this module. . Brice is an engineer on the EF team.
So these are the most notable EF features that the team is not planning to implement at all in EFCore. Personally, I have not been using any of them ever or in a long time and I have guided my clients away from them as well. So if you are on that same path, you are well-positioned to use EF Core without having to worry about them.