Wrox Programmer Forums
|
BOOK: Professional ASP.NET Design Patterns
This is the forum to discuss the Wrox book Professional ASP.NET Design Patterns by Scott Millett; ISBN: 978-0-470-29278-5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET Design Patterns section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 6th, 2011, 07:06 AM
Registered User
 
Join Date: Dec 2009
Posts: 6
Thanks: 0
Thanked 1 Time in 1 Post
Thumbs up question about chapter 6... (adaptation)

Hello M. Millett,

first: Wonderful book !
continuity with another great book like ".NET domain-Driven Design with c#" of Tim McCarthy.

I have a question about the use of your service layer proxy with a Silverlight App.
I use a M-V-VM for my application and want, for test, consume your servicefacade in my ViewModel Presentation.
I'm facing some problems:

1) Your ServiceFacade over the proxy service have interface Dependency Injection ??
Where do I put the BootStrapper for interface/implementation ? I can't reference implementation library in a silverlight library (silverlight don't have to know it and framework compatibility problem appears. in the HttpHost ?

2) Do you have an example of code to make your proxy service Asynchrone ? (an obligation with Silverlight)

3) maybe do you have another beautiful solution to use your Architecture model with a Silverlight Application ?

Thanks to take time to read me and thanks in advance for your answer.
Patrice
 
Old October 8th, 2011, 08:32 AM
Registered User
 
Join Date: Dec 2009
Posts: 6
Thanks: 0
Thanked 1 Time in 1 Post
Thumbs up i found some solutions...

I found solutions for my problems:

1) I use the new Portable Class Library for share my code source to all my different platform. For anyone intereting : Visual Studio Gallery - Portable Class Library for .NET, silverlight, XBOX360 et Win Phone 7

2) I prefer to build the service via the Service Reference Build-in because it create all the proxy's method "ASYNC" for my WCF "SYNC" method !
If anyone have anyway a best solution, please, tell me.

3) here is some very very good info to use StructureMap to do IoC with WCF to anyone: here

4) Finally I have to use NInject in my Silverlight project because StructureMap is not yet Compatible with Silverlight !

I'm waiting for your next book "Real World....." M. Millett ;-)
Have a nice day.

Patrice





Similar Threads
Thread Thread Starter Forum Replies Last Post
chapter 3 question adamshire BOOK: Professional Ajax 2nd Edition ISBN: 978-0-470-10949-6 1 July 29th, 2010 06:09 PM
Chapter 5 Question jltscaa BOOK: Beginning Microsoft Visual Basic 2008 ISBN: 978-0-470-19134-7 6 May 18th, 2010 08:39 PM
Chapter 5 Question 5 Will BOOK: Beginning Microsoft Visual C# 2008 ISBN: 978-0-470-19135-4 1 October 24th, 2009 09:18 AM
Chapter 4 question davidle1234 BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 January 18th, 2007 12:18 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.