O'Reilly logo

ASP.NET Web API by Joydip Kanjilal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Consuming Security Service

In this section, we will explore how we can consume the SecurityService class using ASP.NET and ASP.NET MVC.

ASP.NET

Microsoft's ASP.NET 4.5 is one of the most popular web technologies in recent times. ASP.NET is a web application development framework built on top of Common Language Runtime (CLR) which you can use to build and deploy web applications and dynamic websites on a managed platform.

Consuming Security Service using ASP.NET 4.5

The following code snippet illustrates how you can consume the SecurityService class from an ASP.NET client:

public partial class Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { BindUserDropDownList(); BindGrid(); } } protected void ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required