Func is a generic delegate introduced in .Net framework version 3.5. Generally, whenever we want to create delegate, we follow below procedure:
Read MoreTag: software
Variable number of routes in ASP.Net MVC
We all know about default routing mechanism of ASP.Net MVC that is how routing is works. I would call below routing mechanism as static routing. In this routing, our URL pattern is fixed. See below pic.
Read MoreParameterized unit tests in MS test framework
Earlier, In MS test framework, we do not have any options to create Parameterized unit tests. So all we have to do is we have to write multiple unit test cases with same code. See below example which dictate this situation.
Read MoreUnit testing
In this post, I’ll share stuffs related to Unit testing only. I’ll share examples of Unit testing in later posts.
What is Unit testing?
Unit means a small portion of your code. So Unit testing means test each small-small functionalities of an application. In procedural programming, unit is a whole module but in object oriented programming, it can be a class, an interface or even a method.
Read More