500 Internal Error in Production ONLY
Have a Web API service I am writing that will surface data to jQuery. Currently production site is SSL with wildcard cert. Service is developed using VS2013 Utlimate and used the MVC Web Api as the...
View ArticleWeb API Authentication against multiple user tables
Hi Developers,Here's my situation: I have multiple types of users in my database, (i.e. regular vs. admin). Each type of user is housed in a different table, which has different field definitions, and...
View ArticleAre SOAP AND REST used to access only web services ?
Hi i am new to asp.net , Actually i understand that SOAP is a protocol based on XML and it is massege formate for sending messages between applications using xml over HTTP.And REST is architectural...
View ArticleHow to add login with google plus on custom button
I want login with google + on custom button ang get user email id,user name and profile picture. Please help me to add such button. Can you share your code?
View Articlewhat is web api ?
Hi i am new to web api .1. i know api is interface ? but don't know in which between it is interface ? 2. i know api is used to build http sevices ? but i did't know what are the http services ,...
View Articlewhy WEB API ? already there is HTTP ?
Hi i am new to asp.net i know that1. web api is used to build http services like provide data .2. http also used to provide sevices like provide data ,Then my question isWHAT IS USE OF WEB API THEN...
View Articlecan i use web api to develop RESTful web services ?
can anyone tel me what is web api ?is it used to develop RESTful webservices ?Thanks in Advance ?
View Articlewhat is difference between web api and http ?
Hi i amm new to asp.net my question is 1. what is difference between web api and http ?i heard both are having methods to provide data then both are same are differnce ? tell me the differnces
View ArticleHow to use Stored Procedures with LINQ in Web API?
Hi,I have a Web API to retrieve records from Inventory and perfectly wroking.So now I want to write a Stored Procedure (I already have it name GetInventory) and use it inside the web api.Currenctly I...
View ArticleHow to consume Web API REST Service with OAuth 2.0 Authentication direclty in...
Hi,We have created a web api "products" with one method "GetProducts". We are able to consume the same direclty in the browser by using following:http://locolhost:port/api/products/GetProducts/It is...
View ArticleConvert PHP code to ASP.NET to Call Web Service
I have this sample code in PHP I'm trying to convert to ASP.NET to call an API web service<?php // Replace the strings with your API credentials located in Admin > OfficeAutoPilot API...
View Articleweb api cors for api in app_code of .net website developed in .net framework 4.0
hi i developed my web api in the app_code folder of my asp.net web site(not MVC architecture) built on .net framework 4.0. now i have a separate single page application built using angular js and...
View ArticleHow to call post method for multiple parameters?
I would like to change the following api controller method from GET to POST request. I have made the changes on the header however I am getting a the following error, whenever I call...
View ArticleWeb API 2 OAuth - GetExternalLoginInfoAsync always return null
Hi, I have VS2013 Update 2 - Web API 2 OAuth problem. follow step:1. Visual Studio 2013 is Update 2, New Web API Project, Click Change Authentication, Select Individual User Accounts.2. In...
View Article.net windows services to process http pages
hi, Is it possible to make asp.net asmx webservice calls update the database from inside a windows service. Will it be efficient. How will it affect performance in terms of memory usage and throughput....
View Article500 Internal server error when trying to access Web API
Hello All,It created a webapplication which has 1 dropdown. When I select the country, I am making json request to call the WebAPI method and return the states related to the selected country.When I...
View ArticleHow to authenticate Bearer Token @ Web API action
Hi,I'm a newbie when it comes to OAuth and I'm trying to set up a project where I use thinktecture identityserver 2 to generate a token that I try to use to access a Web API.The Web API refuses to...
View ArticleHow can i encryt request/response message does not use SSL
i can idea, use the custom HttpContent overridprotected override Task SerializeToStreamAsync(Stream stream, TransportContext context) { byte[] clearBytes =...
View ArticleHow do I make a Request to a REST API, with a certificate, in C#?
HiI work in an organisation where we need to make a REST request against an API exposed by some company producing electronic equipment. My colleague has just gone on holiday, and left me with the task....
View ArticleASP.NET & HL7 sender and receiver
Hi allwe have a HIS system (Heilth information system) and we want to add HL7 to received lab results (from lab devices) we connect all devices by lan with IP address and add host ip to all devices...
View Article