Just setup a constructor on you object and register your components in your
config. I use WCF services like that :
[ServiceBehavior(Name = "WorkRequestService", Namespace =
"http://stdc.datapoint.co.nz/", ConfigurationName = "WorkRequestService")]
[AspNetCompatibilityRequirements(RequirementsMode =
AspNetCompatibilityRequirementsMode.Allowed)]
public class WorkRequestService : WorkRequestServiceContract
{
private readonly IWorkRequestBridge bridgeService;
private readonly IApiAuthorization apiAuthorizationService;
public WorkRequestService(IWorkRequestBridge bridgeService,
IApiAuthorization apiAuthorizationService)
{
this.bridgeService = bridgeService;
this.apiAuthorizationService = apiAuthorizationService;
}
That is
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig Neuwirt
Sent: Monday, 27 November 2006 8:26 a.m.
To: castleproject-users@lists.sourceforge.net
Subject: Re: [Castle-users] Webservice and MonoRail
Have you discovered a way to have the Web Services support dependency injection?
I tried to use reflector to determine if custom handler factories would work,
but it seemed
that the appropriate hooks are not publically available.
On 11/26/06, Henry Conceição <[EMAIL PROTECTED]> wrote:
Monorail don't have a built in WebService support, but you can use the asmx
framework to expose your services.
On 11/25/06, Mircea Jivoin < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> >
wrote:
Hi all,
Is there a way to expose webservice component in MonoRail?
Can you give me some examples?
Thanks,
Mircea
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
CastleProject-users mailing list
CastleProject-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/castleproject-users
--
Cheers,
Henry Conceição
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
CastleProject-users mailing list
CastleProject-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/castleproject-users
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
CastleProject-users mailing list
CastleProject-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/castleproject-users