Windows 8: The right way to Read & Write Files in WinRT

imageWindows 8 Metro development leverages WinRT; and, in WinRT, there are new namespaces – and namespace constriction in the .Net Framework. What you think you know, you may not.

MSDN: In some cases, a type that you used in a .NET Framework desktop app doesn't exist within the .NET APIs for Metro style apps. Instead, you can use a type from the Windows Runtime. For example, the System. IO. IsolatedStorage. IsolatedStorageSettings class isn't included in the .NET APIs for Metro style apps, but the Windows.Storage.ApplicationDataContainer class provides similar behavior for storing app settings. Examples of common changes you might have to make are included in the section Converting your existing .NET Framework code.

Read the whole article here.

Comments (0)

Skip to main content