ASP.NET MVC BundleConfig, scripts returning an empty response?

Sam Rueby.NET Tips, Web Development 2 Comments

The Visual Studio template for ASP.NET MVC 5 comes with Microsoft.AspNet.Web.Optimization, which is used in BundleConfig they provide you. I haven’t used this much and wanted to try it. I wiped out the default stuff and included a line for the only script I needed. public class BundleConfig { // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles( BundleCollection …

What are the ‘m’ and ‘c’ buttons in Mini Profiler?

Sam Rueby.NET Tips, Software Development, Web Development Leave a Comment

I thought this answer was a bit unGoogleable. After upgrading StackExchange’s Mini Profiler I noticed an ‘m’ and ‘c’ at the button. But their use isn’t incredible clear. It turns out, the ‘m’ is minimize/maximize, which is great for those pesky situations where it’s covering a piece of the page you need to see. The ‘c’ button is “clear”: it …

How to Activate Your MSDN Pluralsight Benefit

Sam Rueby.NET Tips, Software Development 4 Comments

Update 5/25/17 It’s a bit easier to activate the benefit now. As John Henckel pointed out in comments, all you need to do now is go to https://my.visualstudio.com and click on the Pluralsight logo. Done!   I found it pretty un-Googleable to figure out how to get your recently-announced Pluralsight subscription through your MSDN subscription. (I had to watch a video to …

Great Tool for Converting WebForms Views to Razor Views

Sam Rueby.NET Tips, Web Development 1 Comment

The ASP.NET MVC Razor view engine has been out for a while now. I think it’s great for improving readability in complex MVC views. Especially with its magical-context-guessing ability, it greatly improves readability over the WebForms syntax. I found a great tool from Telerik that helped me convert an entire solution to Razor syntax. The word ‘helped’ is important here …