Updated: 1 hour 17 min ago
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.
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.
LINQ and Entity Framework are great ... but you're still going to need to write SQL.
You'll probably only have this problem with legacy databases but, if you do have this problem, it can kill your Entity Framework performance.
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.
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.
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.
If you ever have a question about a URL, then the Uri object has the answer.
If you don't need to replace the object stored in the variable, you might as well declare it as a constant.
It's not really a Visual Studio tip but it can save you a lot of typing.
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.
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.
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.
- The Morning After: Weekend Edition
- Bite-sized, black-and-white game 'Minit' lands April 3rd
- NASA wants your pictures of clouds to verify its satellites’ data
- Facebook suspends Trump-linked data firm Cambridge Analytica
- Standalone Oculus Go headset could debut at Facebook's F8 event
- Adrian Lamo, former hacker who turned in Chelsea Manning, dead at 37
- Karlie Kloss' coding camp covers more cities and languages this year
- Sega announces Sonic Mania Plus, hints at new Sonic “racing” game
- Microsoft tests forcing Windows Mail users to open links in Edge
- Alcatel’s Android Go phone is headed to the US