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


Top 5 Contributors of the Month
david stephan

Home >> Interview Question >> SharePoint >> Post New Question Subscribe to Interview Questions

What is performance impact of RunWithElevatedPrivileges?

Posted By :Sagar Pardeshi     Posted Date :November 30, 2013    Points :40   Category :SharePoint 
Performance impacts with RunWithElevatedPrivileges create new Thread with app pool's credential ,blocking your current thread until it finishes.

You can also find related Interview Question to What is performance impact of RunWithElevatedPrivileges?  below: 

What is the performance impact of RunWithElevatedPrivileges?

  
Ans. RunWithElevatedPrivileges creates a new thread with the App Pool's credentials, blocking your current thread until it finishes. (More...)

What is the performance impact of RunWithElevatedPrivileges?

  
Performance impact with RunWithElevatedPrivileges creates a new thread with the App Pool's credentials, blocking your current thread until it finishes. (More...)

What is the performance impact of RunWithElevatedPrivileges?

  
RunWithElevatedPrivileges creates a new thread with the App Pool's credentials, blocking your current thread until it finishes. (More...)

What are the factors that affect the performance of NIC?

  
The following factors affect the performance of NIC,

Bus Speed :- It depends on ISA or PCI slot. PCI has higher speed.

Memory :- More the memory, better the performance.

Memory Access Method :- DMA is faster than I/O method. (More...)

ATM - Performance ?

  
1. Throughput - Rate at which ATM cells depart from the ATM switch.

2.Connection Blocking Probability - Defines the probability of Non-availability of enough resources for generating physical
connections between inlet and outlet .

3. Cell Loss Probability - Defines a no. of data cell that can be handled by a switch queue.

4. Switching Delay - Time required for cell to pass through the ATM switch.

5. Cell Delay Variation - Probability that the switching delay of the ATM switch exceeds the certain value . (More...)

How do you improve the performance of a server?

  
First check the processor and memory usage to see that processor is not above 80% utilization and memory not above 40-45% utilization then check the disk utilization using Performance Monitor, Secondly, use SQL Profiler to check for the users and current SQL activities and jobs running which might be a problem. Third would be to run UPDATE_STATISTICS command to update the indexes (More...)

What does RunWithElevatedPrivileges do?

  
There are certain object model calls model that require site-administration privileges. To bypass access-denied error, we use RunWithElevatedPrivileges property when request is initiated by a nonprivileged user. We can successfully make calls into the object model by calling the RunWithElevatedPrivileges method provided by the SPSecurity class.
(More...)

Performance wise which one is the best? IN,EXISTS or INNER JOIN

  
It depends.

Generally speaking JOINs are much better than EXISTS & EXISTS is better than IN, performance wise.

If your result set is small then you can use IN or EXISTS.

But if result set contains a large set of records, then use JOINS.


(More...)

You are creating a database on multiple disks that will be queried intensively by users. What are some steps that you can take to improve performance and avoid disk contention?

  
You could use disk striping (RAID) to increase performance.

A secondary strategy would be to use filegroups to improve performance, especially placing the transaction log file(s) on a separate disk from the data file(s) to avoid disk contention as SQL Server queries the database and records actions in the log. Also, filegroups could be used to separate a portion of the data files requiring frequent backups because they are actively modified.
(More...)

What does RunWithElevatedPrivileges do?

  

There are certain object model calls model that require site-administration privileges. To bypass access-denied error, we use RunWithElevatedPrivileges property when request is initiated by a nonprivileged user. We can successfully make calls into the object model by calling the RunWithElevatedPrivileges method provided by the SPSecurity class.
. What does SPWeb.EnsureUser method do?
Checks whether the specified login name belongs to a valid user of the Web site, and if the login name does not already exist, adds it to the Web site.
e.g SPUser usr = myWeb.EnsureUser("hitenders") (More...)

What is Performance Point Services?

  

Allows users to monitor and analyze a business by building dashboards, scorecards, and key performance indicators (KPIs).
(More...)

Does it matter if I use RunWithElevatedPrivileges in SPJobDefinition?

  
Yes,Jobs are executed under SharePoint timer service account. This account could have not full control permissions. It's permissions could be restricted. (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