Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Interviews
Quizzes
Home
Quizzes
Interviews Dot Net Technologies Interviews:.Net Architecture.Net Database.Net Deployment.NET web servicesADO.NETADO.NET 2.0ASP ProgrammingASP.NetASP.NET 2.0ASP.NET CachingASP.Net MVCBizTalkC# (Sharp) Programming LanguageCOM+Crystal ReportsDataGrid (Grid view)Dot NetDot Net AssemblyDot Net Code SecurityDot NET crystal reportsDot Net FrameworkDot Net RemotingDot Net WindowsFormsEntity FrameworkMicrosoft .Net MobileMicrosoft BasicsMicrosoft.NETMicrosoft.NET 2.0Mixed MicrosoftMono FrameworkMOSSMSFMTSReporting ServicesSenior .Net DeveloperVB .NetVB .Net DeveloperVB.NET FrameworkWCF (Windows Communication Foundation)WCF Data ServicesWeb Forms
Copyright © 2018. All Rights Reserved
MOSS Interview Question:
Which one is Better a UserControl or a WebPart?
Submitted by: AdministratorComparison of UserControl and WebPart
Advantages of UserControl:
Developers are already familiar with user controls which reduce the learning curve.
UserControls can be used with other ASP.NET applications. Hence reusable.
Developing user controls using Visual studio is much faster than building it through code as in the case of WebParts.
Disadvantages of UserControl:
There is a performance overhead as usercontrol use a shim as a wrapper to work with Sharepoint.
Deployment is a bit messy.
Advantages of WebPart:
Everything is available and customizable, i.e. toolbar, behavior, content etc.
Better performance as there is no shim wrapper.
Provide a structured deployment mechanism.
Disadvantages of WebPart:
Developers are unfamiliar so learning curve is steeper.
They are strictly for Sharepoint and won't work with other ASP.NET applications. Thus not reusable.
Submitted by: Administrator
Advantages of UserControl:
Developers are already familiar with user controls which reduce the learning curve.
UserControls can be used with other ASP.NET applications. Hence reusable.
Developing user controls using Visual studio is much faster than building it through code as in the case of WebParts.
Disadvantages of UserControl:
There is a performance overhead as usercontrol use a shim as a wrapper to work with Sharepoint.
Deployment is a bit messy.
Advantages of WebPart:
Everything is available and customizable, i.e. toolbar, behavior, content etc.
Better performance as there is no shim wrapper.
Provide a structured deployment mechanism.
Disadvantages of WebPart:
Developers are unfamiliar so learning curve is steeper.
They are strictly for Sharepoint and won't work with other ASP.NET applications. Thus not reusable.
Submitted by: Administrator
Copyright 2007-2025 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.
https://InterviewQuestionsAnswers.ORG.