Tuesday, February 15, 2022

Introduction to ASP.NET Core (Questions and Answers)


1. Describe the ASP.NET Core.

ASP.NET Core is an open-source, cross-platform, cloud based and high performance platform that allows you to build modern applications. With ASP.NET Core we can build
  • web applications,
  • IoT (Internet of things) apps,
  • services
  • mobile apps.
  • we can do our development on Linux, Windows and MacOS.
  • deploy our code to cloud or on-premises.




Introduction to MVC (Model-View-Controller) (Questions and Answers)

MVC (Model-View-Controller) (Interview Questions)

  • The Model-View-Controller (MVC) architectural pattern separates an app into three main components: Model, View, and Controller. The MVC pattern helps you create apps that are more testable and easier to update than traditional monolithic apps.
  • It supports separation of concern as Model describes data, View represents UI and Controller manages the presentation logic which handles user request.
  • Using the MVC pattern for websites, requests are routed to a Controller that is responsible for working with the Model to perform actions and/or retrieve data. The Controller chooses the View to display and provides it with the Model. The View renders the final page, based on the data in the Model.

Tuesday, February 01, 2022

ASP.NET Core Identity

 ASP.NET Core Identity is a fully featured membership system for creating and maintaining user logins. Using Identity API, you can sign in & sign out users, reset their passwords , lockout users & Implement Multi Factor Authentication. It can also integrate with the external login providers like Microsoft Account, Facebook, Google, etc.

When we create a new application, we can install the ASP.NET Core identity by choosing the Individual Accounts under the Authentication Type Option. Most of the Identity related services and UI forms like Register, Login & Logout are automatically created for us.