Angular polling with Web Api service in .Net core
Solution has three projects.
- BDWebApp - contains angular UI for polling.
- BDWebApi - contains respective api methods with inmemory database for data persistence.
- BDWebApi.Test - contains test case for web api methods.
Steps to run:
-
Please install dependencies for angular (Execute command in terminal - npm install)
-
open solution in visual studio . Right click solution -> Properties -> Project Dependencies. Verify project dependencies In project select BDWebApp Depends on : BDWebApi
Run the solution :-)