Data dodania Pytanie
2017-07-16 21:07 How to access query options inside RESTier Operation »
I have configured a RESTier interface to my EF6 database model and have defined an operation which takes country code as an argument. This operation ...
(0) odpowiedzi
2017-07-16 09:07 ASP.NET WebAPI error on sending response »
I'm trying to send the response from one of my POST methods of my webAPI controller. In the DB the values are getting saved, but while sending the re...
(2) odpowiedzi
2017-07-16 03:07 .NET Web API "plugin" assemblies »
Doing the same thing over and over again and expecting different results. — Insanity; also my current frame of mind I have a feeling I'...
(0) odpowiedzi
2017-07-15 17:07 docker exited with code 126 (0x7E) in Asp.Net Core in Windows 10 »
I have just downloaded Asp.Net core in my Windows 10 and now created a Asp.Net Core Web API. Whenever I run my application, I am getting an error as "...
(1) odpowiedzi
2017-07-15 06:07 StreamWriter throws IOException Logon failure: unknown user name or bad password »
I'm trying to have my web service write to a shared drive on our intranet. I'm getting an IOException on my StreamWriter string fullpath = path + "\...
(1) odpowiedzi
2017-07-15 05:07 Cannnot get JSONP response from WebAPI using jquery »
I am developing a C# MVC web application that will send cross domain requests to a Web API REST Service. However I keep on getting errors. My jquery c...
(2) odpowiedzi
2017-07-14 19:07 Conditional binding in WebApi2 controller method »
I am using Ninject with the following packages: Ninject Ninject.MVC5 Ninject.Web.Common (and Common.WebHost) Ninject.Web.WebApi (and WebApi.WebHost)...
(2) odpowiedzi
2017-07-14 07:07 How to Put $expand Property in groupby query in ODATA »
I am using WebApi 2 with odata 5.3.1. I am using groupby query, by implementing my own GroupBy() custom function. http://localhost:51738/odata/Docum...
(0) odpowiedzi
2017-07-14 00:07 PDF Document to WebAPI for download »
I have a page that allows a user to click a button, and it makes a WebAPI call to my .Net backend controller which generates a PDFSharp document objec...
(1) odpowiedzi
2017-07-13 08:07 'multipart/form-data' is not supported for this resource »
I have WEbAPI2 back end. I try to send form data from postman But get this error "No MediaTypeFormatter is available to read an object of type...
(2) odpowiedzi
2017-07-13 06:07 REST API design - best practice: Link existing child resource »
When designing a REST API I understand how entities can be added (POST), updated (PUT, PATCH) and so on. But I’m wondering how to design the endpoin...
(2) odpowiedzi
2017-07-13 01:07 How to keep track of multiple versions of assemblies? »
We're deploying microservices to azure service fabric. How do we keep track of multiple versions of our services? How we will allow multiple versio...
(1) odpowiedzi
2017-07-12 16:07 Add versioning to existing WebAPI »
I have an existing ASP.NET WebAPI project with a controller that looks like this: namespace WebSite.WebApi.Controllers { [RoutePrefix("api/accoun...
(1) odpowiedzi
2017-07-12 13:07 c# REST API polymorphic return type »
I have created data contracts as below having inheritance:- [DataContract(Name = "Animal")] public class Animal { ... } [DataContract(Name = "Dog ")...
(1) odpowiedzi
2017-07-12 13:07 ASP.NET and static method in controller »
Assume that WebApi2 controller has a SearchClient which is configured in scoped-lifestyle dependency on startup. public class SearchController : ApiC...
(2) odpowiedzi
2017-07-11 23:07 Setting a "Content-Disposition" HTTP Header in Web API »
I am trying to create integration test for my upload picture action. Raw request created from browser is like below; POST /api/UpdateImage HTTP/1.1 H...
(1) odpowiedzi
2017-07-11 22:07 Google Social Login with Auth0 Tokens for [Authorized] API Calls »
Anyone here implemented social login through Google for Auth0? I have an issue with the tokens (access and id) being returned after validating with Go...
(1) odpowiedzi
2017-07-11 18:07 Incrementing an ID using LINQ »
Whenever I'm adding a new object from the front end, the id = 0. In the WebApi layer, I'm trying to find the max ID that exists in the list of object...
(1) odpowiedzi
2017-07-10 21:07 Access-Control-Allow-Origin Ok in this situation? »
I am following certain sections of this tutorial but I am wondering if this using "*" is safe to do or if I should be putting it as my domain name? p...
(1) odpowiedzi
2017-07-10 16:07 Limit concurrent requests in Azure App Service »
Given the following ASP.NET Web API application Target: .NET Framework 4.6.1 Hosted as Azure App Service I wish to restrict the total number of co...
(1) odpowiedzi
2017-07-10 11:07 Does awaiting for Task.Run always wait for response »
I'm trying to implement an await Task.Run in my controller and then return the response. Just curious if the response will always be got before we at...
(2) odpowiedzi
2017-07-09 18:07 How to force NSwag to include custom response codes from xml comments at the auto-generated swagger json of a web API call »
This is the definition added in clean1.csproj file based on NSwag's documentation <Target Name="AfterBuild"> <Exec Command="$(NSwagExe) w...
(1) odpowiedzi
2017-07-09 15:07 Table filtering with pipes using ngfor and web api data »
I am trying to make a filter for my table so that when I search by a parameter it only shows the row containing the parameter. Here's a working exampl...
(2) odpowiedzi
2017-07-09 03:07 Security concerns calling an ASP.NET WebAPI from both the client and controller in an MVC app »
I have an ASP.NET Core Web API application that is separate from my ASP.NET Core MVC application (UI). I didn't want to combine them for several reaso...
(1) odpowiedzi
2017-07-08 18:07 How to make an Approval step in Azure Logic app calling my own APIs similar to office365 approval connector? »
I wanna build a small workflow using Azure Logic Apps that contains an "Approval" step, which is simply an API call in my own system, similar to offic...
(1) odpowiedzi
2017-07-08 17:07 Single Sign on OWIN can't be found on mvc »
I can't authenticate using owin, I the api for a angular2 app with authentication, and I want that to be SSO with the mvc app. I tried alot, but I am ...
(0) odpowiedzi
2017-07-08 05:07 Asp.Net core modelbinder null value when POST »
I have my action in Controller: [HttpPost] public JsonResult SignUp(DTOUser dtoUser) { return Json(new string[] { "value1", "value2" } ); ...
(1) odpowiedzi
2017-07-07 20:07 HttpResponseMessage Content Disposition "attachment" is not added in Api Controller »
I have a controller with some of the stringbuilder/input details omitted: public class SampleController : ApiController { [HttpGet] [CustomRo...
(0) odpowiedzi
2017-07-07 19:07 Should HttpMessageHandler use ConfigureAwait(false) »
If I have an asynchronous call inside a HttpMessageHandler, should it use the .ConfigureAwait method e.g. /// <summary> /// Handler to assign t...
(2) odpowiedzi
2017-07-07 18:07 How can I tell if my app upgrade from angular 2 to angular 4 was successful? »
I had a .NET WebAPI application that was using angular 2 with and decided to upgrade to angular 4. I went through somthing like the following in the ...
(2) odpowiedzi
2017-07-06 22:07 How can I improve this actions in API controller? »
Overview I am designing one api that will be integration with another system, however I stumbled upon one code which I know it can be improved but I ...
(1) odpowiedzi
2017-07-06 20:07 Package Microsoft.AspNet.WebApi.Owin 5.2.3 is not compatible with netcoreapp1.1 »
It's new WebApi project on .NET Core 1.1 on VS2017. I'm going to install package DryIoc.WebApi.Owin from Nuget, but it requires a lot of dependent st...
(1) odpowiedzi
2017-07-06 10:07 Slow performance Azure 'Web App' + Azure SQL DB »
I've moved an existing asp.net web-api over from an Azure VM (with IIS and MSSQL installed locally) to an Azure web app and Azure SQL database (both w...
(1) odpowiedzi
2017-07-05 20:07 How to stop ASP .NET from JSONifying JSON »
I am currently trying to wrap an internal API and make it external. To do so, I am trying to relay the JSON responses from the internal API and send t...
(1) odpowiedzi
2017-07-05 15:07 Auto generating id(WEB API2) »
I have WebAPI2 project. I controller I have POST method [ResponseType(typeof(StartWorkingDay))] public IHttpActionResult PostStartWorkingDay(S...
(1) odpowiedzi