In this blog post, I would walk you through publishing a sub directory of your Github repository to the Azure. The first step would be to head over to your desired Resource Group in Azure Portal and Create a Web App Resource. For sake of demonstration, we would be publishing a web portal build using … Continue reading Deploy Github Sub Directory To Azure
Author: Anu Viswan
CRUD Operations with Azure Table Storage in an Azure Function – C
In this series of byte sized tutorials, we will create an Azure Function for Crud Operations on an Azure Storage Table. For the demonstration, we will stick a basic web function, which would enable us to do the CRUD operations for a TODO table. The reason to pick Azure Storage table is primarly it is … Continue reading CRUD Operations with Azure Table Storage in an Azure Function – C
Custom Traits in xUnit
One of the implicit key characterstics which define the readability of any Unit Test cases is its ability to be grouped depending on multiple factors. NUnit uses CategoryAttribute, while MSTest uses the TestCategoryAttribute for grouping tests. With xUnit, you could make use the TraitAttribute to achieve this. However, this is not short of problems of its own. The most inconvenient part of … Continue reading Custom Traits in xUnit
Roslyn Analyzer : Analyzing Comments
One of the things one might encounter quite early while writing a Roslyn Code analyzer for comments is it is slightly different from detection of Syntax Nodes. In fact, it is not a node at all. Syntax nodes represent syntactic constructs, for example declaration, statements, clauses and expressions. A Comment do not quite fall in the same category. … Continue reading Roslyn Analyzer : Analyzing Comments
WPF Validations using DataAnnotation and INotifyDataErrorInfo
DataAnnotations and INotifyDataErrorInfo provides an easy and cleaner way to implement validations in WPF ViewModels. Unlike IDataErrorInfo, INotifyDataErrorInfo allows you to raise multiple errors (there are many more features which makes it more interesting than IDataErrorInfo including making it possible to use asynchronous validations). This being a hands-on demonstration, we will keep the theoritical part … Continue reading WPF Validations using DataAnnotation and INotifyDataErrorInfo
Why Initialize Collection Size
In possibly every code base you might have seen, usage of Collections would have been a common sight. The introduction of Generic Collections in early stages of evolutin of language has made is all the more favourite of developers comparing to the non-generic cousins that existed before. One of the most common patterns seen in … Continue reading Why Initialize Collection Size
MahApps HamburgerMenu and Caliburn Micro
MahApps is probably one of the most used UI library among WPF developers, with a galaxy of great controls. Despite that, recently I was surprised to see lack of proper example for Hamburger Menu control, particulary MVVM based. I was also more keen to know how to make best use of capabilities of Caliburn Micro along the … Continue reading MahApps HamburgerMenu and Caliburn Micro
Bootstrap 4 Theming – Changing Primary Color
Bootstrap allows you to customize the existing definition greatly. With Bootstrap 4, the way we customize the theming has changed a bit, and that's exactly what I would like to explain here - step by step. Step 1: Get the Bootstrap source Of course you need to get the bootstrap source to customize it. You … Continue reading Bootstrap 4 Theming – Changing Primary Color
Axios Interceptors and Exception Handling
Handling exceptions globally and gracefully is essential part of any application. This reduces the scattered try-catch cases and enable to handle everything from one point. In this article, we will explore how to implement global exception handling when making Api calls in an SPA design. We will use VueJs for demonstration along with Axios packages to assist the Http calls. Axios … Continue reading Axios Interceptors and Exception Handling
Evil Code #13 : Tuple Deconstruction Assignment
It is not often that I end up writing two back to back posts on Evil Code series, and that too on the same topic. But like I said in the previous post, Tuples are really an interesting topic (if you are reading Jon Skeet's book, then everything is interesting) In this post, we will explore a … Continue reading Evil Code #13 : Tuple Deconstruction Assignment