DVCS resources

Sunday, 24 January 2010 by alexandrul

Mercurial resources

by alexandrul
Permalink

Source code / binaries / GUI

Setting up Mercurial servers

Remote repositories

Mercurial - Visual Studio integration

Mercurial - Git integration

[Read More…]

ASP.NET MVC resources

Tuesday, 3 November 2009 by alexandrul
Permalink

Guides, best practices

Dev stack

Extensibility

Dependency injection

[Read More…]

Git instaweb using mongoose and msysGit

Monday, 12 October 2009 by alexandrul
Permalink

Requirements

Mongoose setup

Rename mongoose-2.8.exe to mongoose4instagit.exe and place it in any folder at your choice, in my case: k:\dev\tools\mongoose\mongoose4instagit.exe

Gitweb setup

In a msysGit shell run the following commands to build gitweb.cgi in case it’s not already present (like after running make clean in /git folder):

cd /git
make gitweb/gitweb.cgi

Next, extract CGI.pm archive content, and copy the content of the lib subfolder to /lib/perl5/site_perl, keeping the folder structure:
[Read More…]

Git on Windows with msysGit

Sunday, 20 September 2009 by alexandrul
Permalink

The article is based on Install MSysGit wiki page from the msysGit website, and you could also read Updating MSysGit.

For best results use one of the following Git versions:

  • Git 1.7.0.1 - recommended
  • Git 1.6.6.2
  • Git 1.6.5.8
  • Git 1.6.4.4

Requirements

Setting up Git

First unpack msysGit installer to your desired location (7-Zip works just fine). In my case, the location is K:\dev\tools\msysGit. Also, this folder is the root folder inside the msysGit shell, and would be the reference for the rest of the tutorial.

In the K:\dev\tools\msysGit\git folder you will find the Git source code provided with the installer. Delete all the files and folders inside it, and then unpack in the same folder the source code of your desired git version.

Final step would be running K:\dev\tools\msysGit\msys.bat, which will compile and install git, and leave you to a shell prompt.

[Read More…]

Git resources

Friday, 28 August 2009 by alexandrul
Permalink

Source code / binaries / GUI

Setting up Git server

[Read More…]

Build virtual machine configuration files to use with VMware Player

Thursday, 27 August 2009 by alexandrul

VMware Player 3.0 can create new virtual machines, but older versions are only running existing virtual machines.

Tutorials

VMX configuration generators

Updated templates for xUnit.net in ASP.NET MVC RTM

Sunday, 3 May 2009 by alexandrul

Environment:

  • Visual Studio 2008 Pro
  • xUnit.net v1.5 (build 1.5.0.1479)

xUnit.net has very few tests by default, so I have adapted the standard Visual Studio tests generated for ASP.NET MVC web applications. This resulted in two files: AccountControllerTests.cs and HomeControllerTests.cs (the last one is similar with HomeControllerFacts.cs)

The xUnit.net template for ASP.NET MVC unit testing can be found on the following location:

%VS2008%\Common7\IDE\ProjectTemplates\CSharp\Test\XunitMvcTestProjectTemplate.cs.zip

After unpacking the content of the template to a temp folder, we must place the new files in the Controllers folder, and update the content of MvcTemplate.csproj and MyTemplate.vstemplate:
[Read More…]

Setup xUnit.net for unit testing in ASP.NET MVC RTM

by alexandrul

Environment:

  • Visual Studio 2008 Pro
  • xUnit.net v1.5 (build 1.5.0.1479)

If you are using a zip file downloaded from the Source Code section of their site, extract it on a temp folder and move the binaries from the Samples\xunit folder to your destination of choice. If you are using the zipped binaries from their downloads page, simply extract them to your desired location.

The next step is running xunit.installer.exe and enabling support for ASP.NET MVC. The result should look like this:

xunit_installer_success.png

If the installer throws an exception like this one:

xunit_installer_error.png

then you should create manually the folder specified in the error message (usually the Test folders).
[Read More…]

Schimb de carti - programare

Friday, 1 May 2009 by alexandrul
Titlu: Pro ASP.NET 3.5 in C# 2008: Includes Silverlight 2, Third Edition
Autori: Matthew MacDonald, Mario Szpuszta
Editura Apress, 2009, 1520 pagini
Pret: 110 RON
Link: www.amazon.com
Contact:
Titlu: Programming Microsoft ASP.NET 2.0 Applications: Advanced Topics
Autor: Dino Esposito
Editura Microsoft Press, 2006, 800 pagini
Pret: 110 RON
Link: www.amazon.com
Contact:
Titlu: Programming ASP.NET 3.5
Autori: Jesse Liberty, Dan Maharry, Dan Hurwitz
Editura O'Reilly Media Inc., 2009, 1166 pagini
Pret: 110 RON
Link: www.amazon.com
Contact:
Titlu: Pro C# with .NET 3.0, Special Edition
Autor: Andrew Troelsen
Editura APRESS, 2007, 1250 pagini
Pret: 110 RON
Link: www.amazon.com
Contact:
Titlu: Baze de date relationale si aplicatii
Autor: Felicia IONESCU
Editura Tehnica, 2004, 347 pagini
Pret: 20 RON
Contact:
Titlu: Bazele Visual C++ 4
Autor: Mickey Williams
Editura Teora, 1998, 527 pagini
Pret: 50 RON
Contact:
Titlu: Visual Basic - Biblioteca programatorului
Autori: Christofer J. Bockmann, Lars Klander, Lingyan Tang
Editura Teora, 1999, 1166 pagini
Pret: 70 RON
Contact:
Titlu: Biblioteca programatorului VRML
Autori: Kris Jamsa, Phil Schmauder, Nelson Yee
Editura All, 1997, 602 pagini
Pret: 40 RON
Contact:
Titlu: Borland Pascal 7.0 pentru Windows
Autori: Valentin Cristea, Irina Athanasiu, Eugenia Kalisz, Lorina Negreanu
Editura Teora, 1995, 459 pagini
Pret: 25 RON
Contact:
Titlu: Turbo Vision - Programarea orientata pe obiecte in Turbo Pascal
Autor: David K. Zoltan
Editura ProMedia Plus, 1995, 183 pagini
Pret: 20 RON
Contact: