Completion Port thread leaks when client close the connection?
var _config = new HttpSelfHostConfiguration(ConfigurationManager.AppSettings["HttpApi.ListeningURL"]) { TransferMode = TransferMode.StreamedResponse };I have a WebApi self-host application is...
View Articleinterface to another website
Hi folks, is possible to input directly from my website to https://www.check-mot.service.gov.uk/ i.e. customer inputs their vehicleregistration and make into a web form on my website, I then send this...
View ArticleIssue with the Angulare js Controls while Loading the DOM
I am new to Angular JsI have the angular application. And we have the JavaScript files that apply the styles to the controls on the web page. Here the html element are loaded first in the Dom.And the...
View ArticleWeb API Dependency Injection with Unity
I have a project using asp.net web api 2 with IoC of Unity, but I have problems here:By following the link here: http://www.asp.net/web-api/overview/advanced/dependency-injection, I setup a test...
View ArticleAuthorizacion and Authentication: Company and user
Hi guys, I want to publish a Web API for to expose my products to my partners (companies with his users). They will consume the data acording some filters.I am a bit lost about how to implement...
View ArticleWeb api Push header before contnet
Hi,In my web api i have a file download controller. This controller will check a specific folder for file chunk and flush the chunks to the user. It will take some seconds to get the first chunk in the...
View ArticleHow to create and consume Web Api Rest ful service using Storedprocedure,...
Hi,I want a sample code to Get data from database using Storedprocedure (contains parameters) using webapi restNow i want to consume this Web api from a console application by passing the parameters...
View ArticleAdding default header (CACHE-CONTROL:NO-CACHE) for OWIN self host
I have a small C#, EXE which is used for grabbing sensor data. It uses Signalr to send the data. Then we found we wanted to also hold a few web pages for looking at the state of this server (it runs in...
View ArticleJSON working, but JSON array fails in production
I have created a Web API that I have deployed under these paths (you're welcome to see my certifications...
View Articleimporting data using REST API into our database
Hi, I am new to using Rest API in .net to access websites and I would need to create an application to bring data on daily basis to send out some emails.Please guide me on this and how to get started.
View ArticleHow to get hotel reservation through post to url in reglink api
I am using Reglink Callback Service to get back hotel reservation number in an ASP.net MVC application. Here is how it works. First program redirect to a reglink url for hotel reservation in a page...
View ArticleI want to convert JSON data into Datatable
Hi All,I am trying to convert Json data into datatable. but My json data is coming from WEB API. any one can help me to do this task.
View ArticleTrying to create web api url for getting web hook response when an event...
Hi,I created a web api URL and hosted in environment. And assign this web URL to web hook in mail gunfind my code below// POST api/mailgun public HttpResponseMessage Post(HttpRequestMessage msg) { var...
View ArticleI want to create this web service in asp.net using C#. so please can you help...
Hi All,I want to create web service which run automatically run every 10 min and retrieve data from client provided API in Json format & convert it and save it in my local database. how can i...
View ArticleSend data from multi tables in Web API
I have 3 tables : Employee,Department,Course.public class Employee{ public int EmpId {set;get;} public string EmpName{set;get;}}public class Department{ public int DepId {set;get;}...
View ArticleDo wildcard on Cors origins supported to specify subdomains?
In http://www.asp.net/web-api/overview/security/enabling-cross-origin-requests-in-web-api it's describedThe origins parameter of the [EnableCors] attribute specifies which origins are allowed to access...
View Articleconsuming REST API data in SSIS
Hi I would need to consume data from REST API using SSIS package so that later on we can set up a job using that package to import results/data on daily basis.Please guide me on how to get started? I...
View ArticleAuthentication for Legacy System
Hi All,I have been working on a legacy system developed in ASP.NET Web Forms and it have it's own authentication system with it's own tables (Employee, Employee-role and Roles). Now we are in process...
View ArticlePostAsync does not execute web API controller action
Hi, I would like to call my webAPI method but il does never fireHere is my controller action [Route("api/groups/Join")] [HttpPost] public async Task<HttpResponseMessage> Join(JoinGroupItem...
View ArticleSecuring a publicly-accessible Web API
We're starting to redesign many of our company's websites as most of them were designed during the early days of .NET Web Forms. My boss has been pushing for us to update our skill set and start using...
View Article