Category: .Net

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”

How To: Call a generic method with a runtime type

Problem: Developing a generic class that maps datasets, datatables and datarows from a legacy system to my domain model, I ran into an issue. I wanted to call a generic method with a runtime type. Lets say the method looked like this: public string DoSomething<T>(string param). Because I use reflection to iterate properties on a …

Read More “How To: Call a generic method with a runtime type”

How To: Create an ActionLink with a Twitter Bootstrap icon in MVC4

Twitter Bootstrap is a… “Sleek, intuitive, and powerful front-end framework for faster and easier web development.” One of the nice things in Bootstrap is you can use icons from Glyphicons. To use these, you can simply use this markup <i class=”icon-fire”></i> get a nice fire icon (). Translating this into an ActionLink styled as a …

Read More “How To: Create an ActionLink with a Twitter Bootstrap icon in MVC4”

TIP: “Paste XML as Classes” in Visual Studio 2012

In the past, when you had some XML document that you wanted to translate into classes we had to create / generate a schema based on the XML file. Next, we had to generate a class based on the schema with an external tool. Not all too user friendly and somewhat time consuming. In Visual …

Read More “TIP: “Paste XML as Classes” in Visual Studio 2012”

Unable to access the IIS metabase

I opened a solution in Visual Studio 2012 on my laptop running Windows 8, when I was presented with the error “The Web Application Project SomeWebProject is configured to use IIS.  Unable to access the IIS metabase. You do not have sufficient privilege to access IIS web sites on your machine.” The user I was …

Read More “Unable to access the IIS metabase”

Ajax Control Toolkit Calendar doesn’t close when clicking outside the calendar

Just a quick one: if you have a textbox with a Calendar (extender) from the Ajax Control Toolkit and an associated PopupButtonID which is an image, the calendar won’t close when you click outside the popup. Use an input type=”image”or an ImageButton to solve this problem. Hope this helps.