Getting a 404 after a function returns
I'm desperate after fighting with this for days. Does anyone have the time to help me? The problem is, I'm trying to implement OAuth in a Web API application and I keep getting a 404 when trying to...
View ArticleUsing an HTML page or a View to consume a Web API
I am about to write my first Web API in an ASP.NET MVC project. The tutorial I watched did not use a View but a plain HTML page to consume the Web API. Is this a good approach or should I use a...
View ArticleDeployment and Hosting questions
Hi AllI've created a test WebApi that connects to my local SQL express database and retrieves a list of users from the database. I have installed SQL and a database onto my laptop and want to host my...
View ArticleCORS issue in Win10
I have developed ASP.Net Web API application on Win 2012 Server with Win 7 Client & IE 11. Everything seems fine until we upgraded to Win10 with Edge and IE11.Making cross domain service call...
View ArticleHow to see pre-flight OPTIONS header
My javascript does makes a cross domain service call but how do I see pre-flight OPTIONS header in Fiddler or in Developer Tools?Although I watched both of them, there was no pre-flight OPTIONS header...
View ArticleConsume a WebAPI (XML data) through windows Service and Create the XML file...
Dear Team,I have Web API service configured to provide the XML data. Now I would like to a Consume a WebAPI (XML data) through windows Service and Create the XML file in a server location..How I can...
View ArticleJson Parsing error
Hello, I have a solution file, where the input page url is an aspx file which contains json data, its very big file which contains all the columns with the string.When I run my code, I am getting...
View ArticleMy first Web API with a 404 error
I am writing my first Web API and I have been stuck with a 404 error for a while. My project is an ASP.NET MVC with a common controller and a view.This is the code for the Web API which is a...
View ArticleWeb API & API Management
Hi,I have done some API development with WEB API for onPrem solutions.Now I also need to have some "API Management" features (also onPrem). Is there a specific framework or helper for this or is it...
View ArticleDeploying website: 500 - Internal server error
I have a Web API built with Visual Studio 2017. It runs fine and works when I run it from the IDE. But when I deploy it to my web server I get the error: Internal Server Error there is a problem with...
View Articlevb.net DONET 4.6.1 - HttpRequest.GetBufferedInputStream error
I am receiving a json stream from Google and atDim Bytes = GetStreamAsByteArray(HttpContext.Current.Request.InputStream)it -- sometimes -- errors out with "Either BinaryRead, Form, Files, or...
View ArticleThe requested resource does not support http method 'OPTIONS'
Hi folks,I realize that this question seems to come up very, very frequently. I assure you that I've gone through each one and tried many of the suggested solutions. One solution did seem to get me to...
View ArticleHow to get Odata Response without Etag using Microsoft.AspNet.OData
As per my requirement whenever I am calling ODATA V4 controller get request, from ajax I don't want to get Odata.Etag from response. How can we achieve this. Is there any Web Api Odata server side...
View ArticleHow to send an invisible parameter to a Web API
I am developing my first ASP.NET MVC project and also I am writing my first Web API. The web page (a view with the Javascript code) that consumes the Web API displays "n" records at a time and, as the...
View ArticleJASON CLASS ... going down the path...
in vb.net I have a controller...<System.Web.Http.HttpPost> Public Function PostValue(<FromBody()> ByVal value As Rootobject) As Objectonce i captured the json payload, I created a class to...
View ArticlePOSTed jason but structure is dynamic
all example I have seen rely on knowing the structure of the json payload, assuming staticity, however, that is not always the case.using WEBAPI, I have...Public Function PostValue(<FromBody()>...
View ArticleShould I use caching or what?
I am having two issues regarding caching.I am using EF 6. and have a table named like "memberConfig" which has many fields of member like latLng, lastAccessTime, ..I am writing current time to...
View ArticleShould I use caching or what?
I am having two issues regarding caching.I am using EF 6. and have a table named like "memberConfig" which has many fields of member like latLng, lastAccessTime, ..I am writing current time to...
View ArticleASP.NET Web API message UWP application
This is jut a general question.What's the best way to message a UWP application from a Web API / Webservice application.?I need a webservice application to send messages to UWP applications, UWP...
View ArticleUsing an HTML page or a View to consume a Web API
I am about to write my first Web API in an ASP.NET MVC project. The tutorial I watched did not use a View but a plain HTML page to consume the Web API. Is this a good approach or should I use a...
View Article