C# and VB Tutorials

  • Code Focused

    Blazor: Working with Events

    Blazor expert Chris Sainty provides hands-on code samples to explain how to handle DOM and user-defined events in Microsoft's experimental project for writing browser-based apps with C# instead of JavaScript. 10/31/2018

  • Integrating Blazor and JavaScript Code

    Downloading compiled C# code to the browser using Blazor is all very good -- but it would be so much better if you can integrate your Blazor code with JavaScript. Here’s how to do that. 08/27/2018

  • Your First Blazor App

    Blazor is the Microsoft toolset that exploits the WebAssembly standard to let you write C# code that will run in your browser. Here's how to set up Visual Studio 2017 and create your first app. 08/01/2018

  • Styling Xamarin.Forms Apps with CSS

    New support for styling Xamarin.Forms apps with CSS may be controversial, but Greg Shackles thinks CSS is a powerful (and frequently maligned) solution to the problem of styling native mobile applications. See what he means in this hands-on tutorial. 05/29/2018

  • Build a Xamarin.Forms Application with MvvmCross

    Building cross-platforms applications has never been easier using Microsoft's Xamarin.Forms. In this article Nick introduces v6 of MvvmCross and shows how it can be leveraged to accelerate development and improve the architecture of a Xamarin.Forms application. 05/16/2018

  • Sound-Effect Audio with Xamarin.Forms

    Wally builds an app prototype and in response to user feedback investigates how to play audio sound effects in response to events such as a button press. 03/29/2018

  • Validating JSON with JSON Schema

    Once you've created a JSON Schema that describes a JSON document, you can use it both in Visual Studio -- to provide guidance when creating JSON documents -- and in your code to validate the messages you're receiving. 02/13/2018

  • Building for the iPhone X

    Our cross-platform C# specialist turns his attention to the iOS side of things only to demonstrate some programming issues associated with the much-hyped device from Apple, including Face ID, the "notch," Safe Areas, Large Titles and more. 01/11/2018

  • Code Focused

    Replace a Running Application with a New Version

    One situation that can prevent a successful file transfer is when the destination file is, in fact, the program that's doing the copying. Here's how to work around such problems. 12/15/2017

  • Code Focused

    OOP Code Focus: Clone a Derived Instance from a Base Object

    OOP is a special kind of animal, says Tim Patrick, who shows how to put one of its core principles, encapsulation, to work while coding constructors for base and derived classes. 11/28/2017

  • In-Depth

    Add Custom Controls with Binding Properties to Your Xamarin.Forms App

    In an app of any meaningful size, wrapping up common functionality in a composite control reduces the long-term effort needed to craft the app. Learn how to do just that right here. 11/07/2017

  • Create Responsive Xamarin Apps with ReactiveUI

    Learn how to leverage the open source MVVM ReactiveUI framework, the Observer Design Pattern, ReactiveX and more to make your Xamarin apps more responsive. 10/24/2017

  • A Developer's Introduction to iOS 11

    With new APIs for augmented reality and machine learning -- along with many new and updated features -- the latest iteration of iOS is sure to make Apple mobile developers happy, our resident expert concludes in this hands-on review, complete with code samples. 10/17/2017

  • Xamarin.Forms Updates

    Here’s a look -- with code samples -- at two series of updates that will improve the feature set and, most important, performance of Microsoft’s cross-platform UI solution. 10/10/2017

  • The Heisenberg Developer

    There’s a potential security exploit that ASP.NET MVC leaves you open to. However, in Peter’s opinion, all the proposed solutions miss the point. 10/03/2017

  • Looking Ahead to Xamarin.Forms 3.0

    From performance improvements to new platforms, here’s a look at what’s coming down the road for Xamarin.Forms developers. 08/10/2017

  • Code Focused

    Embellish Your Web API Responses with Header Data

    Learn how providing information in available HTTP header elements can help make interactions between unrelated systems straightforward and meaningful. 08/08/2017

  • Code Focused

    Create Parameterized Queries in ADO.NET

    Squash the dangers lurking in your SQL queries by setting parameters by way of parameterized queries. 07/27/2017

  • A Filtered View of Core Image

    Playing around with Apple's Core Image imaging technology, using some simple C# code to perform facial recognition and apply filters to photos. 07/26/2017

  • In-Depth

    Azure Functions and Serverless Architecture in Action

    Part 2: Now that we've nailed down the serverless compute concepts, we'll use a handful of online tools to develop Azure Functions. 07/21/2017

  • Neural Network Cross Entropy Using Python

    James McCaffrey uses cross entropy error via Python to train a neural network model for predicting a species of iris flower. 07/20/2017

  • In-Depth

    The Cloud's The Limit with Serverless Architecture and Azure Functions

    The cloud has enabled some incredible innovation, like serverless compute, which is transforming the way we build applications for the cloud. We dive into serverless concepts and explore how they are supported by Azure Functions. 07/17/2017

  • Improving Feedback When Editing HTML

    Get Visual Studio to be more helpful when you're working with HTML. 07/07/2017

  • 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. 06/28/2017

  • In-Depth

    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. 06/27/2017

Most   Popular
Upcoming Events

.NET Insight

Sign up for our newsletter.

Terms and Privacy Policy consent

I agree to this site's Privacy Policy.