Skip to content

Repetti Net

Repetti Net

  • Home
    • Home
    • .Net Core

Unit Testing DateTime.Now

Brian Repetti Feb 27, 2023 0 Comments

Here is a handy class that will help with unit testing any references to DateTime.Now. public static class SystemTime{ public static Func<DateTime> Now = () => DateTime.Now(); public static Func<DateTime>…

Basic YARP config to Reverse Proxy Asp.Net Web Forms

Brian Repetti Jan 31, 2023 0 Comments

Add a new .net core project to your existing solution. Add a NuGet package reference to Yarp.ReverseProxy. <ItemGroup> <PackageReference Include="Yarp.ReverseProxy" /> </ItemGroup> Configure the startup middleware by adding the following…

Running .Net Core Websites on Linux

Brian Repetti Jan 29, 2023 0 Comments

Configure Nginx Reverse Proxy To configure Nginx to act as a reverse proxy you will need to edit the default site config. sudo nano /etc/nginx/sites-available/default This is a boilerplate config…

Publishing Content to Nginx

Brian Repetti Jan 28, 2023 0 Comments

Moving content from Windows to Linux/Nginx is simple and quick with the use of SFTP. I used WinSCP to connect to Ubuntu and transfer files to be hosted by Nginx.…

Recent Posts

  • WordPress on Flux
  • Unit Testing DateTime.Now
  • Configure Unraid VM for a Ubuntu Server Install
  • Flux Node Useful Commands
  • Basic YARP config to Reverse Proxy Asp.Net Web Forms

Recent Comments

    Archives

    • February 2023
    • January 2023

    Categories

    • Dev
    • Networking
    • WEB3

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org

    You Missed

    WEB3

    WordPress on Flux

    Dev

    Unit Testing DateTime.Now

    Networking

    Configure Unraid VM for a Ubuntu Server Install

    WEB3

    Flux Node Useful Commands

    Repetti Net

    Copyright © All rights reserved | Blogus by Themeansar.