Quantcast
Channel: Web API
Browsing all 4850 articles
Browse latest View live

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 Article


interface 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 Article


Issue 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 Article

Web 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 Article

Authorizacion 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 Article


Web 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 Article

How 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 Article

Adding 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 Article


JSON 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 Article


importing 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 Article

How 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 Article

I 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 Article

Trying 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 Article


I 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 Article

Send 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 Article


Do 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 Article

consuming 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 Article


Authentication 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 Article

PostAsync 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 Article

Securing 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
Browsing all 4850 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>