Category Archives: ASP.NET Web API

PHPHOST BLOG

Web Hosting Related Articles You May Need

Building a Knockout.js based client for Web API services in an ASP.NET MVC app

ASP.NET MVC is now a popular web development platform and often first time users have questions regards to implementation of Data Bound behavior in MVC. This is understandably because most Customers at some point have used ASP.NET Web Forms earlier and… Continue reading

Posted in ASP.NET MVC, ASP.NET Web API, KnockoutJS, Syndicated | Comments Off on Building a Knockout.js based client for Web API services in an ASP.NET MVC app

Building a Knockout.js based client for Web API services in an ASP.NET MVC app

ASP.NET MVC is now a popular web development platform and often first time users have questions regards to implementation of Data Bound behavior in MVC. This is understandably because most Customers at some point have used ASP.NET Web Forms earlier and… Continue reading

Posted in ASP.NET MVC, ASP.NET Web API, KnockoutJS, Syndicated | Comments Off on Building a Knockout.js based client for Web API services in an ASP.NET MVC app

ASP.NET Web API 2.0 and the new OData keywords

Web API gained OData Support with the Visual Studio 2012 Update 2 release. However it was missing support for some keywords like $select, $expand and $batch. Today we’ll see how to setup our ASP.NET project to use Web API 2.0 beta binaries in Visual Studio 2012 Update 2 and use the new Keywords.

Setting up a WebAPI 2.0 project using Visual Studio 2012
Step 1: We start our project with a Visual Continue reading

Posted in ASP.NET Web API, Syndicated | Comments Off on ASP.NET Web API 2.0 and the new OData keywords

Using ASP.NET MVC 4 Mobile Template to build an application using Web API, jQuery and jQuery Mobile

In the last few years, the explosion of powerful Mobile devices combined with their capable operation systems has resulted in a Mobile computing wave that is promising to redefine how we use portable computing devices. Fact is most day-to-day Web 2.0 a… Continue reading

Posted in ASP.NET MVC, ASP.NET Web API, jQuery, Syndicated | Comments Off on Using ASP.NET MVC 4 Mobile Template to build an application using Web API, jQuery and jQuery Mobile

Web API 2.0 Preview – Introducing Attribute Routing

Web API routing has been pretty flexible using the convention based routing and custom Route Templates. We could specify custom routes, but things got verbose and disconnected for situations where we had to define routes for sub-resources, like for exa… Continue reading

Posted in ASP.NET Web API, Syndicated | Comments Off on Web API 2.0 Preview – Introducing Attribute Routing

Creating Editable HTML Table for CRUD operations using Knockout Framework and WEB API

New generation of web applications developed using ASP.NET and ASP.NET MVC can provide excellent user experience with the help of client-side frameworks and libraries like jQuery, Knockout.js. Recently I came across a requirement where we had to implem… Continue reading

Posted in ASP.NET Web API, KnockoutJS, Syndicated | Comments Off on Creating Editable HTML Table for CRUD operations using Knockout Framework and WEB API

Building an Image Flip Viewer as an ASP.NET Web API Service using Knockout JS

Windows 8 introduced a nice component that flips through images using two buttons to the left and right of the control. You can see it the Windows 8 Store when looking at screenshots presented by an app as seen below.

I wanted to build one using JavaScript with one requirement that is it shouldn’t load all images at the same time because if you use big images, it kills the page load Continue reading

Posted in ASP.NET Web API, KnockoutJS, Syndicated | Comments Off on Building an Image Flip Viewer as an ASP.NET Web API Service using Knockout JS

Uploading Multiple Files through an ASP.NET Web API Service

I had written a post on DotNetCurry on how to upload multiple-files to an Azure Blob through an ASP.NET MVC Web Application. Today we’ll see how we can do the same but store it in a file system instead and use a Web API controller instead, so that the upload service can be hosted anywhere we want. For brevity, we’ll build our Web API sample to use ASP.NET/IIS host.

The API Controller
Step 1: We Continue reading

Posted in ASP.Net, ASP.NET Web API, Syndicated | Comments Off on Uploading Multiple Files through an ASP.NET Web API Service

Implementing Pagination in ASP.NET Web API using OData operators

ASP.NET Web API is a framework that makes it easy to build HTTP services for various types of clients from Microsoft to Non-Microsoft technologies. The new programming model of developing over HTTP is made simple and flexible by using WebAPI. We can… Continue reading

Posted in ASP.Net, ASP.NET Web API, Syndicated | Comments Off on Implementing Pagination in ASP.NET Web API using OData operators

Tracing in ASP.NET Web API

Tracing plays an important part in keeping track of how things are flowing through in your Application Services. Configuring tracing to collate system output is invaluable in gathering correct information about what the service is actually doing other … Continue reading

Posted in ASP.Net, ASP.NET Web API, Syndicated | Comments Off on Tracing in ASP.NET Web API