appsettings - How do I use JavaScriptSerializer in ASP.NET 5? -


i porting project dnx-core 5.0 , trying work cannot find javascriptserializer , appsettingreader classes. know system.web removed , please me find alternative of using them.

is there nuget available include them?

the asp.net 5 team dropped javascriptserializer in favor of used newtonsoft.json package, did provide jsonoutputformatter , jsoninputformatter use mvc able return objects more directly.

for appsettingreader you'll want @ new asp.net 5 configuration model. has been detailed in few blog posts while it's being built. these posts detail how load out individual fields, tests in options model show can bind directly object.


Comments

Popular posts from this blog

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -