- Constructor Overloading
- same constructor name with different parameters
- why Main method is static
- it called without instantiating the class.
- Can we pass values other than string in Argument in main method
- No
- MSIL
- C# Compiler translate source code into CIL Code
- private virtual method
- We can not use private virtual
- Middleware
- Middleware is a piece of code in an application pipeline used to handle request and responses
- Each component: Chooses whether to pass the request to the next component in the pipeline. Can perform work before and after the next component in the pipeline.
- Routing
- app.UseRouting()
- app.UseEndpoints(m=>m.MapControllers();)
- [Route("users/{id:int:min(1)}")]
- [Route("api/[controller]/[action]")]
- [Route("api/[controller]/[action]/{id?}")]
- Web API: Same method name with different parameters
- We can call it by Routing attribute
- SOA (Service Oriented Architecture)
- It is an architecture for developing distributed and interoperable applications
- An application wants to use some of the services provided by for other enterprises
Tuesday, January 31, 2023
Interview 1
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment