stuprice

Results comments of stuprice

I used the example above but HttpContext.Current was always null in the crucial bit of code: ``` var builder = new ContainerBuilder(); builder.Register(c => ((ClaimsIdentity)HttpContext.Current.User.Identity).GetCredentialsFromClaims()) .AsSelf() .InstancePerLifetimeScope(); builder.Update(Conversation.Container); ``` It...

I'm not an expert on this but from looking at the changes to the bot framework code made here https://github.com/Microsoft/BotBuilder-Samples/commit/34fc91f35dfbad56f8e1a662d036b3c6fd8355c0 I did this: ` Conversation.UpdateContainer(builder => { builder.Register( c =>...

I have posted a question on Stack Overflow about this topic [here](https://stackoverflow.com/questions/47206760/microsoft-bot-framework-multi-tenant-credentials-c-sharp). The problem I'm facing is losing the HttpContext when using ConfigureAwait(false) so I then lose knowledge of which...

I've worked around this by storing the current 'bot id' in AppDomain data keyed by the activity.Conversation.Id in the first part of the Post method. I then moved the UpdateContainer...

Hi, is there any update on this? @Ma3yTa are you sure you’re not just getting it to work by using subscription messaging? You’re code above doesn’t work for me. See...

Hi, thanks for your reply. I've tried the code above and it still doesn't work for me. I've posted the full details on Stack Overflow, would you mind having a...

With the help of the comments above I have finally solved this for anyone looking for any further help. @EricDahlvang's post above re-inspired me to look at this again and...

Same here, been happening for 24 hours and still on-going for Web Chat, Facebook Messenger, Skype and Direct Line channels. Any other examples of a state storage using SQL Server?...

I've found this: https://blog.botframework.com/2017/07/26/saving-state-sql-dotnet/ and the sample code here: https://github.com/Microsoft/BotFramework-Samples/tree/master/blog-samples/CSharp/AzureSql-StateClient/Microsoft.Bot.Sample.AzureSql Obviously not going to put a SQL Server public on the web but would seem easy enough to put a...

@JasonSowers thanks, just needed to clarify that. So in performance terms it will be better to host the state database close to my bot - in this case it will...