Skip to content

Commit

Permalink
Add v8 What's New page
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Nov 21, 2023
1 parent fe69768 commit 6b51b6c
Show file tree
Hide file tree
Showing 11 changed files with 87 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MyApp/Pages/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<a href="whatsnew" class="inline-flex space-x-6">
<span class="rounded-full bg-indigo-500/10 dark:bg-indigo-400/10 px-3 py-1 text-sm font-semibold leading-6 text-indigo-400 ring-1 ring-inset ring-indigo-500/20">What's new</span>
<span class="inline-flex items-center space-x-2 text-sm font-medium leading-6 text-gray-300">
<span>Just shipped v6.11</span>
<span>Just shipped v8.0</span>
<svg class="h-5 w-5 text-gray-500" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
<path fill-rule="evenodd" d="M7.21 14.77a.75.75 0 01.02-1.06L11.168 10 7.23 6.29a.75.75 0 111.04-1.08l4.5 4.25a.75.75 0 010 1.08l-4.5 4.25a.75.75 0 01-1.06-.02z" clip-rule="evenodd" />
</svg>
Expand Down
2 changes: 1 addition & 1 deletion MyApp/_posts/2023-11-20_net8-best-blazor.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ runs after pages have been rendered, but you still have some options left before

We can see some of these options utilized in the Blazor Template
[NavMenu.razor](https://github.com/dotnet/aspnetcore/blob/v8.0.0-rc.2.23480.2/src/ProjectTemplates/Web.ProjectTemplates/content/BlazorWeb-CSharp/BlazorWeb-CSharp/Components/Layout/NavMenu.razor)
component which uses Blazor's `@onclick` directive to add client-side behavior to simulate mouse clicks to toggle UI elements:
component which uses JavaScript `onclick` event handlers to add client-side behavior to simulate mouse clicks to toggle UI elements:

```html
<div class="nav-scrollable" onclick="document.querySelector('.navbar-toggler').click()">
Expand Down
20 changes: 20 additions & 0 deletions MyApp/_whatsnew/2023-11-20_v8.0/blazor-templates.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
title: New .NET 8 Blazor Tailwind Templates
url: https://docs.servicestack.net/releases/v8_00#new.net-8-blazor-template
image: /img/whatsnew/v8.0/blazor-templates.webp
order: 2
---

ServiceStack's new [Blazor](/posts/net8-blazor-template) project template takes advantage of .NET 8 Blazor's new features
that redefines modern Web Development in C# which sees our new templates adopting Blazor's
familiar **ASP.NET Core Identity** and **Entity Framework** for its authentication, utilizes the modern
[Tailwind CSS](https://tailwindcss.com) framework for beautiful responsive design and adopts .NET's best-practice
[Docker Containerization](https://learn.microsoft.com/en-us/dotnet/core/docker/publish-as-container) support for its built-in
[GitHub Action Deployments](https://blazor.web-templates.io/deploy) - enabling a simple ready-made CI solution for deployment to any
Linux Host via SSH and Docker compose.

#### New Blazor Vue Template

The new [Blazor Vue](/posts/net8-best-blazor) template is ideal for building fast, SEO-friendly 100% statically rendered
Blazor Web Apps where all its dynamic functionally uses Vue.js to progressively enhance its static rendered content -
eliminating Blazor's limitations of using static rendering to implement an entire App.
23 changes: 23 additions & 0 deletions MyApp/_whatsnew/2023-11-20_v8.0/identity-auth-templates.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
title: ASP.NET Core Identity Auth & Entity Framework
url: https://docs.servicestack.net/releases/v8_00#asp.net-core-identity-auth-in.net-8-templates
image: /img/whatsnew/v8.0/blazor-identityauth-qrcode.webp
order: 3
---

A significant change we've added to our new .NET 8 Project Templates is the adoption of the same ASP.NET Core
Identity Authentication that's configured in Microsoft's default Projects templates.

ASP.NET Core Identity Auth now used in new Integrated Auth projects Going forward all new ServiceStack .NET Project Templates
will adopt ASP.NET Identity Auth, which closely follows the same approach as the Microsoft Project Template it integrates
ServiceStack with, e.g. the new .NET 8 Blazor and Blazor Vue project templates adopts the exact same Auth configuration
as Microsoft's default Blazor Project Template configured with Individual Identity Auth, likewise with the Bootstrap
and Tailwind styled MVC and Razor Pages templates.

#### ASP.NET Core Identity Auth Migration Guide

Migrating from ServiceStack Auth to Identity Auth should be relatively straight-forward as ServiceStack uses a compatible
Identity v2 password hashing format, which should let you migrate your users to Identity Auth without them noticing.

To help with any migrations we've published an [Identity Auth Migration Guide](https://docs.servicestack.net/auth/migrate-to-identity-auth)
we've used to convert existing ServiceStack Auth Apps to use Identity Auth.
21 changes: 21 additions & 0 deletions MyApp/_whatsnew/2023-11-20_v8.0/net8.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
title: Enhanced for .NET 8
url: https://docs.servicestack.net/releases/v8_00
image: /img/whatsnew/v8.0/net8.webp
order: 1
---

We're excited to welcome the next major release of ServiceStack v8, designed to take advantage of many advancements
for in .NET's latest long-term release: **.NET 8**

#### All NuGet Packages include net8.0 builds

All of ServiceStack's active NuGet packages now include `.net8.0` target framework builds along with their
dependencies on Microsoft's packages upgraded to use the latest `8.0.0` that were released with .NET 8.

#### All .NET Project Templates upgraded to .NET 8

All Project Templates have been upgraded to use **ServiceStack v8** and **.NET 8**, inc. built-in CI/CD GitHub Actions
upgraded to use [secure rootless Linux Docker containers](https://devblogs.microsoft.com/dotnet/securing-containers-with-rootless/)
built into .NET 8 which allow you to effortlessly deploy your containerized .NET 8 Apps with Docker and
GitHub Registry via SSH to any Linux Server.
21 changes: 21 additions & 0 deletions MyApp/_whatsnew/2023-11-20_v8.0/php.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
title: PHP Add ServiceStack Reference
url: https://docs.servicestack.net/php-add-servicestack-reference
image: /img/whatsnew/v8.0/php.webp
order: 4
---

We're happy to announce the next [Add ServiceStack Reference](https://docs.servicestack.net/add-servicestack-reference)
language to enjoy end-to-end typed support is - [PHP](https://www.php.net)!

**PHP** is one of the worlds most popular programming languages thanks to its ease of use,
flexibility and fast development experience which sees it excels as a popular language for web development and for development
of popular CMS products like WordPress, Drupal and Joomla.

### First class development experience

To maximize the experience for calling ServiceStack APIs within these environments ServiceStack now supports PHP as a
1st class Add ServiceStack Reference supported language which gives PHP developers an end-to-end typed API for consuming
ServiceStack APIs, complete with IDE integration in [PhpStorm](https://www.jetbrains.com/phpstorm/) as well as
[built-in support in x dotnet tool](/dotnet-tool#addupdate-servicestack-references)
to generate Typed and annotated PHP DTOs for a remote ServiceStack instance from a single command-line.
Binary file not shown.
Binary file added MyApp/wwwroot/img/whatsnew/v8.0/blazor-light.webp
Binary file not shown.
Binary file not shown.
Binary file added MyApp/wwwroot/img/whatsnew/v8.0/net8.webp
Binary file not shown.
Binary file added MyApp/wwwroot/img/whatsnew/v8.0/php.webp
Binary file not shown.

0 comments on commit 6b51b6c

Please sign in to comment.