FTP deploy from Azure DevOps article image

Here follows a guide of how to setup Azure DevOps (former VSTS) to deploy from a Git repository to a web server via FTP. Demo Project Prep I´ve prepared a Git demo project in ADO containing HTML and CSS that we are going to deploy. Pipeline Head over to the Build and release section to create […]

Fast image resizing using WPF rendering support article image

Sharing is caring I was cleaning up among old projects today and stumble on some image manipulation stuffs. This was used in a web application to scale images in real-time on the server, storing them on disk and serve them to the web browser by calling a url. Instead of using the Windows GDI+, the […]

NoSQL databases gives an interesting point of view in modern application design. There are different kinds of them and one common characteristic is that they are optimized for fast data access. For masterdata a normal choice would be a relations database, but will in some cases not perform well especially when it comes to data […]

Securing Media In Umbraco article image

This is about securing files in the media section in Umbraco CMS (v7.5.x). There are more than one approach to accomplish this. In this article we will take advantage of the URL routing in ASP.NET MVC to route media to a custom controller. In short we will: Create a member group and a member that […]

Here follows a code snippet that will verify if an url exists. It creates a web request using HEAD and tries to get its response. HEAD as request method will boost performance of the request, since no content is downloaded. In some cases the remote server exists but doesn´t allow HEAD as request method and […]

I was recently having some issues with a webjob in Azure. It was calling a Web API 2 endpoint (also running on Azure). But the process took to long and server shuts down the connection before it finished. Well it actually didn’t take that much time; approximately 4 minutes. After some digging it seemed that Azure […]

Here´s a little sunday PoC I wanted to share with you: remote control a presentation using HTML5 web sockets. Ingredients: Swipe JavaScript touch slider. Microsoft.WebSockets NuGet package. Even if it´s not actively developed and only works with Windows 8 or higher. Some lines of vanilla JavaScript and C# 😉 Client-side The client (index.html) is just some […]

Weather Section article image

A few weeks ago I was contacted by Andrea Ballerino, an Italian web designer, about the JavaScript widget Show Me The Weather. He has been working with a new website for a kitesurfing school, in Prea Beach in Brazil, called Play Kite School. Now he´s using it on the website showing weather conditions and wind force. I really like the […]

Here’s a little code snippet that will handle caching of objects using http runtime cache. If object exists in cache it will be returned. If not it will be reloaded using the supplied method, inserted into cache and returned back. Usage:

Oerinfo article image

A new version of Flight Info has been released, now called Oerinfo (OER is the airport code for Örnsköldsvik Airport). It has been rewritten from the ground-up. Here follows short information about the new version. Check it out! Less is more The layout has been cleaned up and only the most important information are shown. The rest […]