Code Collaboration has a new name - Visual Studio Live Share

It's late(ish) at night, stuck in my hotel due to the Monster Storm Emma that's turned the UK into an icicle and I'm watching TED talks on my laptop when my good friend Brady Gaster, fellow geek/developer/etc, pings me on Skype with a question. He's got an ASP.NET Core question which I may be able to answer. At least that's what he thinks! So while he's getting ready to ask away I fire open StackOverflow, Google/Bing and in hope that I will be able to figure out the answer before he …[read more]

Keeping your Azure Search Index up-to-date with Azure Functions

Azure Search can work really well with Azure Blob Storage. It can automatically index and analyse documents uploaded to a Storage Container to make it easy for you to expose the data in your application. When working with Blob data, Azure Search is designed to incrementally add new documents automatically. However, where it gets really tricky is when blobs are deleted from storage. The index doesn't get updated automatically, so the data ends up in a stale state. There's a way to use a soft delete approach to indicate to an Azure Search data source that a document/blob should …[read more]

Restrict public access to your Azure Web Apps with the IPSecurityRestrictions option

This is a little unknown gem that I've used a few times as I help customers secure access to their Azure Web Apps.. Traditionally, if one wants to restrict access to a website running on a VM (i.e IaaS) then they can make use of Firewalls to ensure that everything goes through a single endpoint and access is restricted. However, as we move to the cloud and further up the stack (PaaS or FaaS) we give lose some of that tight control for the benefit of using a managed service! But what if you wanted to run your website …[read more]

Debugging C# (.NET Core) Azure Functions with VS Code

The v2 release of the Azure Function Core tools (i.e. the CLI) has been out for a while now. It may still be in preview while the team is finalizing the stability and performance of the tool, but it's really exciting because we now have a cross-platform tool based on .NET Core. You can download the latest Function Core tools from npm using the following command: npm i -g [email protected] With the latest release of the Core tool you can develop, debug and run Azure Functions locally on any platform. V2 also introduced support for .NET Core class …[read more]

Combining data from multiple sources in Azure Search

Azure Search is a great service that allows developers to add search functionality in their applications. I blogged about how to index and query data from SQL Server using Azure Search before. Today, I want to talk about a more advanced scenario and one that could be more common than you think. By default, every Search index is designed to pull data from one source. The source can be a SQL Database, a blob storage or Azure Table Storage. However, there are valid scenarios where you may want to combined data from multiple sources in the same search index. There …[read more]