Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1506
  • Last Modified:

ControllerAction attribute

Hi


I am reading an article regarding the ASP.NET MVC from SCOTTGU blog. In the article there is a code in which [ControllerAction] attribute is defined over the method. But when I do that I can getting compile time error - "The type or namespace name 'ControllerActionAttribute' could not be found (are you missing a using directive or an assembly reference?)"

But I have already included the following namespaces

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

Is there any thing I am missing?


Regards
Karan Gupta
0
KaranGupta
Asked:
KaranGupta
2 Solutions
 
static-voidCommented:
0
 
KaranGuptaAuthor Commented:
Thanks
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now