bitScry

  • Home
  • Blog
  • Contact
  • GitHub

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
  • Inspecting Data in SQL Tables 4th December 2020
  • RestSharp Response Character Encoding 24th September 2020
  • RestSharp AWS S3 Authentication 18th September 2020
  • Grouping Azure Table Storage Entities 17th September 2020
  • Best Practices for Using Azure SDK with ASP.NET Core 9th September 2020
Tag Cloud
.NET .NET Core API appsettings.json ASP.NET Core Authentication Authorization Azure Azure Active Directory Azure AD Azure Function Azure Storage Blob Bootstrap C# Console Application CSS CSV DataTable Dependency Injection Dictionary Enum Extension GZip HTML Image JavaScript jQuery JSON List Middleware MVC MVC 6 Random Serilog SFTP SQL Stored Procedure Stream String Table Table Storage Tag Helper Web Application WordPress
Reading List
  • Build a Wi-Fi Scanner
  • IoT Weather Station
  • User accounts made easy with Azure
  • Install macOS High Sierra in VirtualBox
Programming

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, 2 years2 years 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, 2 years2 years ago
Programming

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, 2 years2 years ago
Programming

Azure AD – Request Too Long

I’ve been getting to grips with Azure AD authentication an part of that has involved retrieving access codes for Power BI at initial login to an authenticated web application. When I finally managed to get this working I then started getting the following error. Bad Request – Request Too Long Read more…

By Shinigami, 2 years2 years ago
Programming

Empty Sessions in Azure Web Applications

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 Read more…

By Shinigami, 2 years2 years ago
Programming

Azure Web App Deployment ERROR_FILE_IN_USE

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 Read more…

By Shinigami, 3 years ago
Programming

Azure Active Directory Authentication in Web Applications

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 Read more…

By Shinigami, 3 years2 years ago
Programming

ASP.NET Core Runtime Target Error

When upgrading NuGet packages in an ASP.NET Core project I get a 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 Read more…

By Shinigami, 4 years4 years ago
Hestia | Developed by ThemeIsle