Columns


Accept HTML and Script from Your Web Pages

Sensibly, ASP.NET MVC 5 prevents users from entering HTML or Script tags into your page's textboxes, protecting you from a wide variety of hacks. However, for those rare occasions when you do need to let the user enter tags, here's how to do it.

Track Your Fitness with a Fitbit and Xamarin

Wally shows you how to use Xamarin.iOS to create a pedometer app for a Fitbit that employs the CoreMotion Framework.

Neural Network Back-Propagation Using Python

You don't have to resort to writing C++ to work with popular machine learning libraries such as Microsoft's CNTK and Google's TensorFlow. Instead, we'll use some Python and NumPy to tackle the task of training neural networks.

Calling Web Services with HttpWebRequest, WebClient and HttpClient

The .NET Framework gives you three different ways to call a Web Service. However, depending on your scenario, the latest and greatest object isn’t necessarily your best choice.

Viva, Visual Basic! Or, Does VB Have a Future?

Long live the programming language that is still running strong well into the second half of its third decade. What might help it is a provision for VB-based .NET Core and .NET Standard libraries in an upcoming VS 2017 release.

Consuming REST Services from Your Mobile Application Using Swagger and AutoRest

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.

Add a Multi-Select ListBox or DropDownList to Your ASP.NET MVC View

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.

Serverless C# with Azure Functions: Implementing Webhooks

Azure Functions can be used to trigger event-driven Webhooks. Here’s how.

What's in WWDC 2017 for Microsoft Stack Devs?

Apple uses the conference as a launch point for its products and services, and it behooves Microsoft developers, especially cross-platform app builders, to pay attention to new capabilities of the Apple platforms.

Reduce Overhead When Retrieving Objects with Entity Framework

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.

Q&A: Visual Studio Extensions Developer Mads Kristensen

Mads has written dozens of essential Visual Studio extensions. Terrence Dorsey sat down to talk about his background, development process and favorite extensions.

Random Finds Friday: Electron Supports TypeScript, MCSA Exam Name Changes

Electron now includes TypeScript support with a TypeScript definition file that's included automatically in all installs. And several developer-related certifications are renamed to highlight Microsoft-specific technologies.

Leverage Global Filters and the HandleError Attribute in ASP.NET MVC Apps

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.

The Fraternal Twins of Equals and GetHashCode

Lots of searching through lots of data means potential app performance degradation. Hash codes can speed things up.

How I Approached Gaining Microsoft Certification

If you’re thinking about pursuing a Microsoft Certification, here’s how and why Peter went through the certification process for the second time, including his feedback on some of the resources available to you.

Xamarin University To Host Free Webinars in June

C# developers can dive into the basics of Xamarin.Forms, and go beyond with customizing them, learning how to target game development for various mobile platforms, and integrate it with Azure Machine Learning to build "smart" apps. It's all free in this once-weekly webinar series.

Exploiting Partial and RenderPartial in ASP.NET MVC

If you're wondering what the difference is between the HtmlHelper Partial and RenderPartial methods, then here's why Peter, at least, uses Partial.

Neural Networks Using Python and NumPy

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.

Missed Build 2017? Try the Build World Tour

Demo-heavy sessions from Build will be circling the globe at select international cities. Also, this week's .NET Insight Podcast features excerpts from Microsoft CEO Satya Nadella's Build keynote, in which he gives some weight to the sheer amount of data that represents developer opportunity for decades to come.

Working with Exceptions Before the Error Handler Does

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.

Upcoming Events

.NET Insight

Sign up for our newsletter.

I agree to this site's Privacy Policy.