Skip to content
  • LinkedIn
  • GitHub
  • Twitter

Tahir Naushad's Blog

  • Home
  • About

Tag: Encapsulation

Design Tip – Write Honest Methods

May 13, 2018 Tahir Naushad

When designing the public interface of our classes and methods, we should try to avoid it’s misuse. Creating methods with honest signatures is a good technique to hide implementation details, reduce bugs and improve code readability.

Continue reading

Design Tip – Avoid Enum Types in Domain Layer

May 5, 2018 Tahir Naushad

Encapsulation is a fundamental tenant of good software design. Wrapping an enum into an object and providing cohesive behaviour to it would lead you down the path of well encapsulated and designed applications.

Continue reading

Recent Posts

  • Azure AD B2C with ASP.NET Core 2.0
  • Azure AD with ASP.NET Core 2.0
  • ASP.NET Core 2.0 Series
  • Design Tip – Write Honest Methods
  • Design Tip – Avoid Enum Types in Domain Layer

Top Posts

  • Upload/Download Files in ASP.NET Core 2.0
  • ASP.NET Core 2.0 MVC Model Validation
  • ASP.NET Core 2.0 Cookie Authentication
  • ASP.NET Core 2.0 MVC Model Binding
  • Consuming ASP.NET Core 2.0 Web API using HttpClient
  • ASP.NET Core 2.0 Bearer Authentication
  • Paging in ASP.NET Core 2.0 Web API

Categories

  • ASP.NET Core (79)
  • Azure (13)
  • Docker (6)
  • EF (4)
  • Software Design (5)

Follow me on Twitter

My Tweets