Subscribe: DevX: .NET Feed
http://services.devx.com/outgoing/dotnet.xml
Preview: DevX: .NET Feed

DevX: Latest .NET Content



www.DevX.com



Published: Wed, 13 Dec 2017 18:32:21 -0800

Last Build Date: Wed, 13 Dec 2017 18:32:21 -0800

 



Write Debug Information Only When a Condition is Satisfied

Fri, 01 Dec 2017 09:07:00 -0800

Language: .NET, Expertise: Beginner - The Debug.WriteIf method allows you to write the debug to the listener only when a condition is true.



Label Breakpoints in Visual Studio for Easy Access and Readability

Mon, 27 Nov 2017 06:15:00 -0800

Language: IDEs, Expertise: Intermediate - Check out this easy method for labeling breakpoints in your code to make it more readable.



Avoid Repeated Execution of LINQ Queries in C#

Tue, 21 Nov 2017 02:44:00 -0800

If not well designed, a LINQ query will execute every time you access it. In order to avoid that, convert the result to a list and then do further operations on that result.



Controlling Exceptions in C# 6.0

Tue, 14 Nov 2017 02:08:00 -0800

Language: .NET, Expertise: Intermediate - Learn an easy way to control exceptions in C#.



Case Insensitive Comparison of Two Strings

Tue, 07 Nov 2017 02:37:00 -0800

Language: .NET, Expertise: Intermediate - We often compare two strings to the same case and then compare them to see if they are the same. Learn an easier way.



Easily Locate Unused Namespaces in Visual Studio 2015

Mon, 06 Nov 2017 02:08:00 -0800

Language: .NET, Expertise: Beginner - Get this quick tip for finding unused namespaces in Visual Studio.



Use the Let Keyword to Create Variables in a LINQ Query

Mon, 30 Oct 2017 02:45:00 -0700

Language: .NET, Expertise: Intermediate - See how to use the Let keyword if you need to have variables inside a LINQ query to hold an evaluation result.



Easily Create a String of Repeated Characters

Tue, 03 Oct 2017 03:38:00 -0700

Language: .NET, Expertise: Intermediate - Use the string class's constructor to specify the character and the number of times you want it to be repeated.



Change the Default TLS Version in .NET

Fri, 22 Sep 2017 03:11:00 -0700

Language: .NET, Expertise: Advanced - Learn a simple way to override the default security protocol used in .NET.



Sort a List in C# by Date

Mon, 18 Sep 2017 03:25:00 -0700

Language: .NET, Expertise: Intermediate Use the Sort Method of LINQ and the CompareTo delegate to sort lists in C#.



Exposing Internal Methods to Other Assemblies in .NET

Fri, 08 Sep 2017 03:34:00 -0700

Language: .NET, Expertise: Intermediate - Learn how to expose the internal methods of one assembly to another.



Concatenate Elements in a String Array in .NET

Wed, 06 Sep 2017 03:40:00 -0700

Language: .NET, Expertise: Intermediate - Use the String.Join method to concatenate elements of a string array.



Get Stored Procedure Content and Details

Thu, 31 Aug 2017 03:50:00 -0700

Language: .NET, Expertise: Intermediate - This query can be used to get details regarding stored procedure content.



Get the Size of a File in FTP with C#

Tue, 29 Aug 2017 04:37:00 -0700

Language: .NET, Expertise: Intermediate - Learn how to get the size of a file in FTP via C#.



FloodFill Objects Using C#

Thu, 24 Aug 2017 04:46:00 -0700

Language: .NET, Expertise: Intermediate - Use this sample code to floodfill drawn objects.



Change the Default Assembly Output Path in .NET Projects

Wed, 23 Aug 2017 04:33:00 -0700

Language: .NET, Expertise: Intermediate - Learn how easy it is to adjust the output path.



Using Aliases for Namespaces in C#

Mon, 21 Aug 2017 04:42:00 -0700

Language: .NET, Expertise: Intermediate - Learn to use aliases for long namespaces and use them further down in the code.



Block and Unblock Internet Access on a User's Computer Using C#

Thu, 17 Aug 2017 04:40:00 -0700

Language: .NET, Expertise: Intermediate - Control Internet connectivity on a user's PC via C#.



Quick Way to Create Class Diagrams for a Project

Tue, 15 Aug 2017 07:44:00 -0700

Language: .NET, Expertise: Intermediate - Class diagrams help you to understand code quickly through visual representation.



Get DNS Name from an HttpRequest in C#

Fri, 04 Aug 2017 04:53:00 -0700

Language: .NET, Expertise: Intermediate - Learn how to retrieve the DNS Name.



Ensuring Application_Start Event Fires with the Next Request After a Failure

Mon, 31 Jul 2017 02:53:00 -0700

Language: .NET, Expertise: Intermediate - Use a try-catch block and call the HttpRuntime's UnloadAppDomain method in the catch block. to ensure that the Application_Start event fires with the next request.



Count the Number of Active ASP.NET Sessions in State Server Session Mode

Fri, 28 Jul 2017 04:52:00 -0700

Language: .NET, Expertise: Intermediate - Learn how to count the number of active sessions.



Use the Math.BigMul Method to Find Multiple Large Integers

Mon, 24 Jul 2017 04:51:00 -0700

Language: .NET, Expertise: Intermediate - System.Math provides the BigMul method for cases where you have to find the product of two large integers.



Serialize an Object to a JSON String

Fri, 21 Jul 2017 04:55:00 -0700

Language: .NET, Expertise: Intermediate - Learn how to serialize objects to JSON with a helpful library.



Performing Basic Validation with the Error Provider Control in C#

Thu, 20 Jul 2017 05:18:00 -0700

Language: .NET, Expertise: Beginner - See why the ErrorProvider control is quite useful when it comes to user input validation.