h1.post-title { color:orange; font-family:verdana,Arial; font-weight:bold; padding-bottom:5px; text-shadow:#64665b 0px 1px 1px; font-size:32px; } -->

Pages

WPF Version 4.5

WPF Version 4.5

  • Ribbon control
  • Improved performance when displaying large sets of grouped data
  • New features for the VirtualizingPanel
  • Binding to static properties
  • Accessing collections on non-UI Threads
  • Synchronously and Asynchronously validating data
  • Automatically updating the source of a data binding
  • Binding to types that Implement ICustomTypeProvider
  • Retrieving data binding information from a binding expression
  • Checking for a valid DataContext object
  • Repositioning data as the data's values change (Live shaping)
  • Improved Support for Establishing a Weak Reference to an Event
  • New methods for the Dispatcher class
  • Markup Extensions for Events

Convert String to Camel Case in C#.net

Convert String to Camel Case in C#.net

Declare namespace
using System.Globalization;
Method for Convert String into CamelCase in C#.net
  private string  ConvertStringToCamelCase(string str)
        {
            TextInfo obj = new CultureInfo("en-US", false).TextInfo;
            return obj.ToTitleCase(str);
        }
Call ConvertStringToCamelCase() like this
MessageBox.Show(ConvertStringToTitle("Lakshmi nAARAYANAN")); MessageBox.Show(ConvertStringToTitle("lakshmi nAARAYANAN"));
Output:
Lakshmi Narayanan

Hashing Algorithms

Hashing Algorithms
        Hashing is the process of mapping binary data of variable length to a fixed size binary data.
        Applying the same hash function to two identical data structures yields the same result. 
There are two kind of hashing algorithms : with or without a key.
The algorithms without keys are used only to calculate secure hashes for data to ensure integrity, whereas the keyed algorithm are issued together with a key as a MAC for bath integrity.
  • ALGORITHM NAME:SHA1   DESCRIPTION :USES SHA ALGO WITH A RESULTING HASH OF 160 BITS
  • ALGORITHM NAME: SHA256   DESCRIPTION :USES SHA ALGO WITH A RESULTING HASH OF 256 BITS
  • ALGORITHM NAME:SHA 512   DESCRIPTION :USES SHA ALGO WITH A RESULTING HASH OF 512 BITS
  • ALGORITHM NAME:SHA 384   DESCRIPTION :USES SHA ALGO WITH A RESULTING HASH OF 384 BITS
  • ALGORITHM NAME:MD5   DESCRIPTION :USES MD5 HASH ALGORITHM
  • ALGORITHM NAME:RIPEMD160 DESCRIPTION :USES RIPEMD HASH ALGORITHM
Thanks to

Retrieve hardware information from a remote machine via WMI

Retrieve hardware information from a remote machine via WMI

//Create WMI Class
ManagementClass mc = new ManagementClass("Win32_Processor");
//Populate class with Processor objects
ManagementObjectCollection moc = mc.GetInstances();
//Iterate through logical processors
foreach (ManagementObject mo in moc)

.Net Core

.Net Core
                .NET Core is a modular implementation that can be used in a wide variety of verticals, scaling from the data center to touch based devices, is available as open source, and is supported by Microsoft on Windows, Linux and Mac OSX.

.Net Core in .Net 2015

  • ASP.NET 5
  • .NET Natvive
  • ASP.NET 5 for Mac and Linux.

The .NET Core platform is a new .NET stack that is optimized for open source development and agile delivery on NuGet.

More details: .Net Core

Visual Studio Productivity Power Tools Update

Visual Studio Productivity Power Tools Update

Microsoft has updated the free Productivity Power Tools for Visual Studio 2010.
These are add-ins that provide very useful additional functionality for Visual Studio.
New in this release:

  • No More Extension Resets
  • Find 
  • Enhanced Scrollbar
  • Middle-Click Scrolling
  • Organize Imports for Visual Basic
Visual Studio Productivity Power Tools Update link

Happy New Year Wishes To All


  • A Little key can open big locks Simple words reflect great thoughts Your smile can cure heart problems So keep on smiling more and more Have a happy new year full of smile. 
  • Peace In Your Heart, Health In Your Body, Wealth In Your Life, Joy In Your Home, May U Always Be Blessed With These Priceless Treasures Happy New Year.
Happy New Year  to All Readers and friends.

C# Internal Interface

C# Internal Interface

          you can not declare Encapsulation in the Interface like Public
Example for Internal Interface.
Here , One class and Two Interface in the coding.
Class Name:MyClass
Interface Names :IMyPublicInterface,IMyInternalInterface

Create  Normal  interface

public interface IMyPublicInterface
{
    void MyPublicMethod();
}
Create  Internal  interface
internal interface IMyInternalInterface
{
    void MyInternalMethod();
}
Inherited two interface into One class using Colon(:)
public class MyClass :
    IMyPublicInterface, IMyInternalInterface
{
/// Called interface methods in the Class
    public void MyPublicMethod() { }
    void IMyInternalInterface.MyInternalMethod() { }
}

Explicit interface member implementations

Explicit interface member implementations
             An explicit interface member implementation is a method, property, event, or indexer declaration that references a fully qualified interface member name.

Example for Explicit interface member implementations
interface IControl
{
   void Paint();
}
interface ITextBox: IControl
{
   void SetText(string text);
}
class TextBox: ITextBox
{
   void IControl.Paint() {...}
   void ITextBox.SetText(string text) {...}
}

Zoom the View in Visual Studio

Zoom the View in Visual Studio

Keyboard Shortcuts

  • To make the font larger, press CTRL+SHIFT+PERIOD
  • To make the font smaller, press CTRL+SHIFT+COMMA