The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

daveharney (15) [Avatar] Offline
#1
Once again, I found this chapter full of useful ideas. However, the map sample code (brilliant as it is), was a bit complex for me to understand the concepts. But, I could strip down the sample code to just retrieve the store names from the appsettings file and display them on the Home/Index page as simple html. It then becomes clear what bits of code are needed to get at some "Secrets".
Andrew Lock (51) [Avatar] Offline
#2
Hi Dave,

Thanks for the comment. Its that eternal struggle between having something simple enough that the underlying concepts are clear, but interesting enough/practical usages so that people don't get bored with just another list displayed on the screen! Thanks for flagging that this may have been a step too far smilie

Andrew
Pavel Voronin (1) [Avatar] Offline
#3
I would like to see a kind of alternative opinion about design decisions of ASPNETCORE team.
I think adding some references for consideration wouldn't hurt:

http://simpleinjector.readthedocs.io/en/latest/aspnetintegration.html?highlight=ioption#working-with-ioptions-t

And https://simpleinjector.org/blog/2016/06/whats-wrong-with-the-asp-net-core-di-abstraction/

P.S. I like how you give a general overview and then go to details, and reiterate important things. Thanks.