Apologies to anyone who was trying to do anything on this website earlier today - we experienced a 40-minute outage after removing earlier versions of the ASP.NET Core runtimes. The site was showing this

HTTP Error 500.31 - Failed to load ASP.NET Core runtime

even though the correct ASP.NET Core Runtime 6.0.35 was installed (and reinstalled!).

We fixed this by upgrading the site to .NET 8, which was anyway in testing. If you spot anything not working, please do contact us!

We are pleased to announce a new release of cloudscribe that targets .NET 8. See https://learn.microsoft.com/en-us/dotnet/core/whats-new/dotnet-8 for information about what's new in .NET 8.

We've released a new version of the cloudscribe Visual Studio template. Please do leave a review!

We recommend that the VSIX template should be installed into Visual Studio 2022 (targeting .NET 8.0 is officially supported in Visual Studio 17.8+ only - this is a version of Visual Studio 2022 that was released in November 2023).

Older versions of the VSIX template remain available here: https://github.com/cloudscribe/cloudscribe.templates/tree/master/Archive.

Upgrading an existing cloudscribe site

We recommend manually editing the .csproj file of your solution (or each of them, if you have multiple projects). to upgrade the target framework:

<TargetFramework>net8.0</TargetFramework>

All package references to cloudscribe libraries should be updated, e.g. (just a small selection for example):

    <PackageReference Include="cloudscribe.Core.SimpleContent" Version="8.0.*" />
    <PackageReference Include="cloudscribe.SimpleContent.Web" Version="8.0.*" />
    <PackageReference Include="cloudscribe.Core.SimpleContent.CompiledViews.Bootstrap5" Version="8.0.*" />

If you have any direct references to Microsoft libraries then bring them up to the latest appropriate .net 8 versions too:

    <PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.0" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="8.0.0" />
    <PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.0" />
    <PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="8.0.0" />

You can follow your own policies and strategies about whether you wish to use wild-carded version numbers such as 8.0.*, or fixed 8.0.0 versions as above.
However we do not recommend a random mixture of the two.

You may well also have to upgrade any other third-party libraries that you reference in your solution, and diagnose version incompatibilities among them.

Build and run your solution, and check for any runtime errors and breaking changes...

Important breaking changes

Because of recent changes in EF Core 8 we can no longer reliably support versions of MS SQL Server earlier than 2016 (13.x). 
If you are using a more recent of MS SQL Server, you still need to check that your databases are not set to compatibility levels for older versions (< 130).
See the details and mitigations here: 
https://learn.microsoft.com/en-us/ef/core/what-is-new/ef-core-8.0/breaking-changes#sqlserver-contains-compatibility

Also with SQL Server, you may need to modify your connection strings to specify whether or not to trust the SQL Server's self-signed certificate:
https://stackoverflow.com/questions/3674160/using-encrypt-yes-in-a-sql-server-connection-string-provider-ssl-provider
Failure to do this typically produces a "white-screen"  runtime error on start-up.

As always, feedback welcome in the forums or on GitHub.

We are pleased to announce a new release of cloudscribe that now targets .net6.0, Bootstrap5.0 and Visual Studio 2022.

We've released a new version of the Visual Studio template. Please do leave a review!

We recommend that the VSIX template should be installed into Visual Studio 2022. Although it will also install and create a template site in VS2019, you may encounter difficulties building and working with a .NET 6.0 application in VS2019.

See https://docs.microsoft.com/en-us/dotnet/core/whats-new/dotnet-6 for information about what's new in .NET 6.

There is one key potential breaking change to be aware of: if you are targeting PostgreSql database, please note that changes to the Npgsql Entity Framework Core Provider at version 6.0 now mean that the recommended way of handling Timestamp values is to migrate any "timestamp without time zone" columns to "timestamp with time zone", and always use either DateTime with Kind=Utc or DateTimeOffset with offset 0. See details here: https://www.npgsql.org/efcore/release-notes/6.0.html?tabs=annotations

This release of cloudscribe will implement the above migration on some key columns in the database (e.g. the cs_user table, and SimpleContent cs_page and cs_post) but you should be aware of the potential for timezone offset bugs in any similar columns of your own. We would recommend that you take a backup of your existing application database before applying this major version upgrade.

Older versions of the VSIX template remain available here: https://github.com/cloudscribe/cloudscribe.templates/tree/master/Archive.

As always, feedback welcome in the forums or on GitHub.