Link to home
Start Free TrialLog in
Avatar of KaranGupta
KaranGupta

asked on

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
ASKER CERTIFIED SOLUTION
Avatar of hosneylk
hosneylk
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of KaranGupta
KaranGupta

ASKER

Thanks