Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a REST-based web service that stores phone-book entries in a database (PhoneBook.mdf, which is provided in the examples directory for this chapter) and a

image text in transcribed

Create a REST-based web service that stores phone-book entries in a database (PhoneBook.mdf, which is provided in the examples directory for this chapter) and a client app that consumes this service. Give the client user the capability to enter a new contact (service method AddEntry) and to find contacts by last name (service method GetEntries). Pass only simple types as arguments to the web service. Add a DbContext to the web-service project to enable the web service to interact with the database. The GetEntries method should return an array of strings that contains the matching phone-book entries. Each string in the array should consist of the last name, first name and phone number for one phone-book entry separated by commas. Build an ASP.NET client (Fig. 30.19) to interact with this web service. To use an asynchronous web request from an ASP. NET client, you must set the Async property to true by adding Async="true" to the. aspx page directive. Create a REST-based web service that stores phone-book entries in a database (PhoneBook.mdf, which is provided in the examples directory for this chapter) and a client app that consumes this service. Give the client user the capability to enter a new contact (service method AddEntry) and to find contacts by last name (service method GetEntries). Pass only simple types as arguments to the web service. Add a DbContext to the web-service project to enable the web service to interact with the database. The GetEntries method should return an array of strings that contains the matching phone-book entries. Each string in the array should consist of the last name, first name and phone number for one phone-book entry separated by commas. Build an ASP.NET client (Fig. 30.19) to interact with this web service. To use an asynchronous web request from an ASP. NET client, you must set the Async property to true by adding Async="true" to the. aspx page directive

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Database Relational Model A Retrospective Review And Analysis

Authors: C. J. Date

1st Edition

0201612941, 978-0201612943

More Books

Students also viewed these Databases questions

Question

=+c) Explain the problem in using the Normal model for these data.

Answered: 1 week ago

Question

13. You always should try to make a good first impression.

Answered: 1 week ago

Question

In an Excel Pivot Table, how is a Fact/Measure Column repeated?

Answered: 1 week ago