C# Interfaces – Extending Behavior

Architecting Behavior for Extensibility When designing class behavior, it’s important to remember in the implementation of those objects, future changes are certain, necessitating flexibility to evolving requirements. Extensibility in Design When designing behavior in classes, you can simply define functions to be used as object methods, but that assumes the details of each function need…

C# Language Integrate Query (LINQ)

Please see my other C# articles. LINQ – All to test a collection LINQ – Any() to test a collection   LINQ: Call Custom Method LINQ – Distinct for unique values LINQ – Equality Comparer LINQ: Filtering by Custom Extension LINQ: Query LINQ: Set Operator LINQ: Skip N number objects LINQ: SkipWhile to get objects…

C#: LINQ – Equality Comparer

Please see my other LINQ articles. Implement an Equality Comparer to customize Contains(). In this article I’ll demonstrate how to override Contains() when searching a collection to specify which properties of objects to search. First, I’ll get a collection of static People objects. Now, I’ll implement a custom Equality Comparer class where I’ll override Equals() to search…

Use HTML Textbox in a Report

Please see my other Telerik report articles. Display Current Windows Username In this article I’ll demonstrate how to display the Windows username of the current user of a report.I’ll start by using the report’s ReportParameter’s editor to add a single Parameter “UserName”. This addition not only is required to display the property in the report,…

Pass Parameters to a Report

Please see my other Telerik report articles. Display Current Windows Username In this article I’ll demonstrate how to display the Windows username of the current user of a report. I’ll start by using the report’s ReportParameter’s editor to add a single Parameter “UserName”. This addition not only is required to display the property in the report, but…

Display Username in Report

Please see my other Telerik report articles. Display Current Windows Username In this article I’ll demonstrate how to display the Windows username of the current user of a report. I’ll start by using the report’s ReportParameter’s editor to add a single Parameter “UserName”. This addition not only is required to display the property in the report, but…

Dropdown with Custom Date Format

Apply a Custom Date Format to a Dropdown In this article, I’ll demonstrate how to apply a custom format to a date within a dropdown.I’ll begin with a View Model containing my date property. Next, I call my controller action for DataSource.Read() – see my other Telerik articles (link) for an example. The important update…