Tim Murphy's .NET Software Architecture Blog

Azure

Query Application Insights REST API To Create Custom Notifications

Application Insights is one of those tools that has been around for a number of years now, but is finally getting understood as more companies move to Azure as a cloud solution. It has become an amazing tool for monitoring the performance of your application, but it can also work as a general logging platform as I have posted before. Now that you are capturing all this information how can you leverage it? Going to the Azure portal whenever you want an answer is time consuming. It would be great if ......

Logging To Application Insights In Azure Functions

In my last post I covered logging in Azure Functions using TraceWriter and log4net. Both of these work, but Application Insights rolls all your monitoring into one solution, from metrics to tracking messages. I have also heard a rumor that in the near future this will be an integrated part of Azure Functions. Given these factors it seem wise to start give it a closer look. So how do you take advantage of them right now? If you go to GitHub there is a sample written by Christopher Anderson, but let ......

Implementing Logging In Azure Functions

Logging is essential to the support of any piece of code. In this post I will cover two approaches to logging in Azure Functions: TraceWriter and log4net. TraceWriter The TraceWriter that is available out of the box with Azure Functions is a good starting point. Unfortunately it is short lived and only 1000 messages are kept at a maximum and at most they are held in file form for two days. That being said, I would not skip using the TraceWriter. Your function will have a TraceWriter object passed ......

Building Azure Functions: Part 3 – Coding Concerns

In this third part of my series on Azure Function development I will cover a number of development concepts and concerns. These are just some of the basics. You can look for more posts coming in the future that will cover specific topics in more detail. General Development One of the first things you will have to get used to is developing in a very stateless manner. Any other .NET application type has a class at its base. Functions, on the other hand, are just what they say, a method that runs within ......

Building Azure Functions: Part 2–Settings And References

This is the second post in a series on building Azure Functions. In this post I’ll continue by describing how to add settings to your function and reference different assemblies to give you more capabilities. Settings Functions do not have configuration files so you must add app settings and connection strings through the settings page. The settings are maintained at an Function App level and not individual functions. While this allows you to share common configuration values it means that if your ......

Building Azure Functions: Part 1–Creating and Binding

The latest buzz word is serverless applications. Azure Functions are Microsoft’s offering in this space. As with most products that are new on the cloud Azure Functions are still evolving and therefore can be challenging to develop. Documentation is still being worked on at the time I am writing this so here are some things that I have learned while implementing them. There is a lot to cover here so I am going to break this topic into a few posts: Creating and Binding Settings and References Coding ......

Cloud Battles: Azure vs AWS–The Video

Earlier this month Norm Murrin and I gave a talk at the Chicago Coder Conference. We learned a lot about how the offerings of each company compares during our preparation. In the end we come to the conclusion that there is no clear winner except those of us who are leveraging the resources. Check out this video posted by the conference do get the blow-by-blow details ......

Application Integration: Azure Functions Vs WebJobs

[Updated]UI development gets all the attention, but application integration is where the real work is done. When it comes to application integration in the Azure ecosystem you better learn how Functions and WebJobs are developed and under what conditions you should use each. In this post I will try to answer those questions. For me it is important that a solutions is reasonably maintainable, deployable through environments and can be easily managed under source control. Both products are built on ......

Increase Cloud Application Responsiveness With Azure Queues and WebJobs

This post is based on the presentation I gave at Cloud Saturday Chicago. In a mobile first world services need to be able to process high volumes of traffic as quickly as possible. With the certification and deployment process which native mobile apps have to go through being long and sometimes uncertain, we find ourselves looking for ways to make improvements without changing the device code. The flexibility of Azure and other cloud platforms gives developers the ability to easily implement changes ......

Do You Know How Much Your Azure VM Costs?

You go through the Azure price calculator and figure out everything you think are going to need for your Azure VM and how much each resource will cost you on a monthly basis. You then pick a template from the marketplace and implement it assuming you know what services are being stood up. Do you really know? What you may not realize is that if you didn’t go through the pricing calculator thuroughly you may be in for some surprises on your bill. Not only do you get charged for the hardware that you ......

Azure Sketchnote Collection: Part 2

This is the second in a series of sketchnotes documenting different aspects of Azure and related technologies. Hopefully you find a few gems that lead to a better understanding of Azure. Why Azure Azure For Developers Azure Redis Cache Power BI Hybrid Cloud ......

Azure Sketchnote Collection: Pt 1

I recently started sketchnoting to better understand topics with as many new technologies and languages come out every day. This post is simply a collection of Azure related sketchnotes that I created. It is meant as a quick overview of some of the key components and concepts around Azure. I’ll post more in a future post. I hope at least a few people find them helpful and I invite feedback. AzureCon 2015 Containers DocumentDB Azure Security Center Azure Machine Learning ......

Azure Application Component Deployment

One of the aspects of Azure development that I have found the least amount of information written about is the deployment of your application components. This is especially the case when it comes to ALM (Application Lifecycle Management) approaches are considered. As with most things you get the WSYWG demo, but not how things should actually be done in an enterprise environment. This post will try to cover as many deployment approaches as possible. While it won’t be comprehensive it will give you ......

Learning The Azure Cloud

The cloud is everywhere around us and if you are building systems in the Microsoft space the cloud means Azure. So how do you get started. To my way of thinking you need to understand the front end, batch processing and storage offerings along with the toolset. This post will outline some of the resources that I have found are helpful to getting started. Trial Azure Subscription The first thing anyone who is interested in Azure should do is sign-up for a free trial subscription. If you are lucky ......

Azure Utilities You Should Have In Your Toolbox

Developing applications that leverage Azure resources can be challenging. The Azure portal give you limited view into your account resources. It shows you the basic structure of you storage accounts, but it doesn’t let you upload and download blobs. When it comes to your Azure SQL DB about all you have is the ability create and import a database. So what are the best tools to be productive? The first tool that you might want to look at is the Azure Storage Explorer. It allows you to view what is ......

Creating Azure WebJobs With The WebJobs SDK

The move to the cloud of many applications means that we have to learn new approaches to solving old problems. One common problem that most developers face at one point or another is background processing for web sites. In the past the solution would have often been to build a Windows Service and install it on a machine. Of course if you are using Azure Web Sites to host you application you do not have access to install services. Depending on what you need to accomplish WebJobs are the solution. ......