my API controller is returning a csv file as seen below:      [HttpPost]     public HttpResponseMessage GenerateCSV(FieldParameters fieldParams)     {         var output = new byte[] { };         if (fieldParams!= null)         {             using...
Why is the Web Security is working differently on different browser:  Details:   I have two applications   One is a simple HTML application and another  one is an ASP.NET MVC4 WebApi application and the projects are inside of same solution and i have...
I am new to jqGrid and need some help on form add/edit/delete functionality. Havent found any relevant resources so far. My grid is displaying pop up on add/edit, also populating data on clicking edit, however I am not sure what should  be javascript...
I am trying to upload file from my local machine to sharepoint through web api from Javscript web api call. Tried to pass file object from javascript to web api but i am keep on getting errors like Type error, resource not found etc. Can anyone help...
I am working on an AngularJS App, and one of the methods in the service js post data to a web api with a following object structure in C#  public class InvitationModel {     public string Name { get; set; }     public string Email { get; set; }     p...
I have client side function such as:          var sendEmail = function (msgData) {             jQuery.support.cors = true;             var test = msgData;             $.ajax({                 url         : "Api/EmailData/Send/{}",...
I have a cloud web app using asp web api and angular. Both hosted on azure. I need my angular app to be able to communicate to serial port (read/write). How can I do this?  I've read that chrome apps can connect to usb/serial, but i'm still c...
I'm making user authorization system and want to hash password before save it to DB. To reach this i use bcrypt-nodejs. The question in title above;  var mongoose = require('mongoose'); var bcrypt = require('bcrypt-nodejs');  var...
I'm working on a website that's hosted on my company network and only accessible from within the network, so I have no concern with cross-domain requests.    Anyways, this particular website I'm working on I added a "Provide Feedback&...
I very new to SignalR and I am trying to integrate it with an AngularJS site and WebAPI. I followed greate this example to begin with. However, as I mentioned, the website I am working on will live on a different server to the WebAPI project.  In my...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.