Compare commits
3 Commits
0f946cabe8
...
ccbff06090
Author | SHA1 | Date | |
---|---|---|---|
![]() |
ccbff06090 | ||
![]() |
853e0c5988 | ||
![]() |
fbab389f66 |
@ -9,11 +9,9 @@
|
||||
<add key="automatic" value="True" />
|
||||
</packageRestore>
|
||||
<packageSources>
|
||||
<add key="Local repository" value="%LOCAL_NUGET%" />
|
||||
<add key="TomPITGit" value="https://git.tompit.com/api/packages/Tom-PIT/nuget/index.json" />
|
||||
<add key="ConnectedGit" value="https://git.tompit.com/api/packages/Connected/nuget/index.json" />
|
||||
<add key="NuGet official package source" value="https://api.nuget.org/v3/index.json" />
|
||||
<add key="LocalNugetServer" value="%LOCAL_NUGET_SERVER%" />
|
||||
<add key="Local file repository" value="%LOCAL_NUGET%" />
|
||||
</packageSources>
|
||||
|
||||
<disabledPackageSources />
|
||||
</configuration>
|
25
src/Connected.Components.Showcase/ClientStartup.cs
Normal file
25
src/Connected.Components.Showcase/ClientStartup.cs
Normal file
@ -0,0 +1,25 @@
|
||||
using Connected.Startup;
|
||||
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Connected.Services;
|
||||
|
||||
namespace Connected.Components.Showcase;
|
||||
|
||||
public class ClientStartup : IStartup
|
||||
{
|
||||
public static IServiceProvider Services { get; private set; } = default!;
|
||||
|
||||
public async Task Configure(WebAssemblyHost host)
|
||||
{
|
||||
Services = host.Services;
|
||||
|
||||
await Task.CompletedTask;
|
||||
}
|
||||
|
||||
public async Task ConfigureServices(IServiceCollection services)
|
||||
{
|
||||
services.AddUIComponentServices();
|
||||
|
||||
await Task.CompletedTask;
|
||||
}
|
||||
}
|
@ -21,6 +21,7 @@
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="7.0.*-*" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="7.0.*-*" PrivateAssets="all" />
|
||||
<PackageReference Include="Connected.Components" Version="1.0.*-*"/>
|
||||
<PackageReference Include="Connected.Client" Version="1.0.*-*"/>
|
||||
<PackageReference Include="Nerdbank.GitVersioning"
|
||||
Version="3.5.119"
|
||||
PrivateAssets="all"
|
||||
|
Loading…
x
Reference in New Issue
Block a user