May 11

I am pleasantly surprised with what is now available in Windows 7. It has a similar feel to Vista but appears to use less overhead.

All screen shots were taken on a virtual machine running Windows 7 Build 7100 RC.

Desktop:
desktop

Microsoft included Bitlocker, a tool used for full drive encryption. This tool makes it very difficult for common exploits to retrieve data through non Windows services or secondary Operating Systems.

bitlocker

Also included is a back-up utility with the ability to back-up to a Network Share.

networkbackup_2

networkbackup_3

networkbackup_4

You can create a full system image or just specific parts. And of course, scheduling.

networkbackup_5

networkbackup_6

And like Vista, IIS7 is available for ASP .NET developers :)

iis7

iis72

New to me, PowerShell 2.0. The language reminds me of c#, sorta.

http://www.microsoft.com/windowsserver2003/technologies/management/powershell/default.mspx

powershell

The RC key doesn’t expire until June 10, 2010 so I don’t see this being finalized until at least 2011. I may upgrade my daily desktop shortly, it uses the about the same resources of XP Pro at idle.

May 9

If you are getting a DotNetNuke redirect loop upon deploying your site to a production web server it is usually one of two things:

1) You are setting the trust level to medium and using the 1.0.61025.0 version of System.Web.Extensions. Update the trust level to full and and update ALL occurrences of System.Web.Extensions to 3.5.0.0 in the web.config (assuming .NET 3.5 framework is installed).

Original:

<trust level="Medium"...
...
...System.Web.Extensions, Version=1.0.61025.0...

Updated:

<trust level="Full"...
...
...System.Web.Extensions, Version=3.5.0.0...

2) You have a trailing slash in the HTTPAlias field in the PortAlias table, remove it.

That’s it

May 2

On shared web servers it is usually a good idea to encrypt your connectionstrings element as your web.config may be world readable depending on application pool identities, IUSR identities, and the machine.config trust level. You can do this with the aspnet_regiis utility (errr, your host can do it). Open up a command prompt, change directory to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 and run the following:

The first command encrypts; replace domain.com with your site name in IIS and the -app switch should be followed by the application name, in this case the webroot:

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis -pe connectionStrings -app / -site domain.com
Encrypting configuration section…
Succeeded!

The second and third commands grant read access to the key for decryption. This permission needs to be granted to ASPNET and your application pool identity. The value following the -pa switch can be found in the C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config where the RSAProtectedConfigurationProvider name is defined :

<add name="RsaProtectedConfigurationProvider"......keyContainerName="NetFrameworkConfigurationKey"

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis -pa “NetFrameworkConfigurationKey” “ASPNET”
Adding ACL for access to the RSA Key container…
Succeeded!

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis -pa “NetFrameworkConfigurationKey” “NETWORK SERVICE”
Adding ACL for access to the RSA Key container…
Succeeded!

Original:

<connectionStrings> <add name="stringname" connectionString="Data Source=SERVER;Initial Catalog=database;Persist Security Info=True;User ID=login;Password=password" providerName="System.Data.SqlClient" /> </connectionStrings>

Encrypted (partially truncated):

<connectionStrings configProtectionProvider="RsaProtectedConfigurationProvider"> <EncryptedData Type="http://www.w3.org/2001/04/xmlenc#Element" xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc" /> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <EncryptedKey xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5" /> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>Rsa Key</KeyName> </KeyInfo> <CipherData> <CipherValue>pb74wqH93ZDjJNrHSkRqBJKxvq4eS4MDq+vF2RvWZSFhXBkgBcS...tWmHYi8=</CipherValue> </CipherData> </EncryptedKey> </KeyInfo> <CipherData> <CipherValue>KY4ESXL95+AtOAu3QRBURO5ij6GKTUDmosRcQ2YzOGtt8mLGs0wJLONl0i1mA...qJioHKV0tOl3Y=</CipherValue> </CipherData> </EncryptedData> </connectionStrings>

That’s it

Hosted by HostMySite.com