Naveed Ul-Haq's blog

Optimizely (EpiServer) CMS & Commerce, .NET, Cloud (Azure, AWS) & more

  • LinkedIn
  • Home
  • Azure
  • Optimizely
  • .NET
  • CONTACT

Archive - May 2022

  • Misc

WP REST API: Order Users by meta value (acf)

1 month ago
by Naveed Ul-Haq
2 min read
Add Comment

I have an issue where I need to return users based on a custom field. I have created these custom fields with an excellent plugin called “Advanced Custom Field” (ACF). ACF plugin allows you to show custom fields in...

Continue reading

  • .NET

Randomize List items in C# (Shuffle list C#)

1 month ago
by Naveed Ul-Haq
1 min read
Add Comment

Lists are very useful object types in C#. A lot of times we come across requirements to sort list items. By default, we can only sort by Ascending or descending list items using Linq or Lamda but there is no default sorting order...

Continue reading

  • Misc

Compare dates in SQL

2 months ago
by Naveed Ul-Haq
1 min read
Add Comment

A lot of times we come across issues comparing dates in SQL. There are a few scenarios below Compare dates in the DateTime Column Select * from EMP WHERE datetime_column >= '20221220 00:00:00.000' AND datetime_column...

Continue reading

Topics

  • .NET (15)
  • Azure (4)
  • Misc (11)
  • Optimizely (16)
Copyright © 2022.
  • Home
  • Azure
  • Optimizely
  • .NET
  • CONTACT
  • LinkedIn