Learn strategies for debugging errors when using Entity Framework Core.
- [Narrator] Real software is not complete…without some de-bugging.…So let's look at some strategies for de-bugging errors…when using Entity Framework Core.…In the last video, we talked about…problems with a database model mismatch.…So let's create this error and see how we can…handle it in the Debugger.…In the DAL, let's go to the Context…and go down to the Model Builder section for Order.…Let's delete the Order Date property…and the related index.…Now let's go to the Order Model and…delete the Order Date there.…
Now open the Order Service in the Core…and we'll change the Order By and…Get Orders with Customers.…We'll change it to Create a Date, for now.…We also need to go down to the View in the web project.…Order, Views, Order Index…and change the Order Date to Create a Date here.…
Finally, we'll go to the Order Repository…and remove the Order Date.…In the Create method.…Now we'll run the application and create a new order.…We'll click on Orders.…Notice that the application had no trouble…retreating the orders from the table…
- What is good application architecture?
- Real-world software and the SDLC
- Common knowledge and maintenance
- Choosing an architecture
- Design patterns with EF
- Debugging and error handling
- Architecture for the web with ASP.NET
- Designing for unit testing
- Strategies for dealing with common performance issues
Skill Level Advanced
Deploying ASP.NET Core Applications (2017)with Nate Barbettini57m 57s Intermediate
Microsoft SQL Server 2016 Essential Trainingwith Martin Guidry3h 18m Intermediate
1. Why Do All of This Architecture?
2. Design Patterns with EF
3. Error Handling
4. Architecture for the Web with ASP.NET
5. Designing for Unit Testing
6. Entity Framework Mistakes
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.