how should i, in a windows service, declare my server to use multiple queues?
for instance in an mvc project i do it in this way.
app.UseHangfire(config =>
{
config.UseAuthorizationFilters(new AuthorizationFilter
{
Users = string.Join(",", AllowedUsers.Select(u => string.Format(@"{0}\{1}", Domain, u)))
});
**config.UseSqlServerStoragBaseDataMapper.HangfireConnectionStringg").UseMsmqQueues(@".\private$\hangfire-{0}", "default", "queue1", "queue2");**
**config.UseServer("default", "queue1", "queue2");**
});
Now, how should i do this if i want to move all these tasks and requirements to a windows service?
Regards,
Manuel