Bootstrap Fixed Page Footer
There’s a Bootstrap example for a sticky footer that appears at the bottom of the screen even if there is not enough content to take up the rest of the screen height, however the problem with this (for me at Read more…
There’s a Bootstrap example for a sticky footer that appears at the bottom of the screen even if there is not enough content to take up the rest of the screen height, however the problem with this (for me at Read more…
Previously I’ve used Azure AD to authenticate web application users as well as to retrieve authentication tokens for accessing Azure resources but I hadn’t tried retrieving tokens during the initial login before. It turns out that this was much trickier Read more…
As part of a recent project I needed to embed a Power BI Dashboard in a webpage, in order to authenticate access to this dashboard Azure AD authentication was used, this directs the user to the standard Microsoft login and Read more…
Session and TempData variables can be used in MVC controllers to pass variables between actions or from actions to views, however if you want to pass complex objects through using these variables the base classes need to be extended to Read more…
If you need to upload a file to an API using a multipart form then you’re generally better off using HttpClient rather than WebClient, unfortunatly however HttpClient isn’t available in SSDT so if you need to upload a file from Read more…
If you want to host an FTP site in Azure there’s currently not a dedicated resource for this so the next best option is to spin up a virtual machine and use IIS for running the FTP site. It’s also Read more…
Although there’s probably plenty of good plugins to do this my code for getting and setting URL parameters is below. These take the URL to parse as an argument as I wanted to be able to update parameters in linked Read more…
In SSDT if you want to access the results of a SQL query in a script task you can do this by outputting the results as a full result set into a variable of type Object and then load this Read more…
The RegionInfo class in System.Globilization provides useful details about a region (country) such as the name, currency and ISO identifying codes. If you want to get a RegionInfo for every available country then you can use the following code which Read more…
In Azure Web Apps I’ve set up previously I’ve managed to get SSL certificates for the custom domains used by using the “Let’s Encrypt” site extension in the kudu management portal as detailed here. I’d hoped it would be as Read more…