How To … Test code from database with nunit
In this video we will test the Business Layer for a shortening application.
The Data Access Layer is made with Entity Framework .
You can download files from
In this video we will test the Business Layer for a shortening application.
The Data Access Layer is made with Entity Framework .
You can download files from
You can download the project from
Also you can look to the video :
Very Short:
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
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.
Step 6: Run BcdVHD in order to add this VHD to the boot configuration.
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!
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.
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!
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