Anders Bjerner

58 Followers
7 Following
23 Posts
Umbraco MVP
System Developer at Limbo
GitHubhttps://github.com/abjerner

With #Umbraco 17.0.0 out today, a new release of Skybrud Redirects is now also available 馃帀馃

https://github.com/skybrud/Skybrud.Umbraco.Redirects/releases/tag/v17.0.0

Release v17.0.0 路 skybrud/Skybrud.Umbraco.Redirects

New stable release for Umbraco 17. This release will not work on other versions of Umbraco. Installation Via NuGet: .NET CLI: dotnet add package Skybrud.Umbraco.Redirects --version 17.0.0 NuGet Pa...

GitHub

A pre-release of Skybrud Redirects is now available for #Umbraco 17 馃帀

https://github.com/skybrud/Skybrud.Umbraco.Redirects/releases/tag/v17.0.0-beta001

Release v17.0.0-beta001 路 skybrud/Skybrud.Umbraco.Redirects

First beta release for Umbraco 17. This release will not work on other versions of Umbraco. Installation Via NuGet: .NET CLI: dotnet add package Skybrud.Umbraco.Redirects --version 17.0.0-beta001 ...

GitHub

@matt @CodeSharePaul I had a similar idea for both Umbraco and .NET:

https://packages.limbo.works/umbraco-versions/

https://packages.limbo.works/net-versions/

But similar to the list in Package Script Writer, this is all maintained manually.

@matt would it perhaps be an idea for Umbraco to expose this information in a JSON feed somewhere?

Umbraco Versions - Limbo Packages

@owaincodes or possibly even a double ternary 馃槑

return decimal.TryParse(Product.Price?.Replace("GBP", string.Empty), out decimal price)
? $"{Product.Name} {price.ToString(price % 1 == 0 ? "0" : "0.00")}"
: string.Empty;

@owaincodes I think the example may be simplified a bit more:

1. the ternary can be placed into the ToString call to avoid writing it twice
2. if parsing the price is successful you know that it can't be empty

So something like this:

if (decimal.TryParse(Product.Price?.Replace("GBP", string.Empty), out decimal price))
{
return $"{Product.Name} {price.ToString(price % 1 == 0 ? "0" : "0.00")}";
}
return string.Empty;

@wannabemystiker I've never heard it used as verb, but seems to be the equivalent as "flour" being used as a verb in English.

Also a source to back that up:
https://www.ordbogen.com/en/search/classic?query=mele&dictionaryId=ordbogen-daen

Ordbogen.com

Find translations, synonyms, definitions and grammatical information. Search 80 online dictionaries.

Our Limbo Tables package for #Umbraco now has a new major minor version with lots of improvements - including a number of PRs from the Umbraco Community 馃帀

https://github.com/limbo-works/Limbo.Umbraco.Tables/releases/tag/v1.1.0

#Umbraco10 #Umbraco11 #Umbraco12 #SkybrudReleases #LimboReleases

Release v1.1.0 路 limbo-works/Limbo.Umbraco.Tables

New release for Umbraco 10+ 馃帀 Installation To install the package via NuGet, you can use either .NET CLI: dotnet add package Limbo.Umbraco.Tables --version 1.1.0 or the older NuGet Package Manager...

GitHub

@CodeBunTes I don't know your context, but this warning generally should help you improve the quality of your code by detecting missing null checks.

So 'Dereference of a possibly null reference' at compile time may lead to 'object not set to a reference of an object' at runtime.

@webjaved Awesome. Checking out the dependencies on NuGet helped me spot that. Often useful to check there if you're having problems.

@webjaved @joe does it help anything commenting out the "Microsoft.Identity.Web" dependency?

You should get this automatically from "Umbraco.Cloud.Identity.Cms", but probably an older version.