Wednesday, December 07, 2005

export and import existing certificate

use certificate mmc add-in to add new certificate(pfx) to certificate store.
then IIS can lookup this certificate from store, doesn't have to make a new request.

another good new openssl 0.9.9 will support PVK file for private key, it's still in development. we can use pvk with secu lib to program certificate cryptograph.

export and import existing certificate

use certificate mmc add-in to add new certificate(pfx) to certificate store.
then IIS can lookup this certificate from store, doesn't have to make a new request.

another good new openssl 0.9.9 will support PVK file for private key, it's still in development. we can use pvk with secu lib to program certificate cryptograph.

export and import existing certificate

use certificate mmc add-in to add new certificate(pfx) to certificate store.
then IIS can lookup this certificate from store, doesn't have to make a new request.

another good new openssl 0.9.9 will support PVK file for private key, it's still in development. we can use pvk with secu lib to program certificate cryptograph.

Sunday, December 04, 2005

Setting up SSL for your Servers and Email with OpenSSL

http://devhood.com/tutorials/tutorial_details.aspx?tutorial_id=209

Creating a Self-Signed Certificate using OpenSSL for use with Microsoft Internet Information Services (IIS) 5

http://www.dylanbeattie.net/docs/openssl_iis_ssl_howto.html

Web Farming with the Network Load Balancing Service in Windows Server 2003

http://www.west-wind.com/presentations/loadbalancing/NetworkLoadBalancingWindows2003.asp

How to install and configure a Virtual Private Network server in Windows Server 2003

http://support.microsoft.com/default.aspx?scid=kb;en-us;323441

Create New web site on IIS and Windows 2003

1. create folder and copy application to this folder.
2. create new site on iis6, choose ipaddress(could be same as default web site) and header(need dns has same host name as header)
3. if default web site with same ipadderss, only one could be active at a time.
4. set proper access permission on windows and iis
5. done and enjoy

MS SQL Server Performance Tuning

http://www.sql-server-performance.com/sql_2000_tools_tutorial.asp

Wednesday, October 26, 2005

.net source for search engine

take a look

css positioning site

Tutorial for css positioning, style sheet, dom, and dom event model

Friday, September 30, 2005

DataSet and XML

try it.

Thursday, September 29, 2005

Aggregating syndicated content

Aggregating syndicated content in MSDN

Wednesday, September 28, 2005

Is strong name assembly secure?

I don't think so unless somebody convince me.

you can easily crack any strong name assembly.

try ildasm *.dll /out=*.il
open *.il from notepad, remove public key section, then crack whatever you want
ilasm *.il

done!

Reflector is a nice tool to decompile *.il

Thursday, September 15, 2005

Excel template

.net interop com Excel can load template, fill cells and save as xls(excel file).

Excel.Application oXL = new Excel.ApplicationClass();
Excel.Workbook workbook;
Excel.Worksheet worksheet;

workbook = oXL.Workbooks.Open("c:\\template.xlt", 0, false, 5, "", "", true, Excel.XlPlatform.xlWindows, "\t", true, false, 0, true);
worksheet = (Excel.Worksheet)workbook.ActiveSheet;

worksheet.Cells[7, 3] = obj;//.ToString();
.
.
.
workbook.SaveAs(fullpath + fullname, Excel.XlFileFormat.xlWorkbookNormal, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Excel.XlSaveAsAccessMode.xlNoChange, Type.Missing, Type.Missing, Type.Missing, Type.Missing);

if (workbook != null)
{
workbook.Close(null, null, null);
}

Schedule Backup task

new Maintenance plan ... wizard

SQL Mail

in order to have sql mail work, sql server service and sql agent service need to be run under user account with same email address