Login
Register
Tutorials
Forum
Career Development
Resources
Reviews
Jobs
Interview
Communities
Projects
Training
Silverlight Games
|
Bookmarks
|
New Members FAQ
|
Mentor
|
Code Converter
|
IT Companies
|
Peer Appraisal
|
Members
|
Revenue Sharing
|
Computer Jokes
|
New Posts
|
Social
|
Online Members
Arun prasanna
Ultimaterengan
Naved Hasan Khan
Alwyn Duraisingh
sachin
More...
Forums
»
.NET
»
ASP.Net MVC
»
About Microsoft Exam Clarifications
Posted Date:
11 Jul 2012
Posted By::
Sriram
Member Level:
Bronze
Member Rank:
4925
Points
: 5
Responses:
1
What is the Exact answer for it?
You are developing an ASP.NET Web service. The following code segment implements the service. (Line numbers are included for reference only.)
[WebServiceBinding(ConformsTo =WsiProfiles.BasicProfile1_1)]
public class ProductService :System.Web.Services.WebService
{
[WebMethod]
public Product GetProduct(string name)
{
&
}
[WebMethod]
public Product GetProduct(int id)
{
&
}
}
You need to ensure that both GetProduct methods can be called from a Web client. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
A. Remove line 01.
B. Add the static modifier on lines 05 and 11.
C. Add the following attribute before line 10.
D. [SoapDocumentMethod(Action="GetProductById")]
E. Modify the attribute on line 10 as follows.
F. [WebMethod(MessageName="GetProductById")]
Tweet
Responses
#680249 Author:
Abhishek Arya
Member Level:
Gold
Member Rank:
19
Date: 13/Jul/2012 Rating:
Points
: 1
My answer will be F. SO that webclient know which function to call.
Post Reply
This thread is locked for new responses. Please post your comments and questions as a
separate thread
.
If required, refer to the URL of this page in your
new post
.
Tweet
Next :
Oxytoxin Best Anti Aging Cream For all type Wrinkles
Previous :
How to maintain login sessions.
Return to Discussion Forum
Post New Message
Category:
Related Messages
ASP.NET MVC Framework
How to merge an ASP.NET website with MVC web application
Public site using Asp.net MVC
Calling asp.net mvc action method using jquery post method expires the session
What is relation or difference between MVC and N-Tier Architecture
Active Members
Today
Anil Kumar ...
(24)
Naved Hasan ...
(23)
naveensanagase...
(13)
Last 7 Days
naveensanagase...
(240)
baskar
(201)
Pawan Awasthi
(187)
more...
Awards & Gifts
Email subscription
.NET Jobs
.NET Articles
.NET Forums
Articles Rss Feeds
Forum Rss Feeds
Talk to Webmaster Tony John