net_development
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| net_development [2017/02/04 01:22] – created - copied from Github wiki shawn | net_development [2017/08/01 22:24] (current) – [Formatting] String to XML code shawn | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== Enable/ | ===== Enable/ | ||
| - | > To enable assembly bind failure logging, set the registry value `[HKLM\Software\Microsoft\Fusion!EnableLog]` (DWORD) to 1. | + | > To enable assembly bind failure logging, set the registry value '' |
| > Note: There is some performance penalty associated with assembly bind failure logging. | > Note: There is some performance penalty associated with assembly bind failure logging. | ||
| - | To turn this feature off, remove the registry value < | + | To turn this feature off, remove the registry value '' |
| This setting provides additional debugging for the attempted loading of an assembly, including: | This setting provides additional debugging for the attempted loading of an assembly, including: | ||
| Line 14: | Line 14: | ||
| ===== byte[] <--> string ===== | ===== byte[] <--> string ===== | ||
| - | < | + | < |
| string str = System.Text.Encoding.Default.GetString(byteArray); | string str = System.Text.Encoding.Default.GetString(byteArray); | ||
| byte[] bytes = Encoding.UTF8.GetBytes(str); | byte[] bytes = Encoding.UTF8.GetBytes(str); | ||
| Line 29: | Line 29: | ||
| * [[https:// | * [[https:// | ||
| * [[http:// | * [[http:// | ||
| + | |||
| + | ==== String -> XML ==== | ||
| + | |||
| + | <code lang=" | ||
| + | using (var sb = new StringReader(tokenString)) | ||
| + | using (var reader = new XmlTextReader(sb)) | ||
| + | { | ||
| + | reader.Read(); | ||
| + | } | ||
| + | </ | ||
| ==== Tools ==== | ==== Tools ==== | ||
| Line 38: | Line 48: | ||
| ==== Using WinMerge in Visual Studio ==== | ==== Using WinMerge in Visual Studio ==== | ||
| - | Tools –> Options –> Source Control –> Visual Studio Team Foundation Server -> | + | //Tools// –> |
| - | Configure User Tools -> Add... | + | //Configure User Tools// -> //Add...// |
| Compare arguments: | Compare arguments: | ||
| Line 59: | Line 69: | ||
| There doesn' | There doesn' | ||
| - | - Tools -> Options -> Environment -> Fonts and Colors | + | - //Tools// -> //Options// -> //Environment// -> //Fonts and Colors// |
| - Show settings for **Environment Font** | - Show settings for **Environment Font** | ||
| - | - Select a font (instead of the default | + | - Select a font (instead of the default |
| - | You should now be able to select a font size. You may need to restart Visual Studio. The settings took effect for me (in VS2013) immediately on closing the Options dialog. | + | You should now be able to select a font size. You may need to restart Visual Studio. The settings took effect for me (in VS2013) immediately on closing the **Options** dialog. |
| **Reference: | **Reference: | ||
| * [[http:// | * [[http:// | ||
| + | |||
| + | ==== JSON & JSON Schema ==== | ||
| + | |||
| + | Visual Studio 2013 includes support for JSON editing, including JSON Schema, as described in // | ||
| + | |||
| + | > **TIP:** Disabling //Show errors as warnings// (Options -> Text Editor -> JSON -> Advanced) will give you better visibility of syntax errors. | ||
| + | |||
| + | === Extensions === | ||
| + | |||
| + | * [[https:// | ||
| + | * [[http:// | ||
| + | * //Relax Mode// - less strict errors/ | ||
| + | * //Insert Closing Char// (e.g. braces) | ||
| + | |||
net_development.1486171352.txt.gz · Last modified: by shawn
