This is a roadmap for learning React.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param appName string | |
@allowed(['dev', 'prod']) | |
param environment string | |
param location string | |
// This is reused between the App Service and the Slot | |
var appServiceProperties = { | |
serverFarmId: appServicePlan.id | |
httpsOnly: true | |
siteConfig: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Theory] | |
[InlineData($InlineData$)] | |
public async Task Should$DoSomething$When$Condition$($type$ $name$) | |
{ | |
$END$ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Theory] | |
[InlineData($InlineData$)] | |
public void Should$DoSomething$When$Condition$($type$ $name$) | |
{ | |
$END$ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Fact] | |
public async Task $MethodUnderTest$Should$DoSomething$When$Condition$() | |
{ | |
$END$ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Fact] | |
public void $MethodUnderTest$Should$DoSomething$When$Condition$() | |
{ | |
$END$ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// In our child component | |
<input value="@Value" oninput="@OnValueChanged" /> | |
@code { | |
[Parameter] | |
public decimal Value { get; set; } | |
[Parameter] | |
public EventCallback<decimal> ValueChanged { get; set; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# create new PR and open it | |
function pr() { | |
github_url=`git remote -v | awk '/fetch/{print $2}' | sed -Ee 's#(git@|git://)#https://#' -e 's@com:@com/@' -e 's%\.git$%%' | awk '/github/'`; | |
branch_name=`git symbolic-ref HEAD | cut -d"/" -f 3,4`; | |
main_branch=`git symbolic-ref refs/remotes/origin/HEAD | cut -d'/' -f4` | |
open_or_start='open' | |
uname=$(uname) | |
if [[ "$uname" == CYGWIN* || "$uname" == MINGW* ]] ; then | |
open_or_start='start' | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
builder.Services.AddScoped<IRegisterAccountService, RegisterAccountService>(); | |
builder.Services.AddScoped<IRazorViewToStringRenderer, RazorViewToStringRenderer>(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
result.Should().Be(2); |
NewerOlder