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.
Microsoft suggests using an extension or judiciously rearranging windows.
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.
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.
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.
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.
That's often where the real problem is.
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 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.
Microsoft's Xamarin unit announced a new certification program for mobile professionals, offering a badge below the level of its existing cert.
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.
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.
Once again, Mr. Xamarin comes to Visual Studio Live! to discuss cross-platform development.
"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...."
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.
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.
Microsoft moves Azure Functions tools for Visual Studio out of preview and announced Azure Event Grid, a fully managed event routing service.
A new Visual Studio Tools Marketplace extension provides PHP support for coders working in Visual Studio 2017, with IntelliSense, code completion, a function parameter assistant and other functionality, including visual debugging and an integrated PHP manual.
It didn't take long for developers to start putting Microsoft's new .NET Core. 2.0 release through its paces in benchmark tests against alternatives.
Red Hat today announced its product portfolio -- including developer tools -- will support the new .NET Core. 2.0 standard released last week by Microsoft.