MSDN Blogs

Finding What's Changed in Your Code

Thu, 03/15/2018 - 14:19
If your source control system won't tell you what's changed, Visual Studio is glad to help. It's just that the option is hard to get to.
Categories: Microsoft

Converting Your ASP.NET Web Forms Application to ASP.NET MVC

Mon, 03/12/2018 - 10:44
There are a lot of Web Forms applications out there ... but the future belongs to MVC. Here's Peter's advice on what to do about that.
Categories: Microsoft

Brush Up Your SQL

Mon, 03/05/2018 - 09:18
LINQ and Entity Framework are great ... but you're still going to need to write SQL.
Categories: Microsoft

Avoiding Entity Framework Slowdown

Fri, 02/23/2018 - 10:54
You'll probably only have this problem with legacy databases but, if you do have this problem, it can kill your Entity Framework performance.
Categories: Microsoft

The C# Scopes for Privileged Inheritance

Wed, 02/21/2018 - 08:28
C#'s scope for classes includes internal, public, protected ... and two more. The most restrictive of these allow you to create an inheritance hierarchy with "privileged" and "nonprivileged" derived classes.
Categories: Microsoft

Getting Data from the Request Object in ASP.NET MVC

Tue, 02/20/2018 - 07:00
In a world with model binding, you don't often need to use the Request object's collections. But when model binding fails you those collections are often your easiest solution.
Categories: Microsoft

Paste JSON and XML as a Class

Fri, 02/16/2018 - 08:16
With a couple of mouse clicks you can convert JSON or XML to a perfectly good class. And, with a little extra work, you can do it in a couple of keystrokes.
Categories: Microsoft

Manipulating URLs on the Server

Tue, 02/13/2018 - 03:00
If you ever have a question about a URL, then the Uri object has the answer.
Categories: Microsoft

Best Practice: Declare Variables as Constants

Mon, 02/12/2018 - 09:17
If you don't need to replace the object stored in the variable, you might as well declare it as a constant.
Categories: Microsoft

Pasting Into a Command Window

Fri, 02/09/2018 - 08:19
It's not really a Visual Studio tip but it can save you a lot of typing.
Categories: Microsoft

Load TypeScript Modules as You Need Them

Thu, 02/08/2018 - 08:34
With TypeScript 2.4 If you've got a module that you only need in special cases, then you can put off loading it until that special case crops up.
Categories: Microsoft

Check That Your Config Files Are Transformed Correctly

Fri, 01/05/2018 - 11:21
The ability for Visual Studio to automatically transform your development Web.config file into a production version is certainly convenient ... but only if the transformation is done right. Here's how to check that your config file is being transformed correctly.
Categories: Microsoft

Notes from Visual Studio Live! No Typical Developer

Fri, 12/22/2017 - 13:12
What I learned: There's no typical developer, they face tough resource constraints, cutting-edge tech is not of the most interest to many dealing with real-world legacy concerns, and foresighted companies are making investments for the future even with the tight budgets.
Categories: Microsoft