Toby 的个人资料Aussie Dev Head照片日志列表更多 工具 帮助

日志


11月25日

Web Application Installer

Hot on the heals of the release of the Web Platform Instaler (see other post) comes the WAI...
 
 
You get... up and running with the most widely used Web Applications freely available for your Windows Server.
Web AI provides support for popular ASP.Net and PHP Web applications including Graffiti, DotNetNuke, WordPress, Drupal, OSCommerce and more.
With just a few simple clicks, Web AI will check your machine for the necessary pre-requisites, download these applications from their source location in the community, walk you through basic configuration items and then install them on your computer.
 
How neat is that? Its for the Win!!!!
 
Additional Links to more info:
Microsoft Web Platform Installer Overview
Microsoft Web Platform Installer Forum
 Microsoft Web Platform Portal

Finally the answer to LAMP is here... NEXTWEB

 
Check it out here....
 
 
This new vision from MS provides a compelling set of tools all in the one spot.
For free you get....(and updates)
 
1. download of IIS 6/7 (depending on OS)
2. SQL 2008 express
3. .NET Framework 3.5 SP1
4. and Visual Web Developer 2008 Express SP1
 
NOTE: all the above is free on the downloads site, its just that now...
The Web Platform Installer offers a single installer to help you obtain the software you need to build and run a complete Web solution on the Microsoft Web platform.
 
It supports Windows XP, Windows Server 2003, Windows Vista, or Windows Server 2008.
 
Pretty sweet!
For more info checkout... Web Platform Installer
 
updated list of components:

o Internet Information Services (IIS) 5.1 on Windows XP SP3
o IIS 6.0 on Windows Server 2003 SP2
o IIS 7.0 on Windows Vista SP1 and Windows Server 2008
o SQL Server 2008 Express
o .NET Framework 3.5 SP1
o Visual Web Developer 2008 Express SP1
• ASP.NET, Complete and Custom installation options
• XML-based product manifest updated automatically when tool is run
8月30日

Howto debug & optimise Asp.NET applications

Check out these articles for help debugging nasty asp.net issues.

 

Troubleshooting ASP.NET using WinDbg and the SOS extension (892277)

http://support.microsoft.com/default.aspx?scid=KB;EN-US;892277

 

Troubleshooting ASP.NET (891032)

http://support.microsoft.com/default.aspx?scid=KB;EN-US;891032

Quick things to check when you experience high memory levels in ASP.NET (893660)

http://support.microsoft.com/default.aspx?scid=KB;EN-US;893660

Troubleshooting ASP.NET using Filemon (890960)

http://support.microsoft.com/default.aspx?scid=KB;EN-US;890960

Debugging ASP.NET with the CLR Debugger (893657)http://support.microsoft.com/default.aspx?scid=KB;EN-US;893657

8月24日

URL Rewriting in ASP.NET

How do you rewrite ASP.NET URLs?
 The Goal :  being to make the URL's more browseable for users. If a user chops off the last virtual sub directory to the path IE should automatically navigate to the new "parent" location/page.
 
URL Rewriting in ASP.NET
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/urlrewriting.asp

Intercept, Monitor, and Modify Web Requests with HTTP Filters in ISAPI and ASP.NET
http://msdn.microsoft.com/msdnmag/issues/02/08/httpfilters/

The biggest pitfall is postbacks. 
The limitation for postbacks is that every letter combination must have an entry in IIS.
 
 
8月16日

IIS SSL

Most of the time its better just to get clients that require a client cert. just to browse to the certificate server and download one. However sometimes they may be remote, and unable to access it via the URL of the cert. server. In that instance heres how to do it...
 
Exporting the new certificate data to a file:
1. From a machine on the network, go to /certsrv"http://<servername>/certsrv
<http://<servername>.
2. Select 'Request a certificate' and clickm on the Next button.
3. Select 'Advanced request' and click Next.
4. Select 'Submit a certificate request to this CA using a form' and click on Next.
5. In the form, type an appropriate username and email address. Under Intended
purpose' select 'Client Authentication Certificate'. Under 'Key Options' select
'Mark keys as exportable' and then 'Export keys to file'. For the file name do not
include an extension. Now clikc the Submit button.
6. You'll receive two prompts about exporting the key - select Yes on each.
7. At this point you'll be prompted for a password - enter it now and click on OK.
8. Click on 'Download CA Certificate' to save it to a file and then do the same for
'Download CA Certification path'.
9. If this was successful you'll end up with two files. The certificate itself is
the .CER file and the trusted root path is the .P7B file. These are the two files
that must be imported on the client.
 
*** Assumed step here is that you use some method to copy the cer/p7b files to the client machine.
       EMAIL/FILESHARE/FTP/ETC
 
Importing the certificate onto the client:
1. Run MMC and add the Certificates snap-in for the local computer.
2. Right click on the Personal folder and select All Tasks and then Import.
3. Following the wizard to import the CER file. Go with all default values in the
wizard.
4. Right click on the Trusted Root Certification Authorities folder and select All
Tasks and then Import.
5. Following the wizard to import the P7B file. Go with all default values in the
wizard.
At this point the certificate should be installed and usable