.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 are the advantages and disadvantages of LINQ to Sharepoint ?

Posted By :abhays     Posted Date :March 25, 2014    Points :40   Category :SharePoint 
Advantages:

Intellisense
Strongly typed access to the entities of the list
Faster development
Simplify complex queries

Disadvantages:

If the new columns are added or its datatype changed, the datacontext class used by LINQ is no longer valid and may break the code
Extra layer to the actual CAML query


You can also find related Interview Question to What are the advantages and disadvantages of LINQ to Sharepoint ?  below: 

Advantages of LINQ

  
LINQ queries offer three main advantages over traditional foreach loops:

1)They are more concise and readable, especially when filtering multiple conditions.

2)They provide powerful filtering, ordering, and grouping capabilities with a minimum of application code.

3)They can be ported to other data sources with little or no modification.

(More...)

What are advantages and disadvantages of Microsoft-provided data provider classes in ADO.NET?

  
SQLServer.NET data provider is high-speed and robust, but requires SQL Server license purchased from Microsoft. OLE-DB.NET is universal for accessing other sources, like Oracle, DB2, Microsoft Access and Informix, but it's a .NET layer on top of OLE layer, so not the fastest thing in the world. ODBC.NET is a deprecated layer provided for backward compatibility to ODBC engines. (More...)

What are the advantages of a hosted SharePoint vs. one that is on an in-house server?

  
No hardware investment, i.e. lower costs
. No software to download - ready to start from the word go
. No IT resources - Anyone who has used a Web program like Hotmail can use it
. Faster deployment (More...)

What are the advantages and disadvantages of viewstate?

  
The primary advantages of the ViewState feature in ASP.NET are:
1. Simplicity. There is no need to write possibly complex code to store form data between page submissions.
2. Flexibility. It is possible to enable, configure, and disable ViewState on a control-by-control basis, choosing to persist the values of some fields but not others.
There are, however a few disadvantages that are worth pointing out:
1. Does not track across pages. ViewState information does not automatically transfer from page to page. With the session
approach, values can be stored in the session and accessed from other pages. This is not possible with ViewState, so storing
data into the session must be done explicitly.
2. ViewState is not suitable for transferring data for back-end systems. That is, data still has to be transferred to the back
end using some form of data object
(More...)

What are Advantages and Disadvantages of using Connection Pooling

  
Advantage of using Connection Pooling is an improvement of performance and scalability

Disadvantage is that one or more database connections, even if they are currently not used, are kept open
(More...)

What are advantages and disadvantages of Microsoft-provided data provider classes in ADO.NET?

  
SQLServer.NET data provider is high-speed and robust, but requires SQL Server license purchased from Microsoft. OLE-DB.NET is universal for accessing other sources, like Oracle, DB2, Microsoft Access and Informix, but it's a .NET layer on top of OLE layer, so not the fastest thing in the world. ODBC.NET is a deprecated layer provided for backward compatibility to ODBC engines. (More...)

What are the Disadvantages of Using LINQ in your Code?

  


Ans. LINQ translates the LINQ queries into Collaborative Application Markup Language (CAML) queries thus adding an extra step for retrieving the items. (More...)


What are the advantages of a hosted SharePoint vs. one that is on an in-house server?

  

No hardware investment, i.e. lower costs
No software to download - ready to start from the word go
No IT resources - Anyone who has used a Web program like Hotmail can use it
Faster deployment

(More...)

What is LINQ to Sharepoint ?

  
LINQ is a feature of the programming languages C# 3.0 and Visual Basic .NET

LINQ adds, to each of the languages, a SQL-like syntax and vocabulary for querying data sources.

LINQ to Sharepoint allows developers to use SQL-like syntax to query Lists and Libraries in Sharepoint.

LINQ to Sharepoint internally converts the LINQ query to a CAML query to fetch records

Advantage : Strongly typed access to the entities of the list.

Disadvantage : If the new columns are added or its datatype
changed, the datacontext class used by LINQ is no longer valid and may break the code (More...)

What are the Advantages and Disadvantages of WCF?

  
Advantages

1. WCF provides better reliability and security compared to ASMX Web services.

2. In WCF, there is no need to make much of a change to code to use the security model and alter the binding.

3. Small changes in the configuration file will match your requirements.

4. WCF provides interoperability between services.

Disadvantages

1. WCF does not support method overloading functions. (More...)

Advantages of DBMS?

  
1.Redundancy is controlled.
2.Unauthorised access is restricted.
3.Providing multiple user interfaces.
4.Enforcing integrity constraints.
5.Providing backup and recovery. (More...)

What are the disadvantages of AJAX?

  
The disadvantages are:
a)Ajax is not so friendly with search engine indexing because it uses Javascript for much part of its code. Search engines generally do not index Javascript present in web pages.
b)Dynamically created pages created by ajax does not support back button which takes the user to the previous pages. (More...)

Advantages of Crystal Reports ?

  
Advantages of Crystal Reports :
-------------------------------

Some of the major advantages of using Crystal Reports are:

1. Rapid report development since the designer interface would ease the coding work for the programmer.

2. Can extend it to complicated reports with interactive charts and enhance the understanding of the business model

3. Exposes a report object model, can interact with other controls on the ASP.NET Web form

4. Can programmatically export the reports into widely used formats like .pdf, .doc, .xls, .html and .rtf (More...)

Explain about LINQ?

  
Language integrated query or LINQ provides developers to query data. It uses strongly typed queries and results. Developer productivity increases by the usage of compile time error checking and intellisense. This feature is common on number of data types. (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