Skip to content

Instantly share code, notes, and snippets.

View vibs2006's full-sized avatar

vibs2006

View GitHub Profile
@vibs2006
vibs2006 / Dockerfile_mssql
Created December 14, 2023 10:44 — forked from pbthorste/Dockerfile_mssql
Docker image with msssql 2022 with full text search enabled
# Docker image with msssql 2022 with full text search enabled
# based on work in: https://github.com/Microsoft/mssql-docker
# Base OS layer: Latest Ubuntu LTS
FROM --platform=linux/amd64 ubuntu:focal
# Install prerequistes since it is needed to get repo config for SQL server
RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get update && \
apt-get install -yq curl apt-transport-https gnupg && \
@vibs2006
vibs2006 / ASP.NET.Core.6.Startup.cs
Last active June 14, 2023 12:15
SELF HOST API with Swagger Configuration for all .NET Versions
public class Program
{
static void Main(string[] args)
{
Console.WriteLine("Starting Padauk Web API Services");
try
{
var applicationName = "Padauk.API";
var builder = WebApplication.CreateBuilder(args);
var startup = new WebHostStartup(builder.Configuration);