I cannot seem to find the
System.Web.Script.Serialization namespace within Visual Studio 2010. I need to serialize something to JSON what am I supposed to use?
And yes, I already included the
System.Web.Extensions (in System.Web.Extensions.dll) within the project. Which is why I am shocked?
- I do know
System.Web.Extensionswas marked as obsolete in 3.5
Check if you included the .net 4 version of
System.Web.Extensions - there's a 3.5 version as well, but I don't think that one works.
These steps work for me:
- Create a new console application
- Change the target to .net 4 instead of Client Profile
- Add a reference to
- Have access to
Read more... Read less...
- Right click
Add Reference, then from
- Now you should be able to add the following to your class file:
From the first search result on google:
Provides serialization and deserialization functionality for AJAX-enabled applications.
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
System.Web.Extensions.dll as a reference.
I'm using Visual Studio 2015 and finally ran across this post.
Yes in order to use
You must right click on references and under Assemblies --> Framework choose
Then add in your reference
.NET 4.0 (full)
This should allow you to create a new
is in assembly : System.Web.Extensions (System.Web.Extensions.dll)