Good Day
Please excuse me for the small snippets of code. I hope you will get bigger picture despite that.
I am using an odata rest service running on asp net web api.
I use a knockout-js model with which has a submit method which post it's property to the the service. To avoid Cross Site...
I am not sure I am junior but isn't integrated security windows login and you cannot use it with a username and password combination because it will just try login with your windows account?
Easiest approach to testing your api I think is using postman or fiddler. It could be you have an issue with the automatic model binder or Your client is appending the data to the url leaving the body empty and the model binder has nothing to bind to your model. With the little information you...
I am a big fan of entity framework. If it was me I would create a view from the query map it to an entity and use dbContext. and you can use it's async methods.
Just get the reference guide and a c# books from wrox you are good. The ref is about 400pages the the wrox books depending on which one you choose 500 to 1000 pages. and follow Mr norris advice mva and channel9 are free if you need something like a lesson