C#


Visual Studio 2017 15.3, .NET Core 2.0 Trio Previews Now Out

It's the third preview for VS 2017 15.3, which sports mostly fit-and-finish improvements of many user-reported issues, and second preview for the .NET/ASP.NET/Entity Framework Core 2.0 trio.

AJAX Without JavaScript

You like the idea of an AJAX application, but would rather not write the JavaScript yourself. You're in luck: ASP.NET MVC provides two tools that write the client-side code for you. And these tools even make sense if you’re comfortable with writing your own JavaScript.

TypeScript 2.4 Now GA

Dynamic import expressions, enhanced string enums, and improved generics checking are just a few of the features of this point release of the JavaScript superset.

Build Web Apps Without All That JavaScript

You don't need to write tons of JavaScript code to create a JavaScript-friendly MVVM app. Let DotVVM can take over. Here's a basic tutorial for developing with it.

Open Source at the Heart of Microsoft's Intelligent Cloud Development Efforts

At the company's Azure OpenDev online presentation, Microsoft and its open source partners showcased a number of tools and resources meant to provide developers a leg up on developing for the "intelligent cloud & an intelligent edge."

C# Goes Back to BASICs with Local Functions

C# finally gets the BASIC GOSUB feature through local functions, but local functions take that GOSUB-like capability up a few notches.

AI Gets Smarter with Microsoft's Cognitive Toolkit 2.0

Microsoft's second release of its open source deep learning framework earlier this month adds support for Java bindings, Spark, and Keras.

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.

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.

A Recharged Visual Studio Code 1.13 (and What's With 1.11 and 1.12?)

There have been some significant changes to Visual Studio Code from March to now; with the May 2017 Build, specific settings that were in preview -- editor drag and drop, minimaps, to name a few -- are now enabled by default.

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.

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.

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.

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.

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.

Subscribe on YouTube