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”…

8

Are you using IE7 and have a problem in accessing some site?

Internet Explorer 7 is the newest version of Internet Explorer(IE) will be launched on Windows Vista time. It will also be available for XP SP2 and 2003 SP1 users. It has many fancy features like new rendering engine(you will love it especially in LCD screens), Built in RSS aggregator, new enhanced security model and new printing engine. You can…

2

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. .NET framework has shipped with two providers RSAProtectedConfigurationProvider which uses TripleDES and RSA encryption and DPAPIProtectedConfigurationProvider which uses…

42

VistaDB solved database hosting problems.

I’ve been invited to test a new product, VistaDB. I found it amazing. It’s a tiny database engine with huge benefits. VistaDB engine is only a dll with 32 Kb foot print and it works with almost all development platforms (.NET, COM, Delphi, C/C++). The best thing about VistaDB that it doesn’t need any installation…

11

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 any message you want to show to your users in it…

1

The complete picture of ASP.NET 2.0 compilation

ASP.NET 2.0 compilation is much different than ASP.NET 1.x compilation.  In ASP.NET 1.x there was two classes for each web form: 1)      Code-behind class —> which is compiled inside the assembly in the bin folder along with all other classes for all web forms 2)      Run time-generated class —> which is generated at run time…

0

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 that depends on Microsoft Enterprise Library, you need to do two things   1) Copy the Enterprise Library…

14

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 framework to update the files so you have to write your own code to access the…

5

Inside ASP.NET Master Pages

Inside ASP.NET Master Pages Download source (VB & C#) – XXX Kb Introduction Master pages are templates for ASP.NET pages. It helps you to create consistence appearance for your web site with minimum code effort. The great thing about master pages that it’s live templates, you can change them from within the content pages. it’s…

19