.NET Framework


Implementing Default Behavior in an ASP.NET MVC Controller

If there's something you want to do every time an Action method is called in a Controller, there's an easy way to achieve that. It may even be a best practice.

Microsoft Heeds Developer Feedback in New Visual Studio 2017 Preview

According to Microsoft, community developers are driving changes to its flagship IDE, including a host of improvements in the just-announced second preview of Visual Studio 2017 Version 15.4.

Visual Basic Support Coming to Open Source Windows Template Studio

In announcing Windows Template Studio 1.3, Microsoft hinted that work has begun to support Visual Basic programming in the wizard-driven dev tool for Universal Windows Platform (UWP) apps.

Returning Simple Strings from Action Methods

When you want to return a string result -- either as text, HTML or XML -- then a ContentResult object gives you the right balance of simplicity and control.

After Getting an Integrated Terminal, Will VS Code Get an Integrated Browser? Uh, No

Microsoft suggests using an extension or judiciously rearranging windows.

Unit Testing AJAX Calls to an ASP.NET MVC Controller

Sometimes what you want to test is how your Action method behaves when it's invoked through an AJAX call. Here's how to mock up that call using Moq.

Mono Linker Tool Now Reduces Size of .NET Core Apps

Microsoft is building on top of the Mono platform's handy Linker tool to turn its code-shrinking powers loose on reducing the size of .NET Core apps.

The Future of Programming

If you’ve been programming long enough, then you know that the "right way to do things" keeps changing. Here’s why, a description of where we are now and a guess about where we’re going.

Clippy the Office Assistant Reborn as Visual Studio Extension

Developer Eros Fratini has resurrected Clippy, the infamous cartoon paperclip that served as an assistant for users of the Office productivity software suite many years ago.

Quick Tip: Read the Inner Exception!

That's often where the real problem is.

LocalDB: The Database Without a Connection String

If you just want to get going with a code-first database, you don't even need to define a connection string -- just write your objects.

JetBrains Upgrades ReSharper Ultimate Tools, Adds .NET Core 2.0 Support

JetBrains is out with the year's second upgrade to its ReSharper Ultimate suite of tools for enhancing .NET development, featuring the popular ReSharper offering for code refactoring.

Xamarin Offers New Mobile Professional Certification

Microsoft's Xamarin unit announced a new certification program for mobile professionals, offering a badge below the level of its existing cert.

VS 2017 15.4 Preview: Code Windows Fall Creator UWP Apps with .NET Standard 2.0

Support for the new .NET Standard 2.0 spec continues to spread into the Microsoft ecosystem, as a new Visual Studio preview enables the development of Universal Windows Platform apps for the upcoming Windows Fall Creators Update, leveraging the spec's APIs.

Exploiting the Validation Tools in ASP.NET MVC

Your users will make mistakes ... but it would be a mistake to treat all their errors the same way. You can get more out of ASP.NET MVC's validation infrastructure just by paying attention to how you name your errors.

Xamarin Q&A: Cross-Platform Is the New Platform

Once again, Mr. Xamarin comes to Visual Studio Live! to discuss cross-platform development.

Developer Seeks to Bring Visual Studio IDE Code Search up to Level of VSTS, TFS

"If you've ever used VSTS/TFS Code Search, you've probably loved it, it felt like this was the way code searching should be. Then you did a code search in Visual Studio, and were reminded of the painful past...."

Container Pact Strengthens Open Source Dev Ties of Red Hat, Microsoft

Just after declaring the company will support Microsoft's new .NET Core 2.0 across its open source portfolio, Red Hat further strengthened the open source development ties between the companies in a bevy of announcements, including a new container pact.

Returning JSON from SQL Server Queries

With JSON now the default format for moving data between clients and servers, SQL Server adds JSON support to make it easier to get your data out of the database and down to the client.

New Tools Boost Serverless Computing in Visual Studio, Azure Cloud

Microsoft moves Azure Functions tools for Visual Studio out of preview and announced Azure Event Grid, a fully managed event routing service.

Subscribe on YouTube