Tuesday, November 18, 2008

Visual Studio 2008 SP1 + CodeRush XPress 3.2.1 = Awesome

I happened to use Eclipse before and I can understand why someone will be disappointed to use Visual Studio as per C# editor features. But after I started to use Visual Studio 2008 with CodeRush XPress 3.2.1, I am really impressed that Microsoft has been catching up in terms of the editor part with the partnership with CodeRush. It is definitely a Free Productivity Tools for Visual Studio.

Check it out here:
http://msdn.microsoft.com/en-us/vcsharp/dd218053.aspx


Handy shortcuts:

F12 to definition. Ctrl + Shift + 7/ 8 get back.
Shift + F12 : Find all references

Metadata as source
F8
Ctrl + Tab ===== Ctrl Alt Down
Sourcecode outliner power liner

Quick Information
CodeRush Xpress

Quick Navigate
Go to file: Ctrl+Alt +F
Go to symbol: Ctrl+Shift+Q
Highlight usages: Ctrl +Alt +U

Code snippets
-Double tab to build the static

Smarttag
Ctrl .

Refactoring
Ctrl+ '

SP Background Squiggles

Camel-Case navigation
Alt+ Left and Alt Right

Expand /Shrink Selection
Ctrl+Alt+= / Ctrl+Alt+-

Friday, November 14, 2008

A Lap Around VSTS 2010

This is the gist for the a lap around VSTS 2010.
  • No more no Repro
    • Test Recorder
    • Stack-trace for exceptions
  • No more broken builds
    • Gated build
    • Buddy build
  • No more butterfly effects
    • Layers for build
    • Architecture Explorer
    • Sequence Diagram
  • No more regression test
  • Build
    • Workflow for build definition
Other videos

TL03

Microsoft Visual Studio Team System: Software Diagnostics and Quality for Services

TL04

Microsoft Visual Studio Team System Team Foundation Server: How We Use it at Microsoft

TL09

Agile Development with Microsoft Visual Studio

TL15

Architecture without Big Design Up Front

TL24

Improving .NET Application Performance and Scalability

TL37

Microsoft Visual Studio Team System: Leveraging Virtualization to Improve Code Quality with Team Lab

TL45

Microsoft Visual Studio Team System Database Edition: Overview

TL47

Visual Studio Team System: A Lap Around VSTS 2010 (Strongly recommended)

TL51

Research: Contract Checking and Automated Test Generation with Pex

TL52

Team Foundation Server 2010: Cool New Features

TL60

Improving Code Quality with Code Analysis

TL61

Panel: The Future of Unit Testing

PowerShell Free Editor - PowerGUI

You can download from here PowerGUI.

Common Commands

Get-Command Get*

Get-Command -Name Get-PSDrive -Syntax

Get-Help about*

Get-Alias Set-Alias

Get-ChildItemPath C:\Windows\System32 Out-Host –paging

Remove-Item C:\temp\New.Directory –Recurse

Invoke-Item C:\boot.ini

Copy-Item -Path C:\New.Directory -Destination C:\temp -Recurse -Force –Passthru

Get-Process Get-Member -MemberType Properties Out-Host –Paging

Get-Process Format-Table

Get-Location

Set-Location -Path c:\Windows –PassThru

Get-WmiObject -Class Win32_OperatingSystem -Namespace root/cimv2 -ComputerName . Get-Member -MemberType Property

New-Object -TypeName System.Diagnostics.EventLog -ArgumentList Application

New-Object -ComObject WScript.Shell

New-Object -ComObject WScript.Network

New-Object -ComObject Scripting.Dictionary

New-Object -ComObject Scripting.FileSystemObject

$lnk=$WshShell.CreateShortcut("$Home\Desktop\PSHome.lnk")

Where-Object –FileterScript ($_.Value -lt 3)

ForEach-Object –Process ()

Sort-Object –Property –Descending

$env:PATH

Rem ---- List MSI

Get-WmiObject -Class Win32_Product -ComputerName . Format-Wide -Column 1

Rem ---- To install MSI

(Get-WMIObject -ComputerName PC01 -List Where-Object -FilterScript {$_.Name -eq "Win32_Product"}).InvokeMethod("Install","\\AppSrv\dsp\NewPackage.msi")

Rem ---- To uninstall MSI

(Get-WmiObject -Class Win32_Product -Filter "Name='ILMerge'" -ComputerName . ).InvokeMethod("Uninstall",$null)

Tuesday, May 22, 2007

70-528 Notes [3]

http://fiddlertool.com is really cool debug tool
    • cassini is the standalone server.

