Skip to content

JKHeadley/ServiceBuilderTest_complete

Repository files navigation

ServiceBuilderTest (complete)

The resulting ServiceBuilderTest project after ServiceBuilder installation. https://github.com/JKHeadley/ServiceBuilderTest

Instructions:

  • Build the solution
  • run Enable-Migrations in the Package Manage Console (PMC)
  • run Add-Migration init in the PMC
  • run Update-Database in the PMC
  • Right click the "ServiceBuilderTest.Service" project and select "Debug->Start New Instance"
  • Once the service is running, stop the debugger in VS
  • In the "ServiceTests" project, right click "Service References" and select "Add Service Reference..."
  • Click "Discover", select the service you just started, make sure its named "ServiceReference1" and click "OK"
  • In VS, click "Test->Run->All Tests"
  • If the test succeeds, then everything is working, congrats!

You should now be able to inspect your database to see the changes (I use Microsoft SQL Server Managment Studio 2012). If you view the "Organization" table you should see one "NewOrg" entity, and if you view the "LogEvents" table you should see all the CRUD events that were logged during the test.

About

The resulting ServiceBuilderTest project after ServiceBuilder installation. https://github.com/JKHeadley/ServiceBuilderTest

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published