Categories
Archives
- September 2019
- May 2019
- March 2019
- February 2019
- January 2019
- April 2018
- February 2018
- August 2011
- July 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- October 2008
Update: Reverse Engineering Yendorian Tales: The Tyrants of Thaine / Book I: Chapter 2
I’m curious to see if anybody would be interested if I were to set up a Github repository with everything I have so far ported to C# potentially using Unity for the game engine? Let me know if anybody would be interested.
Blazor (Client Side) – FileNotFoundException: Could not locate application assembly at expected location
Just a very quick one with Preview5. I encountered this gotcha whereby the project’s name in the solution explorer doesn’t match that of the folder name. I’d had a change of heart on the project name but of course the folder on disk doesn’t change automatically. Once I’d renamed the folder and then proceeded to […]
Blazor (client-side) application – CI/CD – Deploy from GitLab to Netlify
Using GitLab to host both the source control and perform CI/CD, we will take a blazor project and build it and then proceed to deploy it on Netlify. This article presumes that you have some familiarity with the following: GitLab for source control (See here) GitLab for CI/CD (See here) Netlify CLI for deployment (See […]
Quake II RTX (Ray Tracing) Demo
Now we’re talking! 😍
Entity Framework – Debugging a Seed method from the Package Manager Console
On the odd occasion you wish to debug Seed method code which has been executed from the Package Manager Console using the Update-Database command, a quick and dirty method is to add the following code: Yes it’s dirty! It will however fire up a new Visual Studio debug window and allow you to see what’s […]
ASP.NET Core website in IIS – “HTTP Error 500.19” error
When running an ASP.NET Core website in IIS, you may experience the following error: “HTTP Error 500.19 – Internal Server Error” (Code: 0x8007000d) The following article describes the error as being “This problem occurs because the ApplicationHost.config file or the Web.config file contains a malformed XML element.”: This comes down to the presence of the […]
Http Range Requests in ASP.NET Core
Here’s a small code snippet to use Http Range Requests with ASP.NET Core butchered from this now outdated MSDN article: using System.IO; using System.Text; using Microsoft.AspNetCore.Mvc; namespace WebApiRangeTest.Controllers { [Route(“api/[controller]”)] [ApiController] public class RangeController : ControllerBase { private static readonly byte[] _content = Encoding.UTF8.GetBytes(“abcdefghijklmnopqrstuvwxyz”); public IActionResult Get() { MemoryStream stream = new MemoryStream(_content); if (stream == null) […]
How to customise Visual Studio’s “Create and initialize field” to add the underscore
Step 1 – Starting with the Tools menu item from the top navigation menu, navigate through the menus as follows: Tools > Options > Text Editor > C# > Code Style > Naming Step 2 – Click the green Plus icon to open the following dialogue box: Step 3 – Now add the following: Step […]
Test Explorer hangs in Visual Studio
Restarting Visual Studio usually works but instead try using taskkill (Read more: [1][2]) to end the offending process: taskkill.exe /IM vstest.console.exe /F
How to set up ReactJS with TypeScript and Webpack 4 with webpack-dev-server (for hot reloading)
The tutorial for React and Webpack at typescriptlang.org is one of the better tutorials out there, although with the introduction of Webpack 4 and wanting the hot reload support, I sought to seek out a more modern tutorial. I found the tutorial at AppDividend but still wanted the familiar experience of the one at typescriptlang.org. https://www.typescriptlang.org/docs/handbook/react-&-webpack.html https://appdividend.com/2018/03/18/how-to-setup-typescript-with-webpack-4/ […]