Skip to content

Instantly share code, notes, and snippets.

View JaimeStill's full-sized avatar
👾

Jaime Still JaimeStill

👾
View GitHub Profile
@JaimeStill
JaimeStill / magick-books.md
Last active January 29, 2026 10:47
Damien Echols' beginners booklist
@JaimeStill
JaimeStill / README.md
Last active October 21, 2025 11:59
ASP.NET Core Active Directory Integration

Active Directory Authentication

This will provide an example of integrating Active Directory authentication in an ASP.NET Core app.

Note, you'll need to be running on a Windows domain with Visual Studio debugging in IIS Express for this to work.

Setup

In launchSettings.json, you'll want to modify iisSettings by turning on windowsAuthentication:

@JaimeStill
JaimeStill / main.css
Last active August 15, 2025 12:53
CSS variant for the Let's Go web book adding dark mode support and using system fonts.
:root {
/* Text Width */
--text-width: 860px;
/* Typography */
--main-font: system-ui, sans-serif;
--code-font:
ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas,
"DejaVu Sans Mono", monospace;
@JaimeStill
JaimeStill / bootstrap-intro.md
Last active June 1, 2025 10:35
Introductory Tutorial for Working with Bootstrap
@JaimeStill
JaimeStill / AppDbContext.cs
Last active March 8, 2025 19:58
ASP.NET Core Active Directory Identity Integration Middleware
// User entity class added for convenience. All other entities removed for clarity
namespace App.Data
{
public class AppDbContext : DbContext
{
public AppDbContext(DbContextOptions<AppDbContext> options) : base(options) { }
public DbSet<User> Users { get; set; }
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
@JaimeStill
JaimeStill / ffmpeg.md
Last active January 20, 2025 09:37
Globally install ffmpeg and convert video to gif
@JaimeStill
JaimeStill / readme.md
Last active August 23, 2024 16:07
FormData Uploads in ASP.NET Core and Angular

Walkthrough Uploading FormData with Angular

For an example application that integrates this process, see my FullstackOverview repo on GitHub. The code in this example is taken directly from this app.

upload-demo

File Upload Component

This component allows you have a custom styled file upload element.

@JaimeStill
JaimeStill / UploadService.cs
Created August 2, 2024 20:32
Fleshed out UploadService
using System.Text.RegularExpressions;
using Core.Data;
using Core.Models;
using Core.Services.Settings;
using Microsoft.AspNetCore.Http;
using Microsoft.EntityFrameworkCore;
using Platform.Messages;
namespace Core.Services;
public class UploadService(CoreContext db, UploadPathSettings paths)