Alex Rivera | Logout

Scriptmanager Asp.Net Mvc

Asked 2008-11-26T11:10:02.150
17

I'd like to have some of the ScriptManager features in the new Asp.net MVC model:

1- Script combining
2- Resolving different paths for external Javascript files
3- Minify and Gzip Compression

Here is what I found, but I'm not sure is the best way for MVC approach. In general what is a good approach to deal with Javascript code in the MVC model?

Edit
Report

1 Answer

0

Found this researching much the same problem: A Simple ScriptManager for ASP.NET MVC - written after this question was answered so added for reference.

In the first instance I'm going with the brute force solution i.e. stick it all in the master page (especially as one can now pull jQuery from Microsoft's CDN) - then we're going to investigate options for more optimal solutions.

answered 2009-11-09T18:02:59.800

Your Answer