asp.net mvc 4 - Integrating mvc.jquery.datatables and T4MVC -


I am experimenting with ASP.Net MVC 4 and

is.

When I introduce the change of MVC Magic strings, T4 MVC does not like the reverse type that mvc.jquery.datatables wants to use in my Ajax action method.

Return type is:

  Datatibels result & lt; MyType & gt;  

T4 MVC does not like it and responds with error:

Type 'Mvc.JQuery.Datatables.DataTablesResult & Lt; TSource & gt; T4 is not a constructor defined MVCS

So, how can I get T4 MVC and mvc.jquery.datatables to play the ball, and the worst case scenario In, can I get T4 MVC to ignore an action

not me It seems that there is a great way to ignore specific actions, although it would be wise to add it.

I think that if you want to add the [obsolete] attribute, it will be ignored, although this is clearly a hack. If you look in the ProcessControllerActionMethods in t4mvc.tt, then you will see different situations that cause reasons to ignore tasks.

If you want to deal with creating a new feature to ignore the tasks, we can take it on or potentially it can be smart and automatically detect this situation.


Comments

Popular posts from this blog

Folder list php -

objective c - How to open front/back camera at the same time in iOS developing? -

GO: Serve static pages -