Calculate file checksum using c# using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; namespace CheckSumTest { class Program { static void Main(string[] args) { string filePath = @”G:\Mahedee_Share\Created\23062014-1\FileDeployManager\FileDeployManager\Form1.cs”; string checksumMd5 = GetFileChecksum(filePath, Algorithms.MD5); string checksumSha1 = GetFileChecksum(filePath, Algorithms.SHA1); string checksumSha256 = GetFileChecksum(filePath, Algorithms.SHA256); string checksumSha384 = GetFileChecksum(filePath, Algorithms.SHA384); string
Month: February 2014
Jump Start to be Software Developer (Session-1)
Speech on “Jump Start to be Software Developer (Session 1)” . Topic: Object Oriented Programming with C# Technical Speaker: Md. Mahedee Hasan Venue: Leads Technologies, Bangladesh Organized by: Tech Forum Date: 22 February, 2014
Retrieve data from database by first ASP.net program
You who are very beginner and want to retrieve data from database, can use the code snippet. Though this is not good practice, this is very useful for beginners. Because beginners is not interested to layer architecture can not create connection string in web.config file. Here, I have create a city_info table and displayed this
ASP.NET Membership Step by Step
ASP.NET provides build in control to validate and store user credential. So, membership helps to manage user authentication and authorization in website. The membership provider is the glue between Login controls and membership database. Step 1: Implementing the Membership and Role Provider Suppose we are going to create a website by Visual Studio 2010. If
How to register .NET framework in IIS
If you install IIS after installing framework, you have to register framework in IIS. Otherwise you will get following message after hosting asp.net application in IIS. ASP.NET 4.5 has not been registered on the Web server. You need to manually configure your Web server for ASP.NET 4.5 in order for your site to run correctly.