Core Concepts of ASP.NET Core_ Your Handy Q&A Resource
ASP.Net MVC Core is an open-source, cross-platform web development framework by Microsoft designed for high-performance and scalable applications. It includes features like dependency injection, a wwwroot folder for static content, and supports multiple IDEs. Key advantages over the .NET Framework include cross-platform support, open-source nature, and built-in dependency injection.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
8 views
Core Concepts of ASP.NET Core_ Your Handy Q&A Resource
ASP.Net MVC Core is an open-source, cross-platform web development framework by Microsoft designed for high-performance and scalable applications. It includes features like dependency injection, a wwwroot folder for static content, and supports multiple IDEs. Key advantages over the .NET Framework include cross-platform support, open-source nature, and built-in dependency injection.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4
1) What is ASP.Net MVC core?
* it's a open source. cross platform web development
feamework to develop web application created by microsoft.
* .NET Core is designed to be lightweight, high-performance,
and scalable. It allows for multiple versions of .NET Core to run side by side on the same server.
2) What is wwwroot folder?
* in the wwwroot we store static contents like HTML, CSS, JS files.
3) What is dependency injection?
* dependency injection is a software design pattern that allows us to develop loosely coupled application. # loosely cupled:- they are not depend any other modules. # Tight coupling:- they are depend another modules. * in dependency injection in which we are injecting the object of a class into another class that depends on that object. * there are 3 types of dependency injection:- # Constructor Injection. # Property Injection. # Method Injection.
4) What are the advantages of .NET Core over .NET
framework? * .NET Core :- CROSS PLATFORM :- Windows, Linux, MacOS. OPEN SOURCE :- Free to use, Modify, Distribute. .NET can be hosted. Kestrel, IIS, nginx. .NET core have built-in Depedency Injection. .NET core support multiple IDE's. Ex. :- visual studio, visual studio code, visual studio for MAC. * .NET framework :- .NET framework only supports Windows. .NET Framework is paid. .NET Framework only support IIS Hosting. .NET framework don't have built in dependency injection. .NET framework only support visual studio IDE.
5) What is Run(), Use, and Map() method?
* Use method will execute next middleware or line in sequence. * Run method will TERMINATE the chain. no other middleware method will run after this. Should be placed at the end of any pipeline. * The Map extension method is used to match request delegates based on a request's URL path.
6) What is Routing? Explain Attribute routing in ASP.NET
Core? * Routing is used to handle incoming HTTP requests based on the URL. * Attribute based routing is the ability to manipulate the behavior of URL by Rout Attribute. 7) What is JSON in ASP.NET core? * JSON (JavaScript Object Notation) is a data format. * JSON is one of the most popular data formats today. * it is lightweight and easy to read and write by humans and machines. * a text-based format for representing structured data that's commonly used in ASP.NET Core Web API to transmit data between clients and servers.
8) What is Query String?
* QueryString is a simple way to pass value from one page to another page using http url. * it is machanism for concatenating those values to the URL of the page which we want to access. and the values in the key value pair.
9) What is Hidden Field?
* Hidden fields store values at page level. * Hidden field is used for storing small amount of data in client side. * Hidden fields are html input control with a type of hidden. * Hidden fields is very usable and fast. * Hidden Field control allows developer to carry the informat ion within a page when we don't want that information to be visible to the user. 10) What is entity Framework Core? * Entity framework core is the new virsion of entity framework after EF6 but it is redesigned. * it is open-source, lightweight, extensible and a cross-p;atform version of entity framework. * entity framework core is a data access technology. * entity framework is an object/relational maping framework.