ASP.NET framework is built on top of .net framework which was released more than 15 years back.The shortcomings of asp.net webforms such as limited control over the generated html and testability are overcome in asp.net MVC framework ASP.NET MVC is … [Continue reading] about Overview of ASP.NET Core
Reading Configuration Information in Asp.net Core
Configuration in asp.net core Asp.net Core supports lots of config providers for different sources such as: Command-line Configuration Provider Environment Variables Configuration Provider File Configuration Provider XML Configuration … [Continue reading] about Reading Configuration Information in Asp.net Core
For loop in TypeScript
There are multiple ways to loop over list of items in TypeScript.You select the method depending upon your requirement.For example you can use the for loop to iterate over all the items in a collection. Looping from start index to end index For … [Continue reading] about For loop in TypeScript
Object initializer in C#
Many times you need to initialize class objects while creating them.One obvious approach is that you can use constructors for this.Suppose if you have declared a class as below: public class Products { public int Category { get; set; } public int … [Continue reading] about Object initializer in C#
Constructors in C#
Constructor in C# Constructor is a class method which is called when an object of class is created.Constructor differs from other methods: Name of constructor is same as class name Constructor method could not return any value This is the … [Continue reading] about Constructors in C#