HttpApplication->IHttpHandler (HttpContext)
<system.web>

<httpHandlers>
<add verb="*" path="*.xml" type="TypeName, Assembly" />

Aspx inherits from System.Web.UI.Page
implements IHttpHandler

System.Reflection.Assembly.getExecutingAssembly().Location.

This.GetType().FullName;
This.GetType().BaseType.FullName;

Demand Compilation:
==================
CodeFile is Page directive to autocompile
Inherits
App_Code is to


Precompilation:
==================
bin is precompiled.

Business Data of Microsoft Office Sharepoint Server 2007 (MOSS)

Answer: Sharepoint Portal Server (SPS) as been renamed in 2007 to Microsoft Office Sharepoint Server 2007 (MOSS). The new name also include the old Content Management Server (CMS).

BDC - Business Data Catalog

SharePoint to consume the data from:
- BizTalk
- Database
- SAP
- Siebel
-


Business Data Column
- One Column type that stores any entity
- One-click refresh
- Integrates with list fieatures: workflow, versioning,


Business Data Web Parts

Metadata
- For display
- For indexing


Key Objects
- System
- Entity
- Method
- Association


Action is just a URL associated with an
entity



SPS (Sharepoint Portal Server)
CMS (Content Management Server)

changed renamed
2007 MOSS (Microsoft Office Sharepoint Server)

Answer: Here is a link to the feature comparisons:
http://office.microsoft.com/en-us/sharepointserver/FX101758881033aspx?ofcresset=1

BDC Meta Man

Monday, May 07, 2007

APLN meeting - FPFS or M&S

Event: Are Fixed Price and Agile Mutually Exclusive?
Date: Mon, May 7th, 12:00 PM
Location: Fifth Avenue Place Conference Room 420 - 2nd Street S W Calgary, AB
Speaker: Gerard Meszaros, Chief Scientist, ClearStream Consulting
Sponsor: Clearstream Consulting

Calgary Agile Project Leaders Network

================================

This is a pretty interesting meeting. The speaker is from ClearStream. But the sponsers are huge, like Quardrus, online business systems, CDL systems, Netellers, and Agile  Recruiting. http://www.calgaryapln.org/sponsors

 

FPFS - Fix Price Fix Scope.

T&M - Time and Material project

 

Split FPFS contract with two contracts: first project with T&M either fix the scope or fix the price. Then the customer would get known the venders, and vendors would better understand the scope.

 

Fixed price - Variable scope.

Target price - Variable scope.

 

Toyota's contracts with suppliers are target price projects. With target project, suppliers could figure out bigger profit margins and Toyota would also get lower prices with parts.

 

Thursday, December 07, 2006

Windows Vista Product Guide

It is 300+ page guide about the next generation client operation system successor to Windows XP. Download the Windows Vista Product Guide Today!

(P25) Windows Easy transfer: it is very important to transfer all the data over from XP.

(P27) Windows Experience Index: Control Panel -> Performance Information and Tools. (1-5.9). Base score. 3.0

(P30) The first Windows operating system that scales the user experience to the hardware capabilities of your computer.

(P94) Shadow copy

(P110) Networked Projection. This is a real cool feature. Also you could phisically have multiple display.

(P120) Windows Hot start for playing music/media stored in your hard disk.

(P118) Windows SideShow Gadgets. Remote control without turning on your PC. One for windows mail and another is for Windows media player.

(P123) --- Windows SyncCenter.

(P132) Speech recognition.

(P140) --- Accessability. Showing narrator, on-screen keyboard, and magnifier.


P150 Home User

(P151) Parental Control.

(P161) Windows media centre Since 2002, Windows Media Center has seen four releases: Windows XP Media Center Edition, Windows XP Media Center Edition 2004, Windows XP Media Center Edition 2005, and a Windows Media Center Edition 2005 update. Windows Media Center now ships into more than 30 locales.

(210) XPS Document. You could browse it in IE. But you need .NET frameworks 3.0. installed. (Fonts embedded). Create by Print To.

(214) Windows Meeting Space, it is great for share the windows.

(220) With Windows XP, users can achieve stateless computing in two ways: through Roaming User Profiles (RUP) and Folder Redirection (FR).

Section 6: For IT professionals.

(250) SUA - Subsystem for Unix-based Application.

(256) Security Firewall, Spyware, Windows Service Hardening. Filewall supports inbound and outbound filtering.

(286) Microsoft .NET Framework 3.0

Tony

Be A Developer That Uses AI

Developers will not be replaced by AI, they'll be replaced by developers that use AI. Generative AI tools are revolutionizing the way de...