More WCF Updates

140 views
Skip to first unread message

Craig Neuwirt

unread,
Mar 26, 2008, 5:32:43 PM3/26/08
to castle-pro...@googlegroups.com
Couple updates to the WCFFacility

  • NO serviceModel configuration is required in Web.Config when hosting components in IIS.  The configuration of these components is exactly the same as self-hosted components with the following differences
    • The WcfServiceModel needs to be marked as Hosted
    • No address information is needed.
Here is an example using Binsor

component 'reservation_svc', IReservationService, ReservationService:
    ServiceModel = WcfServiceModel().Hosted() \
        .AddEndpoints( WcfEndpoint.BoundTo( BasicHttpBinding() ))     => Look mom, no address!

  • Ability to support different client and server models so
    • Very important to be able to utilize existing WCF variations (Web Channels and Restfull Services, WF Hosted Services)
Next: 
  • Add model for WebChannels and Restful Services
  • Allow multiple ServiceModels for a component (e.g. support WS Bindings and Restful bindings)

craig

Ruprict

unread,
Mar 27, 2008, 5:22:08 PM3/27/08
to Castle Project Development List
Mate,

You HAVE to do a full blog about all these improvements...I can't keep
up. Then again, I am kinda slow... I am thinking full service and
full client apps.....

Also, are you exclusively using Binsor for config files? I am still
(gulp) in XML config land, but I think the time has come for me to
step up.

Oh, and if you don't do a blog post, I might beat you to it......
(giving you full credit and exultations, of course) From what I can
tell, this is freaking great....I am gonna have to update the WCF
Facility doco, once I get my head around it all.

Ruprict

On Mar 26, 5:32 pm, "Craig Neuwirt" <cneuw...@gmail.com> wrote:
> Couple updates to the WCFFacility
>
>    - NO serviceModel configuration is required in Web.Config when hosting
>    components in IIS.  The configuration of these components is exactly the
>    same as self-hosted components with the following differences
>       - The WcfServiceModel needs to be marked as Hosted
>       - No address information is needed.
>
> Here is an example using Binsor
>
> component 'reservation_svc', IReservationService, ReservationService:
>     ServiceModel = WcfServiceModel().*Hosted()* \
>         .AddEndpoints( WcfEndpoint.BoundTo( BasicHttpBinding() ))     =>
> Look mom, no address!
>
>    - Ability to support different client and server models so
>       - Very important to be able to utilize existing WCF variations
>       (Web Channels and Restfull Services, WF Hosted Services)
>
> Next:
>
>    - Add model for WebChannels and Restful Services
>    - Allow multiple ServiceModels for a component (e.g. support WS

Craig Neuwirt

unread,
Mar 27, 2008, 8:14:48 PM3/27/08
to castle-pro...@googlegroups.com
On Thu, Mar 27, 2008 at 4:22 PM, Ruprict <glenn.g...@gmail.com> wrote:

Mate,

You HAVE to do a full blog about all these improvements...I can't keep
up.  Then again, I am kinda slow...  I am thinking  full service and
full client apps.....

I'll see what I can do..

Also, are you exclusively using Binsor for config files?  I am still
(gulp) in XML config land, but I think the time has come for me to
step up.

I use Binsor exclusively, but  all my WCF tests and examples use
the Kernels registration interface.


Oh, and if you don't do a blog post, I might beat you to it......
(giving you full credit and exultations, of course)  From what I can
tell, this is freaking great....I am gonna have to update the WCF
Facility doco, once I get my head around it all.

That would be great too.  We'll have to thank Ayende too for the initial
concept and server implementation.
Reply all
Reply to author
Forward
0 new messages