I will do a project using "sql server service broker". I have never used it but tried tutorials from microsoft website and I think I got the idea. Now, I can create all the required elements for service broker in the database. but my question is, how do you use service broker from c#. I want to add messages to queue from c# and read from c#?
I read that I can access the queue table with old style sql like below
select columns from SchemaName.QueueName WITH(NOLOCK);
but I dont think this is the correct way. how can I do it properly in c#? please give me a clue