Month: June 2016

Html Form validation using one function of javascript

<script type=”text/javascript”> function validateform() { var txtcontrols = document.getElementsByTagName(“input”); for (var count = 0; count &lt; txtcontrols.length; count++) { if (txtcontrols[count].value == ”) { errmsg.innerHTML = “Please Enter ” + txtcontrols[count].name; return false; } if […]

Solid Principles of OOP

Object oriented programming has 5 basic rules that we called solid rules where s stands for Single Responsibility Principle,o stand for Open Close principle,l stand for Liskov Substitution Principle,I stand for Interface Segregation Principle and […]

What is Dmarc Policy?

DMARC – What is it? DMARC, which stands for “Domain-based Message Authentication, Reporting &amp; Conformance”, is a technical specification created by a group of organizations that want to help reduce the potential for email-based abuse […]

Singleton thread-safe class in c#

Introduction The singleton pattern is one of the best-known patterns in software engineering. Essentially, a singleton is a class which only allows a single instance of itself to be created, and usually gives simple access […]

Handle CreatedDate,ModifiedDate,CreatedBy and ModifiedBy in Entity Framework

What is created date and Modified date and when we use this? Keeping CreatedDate, ModifiedDate,  CreatedBy, and ModifiedBy or auditing columns in the database tables is part of good practices for database design. these columns […]

Dot Net Interview questions for Experience

What is connection pooling? When should we use connection pooling? What is strong Dll? What is bucketing in the database? Do we need a certificate in client machine for HTTPS? What is two-factor authentication? Can […]