Authenticating web services on VS 2013
bronco8622
Member Posts: 4
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!
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!
0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 322 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions