Dependency Injection

What is dependency Injection? Dependency Injection(DI) means to decouple the objects which are dependent on each other. Say object A is dependent on Object B so the idea is to decouple these object from each other. We don’t need to hard code the object using new keyword rather sharing dependencies to objects at runtime in […]

Rate this:

Singleton Pattern

Sample 1: Singleton pattern falls under Creational Pattern of Gang of Four (GOF) Design Patterns in .Net. It is pattern is one of the simplest design patterns. This pattern ensures that a class has only one instance. In this article, I would like share what is Singleton pattern and how is it work? What is […]

Rate this:

About IIS Application Pool, recycle app pool and Session Timeout

The smps.log can sometimes report sporadic errors indicating that it may have lost a connection to a server running a SiteMinder WebAgent: [4280/5660][Wed Nov 05 2014 08:32:30][CServer.cpp:2283][ERROR][sm-Server-01090] Failed to receive request on session # 185 : <hostname>/<IP Address>:<Port>. Socket error 10053 If this error is occurring in the smps.log, you can check the webagent log […]

Rate this:

HTML Doctypes

A Document Type Declaration, or DOCTYPE, is an instruction to the Web browser about the version of markup language in which a page is written. HTML5 Doctype A DOCTYPE declaration appears at the top of a web page before all other elements. According to the HTML specification or standards, every HTML document requires a document […]

Rate this:

::before and ::after selectors in css

Summary The CSS ::after pseudo-element matches a virtual last child of the selected element. Typically used to add cosmetic content to an element, by using the content CSS property. This element is inline by default. Syntax How to read CSS syntax. element:after { style properties } /* CSS2 syntax */ element::after { style properties } […]

Rate this: