1.

Record Nr.

UNINA9910788098703321

Autore

Liu Ming T (Ming-Tsan)

Titolo

WCF multi-layer services development with Entity Framework : create and deploy complete solutions with WCF and Entity Framework / / Mike Liu

Pubbl/distr/stampa

Birmingham : , : Packt Publishing, , 2014

ISBN

1-78439-695-8

Edizione

[Fourth edition.]

Descrizione fisica

1 online resource (378 p.)

Collana

Professional expertise distilled

Soggetti

Application software - Development

Microsoft .NET Framework

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Note generali

Includes index.

Nota di contenuto

Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Preface; Chapter 1: Implementing a Basic HelloWorld WCF Service; The basic WCF concepts; Address; Binding; Contract; The service contract; The operation contract; The message contract; The data contract; The fault contract; Endpoint; Behavior; Hosting; Channels; Metadata; WCF environments; Creating the HelloWorld solution and project; Defining the HelloWorldService service contract interface; Implementing the HelloWorldService service contract; Hosting the WCF service in IIS Express

Creating the host applicationTesting the host application; IIS Express; Modifying the web.config file; Starting the host application; Creating a client to consume the WCF service; Creating the client application project; Generating the proxy and configuration files; Customizing the client application; Running the client application; Setting the service application to autostart; Summary; Chapter 2: Hosting the HelloWorld WCF Service; WCF hosting options; Hosting the service in a managed application; Hosting the service in a console application

Consuming the service hosted in a console applicationHosting the service in a Windows service; Hosting the service in IIS using the HTTP protocol; Preparing the folders and files; Starting IIS; Enabling WCF services on Windows 8; Creating the IIS application; Starting the WCF service in IIS; Testing the WCF service hosted in IIS using the HTTP



protocol; Hosting the service in IIS using the TCP protocol; Benefits of hosting a WCF service using the TCP protocol; Preparing the folders and files; Enabling the TCP WCF activation for the host machine; Creating the IIS application

Testing the WCF service hosted in IIS using the TCP protocolSummary; Chapter 3: Deploying the HelloWorld WCF Service; Publishing the HelloWorldService from Visual Studio; Publishing from Visual Studio to an on-premise computer; Creating the publishing project; Publishing the HelloWorldService; Testing the service; Publishing to the cloud; Creating the profile to be published; Creating the cloud website; Publishing the HelloWorldService to the cloud website; Testing the service; Publishing the HelloWorldService using a deployment package; Creating the package; Installing the package

Testing the serviceSummary; Chapter 4: Debugging the HelloWorld WCF Service; Debugging a WCF service from a client application; Starting the debugging process; Debugging the client application; Stepping into the WCF service; Directly debugging the WCF service; Starting the WCF service in the debugging mode; Starting the client application; Attaching the debugger to a running WCF service process; Running the WCF service and client applications in a non-debugging mode; Debugging the WCF service hosted in IIS; Debugging a WCF service hosted in the cloud; Enabling debugging of the service

Attaching to the cloud service process

Sommario/riassunto

If you are a C#, VB.NET, or C++ developer and want to get started with WCF and Entity Framework, then this book is for you. Competence in Entity Framework will be needed to follow the examples in the book, but experience in creating WCF services using Entity Framework is not necessary. Developers and architects evaluating SOA implementation technologies for their company will find this book useful.