Solved

ControllerAction attribute

Posted on 2010-11-14
3
1,496 Views
Last Modified: 2012-08-13
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
Comment
Question by:KaranGupta
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 10

Accepted Solution

by:
hosneylk earned 300 total points
ID: 34133971
0
 
LVL 8

Assisted Solution

by:static-void
static-void earned 200 total points
ID: 34133982
0
 

Author Closing Comment

by:KaranGupta
ID: 34142469
Thanks
0

Featured Post

What is a Denial of Service (DoS)?

A DoS is a malicious attempt to prevent the normal operation of a computer system. You may frequently see the terms 'DDoS' (Distributed Denial of Service) and 'DoS' used interchangeably, but there are some subtle differences.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question