Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Interview Questions
What is an application object in asp.net?
Posted By :
Posted Date :
July 29, 2011
Application object can be used in situation where we want data to be shared across users globally.
You can also find related Interview Question to
What is an application object in asp.net?
What is the event that is fired just before an application object is destroyed?
What do you mean by SESSION and APPLICATION object in asp.net?
Session object store information between HTTP requests for a individual user and application object are global across all users.
What do ypu mean by SESSION and APPLICATION object ?
Session object store information between HTTP requests for a particular user, while application object are global across users.
Difference between Cache object and application object ?
Difference between the Cache and Application objects is that the Cache object provides cache-specific features, such as dependencies and expiration policies.
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:
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).
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
What are the Authentication modes for your client object model application?
Client Object Model in SharePoint 2010:
. Forms Authention
Which term describes an XML file that defines an object, such as Customer, Order, or Contact, that can be used in a business application?
External content types define data that is stored in a supported external system, such as a SQL Server database or other relational database, a SharePoint site, a Web service, or a custom data connector.
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.
What methods which can be called without instantiating an object first are called ?
I have written an assembly that I want to use in more than one application. Where do I deploy it?
Assemblies that are to be used by multiple applications (for example, shared assemblies) are deployed to the global assembly cache. In the prerelease and Beta builds, use the /i option to the Alink SDK tool to install an assembly into the cache:
A future version of the Windows Installer will be able to install assemblies into the global assembly cache.
What is an application domain?
An application domain (often AppDomain) is a virtual process that serves to isolate an application. All objects created within the same application scope (in other words, anywhere along the sequence of object activations beginning with the application entry point) are created within the same application domain. Multiple application domains can exist in a single operating system process, making them a lightweight means of application isolation.
An OS process provides isolation by having a distinct memory address space. While this is effective, it is also expensive, and does not scale to the numbers required for large web servers. The Common Language Runtime, on the other hand, enforces application isolation by managing the memory use of code running within the application domain. This ensures that it does not access memory outside the boundaries of the domain. It is important to note that only type-safe code can be managed in this way (the runtime cannot guarantee isolation when unsafe code is loaded in an application domain).
What is a Null object?
It is an object of some class whose purpose is to indicate that a real object of that class does not exist. One common use for a null object is a return value from a member function that is supposed to return an object with some specified properties but cannot find such an object.
What is Object Oriented model?
This model is based on collection of objects. An object contains values stored in instance variables with in the object. An object also contains bodies of code that operate on the object. These bodies of code are called methods. Objects that contain same types of values and the same methods are grouped together into classes.
Quick Links For Interview Questions Categories:
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
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
Terms of Service
Tell A Friend