i am siva

Empty your memory, with a free()... like a pointer! <br /> The pointer can crash...and can overflow..!

C#

Encrypt or Decrypt Connection Strings in web.config

May 5, 2015

Deploy applications in hosting environment we have to take care of application security items or confidential values of application like secure DB connection string, configuration values etc… To secure all these information, we need to encrypt the keys. ASP.NET 2.0 has built in functionality to encrypt / decrypt few sections of web.config file those are RSAProtectedConfigurationProvider: This … [Read more…]

Posted in: .NET, ASP.NET, C#, Dot Net Tagged: .NET, ASP.NET, C#, Dot Net

Difference Between Int32.Parse(), Convert.ToInt32(), and Int32.TryParse()

March 14, 2013

Int32.parse(string) Int32.Parse (string s),%method converts the,%string,%representation of a number to its 32-bit signed integer equivalent. When %s,%is a,%null,%reference, it will throw,%ArgumentNullException. If,%s,%is other than,%integervalue, it will throw,%FormatException. When %s,%represents a number less than,%MinValue,%or greater thanMaxValue, it will throw,%OverflowException. For example: string s1 = “1234”; string s2 = “1234.65”; string s3 = null; string s4 = … [Read more…]

Posted in: .NET, C#, Dot Net Tagged: C#, Dot Net

Tags

.NET ASP.NET Azure DevOps C# Design Patterns Dot Net GoF SharePoint SqlServer TFS Visual Studio VS Windows WPF

Categories

  • .NET
  • ASP.NET
  • Azure DevOps
  • C#
  • Design Patterns
  • Dot Net
  • GoF
  • SharePoint
  • SqlServer
  • TFS
  • Uncategorized
  • Visual Studio
  • VS
  • Windows
  • WPF

Archives

  • August 2020
  • August 2019
  • May 2015
  • March 2013

Recent Comments

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org

    Copyright © 2021 i am siva.

    Me WordPress Theme by themehall.com