Data dodania Pytanie
2017-04-22 11:04 How to properly compute Web API methods URLs in TypeScript within ASP.NET Core 1.1. solution? »
I am trying to set up a Visual Studio 2017 ASP.NET Core 1.1 solution to work with an Angular2 SPA. I have created a sample csproj using the following...
(1) odpowiedzi
2017-04-22 10:04 Json data passed as argument [FromBody] is Map to Class gives NULL »
I have a following JSON String , which is passed as a input parameter of my Web-API. I face trouble in accessing the multilevel JSON data , only NULL ...
(1) odpowiedzi
2017-04-22 10:04 How to change claim values in refresh tokens and bearer authentication »
I want to change the value of a claim via refresh tokens. My refresh token provider is like this: public class MyRefreshTokenProvider : Authenticatio...
(1) odpowiedzi
2017-04-21 23:04 How to create a service based in a WSDL of another service »
I am really new in services and are having some problems with one issue. The fact is, i have a WSDL of a SAP system and i need to create a Web API in ...
(2) odpowiedzi
2017-04-21 21:04 Application Insights Duration stopped working after TraceListener added »
I have a WebAPI project which is deployed to azure. Based on this Azure Friday... I've added Microsoft.AspNet.WebApi.Tracing 5.2.2 to my webapi ...
(0) odpowiedzi
2017-04-21 10:04 How to pass object as parameter in Web Api »
I want to pass object as parameter in my web api GET and POST method. My code is, [HttpGet] [Route("mytest/list/{model}")] public IHttpAc...
(1) odpowiedzi
2017-04-20 23:04 Loading DataTable using ajax »
Hello i'm using Ajax Methode to fill a DataTable i have tested my Web API and it's working correctly but i keep getting this message No data availabl...
(2) odpowiedzi
2017-04-20 13:04 How to have SignalR in my separate Api and mvc client project? »
I'm trying to use SignalR in my client project. What I trying to do is when a method in my api executes , I want to show notification in my client sid...
(1) odpowiedzi
2017-04-20 09:04 Dependency Injection to CustomFormatter »
I am working in webapi with ninject as dependency injector. All my constructor injection working fine for my controllers. I have custom mediatype fo...
(1) odpowiedzi
2017-04-20 03:04 Cors does not work on Asp.Net Web Api »
I tried solutions I found here in stackoverflow and other sites, but they did not solve my issue. So what I did first is to install the Owin.Cors pac...
(0) odpowiedzi
2017-04-19 18:04 First Ajax Request in Chrome Fails, succeeds in Firefox and IE »
I have an Angular2 application talking to an ASP.NET WebAPI endpoint, that uses Windows Auth for authentication, that is failing to respond on first r...
(0) odpowiedzi
2017-04-19 11:04 ASP.NET Web API - Getting 404 when posting a Base64 string with HttpClient »
Not sure what I'm doing wrong here. Trying to post a Base64 encoded byte array, and getting a 404. The thing is, when I try it with a normal value (...
(1) odpowiedzi
2017-04-19 09:04 .NET Core Microservice using RabbitMQ »
I am planing to use Microservice architecture for a project. The selected technology stack is .NET Core with Docker and RabbitMQ as a simple service b...
(1) odpowiedzi
2017-04-18 23:04 Need help calling Web Api controller methods to retrieve data »
I'm new to Web Api (I'm probably missing something very straightforward here) I have a Web Api project with ProductsController.cs that has a property ...
(1) odpowiedzi
2017-04-18 17:04 Entity Framework Core async/wait deadlock when using "one-to-many" relationship and WebApi »
I'm encountering a deadlock when using asynchronous implementation of an EF Core provider. Say I have the following models: public class Player { ...
(2) odpowiedzi
2017-04-18 14:04 Calling a Web API From a .NET Client (C#) »
I am trying to read a response XML from a service to a class to use it. if i use this URL https://btsvcs.college.edu/HR/Employee/ID/NAGWA_N@COLLEGE.ED...
(3) odpowiedzi
2017-04-17 18:04 WebApi 2 AssemblyResolver »
I have created a controller assembly containing all my controllers in WebApi 2.0 and followed this article - https://www.strathweb.com/2013/08/customi...
(1) odpowiedzi
2017-04-17 16:04 Azure WebJobs with many QueueTrigger bad practice? »
Currently i am working on a WebApi project using asp.net. I want to move all the non time critical and long running operations into webjobs to keep my...
(1) odpowiedzi
2017-04-17 08:04 Hide HTTP GET/POST request getting displayed in Chrome Developer Tool »
I have an application developed in Angular JS and Webapi. I have used token based authentication using OWIN Framework. The application is deployed in ...
(1) odpowiedzi
2017-04-16 23:04 Web API security using tokens »
I have built a Web API and now I am trying to determine the best approach to secure it. I would like to use tokens along with credentials and thus, o...
(1) odpowiedzi
2017-04-16 16:04 Async .net web api sometime does not return any result with angularjs call by passing same id parameter »
Async .net web api sometime does not return any result with angularjs call. May be due to some problem with my asynchronous code handling at UI end.C...
(3) odpowiedzi
2017-04-16 11:04 Not to scaffolding with Application Insights packages when creating a new Web projects in Visual Studio 2015 »
When creating a new Web project (WCF, MVC, Web API), Visual Studio always introduces ApplicationInsights packages which I don't use. I have to remove ...
(1) odpowiedzi
2017-04-15 14:04 Run code after returning data »
in have a web api like this : public async Task<IHttpActionResult> PostTest(Model model) { db.UserOrders.Add(model); await db.SaveChang...
(0) odpowiedzi
2017-04-15 01:04 $expand doesn't work after migration and code is first »
could not find a property named on type odata when expand property in uri enter image description here The query specified in the URI is not valid. C...
(0) odpowiedzi
2017-04-15 01:04 Controller response after select one value of select option »
Context I have two tables: Firmtable : ID (string), Firm(string) Firms table: FirmID(string FK), Name(string) That I want to do is to select one v...
(1) odpowiedzi
2017-04-14 23:04 How to create Asp.net mvc secure login page authentication? »
Hi I have an important task while being completely lost. My team is building an external website and have already purchased the certificate. I am lo...
(2) odpowiedzi
2017-04-14 20:04 Getting values with angular for dropdown »
I´m working in WebApi Asp.Net with Angular, I want to know how to fill a simple dropdown using select View: <select class="form-control input-sm...
(1) odpowiedzi
2017-04-14 10:04 Asp.net mvc connect to webApi by httpClient »
I have mvc application and webApi application. I need sign in in asp.net mvc through webApi. When i use this method: public static string GetToken(Lo...
(2) odpowiedzi
2017-04-13 15:04 Angularjs with browsersync post method send as options »
I have an Angular 1.6.4 application using Browser-sync with gulp. When uploading the Browser-sync with the command "gulp server" and when making a pos...
(2) odpowiedzi
2017-04-13 12:04 Angular Convert API JSON Response Object with Fields to Array »
Learning Angular and having been through the heroes tutorial I wanted to try a real world http request so I am hitting the MetOffice DataPoint API. A...
(2) odpowiedzi
2017-04-13 12:04 Error: [$injector:unpr] Unknown provider: GetOrdersProvider <- GetOrders <- OrderController »
I want to do get post actions on different URLs. When I tried to write different factories I guess it could recogine the other factory. Service.js v...
(1) odpowiedzi
2017-04-12 19:04 Web API - JsonConverter - Custom Attribute »
We are having a web api project and inorder to convert the date time to date and vice versa, we are using DateTimeconverter extended from JsonConverte...
(1) odpowiedzi
2017-04-12 14:04 C# WebAPI - Get full HTTP request »
In one of my WebAPI Controllers, I'd like to see the original raw HTTP request which was sent by the client (like the stuff you can see on http://web-...
(1) odpowiedzi
2017-04-12 09:04 Web API post request to upload file with data object »
I am working on an API which will accept the file and other details as input object like below attachmentDto:{ Attachment_Description:"Description", ...
(1) odpowiedzi
2017-04-11 22:04 How do I access the request body as a stream, without waiting for the entire body? »
I have a Web API action that accepts large (100 MB+) files and forwards them to another HTTP service. I want to stream the request body to the other s...
(0) odpowiedzi