Authenticating web services on VS 2013

bronco8622
bronco8622 Member Posts: 4
edited 2014-06-30 in NAV Three Tier
how do i pass the web services key i set up for a user in a project created in visual studio 2013?

it's a simple project that i wanted to look at as i've never used an API before.
i created a new user specifically for Web services in the RTC, and generated a web services key for him.


Any time i try and connect a web reference within visual studio it thinks i'm logging in as anonymous.
I've tried changing the project's properties to windows authentication: enabled and disabled anonymous as well.

i also enabled windows authentication on IIS manager.

asp.net web application: mvc/webforms/web api.

i assumed i have to add something to either the web.config file or to the startup.Auth.cs file but wasn't sure what to put and couldnt find an exact answer on msdn.

Thanks!