Microsoft.AspNet.WebApi.Client reference conflicts
So I'm using one of my dlls which references Microsoft.AspNet.WebApi.Client version 5.2.3And it seems this library is somehow referencing an old version of System.Core (the one from framework 2.0) and...
View ArticleCalling Web Api2 from a Different Project (Or Page)
Hello everyone and thanks for your help in advance. I am trying to expand my knowledge of Web Api2 and wanted to learn the next steps of how to call a WebbApi from a separate project or web page. Do...
View ArticleC# Web API / jQuery / File Upload
Hey there!I'm trying to upload a file (including some meta data) to a Web API service. My problem is that I can't figure out how to pass the file (byte-array) to the web api controller using jQuery....
View Articlecan not browse the web service for visual fox pro dll 'VfpClient'
Hi, i have create a simple web service for my application that will access the visual fox pro database.but when i brows the service i cant access. it shows me the error: Could not load file or...
View Articleweb api testing Fail
Hi,i developed web api project to pass data for my other anguler.js base project. should pass model serialize like this ? and it is good or bad ? after application is stressed by ibm rational...
View ArticleWwe Api 2 Odata 4 $filter issue
Good morningI have a web Api 2 Odata 4 service that works well except for when I a use $filter with a contains expression, what is happening is that the generated sql doesn't run in the sql server, my...
View ArticleProblem Message Box
Hello all.I have the problem that i need a MessageBox in my Web programm with asp.net and vb.net.I have actually the following problem:msgResult = MsgBox("Do you really want to duplicate the job?",...
View ArticleWeb API call is not working after deployment in windows server 2012
Getting below error after deploying Web API in windows server 2012.Deployed Client and Web API in windows server 2012. After deployment not able to call the Web API downloadstring from client...
View ArticleQuestion: How to secure a Wcf Rest api
Could someone please help: I have been reading up on creating REST Web Services and I am starting to get a decent understanding of how/what to do to create and deploy them. What I am very...
View ArticleHum..is this something possible?
Is there any way I can easily create an instance of ApiDescription manually for my controller?I have a situation that I need to create this manually to populate data properly for Help page.Well..I can...
View ArticleASP.NET Web API errors localization
Hi everyone,as you might know, one of the problems in ASP.NET Web API 2 is that you don't get access to HttpRequestMessage inside your data validators and because of this you cannot get incoming HTTP...
View ArticleOData $expand + $orderby not working !
hi all,I try to sort my expand array , but it not working .~/api/products?$expand=models($orderby=id desc), the results is all come out , but without sorting id desc . What 's wrong ?
View Articlehow to post a List data to a web api url from MVC Controller
Hi, In my application i will post a List<Student> data to a web api that will save my data. how i can build the url request path with my list data that will post to a web api url from my...
View ArticleCookie in web api
Hello All,I am registering the user using below method and sign in into the application using same method[AllowAnonymous] [Route("Register")] public async Task<IHttpActionResult>...
View ArticleExtracting json report info to a helper class
I have several json reports that are being generated in the following format, with similar header information but the returned data lists are of different custom types. I want to write a generic helper...
View ArticleHelp Understanding authentication & Identity
Could someone please help me. I am major struggling to understand how this all works. I have heard the following terms and I’m a lost with how they are used. HttpContext – I understand this is the...
View ArticleASP.NET Web Api fails DllImport (LoadLibrary) on IIS
Hi, I'm developping a Web API that needs to call an unmanaged DLL written in C++.Like here: http://blogs.msdn.com/b/eldar/archive/2006/09/22/how-to-call-c-dll-from-asp-net-c-code.aspx.In debugging (IIS...
View ArticleThe 'ObjectContent`1' type failed to serialize in web api2 Contract
Hi all,I am using FluentNHibernate and Nhibernate within my data layer, and I have my Product entity like below mapping public class ProductMapping:ClassMap<Product> { public ProductMapping()...
View ArticleHow can I get user email with External Login UseFacebookAuthentication
Hi,I'm trying to get the external login working with UseFacebookAuthentication and hit a roadblock. Facebook authenticates the user and my Web APP gets the authenticated callback but the context Email...
View ArticleRun Web API application on server without SSL Cert
Hi, I am running an ssl cert without a ssl cert. There is an internal error. Could this be the reason? It works fine on my local computer. Do I have to set something in the web.config or something?Best...
View Article