Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Articles by Tom Dykstra
Web server implementations in ASP.NET Core
Read in English Read in English Edit Twitter LinkedIn Facebook Email Article 01/31/2023 9 minutes to read In this article By Tom Dykstra, Steve Smith, Stephen Halter, and Chris Ross An ASP.NET Core app runs with an in-process HTTP server implementation. The server implementation listens for HTTP requests and surfaces them to the app as a set of request features composed into an HttpContext.
Redis backplane for ASP.NET Core SignalR scale-out
Read in English Read in English Edit Twitter LinkedIn Facebook Email Article 01/12/2023 4 minutes to read In this article By Andrew Stanton-Nurse, Brady Gaster, and Tom Dykstra, This article explains SignalR-specific aspects of setting up a Redis server to use for scaling out an ASP.NET Core SignalR app. Set up a Redis backplane Deploy a Redis server. Important For production use, a Redis backplane is recommended only when it runs in the same data center as the SignalR app.
Kestrel web server implementation in ASP.NET Core
Read in English Read in English Edit Twitter LinkedIn Facebook Email Article 01/09/2023 30 minutes to read In this article By Tom Dykstra, Chris Ross, and Stephen Halter Kestrel is a cross-platform web server for ASP.NET Core. Kestrel is the web server that's included by default in ASP.NET Core project templates.
HTTP.sys web server implementation in ASP.NET Core
Read in English Read in English Edit Twitter LinkedIn Facebook Email Article 01/09/2023 21 minutes to read In this article By Tom Dykstra and Chris Ross is a web server for ASP.NET Core that only runs on Windows. HTTP.sys is an alternative to Kestrel server and offers some features that Kestrel doesn't provide. Important HTTP.sys isn't compatible with the ASP.NET Core Module and can't be used with IIS or IIS Express.
ASP.NET Web Deployment using Visual Studio: Deploying Extra Files
Read in English Read in English Edit Twitter LinkedIn Facebook Email Article 01/03/2023 5 minutes to read In this article by Tom Dykstra Download Starter Project Overview This tutorial shows how to extend the Visual Studio web publish pipeline to do an additional task during deployment. The task is to copy extra files that are not in the project folder to the destination web site. For this tutorial you'll copy one extra file: robots.txt.
Output caching middleware in ASP.NET Core
Read in English Read in English Feedback Edit Twitter LinkedIn Facebook Email Article 11/19/2022 6 minutes to read In this article By Tom Dykstra This article explains how to configure output caching middleware in an ASP.NET Core app. For an introduction to output caching, see Output caching. The output caching middleware can be used in all types of ASP.NET Core apps: Minimal API, Web API with controllers, MVC, and Razor Pages.
Handle errors in ASP.NET Core
Read in English Read in English Feedback Edit Twitter LinkedIn Facebook Email Article 11/01/2022 45 minutes to read In this article By Tom Dykstra This article covers common approaches to handling errors in ASP.NET Core web apps. See Handle errors in ASP.NET Core web APIs for web APIs. Developer exception page The Developer Exception Page displays detailed information about unhandled request exceptions.
Part 2, Razor Pages with EF Core in ASP.NET Core - CRUD
Read in English Read in English Feedback Edit Twitter LinkedIn Facebook Email Article 10/06/2022 32 minutes to read In this article By Tom Dykstra, Jeremy Likness, and Jon P Smith The Contoso University web app demonstrates how to create Razor Pages web apps using EF Core and Visual Studio. For information about the tutorial series, see the first tutorial. If you run into problems you can't solve, download the completed app and compare that code to what you created by following the tutorial.
Tutorial: Create a minimal web API with ASP.NET Core
Read in English Read in English Feedback Edit Twitter LinkedIn Facebook Email Article 09/28/2022 31 minutes to read In this article By Rick Anderson and Tom Dykstra Minimal APIs are architected to create HTTP APIs with minimal dependencies. They are ideal for microservices and apps that want to include only the minimum files, features, and dependencies in ASP.NET Core. This tutorial teaches the basics of building a minimal web API with ASP.NET Core.
Filters in ASP.NET Core
Read in English Read in English Feedback Edit Twitter LinkedIn Facebook Email Article 09/27/2022 44 minutes to read In this article By Kirk Larkin, Rick Anderson, Tom Dykstra, and Steve Smith Filters in ASP.NET Core allow code to run before or after specific stages in the request processing pipeline. Built-in filters handle tasks such as: Authorization, preventing access to resources a user isn't authorized for. Response caching, short-circuiting the request pipeline to return a cached response.
Tutorial: Get started with EF Core in an ASP.NET MVC web app
Read in English Read in English Feedback Edit Twitter LinkedIn Facebook Email Article 09/21/2022 40 minutes to read In this article By Tom Dykstra and Rick Anderson This tutorial teaches ASP.NET Core MVC and Entity Framework Core with controllers and views. Razor Pages is an alternative programming model. For new development, we recommend Razor Pages over MVC with controllers and views. See the Razor Pages version of this tutorial.
Distributed Caching (Building Real-World Cloud Apps with Azure)
Article 02/11/2022 7 minutes to read k v R n s In this article by Mike Wasson, Rick Anderson, Tom Dykstra Download Fix It Project or Download E-book The Building Real World Cloud Apps with Azure e-book is based on a presentation developed by Scott Guthrie. It explains 13 patterns and practices that can help you be successful developing web apps for the cloud. For information about the e-book, see the first chapter.
Transient Fault Handling (Building Real-World Cloud Apps with Azure)
Read in English Read in English Edit Twitter LinkedIn Facebook Email Article 02/11/2022 7 minutes to read k v R n s In this article by Mike Wasson, Rick Anderson, Tom Dykstra Download Fix It Project or Download E-book The Building Real World Cloud Apps with Azure e-book is based on a presentation developed by Scott Guthrie. It explains 13 patterns and practices that can help you be successful developing web apps for the cloud. For information about the e-book, see the first chapter.
Monitoring and Telemetry (Building Real-World Cloud Apps with Azure)
Article 02/11/2022 18 minutes to read k v R n g In this article by Mike Wasson, Rick Anderson, Tom Dykstra Download Fix It Project or Download E-book The Building Real World Cloud Apps with Azure e-book is based on a presentation developed by Scott Guthrie. It explains 13 patterns and practices that can help you be successful developing web apps for the cloud. For information about the e-book, see the first chapter. A lot of people rely on customers to let them know when their application is down.
Source Control (Building Real-World Cloud Apps with Azure)
Article 02/11/2022 13 minutes to read k s v R n In this article by Mike Wasson, Rick Anderson, Tom Dykstra Download Fix It Project or Download E-book The Building Real World Cloud Apps with Azure e-book is based on a presentation developed by Scott Guthrie. It explains 13 patterns and practices that can help you be successful developing web apps for the cloud. For information about the e-book, see the first chapter.
Creating ASP.NET Web Projects in Visual Studio 2013
12/01/2014 22 minutes to read +4 In this article by Tom Dykstra This topic explains the options for creating ASP.NET web projects in Visual Studio 2013 with Update 3 Here are some of the new features for web development compared to earlier versions of Visual Studio: A simple UI for creating projects that offer support for multiple ASP.NET frameworks (Web Forms, MVC, and Web API).
ASP.NET Web Deployment using Visual Studio: Deploying Extra Files
03/23/2015 5 minutes to read +2 In this article by Tom Dykstra Download Starter Project This tutorial series shows you how to deploy (publish) an ASP.NET web application to Azure App Service Web Apps or to a third-party hosting provider, by using Visual Studio 2012 or Visual Studio 2010. For information about the series, see the first tutorial in the series. Overview This tutorial shows how to extend the Visual Studio web publish pipeline to do an additional task during deployment.
Deploying an ASP.NET Web Application with SQL Server Compact using Visual Studio or Visual Web Developer: Migrating to SQL Server - 10 of 12
11/17/2011 22 minutes to read +1 In this article by Tom Dykstra Download Starter Project This series of tutorials shows you how to deploy (publish) an ASP.NET web application project that includes a SQL Server Compact database by using Visual Studio 2012 RC or Visual Studio Express 2012 RC for Web. You can also use Visual Studio 2010 if you install the Web Publish Update. For an introduction to the series, see the first tutorial in the series.
ASP.NET SignalR Hubs API Guide - Server (C#)
06/10/2014 32 minutes to read +4 In this article by Patrick Fletcher, Tom Dykstra Warning This documentation isn't for the latest version of SignalR. Take a look at ASP.NET Core SignalR. This document provides an introduction to programming the server side of the ASP.NET SignalR Hubs API for SignalR version 2, with code samples demonstrating common options. The SignalR Hubs API enables you to make remote procedure calls (RPCs) from a server to connected clients and from clients to the server.
Browser Link in ASP.NET Core
01/09/2020 3 minutes to read +4 In this article By Nicolò Carandini, Mike Wasson, and Tom Dykstra Browser Link is a Visual Studio feature. It creates a communication channel between the development environment and one or more web browsers. You can use Browser Link to refresh your web app in several browsers at once, which is useful for cross-browser testing. Browser Link setup Add the Microsoft.VisualStudio.Web.BrowserLink package to your project.
Appendix: The Fix It Sample Application (Building Real-World Cloud Apps with Azure)
06/12/2014 22 minutes to read +4 In this article by Mike Wasson, Rick Anderson, Tom Dykstra Download The Fix It Project The Building Real World Cloud Apps with Azure e-book is based on a presentation developed by Scott Guthrie. It explains 13 patterns and practices that can help you be successful developing web apps for the cloud. For information about the e-book, see the first chapter.
ASP.NET Core SignalR production hosting and scaling
01/17/2020 5 minutes to read +5 In this article By Andrew Stanton-Nurse, Brady Gaster, and Tom Dykstra, This article explains hosting and scaling considerations for high-traffic apps that use ASP.NET Core SignalR. Sticky Sessions SignalR requires that all HTTP requests for a specific connection be handled by the same server process. When SignalR is running on a server farm (multiple servers), "sticky sessions" must be used. "Sticky sessions" are also called session affinity by some load balancers.
Handling Concurrency with the Entity Framework in an ASP.NET MVC Application (7 of 10)
07/30/2013 16 minutes to read +2 In this article by Tom Dykstra Download Completed Project The Contoso University sample web application demonstrates how to create ASP.NET MVC 4 applications using the Entity Framework 5 Code First and Visual Studio 2012. For information about the tutorial series, see the first tutorial in the series. You can start the tutorial series from the beginning or download a starter project for this chapter and start here.
JsonPatch in ASP.NET Core web API
03/24/2019 6 minutes to read +1 In this article By Tom Dykstra This article explains how to handle JSON Patch requests in an ASP.NET Core web API. Package installation Support for JsonPatch is enabled using the Microsoft.AspNetCore.Mvc.NewtonsoftJson package. To enable this feature, apps must: Install the Microsoft.AspNetCore.Mvc.NewtonsoftJson NuGet package.
Client IP safelist for ASP.NET Core
08/31/2018 3 minutes to read In this article By Damien Bowden and Tom Dykstra This article shows three ways to implement an IP safelist (also known as a whitelist) in an ASP.NET Core app. You can use: Middleware to check the remote IP address of every request. Action filters to check the remote IP address of requests for specific controllers or action methods. Razor Pages filters to check the remote IP address of requests for Razor pages.
Redis backplane for ASP.NET Core SignalR scale-out
11/28/2018 3 minutes to read Contributors In this article By Andrew Stanton-Nurse, Brady Gaster, and Tom Dykstra, This article explains SignalR-specific aspects of setting up a Redis server to use for scaling out an ASP.NET Core SignalR app. Set up a Redis backplane Deploy a Redis server. Important For production use, a Redis backplane is recommended only when it runs in the same data center as the SignalR app. Otherwise, network latency degrades performance.
ASP.NET SignalR Hubs API Guide - Server (SignalR 1.x)
04/17/2013 29 minutes to read Contributors all In this article by Patrick Fletcher, Tom Dykstra Warning This documentation isn't for the latest version of SignalR. Take a look at ASP.NET Core SignalR. This document provides an introduction to programming the server side of the ASP.NET SignalR Hubs API for SignalR version 1.1, with code samples demonstrating common options.
ASP.NET SignalR Hubs API Guide - .NET Client (SignalR 1.x)
04/17/2013 14 minutes to read Contributors all In this article by Patrick Fletcher, Tom Dykstra Warning This documentation isn't for the latest version of SignalR. Take a look at ASP.NET Core SignalR. This document provides an introduction to using the Hubs API for SignalR version 2 in .NET clients, such as Windows Store (WinRT), WPF, Silverlight, and console applications.
Tutorial: Server Broadcast with ASP.NET SignalR 1.x
04/10/2013 27 minutes to read Contributors all In this article by Patrick Fletcher, Tom Dykstra Warning This documentation isn't for the latest version of SignalR. Take a look at ASP.NET Core SignalR. This tutorial shows how to create a web application that uses ASP.NET SignalR to provide server broadcast functionality. Server broadcast means that communications sent to clients are initiated by the server.
SignalR 1.x Hubs API Guide - JavaScript Client
04/17/2013 21 minutes to read Contributors all In this article by Patrick Fletcher, Tom Dykstra Warning This documentation isn't for the latest version of SignalR. Take a look at ASP.NET Core SignalR. This document provides an introduction to using the Hubs API for SignalR version 1.1 in JavaScript clients, such as browsers and Windows Store (WinJS) applications. The SignalR Hubs API enables you to make remote procedure calls (RPCs) from a server to connected clients and from clients to the server.
ASP.NET Web Deployment using Visual Studio: Deploying a Database Update
02/15/2013 8 minutes to read Contributors all In this article by Tom Dykstra Download Starter Project This tutorial series shows you how to deploy (publish) an ASP.NET web application to Azure App Service Web Apps or to a third-party hosting provider, by using Visual Studio 2012 or Visual Studio 2010. For information about the series, see the first tutorial in the series.
ASP.NET Web Deployment using Visual Studio: Command Line Deployment
02/15/2013 5 minutes to read Contributors all In this article by Tom Dykstra Download Starter Project This tutorial series shows you how to deploy (publish) an ASP.NET web application to Azure App Service Web Apps or to a third-party hosting provider, by using Visual Studio 2012 or Visual Studio 2010. For information about the series, see the first tutorial in the series. Overview This tutorial shows you how to invoke the Visual Studio web publish pipeline from the command line.
ASP.NET Web Deployment using Visual Studio: Deploying to Test
01/16/2019 18 minutes to read Contributors all In this article by Tom Dykstra This tutorial series shows you how to deploy (publish) an ASP.NET web application to Azure App Service Web Apps or to a third-party hosting provider using Visual Studio 2017. For information about the series, see the first tutorial in the series. Overview In this tutorial, you'll deploy an ASP.NET web application to Internet Information Server (IIS) on your local computer.
Razor Pages with EF Core in ASP.NET Core - Update Related Data - 7 of 8
The Contoso University web app demonstrates how to create Razor Pages web apps using EF Core and Visual Studio. For information about the tutorial series, see the first tutorial. This tutorial demonstrates updating related data. If you run into problems you can't solve, download or view the completed app. Download instructions. The following illustrations shows some of the completed pages. Examine and test the Create and Edit course pages. Create a new course.
Get Started with ASP.NET Core and Entity Framework 6
This article shows how to use Entity Framework 6 in an ASP.NET Core application. To use Entity Framework 6, your project has to compile against .NET Framework, as Entity Framework 6 doesn't support .NET Core. If you need cross-platform features you will need to upgrade to Entity Framework Core. The recommended way to use Entity Framework 6 in an ASP.NET Core application is to put the EF6 context and model classes in a class library project that targets the full framework.
Add a model to an ASP.NET Core MVC app with Visual Studio for Mac
In this section, you'll add some classes for managing movies in a database. These classes will be the "Model" part of the MVC app. You use these classes with Entity Framework Core (EF Core) to work with a database. EF Core is an object-relational mapping (ORM) framework that simplifies the data access code that you have to write. EF Core supports many database engines.
Add a model to an ASP.NET Core MVC app
In this section, you'll add some classes for managing movies in a database. These classes will be the "Model" part of the MVC app. You use these classes with Entity Framework Core (EF Core) to work with a database. EF Core is an object-relational mapping (ORM) framework that simplifies the data access code that you have to write. EF Core supports many database engines.
Continuous Integration and Continuous Delivery (Building Real-World Cloud Apps with Azure)
The first two recommended development process patterns were Automate Everything and Source Control, and the third process pattern combines them. Continuous integration (CI) means that whenever a developer checks in code to the source repository, a build is automatically triggered. Continuous delivery (CD) takes this one step further: after a build and automated unit tests are successful, you automatically deploy the application to an environment where you can do more in-depth testing.
Enable Cross-Origin Requests (CORS) in ASP.NET Core
Browser security prevents a web page from making requests to a different domain than the one that served the web page. This restriction is called the same-origin policy. The same-origin policy prevents a malicious site from reading sensitive data from another site. Sometimes, you might want to allow other sites make cross-origin requests to your app. Cross Origin Resource Sharing (CORS) is a W3C standard that allows a server to relax the same-origin policy.
Advanced Entity Framework 6 Scenarios for an MVC 5 Web Application (12 of 12)
In the previous tutorial you implemented table-per-hierarchy inheritance. This tutorial includes introduces several topics that are useful to be aware of when you go beyond the basics of developing ASP.NET web applications that use Entity Framework Code First.
Razor Pages with EF Core in ASP.NET Core - Concurrency - 8 of 8
The Contoso University web app demonstrates how to create Razor Pages web apps using EF Core and Visual Studio. For information about the tutorial series, see the first tutorial. This tutorial shows how to handle conflicts when multiple users update an entity concurrently (at the same time). If you run into problems you can't solve, download the completed app for this stage. Optimistic concurrency allows concurrency conflicts to happen, and then reacts appropriately when they do.
Razor Pages with EF Core in ASP.NET Core - Data Model - 5 of 8
The ASP.NET Core 2.1 version of this tutorial has many improvements over the 2.0 version. The ASP.NET Core 2.0 version of this tutorial can be found in this PDF file . The Contoso University web app demonstrates how to create Razor Pages web apps using EF Core and Visual Studio. For information about the tutorial series, see the first tutorial. The previous tutorials worked with a basic data model that was composed of three entities.
WebSockets support in ASP.NET Core
This article explains how to get started with WebSockets in ASP.NET Core. WebSocket (RFC 6455) is a protocol that enables two-way persistent communication channels over TCP connections. It's used in apps that benefit from fast, real-time communication, such as chat, dashboard, and game apps. View or download sample code (how to download). See the Next steps section for more information. Use WebSockets to work directly with a socket connection.
ASP.NET Core MVC with EF Core - Migrations - 4 of 10
If you choose this tutorial over the Razor Pages version, let us know why in this GitHub discussion . The 2.0 tutorial teaches ASP.NET Core MVC and Entity Framework Core with controllers and views. Razor Pages is a page-based programming model that makes building web UI easier and more productive. We recommend the Razor Pages tutorial over the MVC version. The Razor Pages tutorial: The ASP.NET Core 2.1 Razor Pages version of this tutorial has many improvements over the 2.0 version.
ASP.NET Core MVC with EF Core - Advanced - 10 of 10
If you choose this tutorial over the Razor Pages version, let us know why in this GitHub discussion . The 2.0 tutorial teaches ASP.NET Core MVC and Entity Framework Core with controllers and views. Razor Pages is a page-based programming model that makes building web UI easier and more productive. We recommend the Razor Pages tutorial over the MVC version. The Razor Pages tutorial: The ASP.NET Core 2.1 Razor Pages version of this tutorial has many improvements over the 2.0 version.
ASP.NET Core MVC with EF Core - Data Model - 5 of 10
If you choose this tutorial over the Razor Pages version, let us know why in this GitHub discussion . The 2.0 tutorial teaches ASP.NET Core MVC and Entity Framework Core with controllers and views. Razor Pages is a page-based programming model that makes building web UI easier and more productive. We recommend the Razor Pages tutorial over the MVC version. The Razor Pages tutorial: The ASP.NET Core 2.1 Razor Pages version of this tutorial has many improvements over the 2.0 version.
Razor Pages with EF Core in ASP.NET Core - CRUD - 2 of 8
The ASP.NET Core 2.1 version of this tutorial has many improvements over the 2.0 version. The ASP.NET Core 2.0 version of this tutorial can be found in this PDF file . The Contoso University web app demonstrates how to create Razor Pages web apps using EF Core and Visual Studio. For information about the tutorial series, see the first tutorial. In this tutorial, the scaffolded CRUD (create, read, update, delete) code is reviewed and customized.
ASP.NET Core MVC with EF Core - Inheritance - 9 of 10
If you choose this tutorial over the Razor Pages version, let us know why in this GitHub discussion . The 2.0 tutorial teaches ASP.NET Core MVC and Entity Framework Core with controllers and views. Razor Pages is a page-based programming model that makes building web UI easier and more productive. We recommend the Razor Pages tutorial over the MVC version. The Razor Pages tutorial: The ASP.NET Core 2.1 Razor Pages version of this tutorial has many improvements over the 2.0 version.
ASP.NET Core MVC with EF Core - Update Related Data - 7 of 10
If you choose this tutorial over the Razor Pages version, let us know why in this GitHub discussion . The 2.0 tutorial teaches ASP.NET Core MVC and Entity Framework Core with controllers and views. Razor Pages is a page-based programming model that makes building web UI easier and more productive. We recommend the Razor Pages tutorial over the MVC version. The Razor Pages tutorial: The ASP.NET Core 2.1 Razor Pages version of this tutorial has many improvements over the 2.0 version.
ASP.NET Core MVC with EF Core - CRUD - 2 of 10
If you choose this tutorial over the Razor Pages version, let us know why in this GitHub discussion . The 2.0 tutorial teaches ASP.NET Core MVC and Entity Framework Core with controllers and views. Razor Pages is a page-based programming model that makes building web UI easier and more productive. We recommend the Razor Pages tutorial over the MVC version. The Razor Pages tutorial: The ASP.NET Core 2.1 Razor Pages version of this tutorial has many improvements over the 2.0 version.
Show More
loading
Actions
Is this you?
As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.Get in touch with Tom
Contact Tom, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack