Quantcast
Channel: Web API
Browsing all 4850 articles
Browse latest View live

Best Practice for File Upload

If we using multipart form data parser for uploaded form, then it saves form's files on the drive in selected location, for example like this:var streamProvider = new...

View Article


Getting PlatformNotSupportedException after update to 5.1.0

It seems there has been a problem introduced in the latest version of WebAPI. While so far I did not have any issues, after updating to 5.1.0 and deploying to our production server, I started getting...

View Article


Routing Constraints Sample - restful Get request with param doesn't work

I'm wondering if someone can assist me in getting a restful get request to work with a paramater in the web api - routing constraint sample? The sample can be found here:...

View Article

404 Error in IE (only) on IIS

Hey guys,I'm trying to implement HTML5 drag and drop asynchronous multi file upload and have been able to do it locally on IE, Chrome and FF. I use Visual Studio 2012 with MVC4 Web API. I provide the...

View Article

Web Services

It's Possible to use the DLL file to write the service program in web services.i tried to write the program but it showing only the event in dll.not the method plz help me... 

View Article


Image may be NSFW.
Clik here to view.

Google block getting contacts using API

I'm using Google API with my ASP.Net project to retrieve gmail contacts. When I try the website on my visual studio, it work successfully, but I try it online, I get this message: "Invalid...

View Article

Web API is not calling from different domain

Hi Team,I have created web api with simple return list if this adding in the same project then working its fine, but if when add this web api in different solution with different url then not working,...

View Article

Can I create a WebApi method that allows someone to POST XML data?

Forgive me if this is a dumb question, but I'm new to the WebApi, and finding it very hard to get going. Maybe what I'm doing isn't standard, or maybe it's not suitable for the WebApi. Hopefully...

View Article


MVC5 Web API2 Unauthorized Behaviour

Hello,When starting a new MVC5 project using the "Individual User Accounts" approach that uses the OWIN middleware, there seem to be an issue with the Web API controllers. When you return an...

View Article


Create Windows Authentication object for use with SQL Server Reporting Services

Hi. We have the following situation.Users log into an externally facing web page. The external page is set for anonymous access.The web page authenticates their userid and pwd against their windows...

View Article

How to return multipart HTTP response in a string format from an asp.net web...

Hi, My web service accepts request as string and returns response as string. Being new to ASP.Net, please clarify my below doubts. a) Do i need to write header information while returning response...

View Article

how to create custom user call

Hello, I am writing to request a little help/advice on how do I creatingt the following API logic below:remote client passes specific username/password and I reply telling them the status of those...

View Article

What to backup before deploying changed Web API

I've been running and updating my IIS Web API REST server for a couple of  years now.  I always just use the Deployment Wizard in VS 2010 and it works fine.However, now I have a very large change to...

View Article


Import mail API

I want to import google mail contacts in my application, I tried many online codes but it is not working. Does anyone have a working code, or an example ? Thanks

View Article

Image may be NSFW.
Clik here to view.

Browser showing authentication dialog on ajax call when asp.net session...

I have a single-page application with an ASP.NET Web Api decorated with the Authorize attribute, using forms authentication. The issue I'm seeing occurs when an ajax call is made at the client and the...

View Article


How to prevent page Reload on return from server

Help,When i call the following function from page behind it returns a decoded  string and proceeds to execute proceding statements before loading page once again ? Dim ReturnPaymentDetailsAsBoolean =...

View Article

Send a GUID to a web api webservice

I am extending ApiController for a webservice.The service takes a GUID as it's only parameter.  This is the url that I type in/api/texts/2ADEA345-7F7A-4313-87AE-F05E8B2DE678However, the Guid never...

View Article


GeoJSON WebApi

We have a SQL Server 2008 R2 table containing spatial (geometry) data.  We'd like to produce a Web API service which would allow this table to be read/updated.  We'd like to use QGIS to view/update the...

View Article

New sample posted: add your web services to Visual Studio's "Add Connected...

The idea behind this sample is that you (as a service provider) can simplify the process that your developer customers (in VS 2013) have to go through in order to connect their client apps to your...

View Article

How to call another api controller

I have the following code and I am currently expericing - Controllers.BwicController' does not contain a definition for 'BwicController' and no extension method 'BwicController' accepting a first...

View Article
Browsing all 4850 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>