.NET Blog

Free. Cross-platform. Open source. A developer platform for building all your apps.

ASP.NET Core 2.2.0-preview2 now available

Today we’re very happy to announce that the second preview of the next minor release of ASP.NET Core and .NET Core is now available for you to try out. We’ve been working hard on this release over the past months, along with many folks from the community, and it’s now ready for a wider audience to try it out and provide the feedback that...

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.IntroIn this blog, I intend to provide a simplified how-things-work and how-to-change-the-behavior. It is not intended as a deep ...

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...

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 ...

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 on the web might point ...

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 ...

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 Browser?Tip #70: Did you know...

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 full featured Web ...

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 handle image AG_E_NETWORK_ERROR errors Tip #87 - How to Change the Startup Class Tip...