Skip to content

Instantly share code, notes, and snippets.

View jguadagno's full-sized avatar

Joseph Guadagno jguadagno

View GitHub Profile
@jguadagno
jguadagno / IRequestConfiguration.ts
Created October 24, 2020 19:39
MSAL.js Helper Files
export default interface IRequestConfiguration {
scopes: string[];
state?: string;
}

#.NET 5 - What is it?

We have the .NET Framework, .NET Standard, .NET Core, ASP.NET, ASP.NET Core ... do not get me started on Classic ASP or other platforms :). Where are we going with .NET? What is .NET 5? What is going to happen to these 'legacy' frameworks? Let us take a look at the past, the present, and the future of .NET. After this talk, you will have a good understanding of where Microsoft is taking the platform and where you can focus your development efforts.

@jguadagno
jguadagno / azure-pipeline.yml
Last active November 11, 2020 15:50
The Azure Pipeline Yaml for the blog post.
# Generic script to build, test, sign, and deploy NuGet packages
# Check out the post: https://www.josephguadagno.com/posts/2020-04-12-build-sign-and-deploy-nuget-packages-with-azure-pipelines for more details.
parameters:
- name: buildConfig
displayName: Build Configuration to Use
default: Debug
values:
- Debug
- Release
@jguadagno
jguadagno / gittag.bat
Created March 9, 2020 18:56
Windows Batch file for git staging, committing, pushing, and tagging. Used for Presentations
@ECHO OFF
:: echo Argument 1=%1
:: echo Argument 2=%2
if "%1"=="" GOTO MissingArg1
SET commitMessage=%1
if "%2"=="" (SET commitTag=%commitMessage%) else (SET commitTag=%2)
:: echo CommitMessage=%commitMessage%
:: echo CommitTag=%commitTag%
@jguadagno
jguadagno / gittag
Created March 9, 2020 16:33
ZSH Script for git staging, committing, pushing, and tagging. Used for Presentations
#!/bin/zsh
commitMessage=$1
commitTag=$2
#echo $commitMessage
#echo $commitTag
if [ -z "$commitMessage" ]; then
echo "syntax: gittag 'message'"
exit;
fi
if [ -z "$commitTag" ]; then
@jguadagno
jguadagno / FinalClass
Created January 13, 2019 19:22
DebuggerDisplayAttribute-FinalClass
[DebuggerDisplay("FirstName={FirstName} LastName={LastName}")]
public class Person
{
public string FirstName { get; set; }
public string MiddleName { get; set; }
public string LastName { get; set; }
public string FullName
{
get
{
@jguadagno
jguadagno / PersonClass
Last active January 13, 2019 19:25
DebuggerDisplayAttribute-PersonClass
public class Person
{
public string FirstName { get; set; }
public string MiddleName { get; set; }
public string LastName { get; set; }
public string FullName
{
get
{
return string.Format("{0} {1}{2}",
@jguadagno
jguadagno / DebuggerDisplayAttribute
Created January 13, 2019 19:18
DebuggerDisplayAttribute
[DebuggerDisplay("FirstName={FirstName} LastName={LastName}")]
@jguadagno
jguadagno / DebuggerDisplayAttribute
Created January 13, 2019 19:10
DebuggerDisplay Attribute
[DebuggerDisplay("FirstName={FirstName} LastName={LastName}")]
@jguadagno
jguadagno / DataRepeater
Created January 13, 2019 18:59
ASP.NET DataRepeater ItemTemplate - DataRepeater
<asp:Repeater runat="server" ID="DateRepeater" DataSourceID="EventDatesDataSource" OnItemDataBound="DateRepeaterOnItemDataBound">
<HeaderTemplate>
<ul data-role="listview" data-inset="true" data-theme="d" data-filter="true">
</HeaderTemplate>
<ItemTemplate>
<li data-role="list-divider">
<%# Container.DataItem %>
<asp:Label runat="server" ID="EventCount" class="ui-li-count"></asp:Label>
</li>
<asp:Repeater runat="server" ID="EventRepeater" OnItemDataBound="EventRepeaterOnItemDataBound">