ASP .Net interview questions

ASP .Net

Few of the common ASP .Net interview questions usually asked by the IT companies during their recruitment process consist of

Describe the difference between a Thread and a Process?
Thread – is used to execute more than one program at a time.
Process – executes single program

A thread is a path of execution that run on CPU, a proccess is a collection of threads that share the same virtual memory. A process have at least one thread of execution, and a thread always run in a process context.


What is a Windows Service and how does its lifecycle differ from a standard EXE?
Windows Service applications are long-running applications that are ideal for use in server environments. The applications do not have a user interface or produce any visual output; it is instead used by other programs or the system to perform operations. Any user messages are typically written to the Windows Event Log. Services can be automatically started when the computer is booted. This makes services ideal for use on a server or whenever you need long-running functionality that does not interfere with other users who are working on the same computer. They do not require a logged in user in order to execute and can run under the context of any user including the system. Windows Services are controlled through the Service Control Manager where they can be stopped, paused, and started as needed.


How does the lifecycle of Windows services differ from Standard EXE?
Windows services lifecycle is managed by Service Control Manager which is responsible for starting and stopping the service and the applications do not have a user interface or produce any visual output, but Standard executable doesnt require Control Manager and is directly related to the visual output


Contrast OOP and SOA. What are tenets of each?
Service Oriented Architecture. In SOA you create an abstract layer that your applications use to access various services and can aggregate the services. These services could be databases, web services, message queues or other sources. The Service Layer provides a way to access these services that the applications do not need to know how the access is done. For example, to get a full customer record, I might need to get data from a SGL Server database, a web service and a message queue. The Service layer hides this from the calling application. All the application knows is that it asked for a full customer record. It doesnt know what system or systems it came from or how it was retrieved.

 

 

For more updates or resources contact us at [email protected]

For Government certification, visit www.vskills.in and register for certification exam.

Follow us on facebook visit www.facebook.com/vskills.in

Share this post

7 Comments. Leave new

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.

Host 10 ASP.NET web sites for free
SBI Specialist Cadre Officers in State Bank Group Final -Asst. Manager Computer and Communication Results 2013

Get industry recognized certification – Contact us

keyboard_arrow_up
Open chat
Need help?
Hello 👋
Can we help you?