Using the Obsolete Class to Signal Upcoming Changes
Often, assemblies are distributed to vendors to consume your code. Changes to such assemblies are always hectic to manage. If we are removing or switching methods or properties in a
Often, assemblies are distributed to vendors to consume your code. Changes to such assemblies are always hectic to manage. If we are removing or switching methods or properties in a
The ExceptionDispatchInfo class can be found in System.Runtime.ExceptionServices namespace and is used to capture an exception that occurs at a point, and it can be thrown later using the ExceotionDispatchInfo.Throw
HTTP2 is binary protocol released some time after 2015. It is completely multiplexed and allows you to send multiple requests via a single TCP connection. It also reduces additional round
ASP.NET’s Web APIs support custom formatters. One of the best examples for a custom media formatter is a Vcalendar data format that can used in calendar software such as Outlook.
The IIS admin interface lets you view the worker process details that are sometimes helpful to debug server performance issues. Choose the “Worker Processes” in the list of options in
Web APIs are pretty useful to share data. One of the most common problems faced while consuming APIs is the lack of documentation and testable features. Swagger bridges that gap
In Visual Studio 2017, the “attach to process” window has an option that allows you to search and filter for a process. It is a search text box right on
Use the KeyPress event to check for the keys pressed. See below for an example: private void textFirstName_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e) { if ( !( char.IsLetter(e.KeyChar) ) ) { e.Handled
Often, we have to do a string comparison by ignoring the case, or the results end up being wrong. The StringComparison enum provides the “ordinalignorecase” member that allows you to