Solved

ControllerAction attribute

Posted on 2010-11-14
3
1,479 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
3 Comments
 
LVL 10

Accepted Solution

by:
hosneylk earned 300 total points
Comment Utility
0
 
LVL 8

Assisted Solution

by:static-void
static-void earned 200 total points
Comment Utility
0
 

Author Closing Comment

by:KaranGupta
Comment Utility
Thanks
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now