.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Interview Question >> WCF >> Post New Question Subscribe to Interview Questions

What are the advantages of hosting WCF services in IIS?

Posted By :Subhransu Sekhar Jena     Posted Date :September 30, 2014    Points :40   Category :WCF 
Advantages of hosting WCF services in IIS : Provides process activation and recycling ability thereby increasing reliability

You can also find related Interview Question to What are the advantages of hosting WCF services in IIS?  below: 

What are different ways hosting WCF services ?

  
WAS(Windows Activation Service) (Your selection was wrong)
Self Hosting
IIS (More...)

What advantages have Web services over Component Object Model (COM) and Distributed Component Object Model (DCOM)?

  
The advantages of Web services over COM and DCOM are as follows:


Web services are simple to use and can be implemented on varied platforms.
Web services are loosely coupled; as a result, their interfaces and methods can be extended.
Web services do not carry any state information with them so that multiple requests can be processed simultaneously. (More...)

What advantages have Web services over Component Object Model (COM) and Distributed Component Object Model (DCOM)?

  
The advantages of Web services over COM and DCOM are as follows:
1.Web services are simple to use and can be implemented on varied platforms.
2.Web services are loosely coupled; as a result, their interfaces and methods can be extended.
3.Web services do not carry any state information with them so that multiple requests can be processed simultaneously. (More...)

What are various ways of hosting WCF Services?

  
For a service to host, we need at least a managed process, a ServiceHost instance and an Endpoint configured. Possible approaches for hosting a service are:
1. Hosting in a Managed Application/ Self Hosting
a. Console Application
b. Windows Application
c. Windows Service
2. Hosting on Web Server
a. IIS 6.0 (ASP.NET Application supports only HTTP)
b. Windows Process Activation Service (WAS) i.e. IIS 7.0 supports HTTP, TCP,
NamedPipes, MSMQ.
(More...)

What are tha advantages of hosting WCF service in WAS?

  
WAS (Windows Activation Service) is a component of IIS 7.0. Following are few advantages :

1. We are not only limited to HTTP protocol. We can also use supported protocols like TCP, named pipes and MSMQ

2. No need to completely install IIS. We can only install WAS component and keep away the WebServer.
(More...)

Advantages of Hosting WCF in IIS

  
1. Provides process activation and recycling ability thereby increasing reliability
2. It is a simplified way of deployment and development of hosted services.
3. Hosting WCF services in IIS can take advantage of scalability and density features of ASP.NET
(More...)

What is the relationship between the .NET Framework and COM+ Services?

  
The .NET Framework gives you full access to COM+ services, while also making it easier to build serviced components.
.NET Framework components can be added to a COM+ application. There they can take advantage of automatic component services such as transactions, object pooling, queued components, events, and so on. (More...)

What is the relationship between the .NET Framework and COM+ Services?

  
The .NET Framework gives you full access to COM+ services, while also making it easier to build serviced components.
.NET Framework components can be added to a COM+ application. There they can take advantage of automatic component services such as transactions, object pooling, queued components, events, and so on. (More...)

Advantages of DBMS?

  
1.Redundancy is controlled.
2.Unauthorised access is restricted.
3.Providing multiple user interfaces.
4.Enforcing integrity constraints.
5.Providing backup and recovery. (More...)

NET Remoting Versus Web Services?

  
With the advent of .NET and the .NET Framework, Microsoft introduced a set of new technologies in the form of Web services and .NET remoting. .NET remoting and ASP.NET Web services are powerful technologies that provide a suitable framework for developing distributed applications. It is important to understand how both technologies work and then choose the one that is right for your application.

The Web services technology enables cross-platform integration by using HTTP, XML and SOAP for communication thereby enabling true business-to-business application integrations across firewalls. Because Web services rely on industry standards to expose application functionality on the Internet, they are independent of programming language, platform and device.

Remoting is .a technology that allows programs and software components to interact across application domains, processes, and machine boundaries. This enables your applications to take advantage of remote resources in a networked environment.

Both Web services and remoting support developing distributed applications and application integration, but you need to consider how they differ before choosing one implementation over the other. In this article, I will show the differences between these two technologies. I will present samples for each type of implementation and identify when to use which technology. (More...)

What are notification services?

  
Notification Services is a programming framework based on XML and T-SQL. It is used to create applications that generate and send messages to subscribers.

Notifications can be sent according to a schedule, or in response to conditions or events. Notifications can be sent to a wide variety of devices. For example, a notification can be sent to a user's cellular phone, personal digital assistant (PDA), Microsoft Windows Messenger, or e-mail account. Because these devices often accompany the user, notifications are ideal for sending high-priority information.

We can create the notification Services in 2 ways:
The first would be to build everything from scratch, second is to use the SQL Server 2005 Notification Services (SQLNS), which is a new API, intended to help you build notification applications. SQLNS applications are always hosted inside the SQL Server or inside a Windows Service. (More...)

What are basic components of Notification services?

  
Notification Services applications are based on a subscriber/subscription model.
The Key components in a Notification Services application are

Subscriber
A user or application that requests and receives the notification

Subscription
A request for information, delivery mechanism, and destination for requested notifications. For example change of a stock price.

Event
A piece of information, in which the subscriber is interested. For example as soon as a stock price has changed an event can be generated that's processed within SQLNS.

Notification
A message containing the information requested by the subscriber in the subscription (More...)

Explain architecture of Notification Services?

  
Notification Services applications are based on a subscriber/subscription model.
The Key components in a Notification Services application are

Subscriber: A user or application that requests and receives the notification
Subscription: A request for information, delivery mechanism, and destination for requested notifications. For example change of a stock price.
Event: A piece of information, in which the subscriber is interested. For example as soon as a stock price has changed an event can be generated that's processed within SQLNS.
Notification: A message containing the information requested by the subscriber in the subscription.

SQLNS executes the following steps whenever it generates a new notification and sends it to registered subscribers:

.Subscribers create subscriptions with a subscription management application, such as an ASP.NET or Windows Forms front end.
.Subscription management is the only part of an SQLNS application where users or applications are actively involved in the process. You generate subscriptions using a managed assembly shipped with SQLNS.
.The Notification Application collects events, which are processed within the SQLNS application.
.SQLNS uses T-SQL statements to assign events to the subscriptions registered in the first step.
.SQLNS generates new notifications whenever it finds an assignment.
.A Formatter formats the new notification, and SQLNS delivers it through a delivery channel to the registered target device of the subscriber. (More...)

Which are the two XML files needed for notification services?

  
SQLNS Configuration Files need a pair of XML-based configuration files: the Instance Configuration file and the Application Definition file.

Instance Configuration file
To host a SQLNS application you need an instance of SQLNS. This instance also stores subscriber information, which can be shared among all SQLNS applications hosted on an instance.

Application Definition File
This file to configure the whole SQLNS application structure along with all necessary metadata. (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend