Invoking Controller Actions

As the main page says, all background work is to be done in controller actions generally.

Because this is such a fundemental task, I am trying to make it as easy as I can to invoke controller actions. This is all subject to change, and any feedback on this API would be very appreciated!

ActionInvoker Methods

Whether you are invoking from Xaml or code, the ActionInvoker is what is called eventually

From the View (Xaml)

From the ViewModel (Code)

The recommended way is to use the type safe way of invoking controller actions, but there are quite a few ways

Type Safe

    // 

From a controller action

I have not exposed anything to make this task easy apart from the redirect action result which allows you to redirect to another action result.
If you have a use case for this, let me know or create an issue to make this easy.

Last edited Jan 2, 2012 at 4:09 PM by JakeGinnivan, version 1

Comments

No comments yet.