What is Dependency Injection in ASP.NET Core ASP.NET Core provides a simple prebuilt DI container.We need to register the dependencies in this container.Dependencies could be the custom classes or the framework classes Once you have registered the … [Continue reading] about ASP.NET Core dependency injection
Creating WebAPI in ASP.NET Core
What is WebAPI WebAPI in .NET Core is used for creating RESTful services.WebAPI in .NET Core is a class which derives from the ControllerBase class.This is unlike MVC controller which derives from Controller class.Controller class adds support for … [Continue reading] about Creating WebAPI in ASP.NET Core
Overview of Entity Framework Core
When working in any application a common requirement is accessing the database.Writing the database access code could be tedious,as you need to take care of multiple things such as: Implementing logic for connecting to database Writing SQL … [Continue reading] about Overview of Entity Framework Core
Pseudo classes in CSS
CSS rules defines the properties and values of the attributes of html elements.You can apply the css rules to different html elements.You specify different html elements to which you want to apply the css rules using selectors.For example to apply … [Continue reading] about Pseudo classes in CSS
HTML5 doctype declaration
The <!DOCTYPE> is a declaration which must appear before any other html markup.This is an instruction to the browser about interpreting the html markup by specifying the version of the markup.The doctype declaration specifies the DTD to be used … [Continue reading] about HTML5 doctype declaration