:::: MENU ::::
Browsing posts in: Web API

Asp.Net Web API with MVC 6

The latest version of Microsoft web technologies Asp.Net 5 and Mvc 6 have very big differences.

You can find some of  this new features below

  • ASP.NET vNext includes new cloud-optimized versions of MVC 6, Web API 3, Web Pages 4, SignalR 3, and Entity Framework 7.
  • Now Mvc has no dependency to System.Web dll.
  • There is a project.json instead of classic global.asax file.
  • There is Ioc container to manage all dependencies
  • Project structure is more modern and have some javascript tools like gulp.
  • Finally all these Microsoft technologies are open source and cross platform, so we are able to develop apps on Linux or Mac.

Now we will build and Web API on MVC 6 structure.

Continue Reading


Asp.Net Web API Token Based Authentication

Today i will try to explain how to use token based authendtication on asp.net web api 2 restful service projects. Restful service architecture very populer because it’s very light and implemantation is very easy.  Other big advantage of restful services is, it gives us a chance to service our data to all platforms including mobile devices, web projects, televisions etc.

Continue Reading