Consuming services is something every application needs to do. In this article, Nick demonstrates how to document a REST service using Swagger in order to make it easy to consume from a Universal Windows Application.
- By Nick Randolph
- 06/12/2017
Peter doesn't like them, but that doesn't mean you have to hate 'em, too -- here's how to add a listbox or dropdown list to your View that lets users select multiple items.
Azure Functions can be used to trigger event-driven Webhooks. Here’s how.
- By Jason Roberts
- 06/08/2017
If you're only retrieving an object so that you can read its data, you can reduce your costs by turning off Entity Framework tracking. Which is exactly what you want to do in ASP.NET MVC, as long as you're careful.
Here's how to combine adding HandleError attributes to your ASP.NET MVC application both through Global Filters and adding them directly to your Action methods.
Lots of searching through lots of data means potential app performance degradation. Hash codes can speed things up.
Last time, we used Docker to modernize an ASP.NET WebForms app. In this second part, we take a feature-driven approach to extending it and improving performance.
- By Elton Stoneman
- 05/31/2017
If you're wondering what the difference is between the HtmlHelper Partial and RenderPartial methods, then here's why Peter, at least, uses Partial.
Using Docker's lightweight containerization technology, you can modernize and extend ASP.NET WebForms app quickly and safely on the Microsoft Azure cloud. In this first of a two-part series, we show you how.
- By Elton Stoneman
- 05/25/2017
With Python and NumPy getting lots of exposure lately, I'll show how to use those tools to build a simple feed-forward neural network.
- By James McCaffrey
- 05/24/2017
Normally, you don’t care about first-chance exceptions -- it's only when something becomes a second-chance exception that you start to pay attention. But when you do care about all the exceptions, here’s how to work with them both in Visual Studio and in your code.
Last time I looked at the basics of triggers. Let's look at creating an HTTP-triggered function for displaying a greeting based on a target audience.
- By Jason Roberts
- 05/15/2017
The OutputCache attribute is a great way to improve both response time and scaleability, except there are many times when you can’t use it. Here’s how to leverage the HtmlHelper Action method to handle those exceptions.
Learn how Mobile Center helps you easily develop, build, test, distribute, and monitor your mobile apps.
- By Greg Shackles
- 05/09/2017
You can force users to always get the most recent version of your ASP.NET Web page by using the last tool you'd expect to handle this: The OutputCache attribute.
Here’s how to add AngularJS to an ASP.NET MVC application in Visual Studio 2015.
Let's explore factor analysis again, this time using the R ability to tap into OOP, but we won't use the RC model.
- By James McCaffrey
- 05/02/2017
It's possible to hook into document store events to monitor (and even modify) behavior.
- By Jason Roberts
- 05/01/2017
Here's the best performing option when you're retrieving the objects at the end of an entity class's navigation property, either when you only want some of the objects or when you only want them some of the time.
Visual Studio is all about making the developer coding experience more streamlined, allowing you to get to elements of the IDE that matter to you most. Customizing the Start Page is, well, a good start.
If you haven’t used the .NET Framework Contract tools to help guarantee code quality, it’s worthwhile to consider integrating them into your work. If you figured that Contracts were all hype, it may be time to see how they could be genuinely useful.
If you prefer to keep your Properties Window in Categories View, then here's some shortcuts you might find valuable.
Huge volumes of data need near-supercomputer power to process and analyze it all. You can get there with the .NET Task Parallel Library.
- By William L. Bain
- 04/20/2017
Coding by Contract was once the future of programming. It isn’t as popular now as it was even five years ago, at least in the .NET Framework community. But that doesn’t mean you can’t find the related tools useful.
Peter follows up -- yet again – on a column on how to group results with LINQ using the SQL-like syntax with the same solution using the method-based syntax. And, no, you're not seeing double.