How to generate controller class in web api from EF
i heard that we can auto generate web api controller class from EF ? if possible then please discuss the step that i need to follow to achieve the task.basically suppose i do not want to write web api...
View ArticleWebAPI: How to do attribute routing for Post, Put and Delete verbs
i am new in web api. some how i manage to do attribute routing for get type request but do not know how to do it forPost, Put and Delete verbsplease see my sample code and come with modified code where...
View ArticleApache Solr Highlighting, Decode Json
Hello,Hoping someone will be able to help. I have successfully set up Apache Solr on my Windows Server and have written code to download json from the query interface. Here is the link:...
View ArticleWebApi: what is difference between PUT and POST
i knew that POST we use when we need to insert new data and PUT is used for update existing data. i have visited this posthttp://stackoverflow.com/a/630475/6188148@Brian R. Bondy saidBoth PUT and POST...
View ArticleWhat is the meaning of ResponseType attribute with web api action
just visit the link http://www.c-sharpcorner.com/UploadFile/4b0136/Asp-Net-web-api-using-entity-framework-6-day-1/i saw they use task for every action and they use [ResponseType(typeof(CollegeDetail))]...
View ArticleUsing SSL with WebAPI
Hi!Our public site is an MVC site and we're using an SSL for all traffic to it.We added WebAPI functionality to the MVC site in order to return feeds and data for external applications like iTunes and...
View ArticleWeb API response for Outage
All - I am consuming a third party Web API in my web application. The business requirement is to show an outage message when the API is down/unavailable. I am trying to find out what is the response...
View ArticleHow to post HttpPostedFileBase with Model data from MVC to web API
I want to post model data and HttpPostedFileBase same 1 request from MVC.I create 1 Action PostProduct in MVC as :public ActionResult PostProduct(List<HttpPostedFileBase> file,Product prop) {...
View ArticleWeb Api Odata e Entity Framewwork
Hello, I'm developing a WEB API, that will be running on Azure, for syncronize an APP with Microsft Dynamica NAV2013R2 e NAV2016. So I need to ask you this question : 1) I have chose to use ODATA...
View Articleweb api with form authentication and winform client
i need a tutorial which will show me how to pass user credential first time when winform client will call web api function. suppose web api has form authentication then how winform client will pass...
View ArticleHow to start and stop web api when self host in windows service
windows service has start and stop function. from win service start function we like to start web api like this waystring baseAddress = "http://localhost:9000/"; // Start OWIN host using...
View ArticleWhat is Owin and katna
please any one can discuss with example what is owin and what it does ?in what kind of scenario people use owin ?looking for some example just to understand the usage or objective of owin.what is katna...
View ArticleConvert a No Auth Web API to an Windows Auth Web Api
I am trying to take a Web API Service that I have inherited and make it so that it authenticates from an Enterprise Domain. However, when the calls are made to the API, it is not getting the User...
View ArticleHow to explain what is REST
please discuss with easy example that what is REST ?when one things should be consider as REST and when not ?please add some example to understand REST. why web api is called rest ?thanks
View ArticleHow to validate header token call with Web API
Hi,Please let me know, How to validate the Web API token based client calls.?ThanksSelva
View ArticleHow to use OWIN to self host web api in windows service
i am looking for a complete sample code to know -- > how to use OWIN to self host web api in windows service. i got this link...
View ArticleOData v4.0 How can I use the support for $crossjoin?
Hello everyone,I need to use a support for $crossjoin follow as [http://docs.oasis-open.org/odata/odata-data-aggregation-ext/v4.0/cs01/odata-data-aggregation-ext-v4.0-cs01.html#_Toc378326314] E.g....
View ArticleHow web api with form auth works with other c# client
i am new in web api.i want to design web api whose most of the function will be secured withauthorize attribute.so only authorized client can call web api function.the web api has login and logout...
View ArticleHow to validate credentials passed from C# Winform to web api
i am new in web api.i have web api whose most of the function is secured withauthorize attributeso only authorized client can call web api functionthe web api has login and logout functions. login...
View Articlehow to implement form auth with web api when web api self host in c# console...
i just do not know that is it possible to implement form auth with web api when web api would be self host in c# console apps ?if possible then please include some link which show me how to achieve...
View Article