Wednesday, December 19, 2007

Tips of a day


Execute in Powershell.

If Keith Brown was struggling, I can't be ashamed for me struggling with it as well :).
Quote:

What you need to do is make it clear to PowerShell that you want to execute the next string as a command. The way to do this is to use the call operator & (ampersand). Here's what I ended up with:

& $env:windir\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -r

Source: http://www.pluralsight.com/blogs/keith/archive/2007/12/02/49336.aspx

Sys.Debug in the asp.net ajax library.

I've seen few "Debug"s for javascript already, but it is always good idea to avoid a wheel re-inventing.

Quote:

Asp.Net developers wrote the great Ajax Framework. There is so much stuff for professionals and beginner developers.
Also they didn't forget about debugging tools. (may be was done firstOpen-mouthed)

class Sys.Debug contains 5 methods: ....

Source: http://weblogs.asp.net/romannikitin/archive/2007/11/22/sys-debug-in-asp-net-ajax-framework.aspx

No comments: