70-513 試験問題を無料オンラインアクセス
| 試験コード: | 70-513 |
| 試験名称: | TS: Windows Communication Foundation velopment with Microsoft .NET Framework 4 |
| 認定資格: | Microsoft |
| 無料問題数: | 323 |
| 更新日: | 2026-07-07 |
You are developing a Windows Communication Foundation (WCF) service that returns location information for authorized law enforcement agencies. The service contract is as follows.
Users are authenticated and impersonated. The system uses ASP.NET roles. The members of law enforcement are members of the LawEnforcement role.
You need to ensure that only members of the LawEnforcement role can call these methods.
What are two possible ways to achieve this goal (Each correct answer presents a complete solution? Choose two.)
A Windows Communication Foundation (WCF) service uses the following service contract.
<ServiceContract>
Public Interface IService <OperationContract0>?
Function Operation 1 (RyVal s As String) As String
End Interface You need to ensure that the operation contract Operation 1 responds to HTTP POST requests.
Which code segment should you use?
You are developing a Windows Communication Foundation (WCF) service. The service configuration file has a <System.Diagnostics> element defined.
You need to ensure that all security audit information, trace logging, and message logging failures are recorded.
Which configuration segment should you add to the <System.Diagnostics> element?
You implement a Windows Communication Foundation (WCF) service. The service is hosted in Internet Information Services (IIS).
The service must use X.509 certificates to authorize specific methods.
You need to configure the service.
What should you do? (Each correct answer presents part of the solution. Choose two.)
A Windows Communication Foundation (WCF) solution uses the following contract.
<ServiceContract(SessionMode:=SessionMode Allowed)s Public Interface lMyService <OperationContract(lsTerminating:sFalse)s Sub Initialize () <OperationContract(lslnitiating:sFalse)>s Sub DoSomething() <OperationContract(lsterminating:=True)>
Sub Terminate ()
End Interface You need to change this interface so that:
"Initialize is allowed to be called at any time before Terminate is called.
"DoSomething is allowed to be called only after Initialize is called, and not allowed to be called after Terminate is called. "Terminate will be allowed to be called only after Initialize is called
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)