Posts

Showing posts from January, 2015

Building string Encryption Library in C#.NET using AES encryption

Image
In this post i will show how to build class library (.dll) for string encryption and use it in client application,the encryption algorithm is AES , its not breakable method for encryption. Any .NET developer can use this class library in any .NET project as dll reference to protect the sensitive data for example : Some sensitive URL parameters in ASP.NET projects such as the id of page or logged in user. Password field in database (Hashed password). Cookies encryption. In String Encryption class you can change the secret encryption key its defined in cost string variable. Screenshot for library client application : Click here to download the source code and client project. Hope its helpful.

How to deploy ASP.NET web forms / MVC application and access it from another device on the same network using Internet information service (IIS).

Image
In this post i will explain how to deploy ASP.NET web application (web forms or MVC) on local network. the idea is to make client and server (web server) on local network , in this case any device connected to the network can access your web application by request your IP address. Step 1: Active IIS on your windows if its the first time you are use IIS on you windows.( follow the instructions ). Step 2: Publish your project from visual studio , choose file system method. Step 3 : Open IIS , you can open it by executing the following command in RUN ( inetmgr ). Step 4: Right Click on Sites menu , choose add website and enter its configurations , in our case you must provide port number for your application to configure your windows firewall to allow incomming connections to this port number, if you keep port 80 , you must open port 80 and this is not good choice. enter port 8080 (or any available port). Step 5: Open your browser and browse your application...