File tree 7 files changed +10
-11
lines changed
7 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk.Web" >
2
2
3
3
<PropertyGroup >
4
- <TargetFramework >netcoreapp3.1 </TargetFramework >
4
+ <TargetFramework >net5 </TargetFramework >
5
5
<AssemblyName >Dash.NET.Dev.App</AssemblyName >
6
6
<EnableDefaultContentItems >false</EnableDefaultContentItems >
7
7
</PropertyGroup >
8
8
9
9
<ItemGroup >
10
- <PackageReference Include =" Giraffe" Version =" 4.1.*" />
11
- <PackageReference Include =" TaskBuilder.fs" Version =" 2.1.*" />
10
+ <PackageReference Include =" Giraffe" Version =" 5.0.*" />
12
11
</ItemGroup >
13
12
14
13
<ItemGroup >
Original file line number Diff line number Diff line change @@ -9,10 +9,8 @@ open Microsoft.Extensions.Hosting
9
9
open Microsoft.Extensions .Logging
10
10
open Microsoft.Extensions .DependencyInjection
11
11
open Giraffe
12
- open Giraffe.ModelBinding
13
12
14
13
open Dash.NET
15
- open Plotly.NET
16
14
17
15
//----------------------------------------------------------------------------------------------------
18
16
//============================================== LAYOUT ==============================================
@@ -159,6 +157,7 @@ let main args =
159
157
webHostBuilder
160
158
.UseContentRoot( contentRoot)
161
159
.UseWebRoot( webRoot)
160
+ .UseUrls( " http://0.0.0.0:5000" )
162
161
.Configure( Action< IApplicationBuilder> configureApp)
163
162
.ConfigureServices( configureServices)
164
163
.ConfigureLogging( configureLogging)
Original file line number Diff line number Diff line change 1
1
{
2
2
"sdk" : {
3
- "version" : " 3.1.302 " ,
3
+ "version" : " 5.0.101 " ,
4
4
"rollForward" : " latestFeature"
5
5
}
6
6
}
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFramework >netstandard2.1 </TargetFramework >
4
+ <TargetFramework >net5 </TargetFramework >
5
5
<PublishRepositoryUrl >true</PublishRepositoryUrl >
6
6
<EmbedUntrackedSources >true</EmbedUntrackedSources >
7
7
<IncludeSymbols >true</IncludeSymbols >
183
183
</ItemGroup >
184
184
185
185
<ItemGroup >
186
- <PackageReference Include =" Giraffe" Version =" 4.1.0" />
186
+ <PackageReference Include =" Giraffe" Version =" 5.0.0" />
187
+ <PackageReference Include =" Giraffe.ViewEngine" Version =" 1.4.0" />
187
188
<PackageReference Include =" Plotly.NET" Version =" 2.0.0-alpha2" />
188
189
</ItemGroup >
189
190
Original file line number Diff line number Diff line change 1
1
namespace Dash.NET
2
2
3
3
open Giraffe
4
- open GiraffeViewEngine
4
+ open Giraffe. ViewEngine
5
5
open Views
6
6
open Plotly.NET
7
7
open System
Original file line number Diff line number Diff line change 1
1
namespace Dash.NET
2
2
3
3
module Views =
4
- open Giraffe.GiraffeViewEngine
4
+ open Giraffe.ViewEngine
5
5
6
6
let createConfigScript ( config : DashConfig ) =
7
7
let innerJson = Newtonsoft.Json.JsonConvert.SerializeObject config
Original file line number Diff line number Diff line change 2
2
3
3
<PropertyGroup >
4
4
<OutputType >Exe</OutputType >
5
- <TargetFramework >netcoreapp3.1 </TargetFramework >
5
+ <TargetFramework >net5 </TargetFramework >
6
6
<GenerateProgramFile >false</GenerateProgramFile >
7
7
</PropertyGroup >
8
8
You can’t perform that action at this time.
0 commit comments