These days we see most of the sites using the HTTPS protocol for serving the webpages.More commonly we can see the HTTPS protocol on the sites which contains confidential information such as the websites of the banks. If we go to google and check the address in the address bar we will see something as the following address […]
Archives for May 2015
Using Moq for unit testing
Applications usually consists of many classes which interacts with each other to achieve the desired functionality , this is how object oriented applications are structured.This object oriented approach for developing applications could be a problem while unit testing the different classes and methods. Unit testing means testing the smallest unit of code such as method or class in […]
Dependency Injection using Unity container
Dependency injection is one way to implement inversion of control.To understand dependency injection please refer Dependency Injection in .NET .So assuming you understand the basics of Dependency Injection now we will implement Dependency Injection using Unity container. Dependency injection injects the dependencies of a class at runtime.This creates a loose coupling between the classes as changes in one class does […]