الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

اسئله وحلولها لامتحان 563-70

بدأه mkamal9500 في 16 مارس 2011 · 1 رد · 1,253 مشاهدة · في الشهادات التقنية
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

السلام عليكم يأيها الاعضاء الكرام . تحيه طيبه وبعد :

اخوكم المهندس محمد عبدالجواد

سوف ابدأ بمشيئة الله تعالي حل امتحان رقم 563-70الخاص بالشهادة mcpd لتطبيقات الويندوز

السؤال الأول :

You are creating a Windows application by using the .NET Framework 3.5.

The application will access an external Windows Communication Foundation (WCF) service by using the

following contract.

[serviceContract(SessionMode=SessionMode.NotAllowed)]

public interface IOrderService

{

}

The service contract has multiple operations. The operations will be called by the Windows application

when required.

For a single invocation of the application, you plan to maintain the information of the application state

between subsequent method calls to the WCF service. The application state information cannot be

persisted once the application closes.

You need to ensure that the application can consume the WCF service.

What should you do?

ans :

Save the information of the application state in the Windows application

السؤال الثاني :

You create a Windows application by using the .NET Framework 3.5.

You create a Windows user control in the application.

The application contains the following code segment. (Line numbers are included for reference only.)

01 public struct FullName

02 {

03 public string FirstName { get; set; }

04 public string LastName { get; set; }

05 }

The user control has a property named UserName of the FullName type. You add the user control to a

Windows form.

During the design phase, the UserName property must be allowed to update the FirstName and

LastName properties as comma-delimited values in the property window.

You need to ensure that the properties in the FullName structure are represented as string values.

What should you do?

ans :

Create a TypeConverter class for the FullName structure.

Q3 :

You create a Windows application by using the .NET Framework 3.5.

You review the design for a Windows application that has the following features:

The data layer sends and receives data updates by using Microsoft Messaging Queue (MSMQ) 4.0.

Data is stored in a Microsoft SQL Server 2008 server database instance.

Data from a DataSet object is displayed in a DataGrid control.

The application is deployed to portable computers that can access the corporate network only when

plugged on to it. The data must be most securely stored when the computer is in offline mode.

You need to ensure that the portable computers can update data even when offline.

What should you do?

Change the data layer to use a local data cache along with Microsoft Sync Services instead of MSMQ.

-------------------------------------------------------------------------------------------------------------------------------------------

مواضيع مشابهة