free classified ads and leads
domain website price


SOL Server 2005 Interview Question Set-2

Languages and Programming

Qus: Explain Singleton architecture of Remoting.

Ans: Singleton architecture is to be used when all the applications have to use or share same data.

Qus: Define Lease Time, Sponsorship Time, Renew On Call Time, Lease Manage PollTime.

Ans: The Lease Time property protects the object so that the garbage collector does not destroy it as remoting objects are beyond the scope of the garbage collector. Every object created has a default lease  time for which it will be activated.

Qus: Briefly explain how to specify remoting parameters using config files.

Ans: The remoting parameters can be specified through both programming and in config files. All the settings defined in config files are placed under <system.runtime.remoting>.

Qus: What is marshalling? Explain types of marshalling.

Ans: Marshaling is a process of transforming or serializing data from one application domain and exporting it to another application domain.

Qus: What is ObjRef object in remoting?

Ans: ObjRef is a searializable object returned by Marshal() that knows about location of the remote object, host name, port number, and object name.

Qus: Explain the steps of acquiring a proxy object in web services.

Ans: Every service listed has a URI pointing to the service's DISCO or WSDL document, which is needed to access the web service and its 'web method" methods.

Qus: Explain the steps to create a web services and consume it.

Ans: Create a new website by selecting "ASP.NET Web Site" and giving it a suitable name. service.cs file appears inside the solution with a default webmethod named as "HelloWorld()".

Qus: Explain the difference between cache object and application object.

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

Qus: What is Cache Callback in Cache?

Ans: The cache object has dependencies e.g. relationships to the file it stores. Cache items remove the object when these dependencies change. As a work around we would need to simply execute a callback method.

Qus: What is Scavenging?

Ans: A process where items are removed from cache in order to free the memory based on their priority. A property called "Cache Item Priority" is used to figure out the priority of each item inside the cache.

Qus: Explain the types of Caching using Cache object of ASP.NET.

Ans: Page output: Is used to fetch information or data at page level. It is best used when the site is mainly static. Used by declaring the output page directive.

Qus: Show with an example how to Cache different version of same page using ASP.NET Cache object.

Ans: The ways to cache different versions on the same page using ASP.NET cache object is using Output Cache object.

Qus: Explain how to implement Fragment Cache.

Ans: Fragment cache is to store user controls individually within a web form in cache instead of the whole web form as such. The idea is to simply have different cache parameters for different user controls.

Qus: Explain the various modes of storing ASP.NET session.

Ans: Types of sessions: InProc: The default way to use sessions. InProc is the fastest way to store and access sessions.

Qus: What are the benefits and limitations of using hidden fields?

Ans: Advantages: Easy to implement, Hidden fields are supported by all browsers, Enables faster access of information because data is stored on client side.

Qus: What are the benefits and limitations of using Hidden Frames?

Ans: Advantages: Hidden frames allow you to cache more than one data field, The ability to cache and access data items stored in different hidden forms.

Qus: What are benefits and limitations of using Cookies?

Ans: Advantages: They are simple to use. Light in size, thus occupy less memory. Stores server information on client side. Data need not to be sent back to server.

Qus: What is Query String and what are benefits and limitations of using query string?

Ans: Query string is way to transfer information from one page to another through the URL.

Qus: What is Absolute and Sliding expiration in .NET?

Ans: Absolute and sliding expiration are two Time based expiration strategies. Absolute Expiration: Cache in this case expires at a fixed specified date or time.

Qus: Explain the concepts and capabilities of cross page posting.

Ans: Cross-page posting is done at the control level. It is possible to create a page that posts to different pages depending on what button the user clicks on. It is handled by done by changing the post back url property of the controls.

Bookmark and Share




Gallery

Related Topics

Customers who watch this also viewed:

Comments

You're a real deep thkeinr. Thanks for sharing.
Reviewed By : , Date : 09-04-2017, Rated :


Submit Reviews:


(Enter the characters seen on the image below.)



Promotional Ads

Advertisement

Packers and movers in Mohali
Plot No 636, Near HP Gas Agency, Dariya, Chandigarh - 160101
Mohali

Submersible Sludge Pumps
18, shreenath Estate, cross road, nr. Nikol, nr. Sardar Patel Ring Road, Kathwada, Gujarat 382415
Ahmedabad

Bhakti Bird Proofing
House no.9479 durgamata tekdi vibhag, mahalaxmi nagar, City ambernath, Near durgamata temple. Pin Code-421501
Motilal Nagar Mumbai

Livonta Global Pvt.Ltd
1110, Colonnade, B/H Iscon Temple, Opp. Iscon BRTS Bus Stand
Iscon - Ambali Rd,
Ahmedabad

Brij Agnihotri & associates company secretaries
3454, 40D, Sector 40D, Chandigarh, 160036, India

JB Rock Bolts & SN BOLTS
10 A & B Industrial Area (at Vill. Nangal Jarialan)
Distt. Una Himachal Pradesh
Una

Govinda resorts Lonavala
Old Mumbai - Pune Hwy, Maval, Lonavala, Maharashtra 410405
Lonavla

Steelco Metal & Alloys
192 – Minara Mansion, Shop No.6, Sant Sena Maharaj Marg, 2nd Kumbharwada Lane, Mumbai, Maharashtra 400004
Mumbra Mumbai

Best Resorts in Dharamshala Amid the Misty Hills.
SATOBARI HILLS ROAD,MCLEODGANJ,
Dharamshala

Genius Global School
194 Anand Vihar Saproon, Solan, Himachal Pradesh
Ambala Cantt