I am currently using ASP.NET to create a web page.   I have a page at the location: myUrl/INVs/Transaction  From the user point of view: what I am actually doing now is to create a list of items in my page. Then after I press save button. The same pa...
I'm working on angular app for intranet application. I hosted angular and WebApi in IIS as separate application. I need to validate the current windows logged-in user against Active-Directory group. So when user loads the angular page, it should...
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 file select input element var data = new FormData();...
Problem: When My filter method is executing that is used to display an Html element, my observable array has not been populated yet by my web-api call resulting in nothing to filter from.   My Solution :  If I place an alert right before my filter me...
Hey all I have this web service that I am trying to send some JSON to:  $.ajax({       type: "POST",       crossDomain: true,       dataType: 'json',       contentType: 'application/json; charset=utf-8',       cache: false,...
I've been trying to get delete working and just can't seem to make it work!  All GET requests seem fine, but if I try and use the delete verb I get the above error.  The method itself is reachable if I make it a GET, but as soon as I add the...
Using Identity with WEB API i have created some users that are saved in SQL database. I have added custom property (ShippingAddress) to the already default properties that come with the User table created with Identity.  When i create the user i put...
I have an SPA that authenticates a user, by using msal.js, against an app registrered at the Application Registration Portal. It successfully retrieves a token and everything is fine so far.  Then I have a ASP.NET Web API setup that should use the to...
I am currently trying to develop a simple angular js application. I am trying to post data from client to web api. However, I am getting 404 error when I fire post request from angular app.  Below is my post request,   $http.post('/api/LoadApi/&#...
I have a typical Web API 2 POST method returning IHttpActionResult  public IHttpActionResult PostSomething(string someStringParam)   If some criteria is met I return this:  return BadRequest("you are request sux l0l!!1!");    This gets picked...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.