Content negotiation in MVC 6 (or how can I just write JSON)

[Update] – We decided to make two significant changes starting with Beta3, we are to not include the XML formatter by default, as well as special treat browsers. The content below is still relevant up to MVC 6 Beta2. Intro In this blog, I intend to provide a simplified how-things-work and how-to-change-the-behavior. It is not… Read more

Profile and Time your ASP.NET MVC app all the way to Azure

Successful web app dev teams generally consider performance a requirement from the beginning,  not an afterthought. Performance should be considered in all phases of a project, from design and into production, including updates to the app. That’s not to say you should try to optimize code before you’ve measured it, you really don’t know what… Read more

A High-Value, Undocumented LESS Editor Feature in Visual Studio

Recently a very valuable, undocumented feature in the Visual Studio LESS editor came to my attention. This applies equally to Visual Studio 2012 Update 2 and later, and to Visual Studio 2013. The installation of Web Essentials is not required to benefit from this feature. The Visual Studio LESS Editor respects @import statements, and can… Read more

Getting a MIME type from a file extension in ASP.NET 4.5

If you’ve ever implemented a file upload or download scenario in ASP.NET, you’ve likely come across the situation of having to provide a MIME type based off of a file extension. IIS does this automatically when it serves files, but it seems like in ASP.NET there isn’t a good way to provide this functionality. Searches… Read more

Spell Checker extension for Visual Studio 2012 HTML, ASP.NET, CSS and other files

I have updated spell checker extension for Visual Studio 2012. You can download it from Visual Studio Gallery. Spell checker supports text verification in: HTML and ASP.NET element content and attributes HTML style comments <– HTML –> ASP.NET server side comments: <%– ASP.NET –%> JScript, C# and C++ comments: // C++ style comments CSS and… Read more

Working with SVG files in Visual Studio and Visual Web Developer

Scalable Vector Graphics (SVG) is W3C standard language for describing two-dimensional vector and mixed vector/raster graphics in XML. Firefox 3+, Opera 9+ and Safari 3+ support SVG rendering. Unfortunately, Internet Explorer 8 does not support SVG natively and requires a plug-in. There a plug in from Adobe (although support was discontinued this year) as well… Read more

Check out the following on our Tips and Tricks Blog

Tip#66: Did you know… how to insert quotes values automatically while typing the attrib values? Tip #67: Did you know the list of ASP.Net MVC shortcuts? Tip #68 Did you know… How simple it is to attach an existing style sheet to your web page? Tip #69: Did you know…The keyboard shortcut for View in… Read more

New series of video tutorials on Visual Web Developer Express 2008

We have started a new series of video tutorials on Visual Web Developer Express 2008. Over the course of next few weeks we will be adding many more videos to this series. These video tutorials will range in complexity from beginner to intermediate and will help Web developers build everything from simple Web applications to… Read more

Silverlight Tips of the Day – Week 11

Most Recent Posts: Tip #93 – Reading XML with Silverlight Tip #92 – How to Load Images from a Stream Tip #91 – How to Apply Themes from the Silverlight Toolkit Tip #90 – How to Edit your CSPROJ File from VS Tip #89 – How to use String Resources Tip #88 – How to… Read more

Checkout Tip#24 to Tip#40 on our Tips and Tricks blog

Latest on Tips and Tricks Blog. Tip #40: Did you know…How to scope master pages? Tip #39: Did you know… How to cancel a remote web operation in Visual Studio 2008? Tip #38: Did you know…How to use Failed Request Tracing to trace Rewrite Rules? Tip #37: Did you know…How to organize usings? Tip #36:… Read more