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

Top 5 Contributors of the Month
david stephan
Gaurav Pal

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

Q. What datatype is retured by REST ?

Posted By :Gowthammanju     Posted Date :November 30, 2011    Points :40   Category :SharePoint 

Ans. REST does not return an object of type SharePoint Site\List. Instead, it returns an XML output

You can also find related Interview Question to Q. What datatype is retured by REST ?  below: 

Which of the following is a fixed length DataType?

CHAR Data type is used when the column lenght is known (More...)

Which datatype is used t store files in SQL?

We can use 'image' datatype to store images as well as files in SQL server. (More...)

What is the use of xml datatype in SQL Server?

As the name indicates xnl datatype is used to store XML documents in SQL Server.

For more information please go to the following URL,
http://msdn.microsoft.com/en-us/library/ms187339.aspx (More...)

What is datatype of pointer?

Pointer can be of any datatype and is not restricted to the size of that particular datatype. Pointer is a variable of 4byte as all address in a 32 bit computer are of 4 byte length. So what about 64 bit computers? Well in 64 bit computers the pointer size will vary, but if we rum a 32 bit pointer in 64 bit system then we will find half of the pointer's field is empty like 0x000000. (More...)

What is the minimum value of TINYINT datatype?

0 is the minimum value of TINYINT datatype in SQL Server (More...)

State whether Except clause will work if number of fields are same but with different datatype?

No, It will not work number of fields and datatype of each field should match with respective fields in both the query. (More...)

What is XML datatype?

It lets you store xml data in database server. (More...)

Q. What is REST ? How is it used in SharePoint 2010 ?


Ans. REST (Representational State transfer) is a protocol (powered by ADO.NET services) which is used for getting data out of sharepoint via Url. It is mostly used to access data from sharepoint even when you are not in the sharepoint context.


How to define a service as REST based service in WCF?

REST stands for Representational State Transfer.
WCF 3.5 provides explicit support for RESTful communication using a new binding named WebHttpBinding.
The below code shows how to expose a RESTful service

interface IStock




int GetStock(string StockId);

By adding the WebGetAttribute, we can define a service as REST based service that can be accessible using HTTP GET operation.

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