|
| tgmdbm : On March 07, 2008 10:58 PM said: |
Hi Scott,
Sorry to say, but you are incorrect in this video.
Your InterceptionController does not handle unknown actions! HandleUnknownAction handles every action.
I have to suggest you take this video down and replace it. (If this is learning material for the masses it should be correct)
forums.asp.net/.../1229582.aspx
|
|
|
| tgmdbm : On March 07, 2008 11:02 PM said: |
dear moderator,
sorry for the duplicate posts but i got no "This needs moderation" screen, or message, or popup of any kind. my comment just didn't appear, so i sent it again.
If you could kindly delete this comment and my first one, leaving my second comment, I would much appreciate it.
thanks
tgmdbm
|
|
|
| tgmdbm : On March 08, 2008 8:04 AM said: |
Ok. Sorry about that, this comment system obviously has a few bugs (either in the software or the wetware). My first three comments disappeared and now only the above comment remains. As you can tell, that's not what I meant to happen.
Here's the original message:
Hi Scott,
Sorry to say, but you are incorrect in the video.
IntercetptionHandler does not handle unknown actions! HandleUnknownAction handles every action. See forum thread below.
I would have to suggest that this video be replaced with a corrected version. Especially since this is learning material for the masses.
forums.asp.net/.../1229582.aspx
thanks
tgmdbm
|
|
|
| shanselman : On March 11, 2008 12:13 PM said: |
Test...for the moderator.
|
|
|
| S.Aprelov : On March 18, 2008 7:41 AM said: |
Scott, where can I find Hands-on-Lab you are talking about? Is it possible to download it? Thanks.
|
|
|
| panjkov : On March 21, 2008 1:08 PM said: |
can we expect these nads on labs available to download in any future?
|
|
|
| panjkov : On March 21, 2008 1:09 PM said: |
|
|
|
|
| olegkap : On April 08, 2008 9:27 AM said: |
Scott,
I dont seem to see benefits of using Filter attributes.
with attributes I still have to specify an action what to do before and after.
I can write those two event handlers as private members and call them from my controller action so it can look something like this:
public void Index()
{
ActionEventArgs e = new ActionEventArgs();
OnRenderingView(e);
if (!e.Cancel)
{
RenderView("Index");
OnRenderedView(e);
}
}
And then may be you can have some predefined filter actions that user can call which will be inherted from base class.
Also, may be ActionEventArgs should be passed to all public methods..
just a thought...
Oleg
|
|
Leave a Comment
You must be logged in to leave a comment. Click here to log in.