Skip to content

Commit 7df1aed

Browse files
committed
wip
1 parent e5bd321 commit 7df1aed

6 files changed

Lines changed: 3223 additions & 64 deletions

File tree

src/cloudscribe.Web.Localization/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 19 deletions
This file was deleted.

src/cloudscribe.Web.Localization/cloudscribe.Web.Localization.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111
<PackageIconUrl>https://raw.githubusercontent.com/joeaudette/cloudscribe/master/cloudscribe-icon-32.png</PackageIconUrl>
1212
<PackageProjectUrl>https://github.com/joeaudette/cloudscribe.Web.Localization</PackageProjectUrl>
1313
<PackageLicenseUrl>http://www.apache.org/licenses/LICENSE-2.0</PackageLicenseUrl>
14-
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
15-
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
16-
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
14+
1715
</PropertyGroup>
1816

1917
<ItemGroup>
20-
<PackageReference Include="Microsoft.Extensions.Localization" Version="1.1.*" />
21-
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="1.1.*" />
18+
<PackageReference Include="Microsoft.Extensions.Localization" Version="1.1.0" />
19+
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="1.1.0" />
2220
</ItemGroup>
2321

22+
23+
2424

2525
</Project>

src/localization.WebApp/Startup.cs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,7 @@ public Startup(IHostingEnvironment env)
2828
.AddJsonFile("appsettings.json", optional: true, reloadOnChange: true)
2929
.AddJsonFile($"appsettings.{env.EnvironmentName}.json", optional: true);
3030

31-
if (env.IsDevelopment())
32-
{
33-
// For more details on using the user secret store see http://go.microsoft.com/fwlink/?LinkID=532709
34-
builder.AddUserSecrets();
35-
}
31+
3632

3733
builder.AddEnvironmentVariables();
3834
Configuration = builder.Build();
@@ -108,7 +104,7 @@ public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerF
108104
{
109105
app.UseDeveloperExceptionPage();
110106
app.UseDatabaseErrorPage();
111-
app.UseBrowserLink();
107+
112108
}
113109
else
114110
{
Lines changed: 3 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp1.1</TargetFramework>
5-
<PreserveCompilationContext>true</PreserveCompilationContext>
6-
<AssemblyName>localization.WebApp</AssemblyName>
7-
<OutputType>Exe</OutputType>
8-
<PackageId>localization.WebApp</PackageId>
4+
<TargetFramework>netcoreapp2.1</TargetFramework>
95
<UserSecretsId>aspnet-localization.WebApp-940cc8f9-71c6-4716-a22f-dac5c78eb805</UserSecretsId>
106
</PropertyGroup>
117

@@ -21,31 +17,9 @@
2117
</ItemGroup>
2218

2319
<ItemGroup>
24-
<PackageReference Include="Microsoft.AspNetCore.Authentication.Cookies" Version="1.1.*" />
25-
<PackageReference Include="Microsoft.AspNetCore.Diagnostics" Version="1.1.*" />
26-
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="1.1.*" />
27-
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="1.1.*" />
28-
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="1.1.*" />
29-
<PackageReference Include="Microsoft.AspNetCore.Server.IISIntegration" Version="1.1.*" />
30-
<PackageReference Include="Microsoft.AspNetCore.Server.Kestrel" Version="1.1.*" />
31-
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="1.1.*" />
32-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="1.1.*" />
33-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer.Design" Version="1.1.*" />
34-
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="1.1.*" />
35-
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="1.1.*" />
36-
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="1.1.*" />
37-
<PackageReference Include="Microsoft.Extensions.Logging" Version="1.1.*" />
38-
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="1.1.*" />
39-
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="1.1.*" />
40-
<PackageReference Include="Microsoft.VisualStudio.Web.BrowserLink" Version="1.1.*" />
41-
<PackageReference Include="Microsoft.Extensions.Localization.Abstractions" Version="1.1.*" />
42-
<PackageReference Include="Microsoft.Extensions.Options" Version="1.1.*" />
20+
<PackageReference Include="Microsoft.AspNetCore.App" />
4321
</ItemGroup>
4422

45-
<ItemGroup>
46-
<DotNetCliToolReference Include="BundlerMinifier.Core" Version="2.2.301" />
47-
<DotNetCliToolReference Include="Microsoft.Extensions.SecretManager.Tools" Version="1.*" />
48-
<DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet" Version="1.*" />
49-
</ItemGroup>
23+
5024

5125
</Project>

0 commit comments

Comments
 (0)