Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » .NET Framework   (RSS)

How to handle expired SQL logins’ passwords in client code

Microsoft is always advise customers to use the new security features for SQL Logins in SQL Server. As you know SQL Logins are the logins where the login name and password are saved inside SQL Server and SQL Server is responsible for authenticated this

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
Posted by Mohamed Sharaf | 0 Comments
Filed under: ,

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
Posted by Mohamed Sharaf | 3 Comments
Filed under:

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"
Posted by Mohamed Sharaf | 9 Comments
Filed under: ,

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

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
Posted by Mohamed Sharaf | 9 Comments
Filed under:

Using application/user settings in C# 2.0

This is a quick post for using application or user settings in C# 2.0. I found most of the articles dealing with it in VB which is pretty easy. All you need to access a setting called "ServerName" in Visual Basic is this line My.Settings.ServerName="myServer"
Posted by Mohamed Sharaf | 10 Comments
Filed under:

Adding custom code to Local Reports in Visual Studio.NET 2005 (Problems & Solutions)

If you are one of the people who used and enjoyed SQL Server Reporting Services (SSRS) in SQL 2000 and you wanted to use it in your windows/web applications without the server side components (just like what you are doing with Crystal Reports). So you

Encrypting configuration files using protected configuration

One of the cool security features in ASP.NET 2.0 is the ability to parts of web.config. Web.config encryption uses XML encryption standards at its core. Protected configuration uses a class derived from the abstract class ProtectedConfigurationProvider
Posted by Mohamed Sharaf | 45 Comments
Filed under: ,

MSecurityLibrary library for symmetric encryption and hashing

This time I'm introducing one of the most favorite codes for me. I built this library a year ago while I was working with symmetric encryption. I felt that I need to do it myself instead of using any ready-made components because I either found a very
Posted by Mohamed Sharaf | 12 Comments
Filed under:

How to take your web application offline with simple action [ASP.NET 2.0]

If you are deploying your web application and you don't the users to browse your web application until the deployment process finishes or you want to take you web application offline for a while. Just put a file with the name App_offline.htm and write
Posted by Mohamed Sharaf | 1 Comments
Filed under: ,

Installing Microsoft Enterprise Library on production servers

Many of us encountered a lot of problems when installing Microsoft Enterprise Library on production servers, you may face or see error like " System.Security.SecurityException: Requested registry access is not allowed" Simply to deploy your web application
Posted by Mohamed Sharaf | 14 Comments
Filed under: ,

Simple application configuration reader/writer class

app.config and web.config are very powerfull techniques for managing application settings. For more information about using configuration file please check this article in MSDN But the manipulation of these files has 2 issues 1) There’s no class in .NET
Posted by Mohamed Sharaf | 5 Comments
Filed under: ,

Want to ecrypt all your stored procedures with one click?

I was working in a small project in which I should deploy the database on the production server with Encrypted Stored Procedures . I had to open each and every stored procedure in the database to add WITH ENCRYPTION keyword to them to be encrypted. I

Full features image processing app built on .NET framework

Check out this this cool full features-image processing windows application that totally built on top of .NET framework. See vedio about it in MSDN TV and you can download the installation files along with SOURCE CODE from here
Posted by Mohamed Sharaf | 2 Comments
Filed under:
More Posts Next page »
 
Page view tracker