bitScry

  • Home
  • About
  • Blog
  • Contact

Web Application

About this site

This is a blog to help me remember some of the coding challenges I’ve faced and hopefully help others out if they’re suffering the same problems.

Recent Posts
  • Killing a Process Locking Port on a Mac
  • Mocking Hangfire BackgroundClient Jobs
  • Running Shinobi CCTV on a Raspberry Pi
  • Visual Studio CoreCLR Error
  • Adding Healthchecks to a .NET Core 6 API
Tag Cloud

.NET Core AAD API ASP.NET Core Authentication Authorization Azure Azure Active Directory Azure Function Azure Storage Blob Bootstrap C# Cloud Storage Console Application CSS DataTable Dependency Injection Dictionary Entity Framework Enum Extension Google GZip HTML IP Address JavaScript jQuery JSON List MVC MVC 6 Newtonsoft RestSharp Serilog SQL SSDT Stored Procedure Stream String Table Table Storage Web App Web Application WordPress

Azure

Azure Web App In App MySQL

If you’re setting up a WordPress site in an Azure Web App then an easy option for hosting the required MySQL database is to use the MySQL in app option of the Web App rather than setting up a new MySQL server. Though it’s worth noting that this isn’t very Read more…

By Shinigami, 3 years2 April 2019 ago
Programming

Passing URL Parameters Through A Razor Page

While trying to take the URL parameters from a page view and append them to an API call from a Razor web page in an MVC web application I kept on getting the URI encoded version of the ampersand from Context.Request.QueryString rather than the raw one that’s needed to separate Read more…

By Shinigami, 4 years30 October 2018 ago
Azure

Web Application – Azure AD Single Sign On

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 than I’d expected, partially because of how abstracted away the Read more…

By Shinigami, 4 years21 September 2018 ago
Azure

Empty Sessions in Azure Web Applications

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 they are then redirected back to the desired page afterwards. Read more…

By Shinigami, 4 years13 September 2018 ago
Azure

Azure Web App Deployment ERROR_FILE_IN_USE

When publishing a .NET Core 2.0 Web App to Azure from Visual Studio 2017 the initial few deployments seem to work as expected but after a while they often start failing with the message ERROR_FILE_IN_USE. There’s a few proposed solutions for this, the initial one I tried was to increase Read more…

By Shinigami, 5 years6 February 2018 ago
Azure

Azure Active Directory Authentication in Web Applications

I’ve previously used “Individual User Accounts” authentication for authenticating users in web applications but as the management of users in the underlying SQL databases isn’t that simple it seemed that using Azure Active Directory to manage users might be a better option. The first step in the process is to Read more…

By Shinigami, 5 years13 December 2017 ago
Programming

ASP.NET Core Runtime Target Error

Whenever I create a new project in Visual Studio 2015 one of the first things I do is go and upgrade all of the included NuGet packages. When creating an ASP.NET Core Web Application one of the included NuGet packages is is “Microsoft.NETCore.App” version 1.0.1, upon upgrading this to version Read more…

By Shinigami, 6 years3 January 2017 ago
  • Facebook
  • Twitter
  • Instagram
  • Email
Hestia | Developed by ThemeIsle