Data dodania Pytanie
2017-09-19 23:09 Dapper, SimpleInjector and Open Data Reader Errors »
I'm hoping someone can help me with a problem that is really confusing me. Here's the scenario: SimpleInjector is used as a DI container, and a Sql...
(0) odpowiedzi
2017-09-19 21:09 Reusing a bearer token for multiple API calls »
I have an architecture where by I have an initial ASP MVC landing page which calls into a Web API service which inturn calls into 2 others which thems...
(3) odpowiedzi
2017-09-19 10:09 How to add a request identifier to OWIN requests using Serilog? »
I'm trying to get the same as with using SerilogWeb.Classic.WebApi using this: app.Use(async (owinContext, next) => { using (Serilog.Context.L...
(1) odpowiedzi
2017-09-18 15:09 web api 2 image upload with parameters »
I'm using web api to support the server side of a mobile app and I need to provide an endpoint that support uploading an image to a user profile. What...
(1) odpowiedzi
2017-09-18 13:09 Mapping properties of C# ASPNET WebApi objects to Angular 2, »
I reprogrammed the Angular 2 heroes tutorial so that is runs within an ASP.NET webapplication with a Web API and communicates with that Web API inste...
(1) odpowiedzi
2017-09-18 07:09 Multiple API call in Single Grid »
I am binding data to Kendo grid and have following Schema. $("#divShowReports").kendoGrid({ dataSource: { data: dat...
(1) odpowiedzi
2017-09-17 23:09 Webapi Application Impelimenting Dependency injection »
I am learning to implement DI and Pattern in my application and I have created some requirements for myself Wrote a WebAPI application with a bunch of...
(0) odpowiedzi
2017-09-17 17:09 Asych and Parallel HttpClient Request to 62,000+ machines : Best Practice Request »
I have this scenario, I am working on where a notification message needs to be sent to all workstations in my company. We have a client service which ...
(1) odpowiedzi
2017-09-17 05:09 Is it possible to have a dynamic IContractResolver? »
I have a domain model where I've been successfully using a custom IContractResolver that extends CamelCasePropertyNamesContractResolver to remove spec...
(0) odpowiedzi
2017-09-16 17:09 Unable to import name spaces using quick fix (Visual Studio Code) »
Hi everyone, I have a problem with my visual studio code. Initially, when I installed the extensions and used the Visual Studio Code, ther...
(1) odpowiedzi
2017-09-16 13:09 How to sanitize the value of string argument inside web api filter? »
I have web api application and I want to sanitize data that comes from front-end applications using web api filters. I have created the following fi...
(1) odpowiedzi
2017-09-16 05:09 Response to preflight: “No 'Access-Control-Allowed-Origin'” despite CORS-enabled »
I am having trouble figuring out an issue with an angular 4 preflight request not passing a CORS access-control check: “No 'Access-Control-Allowed-O...
(3) odpowiedzi
2017-09-15 18:09 Using Identity Server 3, ClaimsPrinciple null even after successful bearer token authentication »
I have a test console app which I'm pointing at a local instance of Identity Server 3 to request an access token. The following code does this and ret...
(2) odpowiedzi
2017-09-15 16:09 Simple AngularJS Web API failing... »
I'm new to AngularJS and I am trying to replace some AJAX code for an HTML website I use for testing Web API services. So I've been working through so...
(1) odpowiedzi
2017-09-15 14:09 How to get twitter user id and access token when user login »
while my website runs in the browser. I want to get twitter logged in user id and access token in any tab. any one have any idea with this. ...
(0) odpowiedzi
2017-09-14 19:09 Accessing query parameters in .NET Controller »
I have this function in jQuery var uri = "api/queries"; function test(){ var params = { origin: $('#depair').val(), destination:...
(3) odpowiedzi
2017-09-14 13:09 How to create a drop down from API JSON data »
I'm a newbie to Webapi with AngularJS. I have a URL which will give data in JSON format, I need to catch only employeename from the given data and pit...
(4) odpowiedzi
2017-09-14 08:09 ASP.NET Web API 2 custom routing to specific method »
How can I configure routing in ASP.NET Web API to route it to specific method in controller with GET method? http://mysite/healthcheck Registration ...
(4) odpowiedzi
2017-09-13 23:09 instead of downloading Open pdf in browser(using itext) mvc »
I am able to download and store the pdf document that is being generated but instead of downloading I want to open it in browser. I have something lik...
(1) odpowiedzi
2017-09-13 18:09 RESTful service and JSON array »
I have a .NET Core 1.x Web API project and I am trying to accept an array on HTTP post, but I have been unable to get this working. I have validated t...
(3) odpowiedzi
2017-09-13 07:09 Cannot install EntityFramework 6.1.3 on my Web API .Net Core Project »
I want to ask for help on how to install EntityFramework on my web api project (.net core). I tried installing it but it keeps showing the error "Pac...
(1) odpowiedzi
2017-09-12 09:09 angularjs Pass data has list data »
I want to pass data what has list of child like here { id : 1, title : 'test', childs : [ { id : 1, name: 'name1' }, { id : 2, name: 'name...
(2) odpowiedzi
2017-09-12 05:09 REST API not working with MySQL »
I am creating a REST API using MySQL DB in visual studio 2015 in asp.net mvc 4.5. I have done each and every step which in needed to run the api using...
(1) odpowiedzi
2017-09-12 00:09 ASP.Net MVC Api Controller - Custom Route »
I know this is a clone of the post ASP.net web api 2 Route-Attribute not working, but I am having another issue like this. I can use the standard api...
(1) odpowiedzi
2017-09-11 21:09 Windows Authentication and Angular 4 application »
I am writing an Angular 4 application that needs to get some data from Asp.Net WebApi. We are using windows authentication for the WebAPI and I am won...
(0) odpowiedzi
2017-09-11 17:09 error returned when no error thrown..WEB API C# »
I have a Web API 2.0 action that does the following: [System.Web.Http.Route("api/wdretrievedata")] [System.Web.Http.HttpGet] public IHttpAc...
(2) odpowiedzi
2017-09-11 00:09 Best practice to implement a sort property »
I have an api Get method which accepts sort property as a string. What is a best solution to handle it without using switch statement? public ActionR...
(1) odpowiedzi
2017-09-10 19:09 IIS Express refuse connection from public IP »
I've developed a WebApi server. If I use localhost:9615/api/method it works fine. Even if I use an IP address 192.168.0.1:9615/api/method. I am very...
(1) odpowiedzi
2017-09-10 19:09 Web API Basic authentication always unauthorized »
I have a Web API with only one user, I'm trying to use the basic authentication to protect it but it always returns code 401 unauthorized. This is my...
(1) odpowiedzi
2017-09-10 06:09 Corresponding web api function to accept file »
I am trying to upload file using retrofit, send it to the server side and save that file in my uploads folder. This is my retrofit API instance: @Mu...
(1) odpowiedzi
2017-09-09 16:09 .Net Core 2 API How To Get Current Logged In User? »
This issue is trolling me quite hard at the moment. Never had a problem in Web API 2, now in Core, I can't get the current claims or identity for the ...
(0) odpowiedzi
2017-09-09 13:09 Same image resize and image crop functionality works in a Winforms app, and doesn't work in a Webapi app of the same solution »
Short intro: I have this solution which consists of a Webapi app, Winforms (UI) app, then Xamarin Forms (Android, UWP, iOS). Now, resize and crop fun...
(1) odpowiedzi
2017-09-09 12:09 Data Not getting Updated - Ninject Scope in WebAPI »
I am working in web api with ninject as dependency resolver Scenario: I need to generate a report as pdf which includes report data and the organisa...
(1) odpowiedzi
2017-09-08 18:09 Downloading PDF across 2 APIs using GET request »
Im trying to download a PDF file crossing over two API's with a GET Request. If I go direct to API2 the PDF downloads fine with the below code: Stre...
(1) odpowiedzi
2017-09-08 18:09 OData filter options fail when Uri has escaped ampersand »
I'm currently using OData v3, but this seems to fail (just differently) in OData v4 as well. Let's say I have the following Uri: http://myurl.com/oda...
(1) odpowiedzi