Data dodania Pytanie
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
2017-11-13 14:11 Spa app w/ Web API security concern. Can a logged in user with a JWT make random requests to API »
I have a security concern about building a SPA application. What is stopping an end user to make calls to my Web API as long as they have a token? F...
(1) odpowiedzi
2017-11-13 07:11 ASP.NET Identity Token Methods accepts all HTTP methods »
I created pone webapi and implemented authentication. I have the token method to get the user token. All working fine. Scenario: I tested the token m...
(0) odpowiedzi
2017-11-12 23:11 Testing of the service with multi database queries »
I have C# Web API service. It is built on top of OWIN Katana. I'm using MS TestServer to instantiate the service in-process and make HTTP requests in...
(0) odpowiedzi
2017-11-12 16:11 How to change format of returned list in web API? »
I'm fairly new to WEB API so please forgive the ignorance. I'm trying to return a list of events that a specific user will be attending and nothing mo...
(1) odpowiedzi
2017-11-12 07:11 Optimize Web API call »
I have the following controller in a Web Api 2 project: [EnableQuery()] public IQueryable<ItemDTO> Get() { var items = from i in db.Items ...
(1) odpowiedzi
2017-11-11 20:11 Model1.ssdl(2,88) : error 0004: Could not load file or assembly 'MySql.Data.Entity »
i have a solution in that it is giving this error. i have my sql.data.dll 6.9.9.0 in my bin folder and sql.data.entity 6.7.4.0 and this is my web conf...
(0) odpowiedzi
2017-11-11 18:11 Send large csv file to ASP.net Core 2 web api method in chunks »
I have a requirement where I need to import csv from a client browser app (built using Angular4) and send that to a web api (built using ASP.net Core ...
(0) odpowiedzi
2017-11-11 07:11 Returning the wrong type - cast? »
In a Web API 2 project, i am trying to get all the coordinates belonging to a single item (can be anywhere from 1 to 1000s) and calculating the center...
(1) odpowiedzi
2017-11-10 20:11 Web Api 2 - converting values and combine values from sub query »
In a Web API 2 project, using EF, i am trying to get a controller to return a list of items from the database. That simple enough. The problem comes, ...
(1) odpowiedzi
2017-11-10 15:11 How to see the dependency issues at appstart on the Azure WebApps .net core »
When we deploy the apps with missing dependencies we are getting 500 errors but not very helpful. We can not capture the error with appinsight as the ...
(2) odpowiedzi
2017-11-10 10:11 How to allow specific roles to access API using identityserver3.accesstokenvalidation »
I have an Identityserver4 that is providing access tokens to clients. On my API, I want to be sure that client is allowed to access specific scope an...
(1) odpowiedzi
2017-11-10 08:11 Get JSON response from Web API »
I want to get JSON response from Web API Call. I am calling it like below HttpClient client = new HttpClient(); client.BaseAddress = new Uri("http://...
(2) odpowiedzi
2017-11-09 21:11 ContinueWith is invoked with faulted readasstringasync »
I am sending a JSON request of size 6MB to my Web API where I am using ReadAsStringAsync method to get the request in string format. I have added Cont...
(0) odpowiedzi
2017-11-09 18:11 webapi multiple methods in MapHttpRoute »
Using route annotations in asp.net core I can do the following easily enough [HttpGet("ByID/{id}")] public int GetByID(int id) { return 5; } [Ht...
(1) odpowiedzi
2017-11-09 03:11 How to expose stored procedure from database for apicontroller »
I'm struggling to understand the recommended way of exposing a stored procedure using EF, and whether there's a benefit in doing so. I've implemented...
(0) odpowiedzi
2017-11-08 15:11 How to Export Swagger documentation in PDF and XML files »
I have generated swagger document for web api using below link: http://wmpratt.com/swagger-and-asp-net-web-api-part-1/ Need to export document in PDF...
(1) odpowiedzi
2017-11-08 07:11 Azure multi-tenant OAuth 20.0 app Web API scenario consent via portal »
There is a Client in Tenant A. There is a Resource Server (Web API) in Tenant B. I'm developing both Client and Web API. I'm admin in both Tenant A an...
(0) odpowiedzi
2017-11-08 06:11 Angular Posting to .net Web API »
I am trying to execute a POST from my angular application to a .net Web API instance but the server returns null. server [HttpPost] public...
(3) odpowiedzi
2017-11-07 21:11 Could not load file or assembly 'System.ServiceModel, Version=4.0.0.0 »
I recently started getting this error on my WebAPI project on VS 2017. If I run the same project on another machine it works fine. I have tried reinst...
(1) odpowiedzi
2017-11-07 19:11 WebAPI core IFormFile always showing null »
I have one front-end in angular 4, and one back-end in ASP.NET Core WebAPI, the functionality of them is, send data and an curriculum vitae of one peo...
(2) odpowiedzi
2017-11-07 12:11 Response for preflight has invalid HTTP status code 400 angular delete method »
When I try to call delete method in angular I received the error below. Failed to load http://localhost:56065/api/Regists/5: Response for prefli...
(3) odpowiedzi
2017-11-06 23:11 EF, and why do I have to restart the web site instead of just recycling the app pool? »
I have this code in my EF's OnModelCreating() method. It detects whether a table has a column, then binds the right class to EF based on that. if (...
(0) odpowiedzi
2017-11-06 10:11 WebApi HttpPost body content null »
In my WebApi I have a HttpGet and HttpPost method, the get method is working fine and the post method is called but the body content is always null, u...
(1) odpowiedzi