Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

SharePoint 2010 create SPWeb object in synchronous and in asynchronous events

$
0
0

Is there any difference in creating SPWeb objects in synchronous and in asynchronous events? A far as I know in both cases it will be using (SPSite site = new SPSite("http://.........")) { using (SPWeb web = site.OpenWeb()) { SPList list = web.Lists["Tasks"]; ...... } }

Some one asked this question in interview to one of my friend.

Is there hidden answer for this question?



jnkb


Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>