Skip to content

Commit 3615dcc

Browse files
authored
Blazor common sample updates (dotnet#12848)
1 parent 2886a8f commit 3615dcc

File tree

3 files changed

+21
-9
lines changed

3 files changed

+21
-9
lines changed
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
<Router AppAssembly="typeof(Program).Assembly" />
1+
<Router AppAssembly="typeof(Program).Assembly">
2+
<NotFoundContent>
3+
<p>Sorry, there's nothing at this address.</p>
4+
</NotFoundContent>
5+
</Router>
Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
1-
<Project Sdk="Microsoft.NET.Sdk.Web">
1+
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
44
<TargetFramework>netstandard2.0</TargetFramework>
5-
<RestoreAdditionalProjectSources>
6-
https://dotnet.myget.org/F/aspnetcore-dev/api/v3/index.json;
7-
https://dotnet.myget.org/F/blazor-dev/api/v3/index.json;
8-
</RestoreAdditionalProjectSources>
95
<LangVersion>7.3</LangVersion>
106
<RazorLangVersion>3.0</RazorLangVersion>
117
</PropertyGroup>
128

139
<ItemGroup>
14-
<PackageReference Include="Microsoft.AspNetCore.Blazor" Version="3.0.0-preview4-19216-03" />
15-
<PackageReference Include="Microsoft.AspNetCore.Blazor.Build" Version="3.0.0-preview4-19216-03" PrivateAssets="all" />
16-
<PackageReference Include="Microsoft.AspNetCore.Blazor.DevServer" Version="3.0.0-preview4-19216-03" PrivateAssets="all" />
10+
<PackageReference Include="Microsoft.AspNetCore.Blazor" Version="3.0.0-preview6.19307.2" />
11+
<PackageReference Include="Microsoft.AspNetCore.Blazor.Build" Version="3.0.0-preview6.19307.2" PrivateAssets="all" />
12+
<PackageReference Include="Microsoft.AspNetCore.Blazor.DevServer" Version="3.0.0-preview6.19307.2" PrivateAssets="all" />
1713
</ItemGroup>
1814

1915
</Project>

aspnetcore/blazor/common/samples/3.x/BlazorSample/wwwroot/css/site.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,18 @@ app {
8484
background-color: rgba(255, 255, 255, 0.1);
8585
}
8686

87+
.valid.modified:not([type=checkbox]) {
88+
outline: 1px solid #26b050;
89+
}
90+
91+
.invalid {
92+
outline: 1px solid red;
93+
}
94+
95+
.validation-message {
96+
color: red;
97+
}
98+
8799
.panel {
88100
margin-bottom: 20px;
89101
border: 1px solid transparent;

0 commit comments

Comments
 (0)