Data dodania Pytanie
2018-02-07 22:02 Identity management framework in ASP.NET »
A new application is being built with an Angular Client and a ASP.Net Web API back end. The back end will be consumed by the Angular Client only in t...
(1) odpowiedzi
2018-02-07 08:02 Returning a file from ASP.Net Web API »
I am trying to return a file from an ASP API method. The strange thing is, it works in IE (It has been a long time since I have said that). In other...
(4) odpowiedzi
2018-02-06 21:02 Get correct default(DateTime) in server »
I obtain several parameters from the user, after some boilerplate code I obtain an URL like this: http://localhost:58756/api/Shippers/GetShippers?pag...
(2) odpowiedzi
2018-02-06 17:02 Error after change namespaces »
I am newbie in ASP.NET and I have an issue that I can't solve. I know, I know... there is a lot of information to research about this problem, so I wa...
(0) odpowiedzi
2018-02-06 12:02 WebApi Custom Filter with injected interface in constructor does not get called »
My problem statement is same as this question i.e., use an injected service in attribute/filter. I have tried the solution given by B Z and following ...
(1) odpowiedzi
2018-02-05 10:02 Separating the serialization metadata from the implementation of a data contract? »
I want to define a contract for a DTO which a consuming API project will implement and return as JSON. From my perspective there are three concerns h...
(1) odpowiedzi
2018-02-05 09:02 Data is coming from Server to Client page, but not Displaying in Angular Project with MVC »
I'm running an Angular Project with MVC. I want to display the data in a grid as shown below. Now the problem is I'm getting the data in Console windo...
(2) odpowiedzi
2018-02-05 08:02 Receiving 500 internal server error even though I receive data from LINQ »
StackOverflow. The issue I am having today is when I send a get request to localhost:xxxxx trying to obtain a singular food item by ID, I receive a 5...
(2) odpowiedzi
2018-02-04 23:02 Could not resolve host '(localdb)' on Visual Studio for MacOS »
Developing an Asp.Net web Api working with SQL. I'm stuck at debugging app on my Mac. When calling methods, working with db, app returns instead this ...
(0) odpowiedzi
2018-02-04 21:02 How to post data in the web api by stored procedure and EF db first approach »
I have a problem in posting data in my web API project, I have a action method and a stored procedure and a table by which a want to perform post oper...
(1) odpowiedzi
2018-02-04 16:02 How can I hide some of recursive properties in ASP.NET Web API »
I am trying to convert my object to json, this object has some infinite recursive loop because of some properties, what can I do for not showing or no...
(2) odpowiedzi
2018-02-03 23:02 Caling a web API through a JavaScript function »
I want to retrieve the financial data of apple company from a data provider "intrinio" I am pretty good at nodejs so i was able to write the code and...
(2) odpowiedzi
2018-02-03 17:02 How to use standard validation data annotations with custom types? »
Is it possible to use the standard data annotations within the .NET framework (such as StringLength, RegularExpression, Required, etc.) with custom ty...
(1) odpowiedzi
2018-02-03 09:02 MVC API controller error with dependency injection »
i have a simple controller where i am using the interfaec like this , public class HomeController : Controller { // GET: Home private IHotelS...
(1) odpowiedzi
2018-02-02 21:02 What is wrong with the order of these Web API routes »
So I have few routes added in WebApiConfig.cs file and I can get first & second call to work but can't get GADailyAPI calls to work. I get a 404. ...
(2) odpowiedzi
2018-02-02 16:02 Best way to do async work in order to return fast response »
I'm working on a REST API on ASP.NET. I want to know which is the best way to do a background work indepentently of sending the response to the client...
(2) odpowiedzi
2018-02-02 14:02 IHttpActionResult result fail to bind request body parameter when parameters are defined directly as methods arguments instead of a model »
When i put an array of Guids as an argument directly in my web api action result it doesnt find any of my guids which are in the request body and bind...
(1) odpowiedzi
2018-02-01 17:02 C# Web Api xml save issue »
I've got a strange behaviour with C# Web API and a save of xml. I've got this test class: public class TestsApiController : ApiController { [Http...
(1) odpowiedzi
2018-02-01 12:02 Error: "System.Net.Sockets.SocketException (0x80004005): An existing connection was forcibly closed by the remote host" on test server »
I am facing an issue where my Web API is working fine on local systems but creating issues when deployed on server. I have checked, cross-checked mult...
(1) odpowiedzi
2018-02-01 03:02 EF Core: Get Authenticated username in Shadow Properties »
As a part of logging who entered/updated the data I am adding 4 common fields (Created By, Created Date, Modified By, Modified Date) in all entities. ...
(1) odpowiedzi
2018-01-31 23:01 Export data to excel with EPPlus and WebApi »
I'm trying to export a list, but when i open the file download it just shows a bunch of characteres that don't make sense (kinda looks like machine la...
(1) odpowiedzi
2018-01-31 18:01 How to call REST api result json having c# keywords »
I am trying to access a simple REST Api, https://api.cryptonator.com/api/ticker/btc-usd The result of the same is like this format: {"ticker":{"base...
(1) odpowiedzi
2018-01-31 09:01 Non-interactive user authentication using AAD v2 »
We are exposing a service written in ASP .net Core Web API, and using AAD V2 and claims based authentication. Our clients use Microsoft and MSA accoun...
(2) odpowiedzi
2018-01-30 22:01 Angular5 and Web Api - Download a PDF file »
I am trying to download a pdf file from a call to a Web Api service in an Angular 5.2 application. The api call is returning 200 and appears to be re...
(1) odpowiedzi
2018-01-30 20:01 ServiceStack logging and SSE in a single interface? »
So, our project has recently started using Server Sent Events in ServiceStack. Our projects also log with log4net, using the log4net provider. Now t...
(1) odpowiedzi
2018-01-30 06:01 Import json data using c# »
Form a third party system deserialize json data to the object/class format and write data into a SQL Server table from a asp.net web api. When I run t...
(1) odpowiedzi
2018-01-29 11:01 IIS/ASP.NET intentionally responds simultaneous requests slower than single ones? »
IIS (or maybe ASP.NET) takes longer time to respond requests when they are sent simultaneously with other requests. For example if a web page sends re...
(1) odpowiedzi
2018-01-29 11:01 Get value from inherited web config within my project »
I have a Web API project, that has 3 controller projects eg: ControllerProject1 ControllerProject2 ControllerProject3 The hierarchy is as follows...
(0) odpowiedzi
2018-01-29 09:01 How to add a field in my quartz configuration dynamically? »
I have a quartz configuration section in my web.config, and I want to add a key value field to it. (I know I can just go to the web.config and add it ...
(2) odpowiedzi
2018-01-28 15:01 How can handle a FileTransfer plugin request in ASP .NET WEB API »
I am developing a mobile application about sound files (like .3gp, .wav), and I want send user's record to .net web api server. For this situation I u...
(0) odpowiedzi
2018-01-28 15:01 How to increase recursion depth in OData? »
I have a case with ASP.NET Web API OData that is regarding a too deep query filter. The $filter is a nested query with too many parenthesis. It is gen...
(0) odpowiedzi
2018-01-28 10:01 call web api by passing simple and complex parameter »
Getting an error message of no http resource or action found in controller. In a web api I have a from body and from uri parameter. [Http...
(2) odpowiedzi
2018-01-27 22:01 iis windows authentication web api and signalr »
I Have to different servers one for web api and the other is for push notifications(signalR). I am hosting both on iis7, both are working fine indepen...
(1) odpowiedzi
2018-01-27 19:01 Restrict WebApi endpoint to users »
I'm developing a small PoC WebApi in C#, where a user should be able to view or edit his full name, e.g.: GET my.api.com/users would return all user...
(1) odpowiedzi
2018-01-27 12:01 When Web API is called from same project is working fine. But when I call same API from another project in same machine, it is giving 405 method »
First time when I created Web API project(MVC pattern) and I created few API controllers and called from html page(Ajax call),I am able to call all AP...
(0) odpowiedzi