ASP.Net 3.5 online Test

You are creating an ASP.NET application by using the .NET Framework 3.5. The application accesses a Windows Communication Foundation (WCF) service. You plan to debug the application. You need to ensure that you can step into the WCF service and debug the application. What should you do


You are creating an ASP.NET application by using the .NET Framework 3.5. You use LINQ to SQL to query a Microsoft SQL Server 2008 database. You need to create a LINQ query to retrieve information on order and order details. You need to ensure that the LINQ query executes the following SQL statement:

SELECT Order.OrderID ,Order.Description ,OrderDetails.UnitPrice FROM Order JOIN OrderDetails ON Order.OrderID = OrderDetails.OrderID Which LINQ query should you use?


You are creating an ASP.NET application by using the .NET Framework 3.5. The application stores data in a database that might be implemented in Microsoft SQL Server, Microsoft Access, or a variety of third-party databases. You need to implement a data access strategy that meets the following requirements: The same data access code is used for all database platforms. The application defines the SQL syntax used. The application reduces the vulnerability to SQL injection attacks. What should you do?


You are creating an ASP.NET application by using the .NET Framework 3.5. The application accesses a Windows Communication Foundation (WCF) service. You plan to debug the application. You need to ensure that you can step into the WCF service and debug the application. What should you do?


Which of the following raises a bubbled event?


Which one of the following code snippets can be used to obtain the time of the request on the server?


You are creating an ASP.NET application by using the .NET Framework 3.5. You plan to develop a custom control library. Developers will use the control on Web pages in multiple applications. Each ASP.NET application will be configured by using different state management strategies. You need to ensure consistent state management for all instances of the control. Which state repository should you choose?


You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You create a custom control named OrderForm. You write the following code segment.

public delegate void CheckOrderFormEventHandler(EventArgs e);

private static readonly object CheckOrderFormKey = new object();

public event CheckOrderFormEventHandler CheckOrderForm { add { Events.AddHandler(CheckOrderFormKey, value); } remove { Events.RemoveHandler(CheckOrderFormKey, value); } }

You need to provide a method that enables the OrderForm control to raise the CheckOrderForm event. Which code segment should you


You are creating a Windows Communication Foundation service by using Microsoft .NET

Framework 3.5.

You create the following service definition.

[ServiceContract(SessionMode=SessionMode.Required)]

public interface IMyService

{

...

}

You need to custom manage the lifetime of the session.

Which service implementation should you use?


You have a Microsoft Windows Communication Foundation (WCF) service created by using Microsoft .NET Framework 3.5.

The service includes the following code:

[ServiceContract(CallbackContract=typeof(IGetDataCallback))]

public interface IDataService

{

[OperationContract]

void GetData();

}

public interface IGetDataCallback

{

[OperationContract]

void DoSomething();

}

To ensure user interface (UI) responsiveness, you want to ensure that the callback method does not run on the same thread as the UI. You want to accomplish this with the least development effort.

What should you do?















































Join the .NET Community
Description:

Test your ASP.net 3.5 skills.

Comments
Papu Behera
By: Papu Behera
551 days 3 hours 58 minutes ago

what is the highest score for the test?

Papu Behera
By: anji
241 days 15 hours 42 minutes ago

neku anduku bey

Trober
By: Trober
495 days 23 hours 46 minutes ago

Question 2: is there a syntax error in this answer?
The SQL table is ORDER.
The answer says db.Orders, plural.

Want to learn?

Sign up and browse through relevant courses.

Name:
Your Email:
Password:
Country:
Contact no:


Area code Number
Subjects you are interested in:
Word verification: (Enter the text as in image)


Sign Up Already a member? Sign In
I agree to WizIQ's User Agreement & Privacy Policy

Your Facebook Friends on WizIQ

More Tests By Author

WCF
6 Questions | 814 Attempts

Give live classes, create & sell online courses

Try it free Plans & Pricing

Connect