
Black Knight


Black Knight Technical Lead Interview Questions and Answers
Q1. How to move from one entity framework version to another in a project?
To move from one Entity Framework version to another, update the NuGet package and make necessary code changes.
Update the NuGet package to the desired version
Make necessary code changes to accommodate any breaking changes
Test thoroughly to ensure the application still works as expected
Q2. Given a project requirement, how to choose between .Net framework and .Net Core?
Choose .Net Core for cross-platform and cloud-based applications, .Net Framework for Windows-only applications.
Consider the target platform and deployment environment
Choose .Net Core for cross-platform and cloud-based applications
Choose .Net Framework for Windows-only applications
Check for compatibility with existing libraries and frameworks
Consider performance and scalability requirements
Q3. How to create a restful service without using Asp.Net Web Api template?
Creating a RESTful service without using Asp.Net Web Api template.
Use a lightweight framework like Flask or Express
Define routes and HTTP methods for each endpoint
Serialize data to JSON format
Handle errors and exceptions
Test the service using tools like Postman or curl
Q4. How many types of routings are there in Asp.Net MVC?
There are two types of routings in Asp.Net MVC: convention-based routing and attribute routing.
Convention-based routing uses default routing rules to map URLs to controller actions.
Attribute routing allows developers to define custom routes using attributes on controller actions or at the controller level.
Both types of routing can be used together in the same application.
Convention-based routing is the default routing mechanism in Asp.Net MVC.
Attribute routing is more flexibl...read more
Q5. How WCF is different from Asp.Net Web Api?
WCF is a framework for building distributed systems while Asp.Net Web Api is for building HTTP services.
WCF supports multiple protocols like TCP, HTTP, Named Pipes, etc. while Web Api only supports HTTP.
WCF has more configuration options and is more flexible than Web Api.
Web Api is more lightweight and easier to use for building RESTful services.
WCF is more suitable for building enterprise-level applications with complex requirements.
WCF has built-in support for security, tra...read more
Q6. How to go about performancetuning in SQL?
Performance tuning in SQL involves optimizing queries, indexes, and server settings to improve database performance.
Identify slow queries using profiling tools
Optimize queries by rewriting or adding indexes
Adjust server settings such as memory allocation and disk usage
Consider partitioning large tables
Regularly monitor and analyze performance metrics
Q7. Howrouting works in Asp.Net MVC?
Routing in Asp.Net MVC maps incoming requests to appropriate controller actions.
Routing is configured in RouteConfig.cs file.
Routes are defined using MapRoute method.
Routes can have placeholders for dynamic values.
Routes can have constraints to restrict the values of placeholders.
Routes can be named for easy reference.
Default route is defined as {controller}/{action}/{id}.
Attribute routing can also be used to define routes at controller or action level.
Q8. Difference between drop, truncate and delete.
Difference between drop, truncate and delete.
DROP command removes a table from the database
TRUNCATE command removes all rows from a table
DELETE command removes specific rows from a table
Q9. Explain MVC pipe-line.
MVC pipeline is a design pattern that separates an application into three interconnected components: Model, View, and Controller.
Model represents the data and business logic
View displays the data to the user
Controller handles user input and updates the model and view accordingly
The pipeline ensures separation of concerns and promotes modularity
Example: A user enters data in a form (input), the controller receives the input and updates the model, the view then displays the upd...read more
More about working at Black Knight


Top Technical Lead Interview Questions from Similar Companies








Reviews
Interviews
Salaries
Users/Month

