bitScry - Blog

Eating all the data

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
  • Adding a Sonoff Zigbee Dongle Plus P Router to Zigbee2MQTT
  • Configuring Raspberry Pi 5 with NVME Hat
  • Pass Through an iGPU to Frigate from Proxmox
  • Creating a Frigate VM on Proxmox
  • Enable Remote Root SSH Login
Tag Cloud

.NET .NET Core AAD API appsettings.json ASP.NET Core Authentication Authorization Azure Azure Active Directory Azure Function Azure Storage Blob Bootstrap C# Cloud Storage Console Application CSS CSV DataTable Dependency Injection Dictionary Docker Entity Framework Enum Extension HTML Image JavaScript jQuery JSON List MVC Newtonsoft Raspberry Pi RestSharp Serilog SQL Stored Procedure Stream Table Table Storage Web App Web Application WordPress

Copyright
Creative Commons License Any code within by is licensed under a Creative Commons Attribution 4.0 International License.
Programming

X-FRAME-OPTIONS Response Header

I hadn’t previously realised this but MVC adds an X-FRAME-OPTIONS: SAMEORIGIN header to site page responses as part of a security measure to prevent sites running in iframes. These can be removed in ASP.NET 5 applications by modifying the relevant Read more…

By Shinigami, 8 years ago
Programming

ASP.NET 5 Middleware

The ability to create your own middleware comes in pretty handy when creating MVC 6 APIs as it allows the inspection and processing of the requests/responses flowing into and out of the application. A few of the most useful ones Read more…

By Shinigami, 8 years ago
Programming

UK Postcode RegEx

ed to validate UK postcodes for a site I was building, after a bit of hunting around this seemed to be the best one that I could find, hopefully this will save me some Googling in future!

By Shinigami, 8 years ago
Programming

Tag helpers in ASP.NET

Tag helpers are a new feature in MVC 6 and are similar to the old style HTML helper methods though they have a more HTML like syntax. There’s plenty of good guides about how to use them around so I’m Read more…

By Shinigami, 8 years ago
Programming

Fixing “dotnet-projectmodel-server” Error

After creating a solution on one machine I then tried to open it on another and got the following error. If you ignore this error and then try to build the project an error saying “MSB1009 Project file does not Read more…

By Shinigami, 8 years ago
Programming

Windows IoT Default Application

How to set the default application in Windows IoT on a Raspberry Pi I’ve recently finished a project which turns my Lifx lightbulbs on and off through calls to their API from a Raspberry Pi running Windows IoT. This deployed Read more…

By Shinigami, 8 years ago
Programming

NuGet Package Creation

How to create a NuGet package from a .NET Core class library I’ve built a few class libraries recently but in order to use them in other projects they need to be created as a NuGet package and uploaded. The Read more…

By Shinigami, 8 years ago
Programming

Popup Message Box Form

How to display a popup form from a button/link click in a webpage I was trying to figure out how to get a popup form to appear from a button click in a table, with the form making use of Read more…

By Shinigami, 8 years ago
Programming

Live Chart.js Charts

I wanted to use Chart.js charts in my ASP.NET Core projects and as there didn’t seem to be anything existing that fit the bill decided to do it myself. Chart Creation There seems to be a few projects around for Read more…

By Shinigami, 8 years ago
Programming

Enabling HTTPS Rewrites

When setting up a website, even if it’s just a generic blog like this one, it’s good to encrypt traffic to and from it using SSL. Obtaining certificates If you’re hosting a site on it’s own custom domain name rather Read more…

By Shinigami, 8 years ago

Posts pagination

Previous 1 … 19 20 21 Next
  • About
  • Blog
  • Contact
  • Create your website with blocks
  • Sample Page
  • Sample Page
Hestia | Developed by ThemeIsle