When should you dispose of spweb and spsite objects?
Answer / Rakesh Sagar
You should dispose of both SPWeb and SPSite objects as soon as possible after using them, typically in the finally block to ensure disposal even if an exception is thrown.
| Is This Answer Correct ? | 0 Yes | 0 No |
Is microsoft getting rid of sharepoint?
What is classic-mode authentication?
What are html etags?
Which Workflow are used in Sharepoint Designer , how can i executed Workflow ?
Difference beetween form library and document library?
How can i create new workflows in VS 2005 ? with real time example ?
Explain sharepoint master pages and its features?
What is document center?
Explain webpart properties, and what are some of the attributes you see when declaring webpart properties in code?
Which provider is better in Visual Studio ? like OLEDB and Sqlserver .
What are the types of page layout columns?
What are the ways of backing up and restoring site collection?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)