diff --git a/dotnet-desktop-guide/framework/wpf/advanced/application-startup-time.md b/dotnet-desktop-guide/framework/wpf/advanced/application-startup-time.md index 34b611327c..4cd3b3b0cb 100644 --- a/dotnet-desktop-guide/framework/wpf/advanced/application-startup-time.md +++ b/dotnet-desktop-guide/framework/wpf/advanced/application-startup-time.md @@ -116,11 +116,9 @@ The amount of time that is required for a WPF application to start can vary grea Use the to specify the neutral culture for the . This approach avoids unsuccessful assembly lookups. -## Use the BinaryFormatter Class for Serialization +## Use XML Serializer Generator - If you must use serialization, use the class instead of the class. The class is implemented in the Base Class Library (BCL) in the mscorlib.dll assembly. The is implemented in the System.Xml.dll assembly, which might be an additional DLL to load. - - If you must use the class, you can achieve better performance if you pre-generate the serialization assembly. + If you use the class, you can achieve better performance if you pregenerate the serialization assembly using the [XML Serializer Generator tool (Sgen.exe)](/dotnet/standard/serialization/xml-serializer-generator-tool-sgen-exe). ## Configure ClickOnce to Check for Updates After Startup