How To … Create a new site similar with regular internet site in Windows 7

 

Step 1 : Make a Web site with Visual Studio

Step 2 : In IIS Manager create the new site

Step 3: edit the hosts file (administrative rights)

Step 4: Create the Web application, modify his Project=>properties=>Web =>Use local IIS Web Server

Step 5: Edit bindings for new site to point to the folder of application

Step 6: Run Visual Studio

How to … Make a bootable clone hard disk in Windows 7

Disclaimer  : it is a short story of the long story from http://onegeekwithalife.blogspot.com/2009/11/booting-from-cloned-vhd-in-win7.html 

Step 1 : Read http://onegeekwithalife.blogspot.com/2009/11/booting-from-cloned-vhd-in-win7.html  and confirm you have administrative rights to run programs.

Step 2 : Download tools

                          a) Disk2VHD from SysInternals, http://technet.microsoft.com/en-us/sysinternals/ee656415.aspx

                          b) VHD Resizer, http://vmtoolkit.com/files/folders/converters/entry87.aspx

                          c) BcdVHD, http://disk2vhd.codeplex.com/ .

                         d) Original Windows 7 disc with bootsect.exe

Step 3 : Run Disk2VHD and create a vhd file

image

Step 4 : Attach the VHD  file in the DiskManagement, make online, delete raw volumes and shrink hard disk. Detach VHD.

Step 5: Run VHD Resizer with selected VHD.

image

Step 6: Run BcdVHD in order to add this VHD to the boot configuration.

image

Run bootsect on VHD as mentioned in http://onegeekwithalife.blogspot.com/2009/11/booting-from-cloned-vhd-in-win7.html 

Step 7: Restart and confirm you successfully boot. Run %SystemDrive% on vhd. Note the drive

Step 8: Attach the registry of the file as mentioned in http://onegeekwithalife.blogspot.com/2009/11/booting-from-cloned-vhd-in-win7.html 

Step 9 : Restart

Step 10: Congratulations, you have a full VHD system to boot that is running now!

How To … Put a new project on codeplex in 10 steps

Step 1 : Have a project, compile to binary(exe, dll or other)  and found a name for it ( for us is disk2vhd )

Step 2 : Goto www.codeplex.com , register(or sign in) , then click on “Create project” . There you will put the name of the project (disk2vhd for us) and a description for it. You will be redirected to the page of the project.

Step 3:  For putting the source code , you must download the Codeplex Client from http://www.codeplex.com/CodePlexClient  – click on download. Unzip the file , if necessary.

Step 4: (optional) put the folder cpc.exe in your path

Step 5 : Go to the project folder and run the following commands

                              cpc co <projectname> 

                              cpc add <folder name> /e

                              cpc add <file name>

                              cpc commit /m “<your comment>”

             Now verify that in the source code for your project on codeplex ( for me it is http://disk2vhd.codeplex.com/SourceControl/ListDownloadableCommits.aspx ) you have at least one change set.

Step 6: Ensure that the people that want to try your project can have the binary sources without problems .

Go to downloads , click new release (for me it was http://disk2vhd.codeplex.com/Release/ProjectReleases.aspx?Create=true ) and put the name and description.

Also put the development status , show to public and recomended release to stable, yes and yes.

image

Click Save.

Step 7 : Choose a license .

Step 8 : Edit the description of you project

Step 9 : Publish your project (see the link in the first line of the web page)

Step 10 : You’re done! Congratulations!

jQuery Learning

learning jquery

Taking into account that Microsoft Visual Studio 2010 integrates jQuery, you might want to read about it. Of course, the first link is just http://jquery.com/.

Then recommend “Learning jQuery – Better Interaction Design and Web Development with Simple JavaScript Techniques”

A quick to learn from it about jQuery, about $ (document). Ready, Ajax with jQuery and about (developing) plug-ins. My only problem is that plug-ins mentioned are just few …

Worth reading!

Learning jQuery: Better Interaction Design and Web Development with Simple JavaScript Techniques