Posts

Showing posts from August, 2007

Self Signing Certificate for IIS

Create a self signing certificate for IIS VS2005 provides tools to do this which is called makecert and pvk2pfx. First all you need to do is run the following batch file and specify a name for it. For example yourBatchFile.bat testCert The content of batch file is as follows makecert -r -pe -n "CN=testCert" -sky exchange -sv %1.pvk %1.cer pvk2pfx -pvk %1.pvk -spc %1.cer -pfx %1.pfx Once you have this installed, please goto Start->Run->MMC->File->Add SnapIn->Add->Certificates A wizard will appear asking you the scope of your certificates. Choose Computer account and Finish. Select Local Computer and again click Finish. Click Close and then OK. This will bring you to a Certificates Console . Expand Personal -> Certificates, right click and select Import . The wizard will prompt you for the certificate that you have generate earlier. Provide the test.pfx. When ask for password click Next, Next and Finish . You need to repeat the same process for Trusted Ro

Document

Start from the top Page DocTypes Setting your page rendering mode. What is the use of docTypes? It basically tells the browser which version of html that will be used to render your page. There are many variation which includes a) strict b) loose c) frameset d) xhtml1-strict e) xhtml1-transitional.dtd f) xhtml1-frameset.dtd g) declaration for html 3.2 and 2.0 http://htmlhelp.com/tools/validator/doctype.html Determine your page Layout. It is crucial to determine your page layout first and then test it with different browser to see if the positioning is correctly done. Use minimal Table in your page More Div + CSS There should be only one level table in your page. Putting two level of table is something you might need to consider twice. For positioning, formatting that the job of CSS Follow the XHTML convention and apply the final touches to it by using WC3 Validator service http://validator.w3.org/ CSS should be used to align your text, phase out the use of spacer gifs and Make your pag