Refresher/csharp/Basic Operations

Presentation

Basic Operations    
 
 ACID rule of thumb for transactions: Transaction must be Atomic (independent off other transactions), Consistent (committed or roll back), Isolated (other transactions cannot see intermediate results), Durable (values persist if committed)
 
 
 ASP.NET Web application debugging: attach the aspnet_wp.exe process to the DbgClr debugger
 
 
 Assembly deployment: MSI installer, CAB archive, and XCOPY command
 
 
 Descending sorting: by calling Sort() and then Reverse() methods
 
 
 Immediate window in VS.IDE: change value of a variable while debugging a C# application
 
 
 Test cases in unit testing: Positive, negative and exception
 
 
 try { control transfer only after finally block executed } catch (Exception ex) { } finally { executed if no exceptions but exceptions herein are not handled }