Func is a generic delegate introduced in .Net framework version 3.5. Generally, whenever we want to create delegate, we follow below procedure:
Read MoreMonth: April 2019
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 More