Data dodania Pytanie
2017-11-25 03:11 Angular with Web API Bearer authentication keep failing »
Working on a new app with Angular 5 and Web Api version is 5.2.3 on dot net framework 4.6.1. The api is just a new Web Api project with individual aut...
(2) odpowiedzi
2017-11-24 16:11 .net core injecting and resolving services »
I am trying my hand at .net core web api. I have created a static method for registering my controllers like this: public static class RegistrationEx...
(3) odpowiedzi
2017-11-24 16:11 Write Relationship name when outputing nested DataSet to xml »
I am trying to output a nested dataset to xml, for a web api but the xml is not correct here is the xml that is generated <ArrayOfDamages> &lt...
(1) odpowiedzi
2017-11-24 11:11 Automatic vs manual WebApi client genereation »
I am planning to create a client for existed Restful API and choosing rather to do it manually or automatically using such tools as Autorest or Swagge...
(1) odpowiedzi
2017-11-23 17:11 'Startup' is a type, which is not valid in the given context »
New to Asp.Net Core 2.0 and following https://medium.com/@lugrugzo/asp-net-core-2-0-webapi-jwt-authentication-with-identity-mysql-3698eeba6ff8 article...
(0) odpowiedzi
2017-11-23 13:11 Browser refresh issue. AngularJS and Web API »
Scenario: We are referring third party paid API's in back end web API. And we are requesting those API through our application browser (search button)...
(0) odpowiedzi
2017-11-23 11:11 MSAL: AcquireTokenSilentAsync always interacts with the endpoint »
I'm lookig at MSAL and I'm trying to understand what's the correct way to use it in a client app. In my case, I'd like to authenticate the user and th...
(1) odpowiedzi
2017-11-22 13:11 Get name of api method called from authorization attribute »
Within my custom authorization attribute code I would like to identify which WebAPI method has been called. I appreciate that I could do this by pass...
(1) odpowiedzi
2017-11-22 09:11 Problems with streaming video for IOS Client (Server developed on ASP.NET WEB API 2) »
I have a problem with streaming video. I developed the server on ASP.NET Web API 2 and implemented 2 methods: 1) The first method: if (Request.Heade...
(1) odpowiedzi
2017-11-22 06:11 Any way to change default ActionVerb for .NET MVC WebApi actions? »
According to Microsoft Documentation, in the section of Action Selection, it states: If none of the above, the method supports POST. Is th...
(1) odpowiedzi
2017-11-21 22:11 converting circular structure to json error Ionic 3 »
Hi everyone am new to angular 2+ and ionic 3 and am trying to post a login form from my ionic 3 app to my asp.net web api application to perform a tok...
(1) odpowiedzi
2017-11-21 14:11 Web API + MongoDB: list of arbitrary objects? »
I have a .Net Core 2.0 Web API in which I'm using the MongoDB .net driver. I have a class called ListOfValues: public class ListOfValues { publi...
(1) odpowiedzi
2017-11-21 13:11 Why caching access token is consider bad in oauth2? »
I am following this article for revoking user access : http://bitoftech.net/2014/07/16/enable-oauth-refresh-tokens-angularjs-app-using-asp-net-web-ap...
(2) odpowiedzi
2017-11-20 19:11 Entity Framework many to many complex query unable to create error »
I have a relational database and I want to get a relational query but could not. I have many to many relation UserGroup and WidgetContent. One to m...
(1) odpowiedzi
2017-11-20 13:11 Give a name to an array of JSON objects »
I am new to JSON and i am trying to get data from database in Sql Server with Asp.net Web Api. My Output json Array is Like this: [ { "f0": 9608,...
(2) odpowiedzi
2017-11-20 12:11 How to Accept File and string data from Post Request in ASP.Net Core 2.0? »
I'm writing a Reactjs app and post a file and a string as follow to ASP.Net Core 2.0 back end api project. I wanted to post a file and a string value ...
(1) odpowiedzi
2017-11-19 22:11 Error after add certificate WebService »
I have .svc webservice. I'm trying to add to my Webservice certficiate and to browse with HTTPS instead HTTP. After I was added the certificate I got ...
(0) odpowiedzi
2017-11-19 20:11 .NET API Request Not Saving to Database »
Been working on learning APIs for a few days, found it a little difficult but managed to muster this from reading a fair amount of posts: [HttpPost] ...
(1) odpowiedzi
2017-11-19 16:11 Error 502 in IIs Server »
When I run this code snippet on Visual Studio, the program runs without problems, and I receive query [HttpGet] [Route("TimeTotalMontly/{id}...
(0) odpowiedzi
2017-11-18 19:11 IdentityServer4 on Core 2.0 Getting 401 (Unauthorized) from the API »
I'm all of a sudden getting 401 errors from my web API project after trying to migrate to the latest version of IdentityServer4 and .NET Core 2. Over ...
(1) odpowiedzi
2017-11-18 16:11 Azure SSO JWT token is still valid after signing out »
I have a JWT token which is generated client side and stored in session storage. It is passed to ASP.NET WebApi endpoints that are decorated with the ...
(1) odpowiedzi
2017-11-18 11:11 WebApi Accepting Json Issues - ZenDesk »
I have the following Asp.Net Web Api v2 controller - just as a basic example: [HttpPost] public IHttpActionResult TestPost([FromBody]string v...
(1) odpowiedzi
2017-11-17 12:11 Pass int to webapi »
I know this has been asked a thousand times. But I can't find my error. I narrowed it down by testing it without a parameter, which worked and then tr...
(1) odpowiedzi
2017-11-17 04:11 React components not getting displayed on running the code in asp.net »
I am new to react. I have created a simple form with reactjs in mvc asp.net. But on execution, react components are not getting displayed in the webpa...
(1) odpowiedzi
2017-11-17 01:11 ASP.Net: Call an async method in Page_Load »
I have this API client which has a send method used to post my object to a Web API service and return an object of type ReturnedResults. Now I need t...
(1) odpowiedzi
2017-11-16 15:11 How to post form data from reactjs to controller in mvc asp.net »
I am new to React. I am trying to create a form in asp.net with react. when posting form data from reactjs to controller in mvc asp.net, the data is n...
(1) odpowiedzi
2017-11-16 15:11 Attribute Routing doesn't work »
I'm creating a rest api in visual studio express 2013. I have 2 controllers: one for orders and one for clients. I've already created the following:...
(2) odpowiedzi
2017-11-16 11:11 Web API: network printers show up in debug mode but not when run through iisservice »
I am trying to get a list of all available printers, be they localy installed or network printers. to do this i used the following code which i found ...
(0) odpowiedzi
2017-11-15 12:11 JSON to ASP.NET Web API error: (500) Internal Server Error »
I'm trying to send a object via JSON to a web API but I keep running into and exception My client side action is: public string SubmitNewInciden...
(1) odpowiedzi
2017-11-15 10:11 IIS 10.0 Detailed Error - 404.0 - Not Found - After Windows 10 Update »
I'm quite confused that what happened to my Web Api Application or IIS after Windows 10 Update. Some controllers like the following are working perfe...
(1) odpowiedzi
2017-11-15 08:11 Is ProxyCreationEnabled = false is equal to AsNoTracking() in Entity framework? »
Is ProxyCreationEnabled = false is equal to AsNoTracking() in Entity framework? And we can use AsNoTracking() in table level. but how to use AsNoTrac...
(1) odpowiedzi
2017-11-14 22:11 .Net Core Rest API Best practise »
I was wondering what the best practise would be concerning the following API structure: OrderItemDepartment has a one to many relationship with Orde...
(0) odpowiedzi
2017-11-14 18:11 Post request fails if user waits a minute before submitting post to server (IE only) »
I am building a SPA that is backed by a .net webapi using windows authentication hosted in IIS. When the user hits the home page, it is calling the a...
(0) odpowiedzi
2017-11-14 09:11 ASP.NET Web API handled exception return wrong status code »
I have project using ASP.NET Web API 2.0 and have a method in this API throwing an exception: public void TestMethod() { throw new Ex...
(1) odpowiedzi
2017-11-13 14:11 How to additionally include File as response of WebAPI »
My current web API already responding JSON data as below. public HttpResponseMessage GetFieldInfo() { //.... return Ok(GetFieldsInstance(...
(1) odpowiedzi