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

Top 5 Contributors of the Month
Melody Anderson

Home >> Interview Question >> C# >> Post New Question Subscribe to Interview Questions

Explain the three services model (three-tier application).

Posted By :Ghanashyam Nayak     Posted Date :September 17, 2010    Points :10   Category :C# 
Presentation (UI), business (logic and underlying code) and data (from storage or other sources).

You can also find related Interview Question to Explain the three services model (three-tier application).  below: 

Explain the three services model commonly know as a three-tier application.

Presentation (UI), Business (logic and underlying code) and Data (from storage or other sources). (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...)

Explain Rapid application development?

Rapid Application Development (RAD) refers to a type of software development methodology that uses minimal planning in favor of rapid prototyping.

The "planning" phase of RAD is by another software. The lack of extensive pre-planning generally allows software to be written much faster, and makes it easier to change requirements (More...)

Explain the use of tag in struts application.

The tag is utilized for repeating the nested body content over a collection. Every element / object in a specified collection - which must be any one of - Iterator, Collection and Map or even an array - and their contents are nested in this tag.

The iterable collection must be specified in any one of the following methods:

- As a runtime expression that is specified as a value of the 'collection' attribute
- As a JSP bean that is specified by the 'name' attribute
- As the property that is specified by the 'property' of the JSP bean specified by the 'name' attribute.

Usually, every object that is exposed by the iterate tag is an object of the underlying collection that is to iterate over. In case a Map is to iterate, the exposed object should be of the type Map.Entry, which has two properties - i) key - the key under which the object / element is stored in a Map - ii) value - the value of corresponding key.

The following example depicts the usage of Hashtable that is to iterate:

Next account no is

Additional improvements for the service application model

. The services architecture is extensible, allowing third-party companies to build and add services to the platform.

. Services are managed directly in Central Administration (rather than a separate administration site).

. Services can be monitored and managed remotely.

. Services can be managed and scripted by Windows PowerShellT.

. Shared services communications take place over HTTP(S). Shared services do not directly access databases across farms.

. Most new services are built on the Windows Communications Framework. They have optimization built into their protocol, using binary streams instead of XML for data transfer. Test results show improvements in network throughput with this change.

What are the Authentication methods for your client object model application ?


Ans. Basically there are three (3) authentication options you can use when you're working with the Client Object Model in SharePoint 2010:

* Anonymous
* Default
* FormsAuthentication

You can specify clientContext.Authentication = Anonymous\Default\FormsAuthentication, If you do not choose an authentication method in your code, the application will default to using the client's Windows Credentials (DefaultCredentials). (More...)

Can you personalize Shared Services for a single Web application?


Ans. You cannot assign or un-assign few services to a web application. If the web application is using a perticular SSP, it has to bear the burden of all the services configured in that SSP.


Explain the difference between cache object and application object.

Application Object: Application variable/object stores an Object with a scope of availability of the entire Application unless explicitly destroyed.

Caching Object: The lifetime of cache is throughout the lifetime of an application or is based upon timeouts (More...)

What are the Authentication modes for your client object model application?

Client Object Model in SharePoint 2010:
. Anonymous
. Default
. Forms Authention (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...)

Explain SharePoint Object Model?

In Sharepoint Object model there are two Important namespaces.
The Microsoft.Office.Server namespace is the root namespace of all Office Server objects and Microsoft.SharePoint is the root namespace for all WSS objects.
The Chart Below illustrates some of the key classes contained in each of these namespaces, as well as to which functional area they belong.
Document Libraries (Microsoft.SharePoint)
SPDocumentLibrary , SPPictureLibrary
Business Data Catalog (Microsoft.Office.Server.ApplicationRegistry.Administration)
EntityCollection , ApplicationRegistry
Features (Microsoft.SharePoint)
SPFeatureDefinition, SPFeatureScope, SPElementDefinition, SPFeature, SPFeatureProperty
Sites (Microsoft.SharePoint)
SPSite, SPSiteAdministration, SPSiteCollection, SPWeb
Meetings (Microsoft.SharePoint.Meetings)
SPMeeting, MtgUtility
User Profiles (Microsoft.Office.Server.UserProfiles)
UserProfile, UserProfileManager
Solutions (Microsoft.SharePoint.Administration)
SPsolution, SPFeatureReceiver, SPSolutionCollection
Lists (Microsoft.SharePoint)
SPList, SPListItem, SPListItemCollection (More...)

What is Application Domain?

The primary purpose of the AppDomain is to isolate an application from other applications. Win32 processes provide isolation by having distinct memory address spaces. This is effective, but it is expensive and doesn't scale well. The .NET runtime enforces AppDomain isolation by keeping control over the use of memory - all memory in the AppDomain is managed by the .NET runtime, so the runtime can ensure that AppDomains do not access each other's memory.
Objects in different application domains communicate either by transporting copies of objects across application domain boundaries, or by using a proxy to exchange messages.
MarshalByRefObject is the base class for objects that communicate across application domain boundaries by exchanging messages using a proxy. Objects that do not inherit from MarshalByRefObject are implicitly marshal by value. When a remote application references a marshal by value object, a copy of the object is passed across application domain boundaries. (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