Obsolete Features in .NET 4
With the introduction of a new CLR and Base Class Library, Microsoft has taken this opportunity to do some house cleaning. Though not much has been actually removed, we do see even longer lists of obsolete types and members.
Some of the deprecations are pretty obvious. For example, it is impossible to catch an ExecutionEngineException so there is no reason for code to make the attempt. Others represent a fundamental change in how the CLR works. A good example of this is anything having to do with Code Access Security or Evidence objects.
The XmlDataDocument class, which was supposed to allow one to treat DataSet objects as if they were XML DOM objects has been marked. While it is hard to think of a real use case for this functionality, one could still achieve it by combining DataSet.WriteXml with the much easier to use XDocument class.
Also in the Data namespace are the key classes in OracleClient such as OracleCommand and OracleConnection. Microsoft is recommending that developers turn to third-party implementations.
On the web side, Microsoft has completely abandoned their mobile offerings for ASP.NET. Instead they direct developers to use ASP.NET MVC. Scott Hanselman outlined this technique back in 2009 in his MIX presentation titled Mobile Web Sites with ASP.NET MVC and the Mobile Browser Definition File. The Mobile Browser Definition File is an open source project run by Microsoft to catalog and programmatically expose the capabilities of all major mobile devices.
Finally there are some methods that were marked obsolete from the beginning. For example, this parallel variant of GroupJoin appears to have been created specifically so that you wouldn’t use it. Presumably this prevents developers from accidentally using the non-parallel variants based on IEnumerable.
Mobile development via ASP.NET WebForms backtracking is possible
Possibly the ASP.NET WebForms Mobile development will go the same way.
Mike Amundsen May 29, 2015
Ben Linders May 28, 2015