Hey everyone
Listen I, How can I use the profileCommon class to save an image into a profile, I was able to save user information to the database, however i need to provide users with the ability to save their own...
View ArticleWebApi response codes
So let's say I have a WebApi controller called UsersController. Let's look at the following examples:Navigating to /Users/1 returns JSON of a user with Id = 1. HTTP response code will be 200.Navigating...
View ArticleRegarding Web api action method name convention
i never work with web api. so i was reading a article on web api from this url http://www.binaryintellect.net/articles/bc66c59b-eed1-407e-853d-351e0da228b5.aspxi saw that method names like...
View ArticleHow to pass complex object and other simple objects to webapi through OData V3?
Hi All,I have created a test application using OData v3 using webapi with EF code first approach.I have created following custom action into AllocationsController.cs page.Allocation.cs:public...
View ArticleCreate custom Facebook share button
Hi The below code is what FB provide to create a icon share button but how i can change in the below code to use my custom image, 2nd the page that i will insert the button in is dynamically change...
View ArticleWeb Api explanation
I have a limited knowledge of MVC 4. I am just starting out with Web Api. Could someone give me an explanation about how Web Api works and its application to Cell Phone Apps.
View ArticleCalling another page like a user loaded it
So here's my problem. I have page that does a lot of really complicated stuff to generate some costs. There are some updates that happen when you load that page, that I'd like to call outside of the...
View Articleerror Name cannot be null or empty.
hiI recently started Web APi programming.in action register , i have a error:Please see the photo: // POST api/Account/Register [AllowAnonymous] [Route("Register")] public async...
View ArticleWeb API vs Grid Control
Comparing the performance of an HTML page to an ASPX page where the HTML page uses the Web API (with JSON) to get data (to populate a table) from xxxController.vb (or .cs) code and the ASPX page using...
View ArticleMultiple parameters in VB
Hi, I am trying to invoke the API get method with multiple request parameters. I am using VB. All examples that I can find are C. Does anyone know where I can get an example that shows the example...
View ArticleError "Access Control Allow Origin" when i try to access web api, using ajax
Hi everyone,I surrender that error, my ajax code is$(document).ready(function () {$.ajax({ url: 'http://localhost:55515/api/values', type: 'GET', dataType: "text",//or jsonp success: function () {...
View Articlecall API with 2 IDs
I know how to call an API in the form : api/{controller}/{action}/{id}I want to call another API in this format: api/{controller}/{action}/{id}/{anotherId}this is what I...
View ArticleTell me about free web API
Hi, I am new new in WEB API Field , can any one tell me about free web API service so that I Can test it from programme.Also suggest me good site to learn web API
View ArticleMVC4 token based authentication
I am writing to seek help, in creating a token based authentication in mvc4 web api. I have installed owin and identity 2 packages in my mvc4 framework and implemented the following functions, using...
View ArticleWeb API form Authentication in .net framework 4.0
Hello All,I am new to web API. I have my MVC web project ready, which is using form authentication. I want to use these project APIs in my web API project. My current project is developed in .NET...
View ArticleWeb Api 2 and Repository
HiI am developing aweb servicethat will be used by aSPAand aMobileApp...Inother applicationsI have applied the concept ofgeneric repositoryto manage theCRUDof differententity ..I would like toimplement...
View ArticlePost using WebRequest and receive Json Data Response not working?
My code calls using a query string to the API (hosted at https://www4.hockeystreams.com/api#login) and returns successfull, but is always an empty string. Looking at the API, even a failed log in...
View ArticleWanting to send SMS by C# and ASP.NET
I got Tamper Data for Firefox browser which gives me parameters that pass through a website. This helped me, because I have an account on STC site that gives me 25 free SMS weekly; but I want to make a...
View ArticleHow to pass complex object and other simple objects to webapi through OData V3?
Hi All,I have created a test application using OData v3 using webapi with EF code first approach.I have created following custom action into AllocationsController.cs page.Allocation.cs:public...
View Article