Skip to main content

All Questions

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 ()...
sanjeewa's user avatar
  • 614
0 votes
2 answers
438 views

How to get token from Web API 2 using external login

I have got website and WebAPI 2 ( ASP.NET MVC 5 ) hosted at localhost but with different ports. I try to get token using this javascript but no token at all and it redirects to the current website ...
NoWar's user avatar
  • 37.8k
0 votes
2 answers
654 views

Route and RoutePrefix issue within asp.net web api application

I have a web api application in which I need to change the routing configuration. Javascript $.ajax({ type: "GET", url: "api/collaborators", success: function (data) { ...
Lamloumi Afif's user avatar
2 votes
1 answer
2k views

Post JSON and file data and from JavaScript to MVC Web API Controller

I want to upload a large file in chunks with JavaScript - i.e. using the File API to slice it, then post the slice blob to the server. I can do this like so: Javascript: // file is a file from an ...
user888734's user avatar
  • 3,907