2011年10月8日星期六

MS.NET Framework 2.0 - Distributed Appl Development

1.A Web service exposes a method named GetChart that returns an image. The data used to
generate the image changes in one-minute intervals. You need to minimize the average time per
request for CPU processing. What should you do?
A.Set the BufferResponse property on the WebMethod attribute of the GetChart method to True.
B.Set the BufferResponse property on the WebMethod attribute of the GetChart method to False.
C.Set the CacheDuration property on the WebMethod attribute of the GetChart method to 60.
D.Set the CacheDuration property on the WebMethod attribute of the GetChart method to 1.
Correct:C
We have a student named John, he was very well done in the college, and he interviewed many times for a satisfied job, but eventually he failed, when he learned that IT certification can give him a better beginning, he came to us! He took the training course of 70-529 books, and smoothly, he has passed, last week he told me that he had found a job in an IT company as he dreamed and owned a high salary! We all very happy with that!

2.You create a Web service. The Web service must be deployed on a remote Web server. You need
to ensure that the deployment does not place the source code for the Web service on the Web
server. What should you do?
A.Move the contents of the development Web site to the Web server.
B.Use the ASP.NET Compilation tool (Aspnet_compiler.exe) to compile the Web service locally. Move the
resulting files to the Web server.
C.Add a Class attribute to the @WebService directive. Rebuild the Web service project and deploy it by
using the Copy Web Site Wizard.
D.Add a CodeBehind attribute to the @WebService directive. Rebuild the Web service project and deploy
it by using the Copy Web Site Wizard.
Correct:B

没有评论:

发表评论