Get,put,delete,merge methods for Api
Hi i need Web Api for Get,PUT,DELETE AND MERGE METHOD IN API
View ArticlePost To api With Body value
I use Fidder4 and view post value like here.andandand headerPOST /mydomain.comHTTP/1.1 Host: mydomain.com Connection: keep-alive Content-Length: 916929 Accept: */* Origin: https://mydomain.com...
View ArticleGet Memory Stream From WEB API Response
Hi, I am trying to save PDF File from web API Response, Its working fine when I hit Direct URL LikeJavascript Code-var s = "http://localhost:65005/api/OCR/DownLoadFile?"+"FilePath="+...
View ArticlePass json string values to webapi url
How to pass jsonvalues to url. Json ( id=3, name='sam' ) Read the above json and pass as parameter in asp.net not in mvc. Like this Http://223.443/test/delete?id=3&name='sam'
View ArticleXamarin Multi call or single call WEB API
I'm new in xamarin, so my question is I'm using Web API with xamarin what is best practice if I have multi-call to the API or I using just one call that contains all Get method Ex one call:...
View ArticleCalling the ProfileProvider
Hello everybody,Sorry about the 74 threads that already exist on the theme "Profile", of which I have to admit I only read seven, that covered different aspects of the question.One of them sent me...
View ArticleCreate Web Api and consume -DELETE,PATCH,MERGE,OPTIONS,HEAD,PUT,GET
HIi want to create and consume Web Api in MVC AND asp.net webforms. with DELETE,PATCH,MERGE,OPTIONS,HEAD,PUT,GETconsume the same Web Api in DELETE,PATCH,MERGE,OPTIONS,HEAD,PUT,GET
View ArticleJson file i got jsonobject.how read jobject
Hi Json string ('Name':'sam', 'Id':12, 'Designation':'tl', 'Location':'chennai' ) Var jobject=newtonsoft.jsonconvert.deserializeobject(File.readalltext(json.txt); Jobject...
View ArticleDisable a Controller Completely based on Config value?
Hello ThereI have a requirement where we have a set of controllers.Controller: public class HousingPremium: ApiController { Get() GetAllPremium() GetPremiumByClaim() .... ... } //another controller...
View ArticleCustom GET Method - No action was found on the controller
Hello ThereIssue: When I run the API for GET method which was custom created then I get the above error. Please have look at the RouteConfig and WebApiConfig fileNote: I have created an Area and have...
View ArticleProfile properties
Hello everybody,I wrote a custom ProfileProvider, with which I could write a property with? Context.Profile.SetPropertyValue("ZipCode", "54400")and read it with?...
View ArticleReading data from production database
I have been using Microsoft sync framework to sync data b/w two locations and that sync framework is not supported by micro soft anymore. For new project ,the new requirements are to have something...
View ArticleAuthenticate with JWT
I am trying to set up my ASP.NET service to use JWT for authentication (presently using a random token passed back and forth created at login).I am trying to implement based on this post and have a...
View ArticleWhat should I use for user authentication across requests
Hi all;I have a very simple need. Using https a user first logs in and then makes subsequent calls to a REST API in my Web API 2 server. All I need to know on subsequent queries what user they are -...
View ArticleDeserialising JSON to an object
I am so getting tired of this project!I have a function that hits a URL and does a GET. The JSON response is...
View ArticleGet attachments from Shared steps in TFS
How to download attachments in shared steps from TFS using C#. hereis somepart of code i have written.. attachmentis not coming up.Let me know if anyone knowsforeach (WorkItem itemin...
View ArticleSending a file to upload to a REST API from VTSO
Hi all, I am developing a web application in .net core that as some web api’s (REST) that are ment to be called by an Outlook add-in. One of them is supposed to receive an ID parameter and a file to be...
View ArticleWrite webapi in mvc and dotnet for patch,merge,options,put,head and post.also...
Hi Write webapi in mvc and aspnet for put;post ;delete;options;head;patch and merge.consume the above.
View ArticleAccess API from Angular App-Preflight request -CORS
Hi ,I have a webapi which gives the data to Angular APP.When i run the Angular App locally, which connects the API which is hosted in server, i get the preflight request issue "Response to preflight...
View ArticleCould not load file or assembly...
I have webapi application referencing Microsoft.Practices.EnterpriseLibrary.Common. web.config file is showing the correct version 5.505.0 and project also referring the same. But while running the...
View Article