MS File Encryption

As I promised in my last post, here’s the MS File Encryption program (MS stands for Mohamed Sharaf not Microsoft of course ;)) based on the MSSecurity Library. The application is pretty simple; you can encrypt a single file or entire folder. The application adds the extension MSEnc to the file when encrypting and remove it…


Back to MSSecurity library again

If you have seen my previous post about the class library that I developed to encrypt text or files using symmetric encryption (Rijndael algorithm). So you would already know that it was developed using .NET Framework 1.1. I’ve upgraded the library to .NET Framework 2.0 and fixed a bug I discovered in the decryption methods….


Cross post with Master pages

I got a feedback for the Master Pages post asking about mixing master pages with cross post. Here’s the scenario. We have a content page that has one textbox and one button, the page code would be like this <%@ Page Language=”VB” MasterPageFile=”~/MasterPage.master” AutoEventWireup=”false” CodeFile=”master_form.aspx.vb” Inherits=”master_form” title=”Untitled Page” %> <asp:Content ID=”Content1″ ContentPlaceHolderID=”ContentPlaceHolder1″ Runat=”Server”> <asp:TextBox ID=”id”…


How to move objects from Schema to another in SQL 2005

If you are building CLR stored procedure and you want this stored procedure to be part of a schema called xyz. When you write the name of the procedure in the SqlProcedure attribute “xyz.myproc” and deploy this procedure, the visual studio deployed it with dbo schema and the name of the procedure will be….


Changing application settings programmatically in .NET Framework 2.0

As I promised to provide a component to enable you to change the values of the application-scope settings in .NET Framework 2.0, I’m now providing it. It’s a very simple dll written by C#, you can find the Source code here. To use this dll you will need to get instance from the SettingWriter class…