Skip to content
Papayawhip Blog
A place for code snippets.
Home
Home
Code Snippet
Tag:
Code Snippet
Serilog manual / automatic logging to file in .net core 6
admin
February 7, 2023
.NET Core 6
C#
Code Snippet
Serilog
zero comment
Utilizing Serilog in .net core 6 to automatically log events, as well as manual logging if needed. I will...
Read More
C# slope function
admin
November 16, 2021
C#
Code Snippet
zero comment
Pretty simple stuff here. Replicating rise over run in C#. Then grab this result and plug in for ‘m’...
Read More
Vue – very basic props example. Passing data to other components.
admin
August 21, 2021
Code Snippet
Props
Vue
zero comment
Props are really straight forward. Here is the most basic example…. I assume you have a running project, or...
Read More
Dropdown and multi select dropdown in C# razor views
admin
June 21, 2021
C#
Code Snippet
MVC
Razor
zero comment
I needed to change a single select dropdown to a multi select. It was easier than I thought, essentially...
Read More
Sql Server bulk upload flat file
admin
May 14, 2021
Code Snippet
SQL Server
zero comment
In every company I have been with, there has always been a legacy app (or sometimes new) that needs...
Read More
Using Vue with Highcharts and Axios
admin
April 30, 2021
Axios
Code Snippet
Highcharts
Vue
2 comments
I looked around online and couldn’t find a good documentation about using Highcharts in Vue with data coming from...
Read More
How to search all objects in Microsoft SQL Server
admin
December 10, 2020
Code Snippet
SQL Server
zero comment
I use this piece of SQL often. Just comment out the parts in the “WHERE” clause you don’t need....
Read More