From 8a082a299d59a0b53b9b6e0a07a6fbabf7bf6e2c Mon Sep 17 00:00:00 2001 From: Demis Bellot Date: Mon, 2 Jul 2018 02:03:43 -0400 Subject: [PATCH] Upgrade to .NET Core 2.1 + latest templates syntax --- MyApp.Tests/MyApp.Tests.csproj | 8 ++++---- MyApp/MyApp.csproj | 8 ++------ MyApp/wwwroot/_layout.html | 2 +- MyApp/wwwroot/index.html | 12 +++++++----- MyApp/wwwroot/menu.html | 6 +++++- README.md | 2 +- 6 files changed, 20 insertions(+), 18 deletions(-) diff --git a/MyApp.Tests/MyApp.Tests.csproj b/MyApp.Tests/MyApp.Tests.csproj index 48a48e7..8295941 100644 --- a/MyApp.Tests/MyApp.Tests.csproj +++ b/MyApp.Tests/MyApp.Tests.csproj @@ -1,7 +1,7 @@ - netcoreapp2.0 + netcoreapp2.1 portable Library @@ -10,9 +10,9 @@ - - - + + + diff --git a/MyApp/MyApp.csproj b/MyApp/MyApp.csproj index d02ea1a..2e98d53 100644 --- a/MyApp/MyApp.csproj +++ b/MyApp/MyApp.csproj @@ -1,7 +1,7 @@ - netcoreapp2.0 + netcoreapp2.1 @@ -9,7 +9,7 @@ - + @@ -17,9 +17,5 @@ - - - - diff --git a/MyApp/wwwroot/_layout.html b/MyApp/wwwroot/_layout.html index 023539d..e172296 100644 --- a/MyApp/wwwroot/_layout.html +++ b/MyApp/wwwroot/_layout.html @@ -7,7 +7,7 @@ - {{ ifDebug | select: }} + {{#if debug}}{{/if}} diff --git a/MyApp/wwwroot/index.html b/MyApp/wwwroot/index.html index 31764b5..8f9a69e 100644 --- a/MyApp/wwwroot/index.html +++ b/MyApp/wwwroot/index.html @@ -1,13 +1,13 @@

Complete with page layout, menu partial and responsive navigation!

    -
  • Bootstrap 4.0.0-beta.2
  • -
  • jQuery 3.2.1
  • +
  • Bootstrap 4.0.0
  • +
  • jQuery 3.3.1
@@ -25,7 +25,8 @@

-{{ `` | appendTo: scripts }} \ No newline at end of file + +{{/raw}} \ No newline at end of file diff --git a/MyApp/wwwroot/menu.html b/MyApp/wwwroot/menu.html index 99da1bd..a7788d0 100644 --- a/MyApp/wwwroot/menu.html +++ b/MyApp/wwwroot/menu.html @@ -6,6 +6,10 @@ diff --git a/README.md b/README.md index 3b9271f..054232c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # templates -.NET Core 2.0 ServiceStack Templates Bootstrap Website +.NET Core 2.1 ServiceStack Templates Bootstrap Website [![](https://raw.githubusercontent.com/ServiceStack/Assets/master/csharp-templates/templates.png)](http://templates.web-templates.io/)