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

Concurrent execution of large request across different IIS servers

I have REST web API service in IIS which takes a collection of request objects. The user can enter more than 100 request objects. My service is deployed across 20 IIS servers.I want to run this 100...

View Article


Image may be NSFW.
Clik here to view.

Filtering and Ordering JSON for datatable (custom datasource for sitemap)

Hello...For starters, I am working with Newtonsoft.JSON - I thought this category might be the best place to answer my question, as it is highly relatable to an pureblood APUI. My desired data flow is...

View Article


Current state of ADO.NET Data Entity Model in WebApi

Hello,I am new to WebApi development and ASP.NET in overall and wondering if I should start new products building with ASP.NET Data Entity model. I mean, I would like to follow a Database First...

View Article

Configure REST web api so consumers don't have to specify port number when...

Hi,I've setup REST web services which is working when using https://servername:portNumber/api/Contacts.  How do I configure it so consuming applications don't have to enter the portNumber?  What do I...

View Article

Calling angular 2 page from ASP API 2

I want to redirect to an Angular 2 page from ASP API. Here is my code, this code error " cannot POST subscription/confirmation". How can I successfully redirect to my confirmation page after replace...

View Article


.Net Entity Framework and a Restful Web Service

I just have a architecture question. I was just wondering would i use both .net entity framework along with a RESTful service for CRUD FUNCTIONALITY ? I know .Net Entity Framework is an ORM framework...

View Article

geting 2 none relation table in one results asp.net api

Hello, in my Db I have 2 none relation table that I would like to get results from both of them in my web Api controller .in my repository  I'm just asking for IEnumerable list . how can I get it ? My...

View Article

How To Test Web Api Locally with Mobile Phone

Hi, I have created Web Api project and now I would like to know how to test the Web Api with Mobile Phone (Android/iOS).How to set up the Testing environment for this.Thanks

View Article


how to get hierarchical Json Tree data using WebApi

how can i create unlimited  children level with  nested tree Json data.like [{ id: 1 text: 'category1' parentid:0, children:[{ id: 1 text: 'sub1' parentid:1,},{id: 100 text: 'sub2' parentid:1,...

View Article


Web API post method is not called if the content type is application/json

I am trying to call the post method from angular.Following is the method in WebAPI[HttpPost] public HttpResponseMessage PostEmployee([FromBody]Employee employee) {...

View Article

Google contacts API for CRUD

Hello Coders,Currently i am working on MVC application. In my application, i have employee table, where application is maintaining employee details including name, contact number, email address etc. As...

View Article

How to test a web service which accepts integer array

I have created web service with following definition which returns xml doc,[WebMethod] public XmlDocument AcceptAllChecklist(Int64 [] AuditScheduleID, Int64 UserId) {      XmlDocument XmlDoc;...

View Article

How to pass multiple primitive type parameters to web api post action by jquery

This is how my web api action look like.[System.Web.Http.HttpPost, System.Web.Http.Route("BookAppointment/{email}/{id}")] public System.Net.Http.HttpResponseMessage BookAppointment(string email, int id...

View Article


access virtual directory file in html file

Hi,i have created web application with web api setting, i added angular inside the project.now i need to access pdf file in virtual directoryweb api server http://localhost:23423/Virtual directory...

View Article

Mauricio Aires

Hi

View Article


how to enable mix mode for asp.net web forms app

Hi,I have a .net framework 2.0 dll for AX 4.0 business connector that I need it working in new .net 4.7.1 Web API project.I tried but it is not working , it throw error said the application is in break...

View Article

.net core 2 web.api validatiting 3rd party client

Hi,       I am working on this application where we need to serve 3rd party client but the condition is we are going to provide token and every time client make request we need to validate request...

View Article


Getting BadRequest (400) when sending post request by HttpClient C#

Post Sending Code:try { var json = JsonConvert.SerializeObject(this.Current); Console.WriteLine(json); StringContent sc = new StringContent(json, Encoding.UTF8,"application/json"); var post = await...

View Article

Publish commands to aws MQTT Broker from WebAPI

I doing something with aws IoT. So i need to publish some message to AWS MQTT Boker from my WebAPI.Based on my readings after publish to MQTT Broker, that will take care and pass the message to...

View Article

Return zip file

Hi,How to return zip file from the web api?i need to zip 3 to 5 files from the server directory, then send the zip file to the client.how to asynchronously send the file to the client  after create zip...

View Article
Browsing all 4850 articles
Browse latest View live


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