Problem I am trying to using HttpClient for making API calls from a different domain and for that purpose I […]
Tag: asp.net-web-api
Using custom negotiator and custom formatter in Web API 2
Problem Here’s my custom formatter which I want to use for “application/x.product” content type: public class ProductFormatter : MediaTypeFormatter { […]
Is my n-tier architecture of this web API correct?
Problem I’m making a web API using web API 2. I have three layers: Business – Stores models and service […]
HttpClient Wrapper supports ignoring invalid/self-signed certs
Problem I’m using the following as a wrapper for the HtptClient because it doesn’t implement an interface — which makes […]
.NET REST API JSON Filtering
Problem My question, REST API and lazy loading objects, didn’t receive any answers (or many views), so here is my […]
C# Async Oauth API Wrapper Class
Problem Two quick notes: I’m targeting 4.5, and the server already has newtownsoft’s json library. I’d prefer not installing anything […]
Implementation of a singleton HttpClient with generic methods
Problem I need advice for this implementation that I made for a service access portable class library referenced to Xamarin.Android […]
Design Pattern to Add, Edit and Delete Records
Problem This code allows Add, Edit and Delete a database record for the Category table. Separate Service classes are implemented […]
ASP.NET Web API for currency
Problem On the basis of the daily exchange rate data of the CB (https://ww.cbr-xml-daily.ru/daily_json.js) it is necessary to create a […]
Trying to map JSON to different classes in web API [closed]
Problem Closed. This question is off-topic. It is not currently accepting answers. Code not implemented or not working as intended: […]