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
| GitHub | https://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
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
@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?
@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
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
@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.