6.2: QuickWatch & Data
Last updated
Last updated
In this module, we will use breakpoints and QuickWatch to see the flow of our data.
Set a breakpoint:
Run the app, login, and create a note
Right click on the word (model)
within service.CreateNote(model)
and choose QuickWatch
You should see your data in the QuickWatch window
Click the Green continue arrow to go past the breakpoint. You should now see your note appear!
Stop the app
Go the the SQL Server Object Explorer
Find the database and expand the tables
Right click on dbo.Note
and click View Data
You should see the note(s) you've created in the database
Diagram of how the models work with the service methods:
Next, we'll refactor some things for creating a note.