ys it is possible to deploy multiple services project in single worker role
first you need to create method in in workerrole.cs which can communicate with your application methods & perform operation
in worker role there is on start method you have to just call that methods in it, as this approch you can add multiple servicep roject on sigle worker role
gurunguns
Member
72 Points
209 Posts
Deploy multiple project on single worker Role
Feb 19, 2013 08:39 AM|LINK
Hi,
Can anyone guide me the procedure to depoy multiple service project on single worker role. Thanks
Save Green.
wcesaching7
Member
32 Points
11 Posts
Re: Deploy multiple project on single worker Role
Feb 19, 2013 08:47 AM|LINK
Hi Guru
ys it is possible to deploy multiple services project in single worker role
first you need to create method in in workerrole.cs which can communicate with your application methods & perform operation
in worker role there is on start method you have to just call that methods in it, as this approch you can add multiple servicep roject on sigle worker role
+91-7798805999
gurunguns
Member
72 Points
209 Posts
Re: Deploy multiple project on single worker Role
Feb 19, 2013 09:23 AM|LINK
Sachin, thanks for the reply
I don't use any workerrole.cs ....all I have is a cloud project with service definition files
Can you please share any references on the same approach.
Save Green.
wcesaching7
Member
32 Points
11 Posts
Re: Deploy multiple project on single worker Role
Feb 19, 2013 09:30 AM|LINK
In cloude project there you have to add add worker role ..... while creating project its asking you about add worker role so please select it
refer following link
http://msdn.microsoft.com/en-us/library/windowsazure/ee405487.aspx
+91-7798805999
gurunguns
Member
72 Points
209 Posts
Re: Deploy multiple project on single worker Role
Feb 21, 2013 07:03 AM|LINK
thanks, yes I got workerrole.cs with Run() (with infinite loop), OnStart() methods.
Now how can I add two or more different WCF netTcpbinding services to this same worker role?
Save Green.
wcesaching7
Member
32 Points
11 Posts
Re: Deploy multiple project on single worker Role
Feb 21, 2013 07:29 AM|LINK
see you have 2 projects
1. Azure project
2. C# class library
in 2nd project you should add your service refrances. & perform operations
that 2nd project is already added in your azure project(1st project) as worker role
Whatt to do in 2nd project:
1. Add sesrvice refrances in your 2nd project
you will get its refrances genrate object by that you will get its operations
perform your operations * method which performing this operations call thathat methos in your on start methos of worker role
+91-7798805999