All Questions
20 questions
0
votes
1
answer
278
views
Why would the ASP.NET MVC HttpFileCollection return an array of strings rather than a Collection of HttpPostedFile?
I have an AngularJS + ASP.NET MVC 5 application where I am attempting to implement single file uploading.
On the client side I have the following code:
api.uploadFileV2 = function (alias, file, ...
0
votes
1
answer
66
views
JSON object not passing as param to webApi PUT method
I’m using Angularjs and asp.net mvc 5 with webApi2.
I’m having some trouble calling a custom PUT method. I’ve done some studying for the past few days, and although I have a decent feel for the ...
0
votes
0
answers
50
views
Calling Web API via angularjs returns strange data format
I’ve created a web api, along with a database that is seeded upon build (MVC 5 web api project in Visual Studio 2015). I’ve included an angular controller that calls the web api, and passes the data ...
0
votes
1
answer
946
views
How to bypass AzureAD authentication using OpenID and Owin middleware for Web API 2 controller within ASP.NET MVC project
I have an ASP.NET MVC5 application which has WEB API2 project with few controllers within it. I have setup AzureAD authentication for the ASP.NET MVC5 project using AzureAD and OpenID connect and OWIN ...
1
vote
0
answers
74
views
How to design project solution for webapi2 with angularjs project?
I am starting new project with angularjs with webapi. This project will be e-commerce site. There is iOS and Android app also. We are going to develop APIs so that Android and iOS team can consume our ...
0
votes
1
answer
339
views
How to choose between spa and mpa in angularjs?
Hi I am new to angularjs. I have one project in angularjs,web api2,mvc5. I am going to develop ecommerce kind of app where lot of filters,charts,forms,popups etc involved. I have several things in ...
0
votes
1
answer
63
views
How to Pass object to angularjs control object to antoher angularjs controll in MVC5
I have to pass the object Angular.js control object to another Angular.js control.
Control 1
// This is used for calling post methods from web API with passing parameters
$scope.saveSubs = function ()...
0
votes
2
answers
3k
views
How to set response content type header as Json in web api2?
Hi I am developing one web api2 application with angularjs. I have one login page with POST method. I want to set as response content type header as Json. I am receiving in a text/html format. I have ...
0
votes
1
answer
269
views
Not able to access web api calls in a api/controller format
Hi I am developing one application using web api2 and accessing calls via angularjs. I created web api calls and hosted in iis server(public ip). I am accessing the web api2 methods in the below ...
0
votes
0
answers
454
views
Unable to call web api methods
Hi I am developing small application in web api2 with angularjs. I have one controller called UsersController with index action method and index view. I am using angularjs. Inside script folder i have ...
1
vote
0
answers
5k
views
Windows Authentication with Angular JS + WebApi
I'm developing a web application with (MVC5 + AngularJS) for UI and WebAPI2 for webservices. Theose are two seperate projects hosted in different servers. And i'm Authenticating my webapp against an ...
0
votes
1
answer
291
views
Authenticate just once in MVC and Web Api applications using asp.net identity
I have this solution:
I need to authenticate on the ASP.NET MVC site and on the Web Api 2.0 just once (I mean that I do not have to check if username and password is correct on MVC site and then check ...
2
votes
0
answers
484
views
Windows user name in angular js application with web api service
We have developed an angular js application and used web api as a service.
I like to use windows login user name in my application so I have called web api to get the windows user. But I am not able ...
0
votes
1
answer
293
views
Returning Permissions From Web Api to AngularJs client
I am building an application with a set of user types. I have a .Net MVC 5 Web Api web service and an angularjs SPA. I would like to have my SPA display pages relative to the user type logged in. I am ...
0
votes
1
answer
478
views
How to prevent 302 redirect using windows authentication
I am building a MVC5 web application with Web API2 for back end server calls and Angularjs for client side code. The application is using windows authentication. For some methods in the Web API ...