Howard Dierking Shows You How to Optimize Your ASP.NET Sites
- Posted: May 28, 2012 at 10:22 PM
- 42,044 Views
- 3 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Right click “Save as…”
Visual Studio 2012 will introduce optimization features for all ASP.NET project types. Howard Dierking introduces this awesome new feature in this episode, and shows you how to drastically shrink your response size as well as increase page download speed and site performance. Using the network analysis tools in Internet Explorer 9, Howard demonstrates how the bundling and minification features can drop your page size by half. If you're trying to make your sites load faster, this episode is a must-see.
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Oops, something didn't work.
What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in. You need to be signed in to Channel 9 to use this feature.What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in and view them all on your notifications page.sign up for email notifications?
^ Wow what a useless spammer! lol
I believe there is a bug with the CSS/ JS bundling. It appears that the hash is recalculated on EVERY request, so if you have a number of files there (for instance jQuery-UI)it adds a noticeable 6-10ms delay. On a production website this is significant. I think this work better if there was even a short e.g. 30 second cache, or better still making it regenerate when the contents of the folder changes.
great show guys. thanks!
The CDN scenario that Howard talked is the one I am waiting for a long time. Here is what I do now:
I am getting the JavaScript libraries through Nuget. So, they go to Scripts folder under the root of my project. And some css files through nuget as well (like TwBootstrap). They usually go to Content folder. By not changing the file locations, I am able to update them smoothly via nuget. So, they stay as they are.
But I want to get the bundled and minified files under ~/assets/js/ and ~/assets/css/ which is better for me to sync this assets folder with my CDN storage.
So:
Here is initial code that does this: https://gist.github.com/2852551 The powershell code is really bad right now and needs to be refactored.
I am not sure if the solution you guys are considering supports a scenario to output the files under another folder (if these are css files, there will probably be image files to go into that output dir as well.)
really good video content.
Thanks for sharing.
Remove this comment
Remove this thread
close