Columns


Writing xUnit Tests in .NET Core

There's a new testing framework in town. Here's how to use it.

Architecting Blazor (and Integrating JavaScript)

Sometimes the easiest solution isn't the best one. Here's an architectural approach to building Blazor pages that also makes it easy to combine the worlds of JavaScript and Blazor.

ASP.NET Core: Learning the Ropes, Part 2

Eric Vogel provides many code samples to show how to use Entity Framework Core for an ASP.NET Core MVC application.

Introducing the .NET Core Unit Testing Framework (or: Why xUnit?)

There's a new kid in the Visual Studio testing environment, though it's only for your .NET Core projects. You don't have to use it, but here are some reasons you'll want to.

Sentiment Analysis Using Keras

Custom sentiment analysis is hard, but neural network libraries like Keras with built-in LSTM (long, short term memory) functionality have made it feasible. Step into the Data Science Lab with Dr. McCaffrey to find out how, with full code examples.

Adding Blazor to Existing HTML+JavaScript Pages

Not only can you integrate JavaScript with Blazor, that integration provides a strategy for moving your existing pages to Blazor without having to rewrite your existing JavaScript code.

Subqueries in LINQ

If someone tells you that LINQ doesn't support subqueries ... well, they're not wrong. But they're also not entirely correct, either. With LINQ you can meet many of the goals of SQL subqueries including the ability to build complex queries out of simpler ones.

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.

Adding Custom Processing to Requests in ASP.NET

ASP.NET Web API and ASP.NET MVC have similar (but not identical) mechanisms that allow you to customize how your requests and responses are processed. Not surprisingly, ASP.NET Web API's implementation is both easier and more flexible than ASP.NET MVC.

Processing Every Request and Response in ASP.NET

You have at least two options for adding processing to multiple controllers without duplicating code in each of the Controllers.

Q-Learning Using Python

The Data Science Doctor explains how to use the reinforcement learning branch of machine learning with the Q-learning approach, providing code on how to solve a maze problem for an easy-to-understand example.

ASP.NET Core: Learning the Ropes, Part 1

Eric Vogel shows how to create a new ASP.NET Core Web application using Visual Studio 2017.

Speed Up Your Application with SQL Server In-Memory Tables

If screaming speed in data access is the most important thing in your life, SQL Server's durable in-memory, memory-optimized tables are your answer. They were good in SQL Server 2014 and they're even better in SQL Server 2016, 2017 and Azure.

The Fastest Data Access Possible with Compiled Procs

If, in your "need for speed," you're looking to access and update your data as fast as possible, you can get to that goal by combining memory-optimized tables with compiled procs.

Debugging Xamarin Android Apps

You have a bunch of options for debugging Android applications built with Xamarin. Unfortunately, only one of them has worked well for Peter in all scenarios. Here are all your options with Peter's opinion on each and a recommendation on the best one.

Integrating JavaScript and C# in the Browser: Beyond the Basics with Blazor

If you want to call Blazor .NET code from JavaScript (or vice versa) with instantiated objects, or while passing multiple parameters, or while catching the results produced by that code, here's how to do it.

When You're Your Own DBA: Speeding Up SQL Server

You're not a DBA but you're responsible for managing your organization's SQL Server installation. Here are some tips on what you can do to speed up all your data access.

Defining Web API Services and Clients with NSwag

The OpenAPI (Swagger) technology suite includes a file that describes your Web API service. Peter thinks it's the slickest tool available to ensure that clients can access your services.

How to Consume Web APIs in Blazor

Chris Sainty provides hands-on code samples on how to use Web APIs to interact with Blazor, an experimental framework from the ASP.NET team that allows developers to write C# and Razor code and have it run in the browser via WebAssembly.

Speeding Up Queries: How to Think About Query Plans

If you want to speed up your SQL Server queries you need to know how your application and your users actually use your database.

Most   Popular
Upcoming Events

.NET Insight

Sign up for our newsletter.

Terms and Privacy Policy consent

I agree to this site's Privacy Policy.