Category: .Net

Creating a custom JsonNamingPolicy

Probably there’s no need for me to say why .NET Core 3.0 is a big deal. There are enough articles on that. For a great write-up see Announcing .NET Core 3.0. From the inception of the .NET Core project, we’ve added around fifty thousand .NET Framework APIs to the platform. .NET Core 3.0 closes much …

Read More “Creating a custom JsonNamingPolicy”

Front Door

Front Door incomplete first request

Yesterday I was working with one of our customers to fix an issue with an ASP.NET application throwing an error. That application threw the error on the first request coming in through Azure Front Door. When we sent a request to the original (back end) URL, the application worked fine and never threw the exception. …

Read More “Front Door incomplete first request”

Managed Identity – Part III

This post is part of a series on Managed Identity. For an introduction, see Managed Identity – Part I. For a post that shows you how to connect your application to different types of Azure resources using Managed Identity see Managed Identity – Part II. Stay tuned for future posts. Introduction Elaborating on Part I and Part …

Read More “Managed Identity – Part III”

Oscar and I do SCYWAWA

Video content 📹

Some time ago Oscar van Tol and I started creating video content for the community. We call them #Betatalks and create them because of two very important reasons: We believe in sharing knowledge It’s. So. Much. Fun. 🤣 We talk about a lot of developer stuff: from “Microsoft Build 2019 Highlights” in episode 1 to …

Read More “Video content 📹”

Managed Identity – Part II

This post is part of a series on Managed Identity. For an introduction, see Managed Identity – Part I. Stay tuned for future posts. Introduction Elaborating on Part I, this blog post will show you how to connect your application to different types of Azure resources using Managed Identity. To use the Managed Identity to …

Read More “Managed Identity – Part II”

Photo by James Sutton on Unsplash

Managed Identity – Part I

This post is part of a series on Managed Identity. Stay tuned for future posts. Introduction Connecting your application to a resource like Storage or a SQL database used to involve a connection string. This isn’t very secure. These settings are available through the Azure Portal. So they might get compromised.With the introduction of Azure …

Read More “Managed Identity – Part I”

Dynamic output bindings in Azure Functions

Dynamic output bindings in Azure Functions

Last week one of my colleagues had a question: Is there a performance penalty when you add multiple Azure Blob storage bindings in an Azure Function? Or is the connection only established when you access one of those blobs? Answering this grew into a way to have Dynamic output bindings in Azure Functions. This post …

Read More “Dynamic output bindings in Azure Functions”

Visual Studio 2019 launch

Dutch VS2019 launch event

We’re hosting a VS2019 Launch Event at the Betabit The Hague office. Join us for some Visual Studio 2019 goodness! And maybe even some swag… ? Join us on April 2 for the launch of Visual Studio 2019. Learn about how Visual Studio 2019 is more productive, modern, and innovative, participate in live Q&As, and …

Read More “Dutch VS2019 launch event”

Using Triggers & Bindings in Azure Functions V2

To start things off: yes. There’s some pretty decent documentation on all the available Triggers & Bindings in Azure Functions. Like this overview page. And you can also find documentation on specific bindings, like the Service Bus Binding. Nevertheless, I wanted to add to that documentation with some simple, real-world examples using triggers & bindings. …

Read More “Using Triggers & Bindings in Azure Functions V2”

Developer goodies

So many new (.NET) goodies!

The people over at Microsoft have been working hard and have delivered a lot of stuff. That makes for a nice start after the holidays! So there’s a lot of cool stuff available to play with. I created some simple and easy to remember links for all of these goodies. Feel free to use and distribute …

Read More “So many new (.NET) goodies!”

.NET Core: not your daddy’s dotnet

We held a 2.5 hour presentation about .NET Core at the Betabit office in Rotterdam on March 29th. Where ‘we’ means my colleague Oscar van Tol and myself. We ended up having way too much content for the evening. We decided to host a hands-on workshop for those interested. At that workshop we will not only …

Read More “.NET Core: not your daddy’s dotnet”

Running Visual Studio as an administrator causes ‘Save changes to devenv.sln’ when double clicking solutions

After making sure my Visual Studio always ran as an administrator by following my own post HowTo: Have Visual Studio always run as administrator on Windows 8, I got a message if I wanted to save changes to devenv.sln each and every time I double clicked a Solution. Since the problem kept occuring after installing …

Read More “Running Visual Studio as an administrator causes ‘Save changes to devenv.sln’ when double clicking solutions”

Error: The Path ‘path’ is already mapped in workspace ‘workspace’

Just a quick little post today: I got the error “The Path ‘path’ is already mapped in workspace ‘workspace’” when I connected to a new Team Foundation Server and tried to map my workspace today. I had connected to a Team Foundation Services project a while back to get some shared code, but I already …

Read More “Error: The Path ‘path’ is already mapped in workspace ‘workspace’”

How to add Next and Previous buttons to Twitter Bootstrap tabs

Just a quickie today: when working with Twitter Bootstrap tabs, like I am in my ASP.NET MVC 4 project, you might want to add Next and Previous buttons on the tabs to create something of a Wizard. Here’sa step by step overview of how I did this: Add an ID to all the ListItem elements …

Read More “How to add Next and Previous buttons to Twitter Bootstrap tabs”

Debugging JavaScript with Visual Studio in an ASP.NET MVC 4 application

When debugging JavaScript in an ASP.NET MVC (4) application, it is not always enough to uncheck the ‘Disable script debugging’ checkboxes under ‘Tools’ – ‘Internet Options’ – ‘Advanced’ – ‘Browsing’. JavaScript inside a Razor view (a cshtml file) cannot be debugged from Visual Studio. To debug your JavaScript, move it to a separate .js file …

Read More “Debugging JavaScript with Visual Studio in an ASP.NET MVC 4 application”