• asp.net-core
  • ASP.NET Core – Web Deploy to Azure VM

    The ASP.NET Core documentation includes instructions for publishing to IIS using Web Deploy from Visual Studio, but there were a few steps that weren’t covered.  For my reference in the future, I am documenting the process of creating a Windows Server VM in Azure, configuring it for Web Deploy, and using Web Deploy in Visual Studio 2015 […]

  • asp.net-core
  • ASP.NET Core Localization – Strings

    In my last post on localization I showed how culture determines the formatting of dates and numbers, and how ASP.NET Core determines the culture of a request.  In this post I’ll look at how we provide localized strings using ASP.NET Core. You can download the example projects here: Using Resource Files Using a Custom String Localizer […]

  • asp.net-core
  • ASP.NET Core Localization – Culture

    Globalization is the process of designing or retrofitting an application so that it is capable of supporting multiple cultures (languages and regions).  Localization is the process of adding the resources needed for the application to support a specific culture.  This is commonly thought of as providing text translations for the culture’s language, but it also […]

  • asp.net-core
  • ASP.NET Core – RC2 Daily Builds

    Based on last week’s ASP.NET Community Stand-up, we should see RC2 released in the second half of May.  Until then, you can work with the daily builds and use VS Code for debugging by following these steps, which are based on the April 12th community stand-up: Install the .NET Core CLI Tools Run the ASP.NET Core CLI Samples Install […]

  • leadership
  • Drive

    In his book, Drive: The Surprising Truth About What Motivates Us, Daniel Pink explains that “carrot and stick” motivation tactics might work when tasks are rote and require little thought, but in the modern workplace where creativity and adaptation are often needed, those same tactics backfire and decrease performance.  To motivate people to do their best work, Drive says we need […]

  • asp.net-5
  • ASP.NET Core Caching

    ASP.NET Core comes with support for three types of caching: Local in-memory caching Distributed caching with SQL Server Distributed caching with Redis In-memory caching will have the best performance, but you will need to consider maintaining cache consistency between servers in a web farm;  ASP.NET will not do this for you.  Multiple servers can share […]

  • opinion
  • Lessons Learned

    In my twenty-plus years as a software developer, I have seen the profession change greatly, both in the technologies we use and the practices we employ.  Over the years, I’ve been involved with many projects, most successful, some not, and in this post I’ll discuss a few of the lessons I’ve learned that are broadly applicable to […]

  • asp.net-5
  • ASP.NET Core Middleware

    What is Middleware? Put simply, you use middleware components to compose the functionality of your ASP.NET Core application.  Anything your application does, even something as basic as serving up static files, is performed by middleware.  An application without any middleware will simply return a 404 – Not Found response for every request.  This gives you complete […]

  • asp.net-5
  • ASP.NET 5 Logging

    Logging lets your application capture run-time information that can prove invaluable when debugging problems or analyzing performance issues.  ASP.NET 5 has a default logging implementation that logs to the console, debugger, event log, or to a trace source.  If these targets don’t meet your application’s needs, you can replace the default implementation with a third-party solution, or […]