Skip to content

Commit

Permalink
updated the blazor
Browse files Browse the repository at this point in the history
  • Loading branch information
antosubash committed Jan 19, 2024
1 parent e713f67 commit 686c699
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 30 deletions.
6 changes: 3 additions & 3 deletions src/apps/Tasky.Blazor.Server/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"ASPNETCORE_ENVIRONMENT": "Development"
},
"dotnetRunMessages": "true",
"applicationUrl": "https://localhost:44336/"
"applicationUrl": "https://localhost:5001/"
},
"Docker": {
"commandName": "Docker",
Expand All @@ -28,8 +28,8 @@
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "https://localhost:44336/",
"sslPort": 44336
"applicationUrl": "https://localhost:5001/",
"sslPort": 5001
}
}
}
10 changes: 5 additions & 5 deletions src/apps/Tasky.Blazor.Server/Tasky.Blazor.Server.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Blazorise.Bootstrap5" Version="1.2.0" />
<PackageReference Include="Blazorise.Icons.FontAwesome" Version="1.2.0" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.17.2" />
<PackageReference Include="Serilog.AspNetCore" Version="5.0.0" />
<PackageReference Include="Blazorise.Bootstrap5" Version="1.4.1" />
<PackageReference Include="Blazorise.Icons.FontAwesome" Version="1.4.1" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.19.6" />
<PackageReference Include="Serilog.AspNetCore" Version="8.0.1" />
<PackageReference Include="Serilog.Sinks.Async" Version="1.5.0" />
<PackageReference Include="Microsoft.AspNetCore.DataProtection.StackExchangeRedis" Version="7.0.0" />
<PackageReference Include="Microsoft.AspNetCore.DataProtection.StackExchangeRedis" Version="8.0.1" />
<PackageReference Include="DistributedLock.Redis" Version="1.0.2" />
</ItemGroup>

Expand Down
8 changes: 6 additions & 2 deletions src/apps/Tasky.Blazor.Server/TaskyServerBlazorModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -165,15 +165,19 @@ private void ConfigureAuthentication(ServiceConfigurationContext context, IConfi
options.ResponseType = OpenIdConnectResponseType.CodeIdToken;
options.ClientId = configuration["AuthServer:ClientId"];
options.ClientSecret = configuration["AuthServer:ClientSecret"];
// options.ClientSecret = configuration["AuthServer:ClientSecret"];
options.SaveTokens = true;
options.GetClaimsFromUserInfoEndpoint = true;
options.Scope.Add("openid");
options.Scope.Add("profile");
options.Scope.Add("roles");
options.Scope.Add("email");
options.Scope.Add("phone");
options.Scope.Add("Tasky");
options.Scope.Add("SaasService");
options.Scope.Add("IdentityService");
options.Scope.Add("AdministrationService");
});
}

Expand Down
2 changes: 1 addition & 1 deletion src/apps/Tasky.Blazor.Server/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
},
"RemoteServices": {
"Default": {
"BaseUrl": "https://localhost:7000/"
"BaseUrl": "https://localhost:7500/"
}
},
"Redis": {
Expand Down
12 changes: 6 additions & 6 deletions src/apps/Tasky.Blazor/Tasky.Blazor.csproj
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">

<Import Project="..\..\common.props" />

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<BlazorWebAssemblyLoadAllGlobalizationData>true</BlazorWebAssemblyLoadAllGlobalizationData>
<UserSecretsId>542122a3-33dc-4ba5-b115-1ec20694b784</UserSecretsId>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Blazorise.Bootstrap5" Version="1.1.4.1" />
<PackageReference Include="Blazorise.Icons.FontAwesome" Version="1.1.4.1" />
<PackageReference Include="Blazorise.Bootstrap5" Version="1.4.1" />
<PackageReference Include="Blazorise.Icons.FontAwesome" Version="1.4.1" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.1" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.1" />
<PackageReference Include="OpenIddict.Abstractions" Version="5.1.0" />

</ItemGroup>

<ItemGroup>
<PackageReference Include="Volo.Abp.AspNetCore.Components.WebAssembly.LeptonXLiteTheme" Version="3.0.2" />
<PackageReference Include="Volo.Abp.AspNetCore.Components.WebAssembly.LeptonXLiteTheme" Version="3.0.*-*" />
</ItemGroup>

<ItemGroup>
Expand All @@ -30,5 +31,4 @@
<PackageReference Include="Volo.Abp.SettingManagement.Blazor.WebAssembly" Version="8.0.2" />
</ItemGroup>


</Project>
17 changes: 9 additions & 8 deletions src/apps/Tasky.Blazor/wwwroot/global.css

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/apps/Tasky.Blazor/wwwroot/global.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/apps/Tasky.Blazor/wwwroot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<base href="/" />

<!--ABP:Styles-->
<link href="global.css?_v=638126061876781070" rel="stylesheet"/>
<link href="global.css?_v=638382754995487892" rel="stylesheet"/>
<link href="main.css" rel="stylesheet"/>
<!--/ABP:Styles-->
<link href="Tasky.Blazor.styles.css" rel="stylesheet"/>
Expand All @@ -24,7 +24,7 @@
</div>

<!--ABP:Scripts-->
<script src="global.js?_v=638126061880561977"></script>
<script src="global.js?_v=638382754996896182"></script>
<!--/ABP:Scripts-->

</body>
Expand Down

0 comments on commit 686c699

Please sign in to comment.