Azure, DevOps and .NET articles

Empowering developers since 2015. Real articles, real insights.

DotNet61 Azure45 DevOps35 JavaScript23 VisualStudio17 CSS12 Jekyll8 Git8 All topics →

    Use the Fetch API to download files with their original filename

    The Fetch API provides a handy way for downloading resources from the internet via JavaScript code. In my case I used it to download Excel sheets from the back-end of a web application. Let us check the code together and clarify things with the help of comments.

    Read the complete article

    Remove files from a Git pull request but keep local changes

    The scenario described on the title of the article happens pretty often. You committed files, pushed them to a feature branch and created a new pull request to merge them to master. However, maybe you accidentally pushed modified files, for which work is still in progress and you do not want them on master yet. So now you want to remove specific files from the pull request but keep the changes you made in these files locally. How?

    Read the complete article

    Fix the System.Threading.Task to XXX conversion error in C#

    A quick article this time about an error message in C# when dealing with asynchronous code calls.

    Read the complete article

    The way to have two or more Jekyll blogs in your Git Pages website

    I wanted to split my blog into two separate blogs, one for my technology articles and one for everyday tips and tricks, so I searched for a way to do that on my Jekyll website which is hosted on a Git Page on GitHub.

    Unfortunately Git Pages do not support the version 2.0 of the jekyll paginate plugin which would allow me to split the posts into Categories and iterate on each blog over a specific category.

    Here are the steps I followed to solve this problem:

    Read the complete article

    Why is my HiddenFor property having an empty value in the MVC4 view

    When dealing with ASP.NET MVC you might use hidden fields to pass values of model properties from the view to an action of a controller. So you will find yourself writing something like that in your view:

    Read the complete article