Data dodania Pytanie
2017-01-24 20:01 Microservices vs multi-layered architecture »
My project has one backend service (Web API) and one frontend SPA application. Backend service has presentation, application services, domain and infr...
(1) odpowiedzi
2017-01-24 10:01 Exclude fields in WebAPI response »
public class Order { public decimal Id { get; set; } public decimal customerId { get; set; } public string payment_method { get; set; } ...
(0) odpowiedzi
2017-01-24 10:01 Web API 2 services - how to return an Exception message in the Status »
Is it possible, in Web API 2 to directly return the Exception message in the response's Status ? For example, if I was writing a WCF Service (rather ...
(2) odpowiedzi
2017-01-23 17:01 ASP.NET MVC route with .asp extension »
EDIT: The 'duplicates' are not working - not sure why exactly. I need to be able to support an ASP.NET WebApi (v5.2.3.0) route that looks like this...
(1) odpowiedzi
2017-01-23 10:01 ASP.NET Core Web API: Why need ModelState validation in Get request? »
VS 2015 automatically generated the following code: // GET: api/Companies/5 [HttpGet("{id}")] public async Task<IActionResult> GetCompany([From...
(1) odpowiedzi
2017-01-23 04:01 ASP.NET Core API POST parameter is always null »
I have read the following: Asp.net Core Post parameter is always null asp.net webapi 2 post parameter is always null web-api POST body object always...
(2) odpowiedzi
2017-01-22 08:01 No connection could be made because the target machine actively refused it 127.0.0.1:32450 »
I am trying to use 3 layered architecture in MVC MVC UI-->Services--> Entities I am using built in asp.net web development server to this in which I ...
(2) odpowiedzi
2017-01-22 04:01 How to rehydrate Identity property in Model when a new user logs in »
I have a model, for example, public class OccupationType { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int Id { g...
(1) odpowiedzi
2017-01-22 02:01 Cant get ASP.NET Core Web API to work with IIS »
I'm building an ASP.NET Core MVC Web Api application and I'm trying to get it to work with IIS on my own machine. I have read different blogs and trie...
(1) odpowiedzi
2017-01-21 23:01 Highly strange error in Angular application »
I have a SQL Server database and an Asp.net web api for my web service. I have below UI for adding a category I have below UI for adding a expens...
(0) odpowiedzi
2017-01-21 12:01 Is it possible to set a non primary key as foreign key in another table? »
More specifically, I would like to set the Email column from AspNetUsers table as foreign key in another table. I hope to have explained my problem w...
(1) odpowiedzi
2017-01-21 12:01 Put method via JS (ajax) - backend returns badRequest (invalid model) / C#/WebAPI/MVC »
i have following problem: i have working PUT method inside my MVC controller [HttpPut, Route("{id:int}")] public IHttpActionResult Update(int i...
(2) odpowiedzi
2017-01-20 20:01 Posting JSON Data WebAPI »
I am experiencing a strange problem when posting data to a Web API service hosted in Azure and would appreciate any insight. I've written a pretty ba...
(1) odpowiedzi
2017-01-20 20:01 Using a Type variable in generic collection »
I have a WebAPI method and in it I have an IEnumerable<T> of objects where the type of T is not known until runtime. So, I need to execute a fo...
(1) odpowiedzi
2017-01-20 18:01 ASP.NET Web API Delete returns 404 »
Using ASP.NET (4.6.1) Web Api on my local IIS 7.5 I'm trying to call a delete method: [HttpDelete] [Route("Values/")] public IHttpActionResult Delete...
(1) odpowiedzi
2017-01-19 18:01 Accept calls to the controller with extension like .js c#MVC »
I'm new to C # mvc I have a controller that only accepts calls as follows "asset / getJavascript", my question is how can I do to accept the calls "as...
(1) odpowiedzi
2017-01-19 09:01 how to get a template of route from ActionExecutingContext »
I need to limit an access to methods of controller by http method and route template. how to get a template of route from context var? public abstrac...
(1) odpowiedzi
2017-01-19 05:01 TempData null in asp.net core »
I am trying to use TempData in asp.net core However I am getting a null value on the get method of TempData. Can anyone please let me know how can I u...
(1) odpowiedzi
2017-01-18 15:01 Unit testing a Web Api controller »
I am fairly new to Unit Testing and I am trying to create a Unit Test for a Web Api contoller that I have created which returns a list of Brands. My ...
(1) odpowiedzi
2017-01-18 10:01 ASP.NET Core Dependency Injection: The Difference Between Factory and Instance? »
I am currently migrating an ASP.NET Web Api project to ASP.NET Core and I've gotten a bit lost on how to properly accomplish storing the value of the ...
(1) odpowiedzi
2017-01-18 10:01 C# large string arrives to WebApi as null »
I'm having an issue with uploading large files (up to 500 mb) from client to server with ASP.NET Web API. The problem occures when uploading file size...
(0) odpowiedzi
2017-01-18 09:01 Allowing Multiple Accounts from the Same E-Mail Address WEB API ASP.NET IDENTITY »
I want to create multiple users using asp.net identity framework with same email addresses and different usernames. Is it possible? If yes then help...
(0) odpowiedzi
2017-01-17 13:01 I am unable to use a Type Provider on a localhost for an Android Emulator »
I am unable to use a Type Provider on a localhost for an Android Emulator. This doesn't work for me when using F#'s Type Provider because the TypePro...
(1) odpowiedzi
2017-01-17 10:01 C# web api swagger integration »
I have a problem to integrate swagger ui with my web api, and i don't have any idee what is the problem. When i call in the browser the swagger, the ...
(0) odpowiedzi
2017-01-17 09:01 .Net CORE Web API no-cache but still happens »
Using .Net Core and visual studio 2015. I have a Web API create in .net core, Recently in testing i realized my results are being cached (or atleast ...
(1) odpowiedzi
2017-01-16 15:01 ASP.NET Core Identity does not inject UserManager<ApplicationUser> »
I've got an older asp.net core identity database, and I want to map a new project (a web api) to it. Just for the test, I copied the Models folder, a...
(2) odpowiedzi
2017-01-16 11:01 HTTP Post from angular2 to .NET web api doesn't work »
I'm building a site with an angular2 frontend and .NET backend, the GET calls to the backend have been working flawlessly. Now I want to POST some s...
(1) odpowiedzi
2017-01-16 10:01 MailMessage object is received empty at MVC Web API post method »
I'm quite new to MVC and Web API. I'm trying to post a MailMessage(System.Net.Mail) object to the web api that I've created but the object is received...
(1) odpowiedzi
2017-01-15 17:01 how to create websocket controller similiar to api controllers »
I am using asp.net core to make a webapi + websocket server. I have create a websocket middleware to check if each incoming request is a websocket r...
(0) odpowiedzi
2017-01-15 16:01 Post to Web API »
I'm trying to use HTTPClient to post an object to my endpoint however I am receiving error message stating: Response status code does not indicate su...
(0) odpowiedzi
2017-01-15 13:01 best practice using web api with graphql »
a little bit naive question but right now I want to create a web api to be more flexible I just read about gqphql , is it a good practice to accept a ...
(0) odpowiedzi
2017-01-14 20:01 Request URL Too Long for fetchXml query types »
I'm using CRM 2016 web api with fetchxml query parameter, but my query is too long it's simulate the IN operator were the number of parameters passed ...
(2) odpowiedzi
2017-01-14 12:01 web api private chat message filter asp.net »
I would like to create message filter between 2 users. What i mean by filter is that those 2 users will only see their messages and not others just to...
(0) odpowiedzi
2017-01-14 03:01 Generate predicates from Json »
I have a WEB API done in Asp.Net that returns some points of interest in JSON. In prolog I obtain it by doing this: poi(X):- http_client:http_get('ht...
(1) odpowiedzi
2017-01-13 09:01 How to use multiple connection string in entity framework 6.0 »
I have created a Web API using .net framework and using entity framework 6.0. I have multiple connection strings (suppose 2 connection strings are pr...
(0) odpowiedzi