<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Georgi Mitev &#124; Learn Programming Scripts Tutorials &#124; C# ASP .NET MVC &#187; Windows Environment</title>
	<atom:link href="http://georgi-mitev.com/category/developing-under-windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://georgi-mitev.com</link>
	<description>Georgi Mitev&#039;s blog for scripts, tutorials and something else</description>
	<lastBuildDate>Mon, 02 Jan 2012 02:51:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Using git and GitHub on windows machine</title>
		<link>http://georgi-mitev.com/2012/01/developing-under-windows/installing-and-setup-git-and-github-on-windows-machine/</link>
		<comments>http://georgi-mitev.com/2012/01/developing-under-windows/installing-and-setup-git-and-github-on-windows-machine/#comments</comments>
		<pubDate>Mon, 02 Jan 2012 02:32:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[git]]></category>
		<category><![CDATA[Windows Environment]]></category>

		<guid isPermaLink="false">http://georgi-mitev.com/?p=307</guid>
		<description><![CDATA[For a while I was using git and github for uploading my code and projects. ( In case you yet not familiar with it &#8211; github is really a great place for storing your code and collaborating/ sharing your work with others, so please check it out.) I was using Ubuntu OS and ofcourse &#8211; on [...]]]></description>
			<content:encoded><![CDATA[<p>For a while I was using git and <a title="github social coding" href=" http://www.github.com" target="_blank">github</a> for uploading my code and projects. ( In case you yet not familiar with it &#8211; github is really a great place for storing your code and collaborating/ sharing your work with others, so please check it out.)</p>
<p>I was using Ubuntu OS and ofcourse &#8211; on Linux machine git is basically installed with a single command and SSH keys are created very easy.</p>
<p>Windows users had the option for using stuff like cygwin, to be able to get the git functionality under windows, which at some point could be a little anoying for the GUI type of guys <img src='http://georgi-mitev.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  &#8230;Well  not anymore!</p>
<p>After switching back to windows I was amazed how much TortoiseGit has improved for the last few years, and how easy it is now for the windows users to use git <img src='http://georgi-mitev.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>In this tutorial I&#8217;ll cover the following:</p>
<ul>
<li><strong>how to install everything you need to setup Git and TortoiseGIT on your lovely Windows OS.</strong></li>
<li><strong>how to generate a private key with PuttyGen and set this up on your github account</strong></li>
<li><strong>how to initially create your repo at github and clone the repo to your local machine</strong></li>
</ul>
<p>OK &#8211; lets do this !</p>
<p><span id="more-307"></span></p>
<p><strong>Step <strong>1. Install msysgit</strong></strong></p>
<p>First thing you need to do is to get a distribution of git for windows. I this tutorial I use msysgit.</p>
<p>You can also try cygwin &#8211; which is very popular linux shell emulation for windows, but I haven&#8217;t yet tested it so I cannot currently recommend using it.</p>
<p>You can download msysgit at: http://code.google.com/p/msysgit/downloads/lis<br />
The file that you need should look for is: msysGit-fullinstall-XXX-preview-some-date &#8211; where XXX is the version.  Download the latest version and install it. The unpackaging and building process might take a several minutes depending on your CPU speed &#8211; so don&#8217;t worry about this.</p>
<div id="attachment_312" class="wp-caption alignnone" style="width: 679px"><a href="http://georgi-mitev.com/wp-content/uploads/installing-msysGit.png"><img class="size-full wp-image-312 " title="installing-msysGit" src="http://georgi-mitev.com/wp-content/uploads/installing-msysGit.png" alt="installing-msysGit" width="669" height="332" /></a><p class="wp-caption-text">installing-msysGit</p></div>
<p><strong>Step 2. Install TortoiseGit</strong></p>
<p>Ok after we are ready with this please proceed and install tortoisegit:</p>
<p>Get it at:<br />
<a href="http://code.google.com/p/tortoisegit/downloads/list">http://code.google.com/p/tortoisegit/downloads/list</a></p>
<p>Download and install the latest version and proceed.</p>
<div id="attachment_315" class="wp-caption alignnone" style="width: 513px"><a href="http://georgi-mitev.com/wp-content/uploads/Tortoise-Plink.png"><img class="size-full wp-image-315" title="Tortoise-Plink" src="http://georgi-mitev.com/wp-content/uploads/Tortoise-Plink.png" alt="Tortoise-Plink" width="503" height="388" /></a><p class="wp-caption-text">Tortoise-Plink</p></div>
<p>You will be asked to choose between Plink and OpenSSH. Choose Plink, so that you could ease the process of generating SSH keys. Ok after the install is finished you can reboot your machine (probably won&#8217;t be required but just in case).</p>
<p><strong>Step 3.Basic config of TortoiseGit</strong></p>
<p>Now the TortoiseGit Context should appear:</p>
<div class="mceTemp">
<dl id="attachment_317" class="wp-caption alignnone" style="width: 342px;">
<dt class="wp-caption-dt"><a href="http://georgi-mitev.com/wp-content/uploads/right-click-tortoise-git.png"><img class="size-full wp-image-317" title="right-click-tortoise-git" src="http://georgi-mitev.com/wp-content/uploads/right-click-tortoise-git.png" alt="right-click-tortoise-git" width="332" height="328" /></a></dt>
<dd class="wp-caption-dd"></dd>
</dl>
</div>
<p><a href="http://georgi-mitev.com/wp-content/uploads/Tortoise-settings1.png"><img class="alignnone size-full wp-image-318" title="Tortoise-settings1" src="http://georgi-mitev.com/wp-content/uploads/Tortoise-settings1.png" alt="Tortoise-settings1" width="699" height="461" /></a></p>
<p>Please check if MSysGit Git.exe path is pointing to the installation of your installation of msysgit (Step 1.)</p>
<p><a href="http://georgi-mitev.com/wp-content/uploads/Tortoise-settings2.png"><img class="alignnone size-full wp-image-319" title="Tortoise-settings2" src="http://georgi-mitev.com/wp-content/uploads/Tortoise-settings2.png" alt="" width="699" height="461" /></a></p>
<p>Also check if TortoisePLink is correctly setup &#8211; this should be entered by default &#8211; but it&#8217;s good to know where this is entered, so that you could have a basic idea of the authentication part.</p>
<p>Make sure to go into Git -&gt; Config section, and to add your name and email address &#8211; if you are using Github &#8211; make sure to add the same credentials that you are using for Github as well.</p>
<p>Ok now it&#8217;s time to generate some private keys. Please go to Start-&gt; All Programs -&gt; TortoiseGit -&gt; PuttyGen. The executable is usually located at  C:\Program Files\TortoiseGit\bin\puttygen.exe if you installed TortoiseGit into default directory.</p>
<p><a href="http://georgi-mitev.com/wp-content/uploads/putty-key.png"><img class="alignnone size-full wp-image-320" title="putty-generate-key" src="http://georgi-mitev.com/wp-content/uploads/putty-key.png" alt="putty-generate-key" width="483" height="464" /></a></p>
<p>Just use all the default settings &#8211; as in the screenshot above (SSH-2 RSA 1024bit) and generate a private key. Then save it somewhere on your harddrive &#8211; where you wont forget it or delete it. The password is optional. Also copy the text at the key section (as shown in the screenshot &#8211; mark it and copy it &#8211; because you&#8217;ll need this for the next step)</p>
<p><strong>Step 4.  Setting up the GitHub account to use private key</strong></p>
<p>Go to your account at https://github.com/ and then go to Account settings -&gt; SSH Public Keys or go directly to <a href="https://github.com/account/ssh">https://github.com/account/ssh</a></p>
<p><a href="http://georgi-mitev.com/wp-content/uploads/github-ssh-keys3.png"><img class="alignnone size-full wp-image-324" title="_github-ssh-keys" src="http://georgi-mitev.com/wp-content/uploads/github-ssh-keys3.png" alt="github-ssh-keys" width="689" height="343" /></a></p>
<p>Add a description title for this key and paste it&#8217;s value from the previous step.</p>
<p>Ok now you can create a new repository or use one of your existing ones (if you have any).</p>
<p>Go to <a href="https://github.com/repositories/new">https://github.com/repositories/new</a> and create a new repo. Name it for example &#8216;test&#8217;. Now go to <a href="https://github.com/account/repositories">https://github.com/account/repositories</a> and then click on the test repo. The new address of your repository should be:</p>
<pre><strong>git@github.com:yourGitHubUserName/test.git</strong>
So let's test how it works now. We'll try to 'download' the test repo we created using the git clone command. For those of you who've used SVN - this is similiar to the SVN checkout command.
Create some empty folder on your harddrive and hit Rightclick -&gt; Git Clone:
<a href="http://georgi-mitev.com/wp-content/uploads/git-clone.png"><img class="alignnone size-full wp-image-325" title="git-clone" src="http://georgi-mitev.com/wp-content/uploads/git-clone.png" alt="" width="487" height="363" /></a></pre>
<p>Make sure that the path to test repo is correct, also add the path to your ppk file (the file we created in Step3.)</p>
<p>You should get success message like this:</p>
<p><a href="http://georgi-mitev.com/wp-content/uploads/git-clone-success.png"><img class="alignnone size-full wp-image-326" title="git-clone-success" src="http://georgi-mitev.com/wp-content/uploads/git-clone-success.png" alt="git-clone-success" width="505" height="334" /></a></p>
<p>Great !! You&#8217;ve cloned your first repo <img src='http://georgi-mitev.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>If you are not familiar with git at all I suggest you start with learning the follwing commands</p>
<p>branch, add, commit, push, pull  - these are the most basic git commands that can get you started.</p>
<p>Please check also these great sources on working with git:</p>
<p><a href="http://book.git-scm.com/">http://book.git-scm.com/</a></p>
<p><a href="http://gitcasts.com/">http://gitcasts.com/</a></p>
<p><a href="http://scottchacon.com//2011/08/31/github-flow.html">http://scottchacon.com//2011/08/31/github-flow.html</a></p>
<p>if you need to migrate your current SVN repo to git -&gt; check the link below</p>
<p><a href="http://www.jonmaddox.com/2008/03/05/cleanly-migrate-your-subversion-repository-to-a-git-repository/">http://www.jonmaddox.com/2008/03/05/cleanly-migrate-your-subversion-repository-to-a-git-repository/</a></p>
<p>If you have any additional questions or requests please contact me or add your question in the comment section below.</p>
<p>I&#8217;ll write additional tutorial on adding correctly written gitignore file.</p>
<p>Thank you fellas &#8211; see you next time <img src='http://georgi-mitev.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://georgi-mitev.com/2012/01/developing-under-windows/installing-and-setup-git-and-github-on-windows-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 7 Visual Studio Funny Bug</title>
		<link>http://georgi-mitev.com/2009/03/fun/windows-7-visual-studio-funny-bug/</link>
		<comments>http://georgi-mitev.com/2009/03/fun/windows-7-visual-studio-funny-bug/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 20:37:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[Windows Environment]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[win7 bug]]></category>
		<category><![CDATA[windows7]]></category>

		<guid isPermaLink="false">http://georgi-mitev.com/?p=130</guid>
		<description><![CDATA[Hello , these days i was making a lot of compliments about Windows 7, i was telling my friends how fast and stable it is, even that it&#8217;s still in Beta . Well i think that it is double as fast compared to Vista, double as stable, double &#8230;. blablabla &#8230; and also you have [...]]]></description>
			<content:encoded><![CDATA[<p>Hello <img src='http://georgi-mitev.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ,<br />
these days i was making a lot of compliments about Windows 7, i was telling my friends how fast and stable it is, even that it&#8217;s still in Beta <img src='http://georgi-mitev.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Well i think that it is double as fast compared to Vista, double as stable, double &#8230;. blablabla<br />
&#8230; and also you have double the toolbars, double the menu items double everything <img src='http://georgi-mitev.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /><br />
<a href="http://georgi-mitev.com/images/posts/3.2009/win7.jpg" rel="lightbox"><img src="http://georgi-mitev.com/images/posts/3.2009/win7.jpg" width="50%" height="50%" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://georgi-mitev.com/2009/03/fun/windows-7-visual-studio-funny-bug/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Visual SVN Server under windows</title>
		<link>http://georgi-mitev.com/2009/03/developing-under-windows/visual-svn-server-under-windows/</link>
		<comments>http://georgi-mitev.com/2009/03/developing-under-windows/visual-svn-server-under-windows/#comments</comments>
		<pubDate>Sat, 07 Mar 2009 08:40:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Windows Environment]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[repository]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[visual svn]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows svn server]]></category>

		<guid isPermaLink="false">http://georgi-mitev.com/?p=12</guid>
		<description><![CDATA[Hello everybody it&#8217;s been a while since my last post, i actually almost forgot that i have a blog just kiddin doll anyway &#8211; from now on there will be every day updates on the topics that you are interested the most And now let&#8217;s get to the point&#8230; For everybody that uses Apache/Php/Mysql or [...]]]></description>
			<content:encoded><![CDATA[<p>Hello everybody <img src='http://georgi-mitev.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  it&#8217;s been a while since my last post, i actually almost forgot that i have a blog <img src='http://georgi-mitev.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  just kiddin doll <img src='http://georgi-mitev.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  anyway &#8211; from now on there will be every day updates on the topics that you are interested the most <img src='http://georgi-mitev.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
And now let&#8217;s get to the point&#8230;<br />
For everybody that uses Apache/Php/Mysql or Xampp under Windows is good to have a repository server to store their projects, update and commit their work etc.<br />
<a rel="lightbox" href="http://georgi-mitev.com/images/posts/3.2009/svn.jpg"><img src="http://georgi-mitev.com/images/posts/3.2009/svn.jpg" alt="installing the svn server" /></a></p>
<p>I&#8217;ve been using so far SVN server that you can install directly with your current Apache configuration, but to do so you have to install svn server, modify the httpd.conf to set up the SVN directory, and then write some lines in the cmd window so that you can create a service which is able to start the svn daemon automatically, so that you dont have to start it everytime you want to use it <img src='http://georgi-mitev.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /><br />
if you are interested to do the thing the hard way &#8211; be my guest <img src='http://georgi-mitev.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> , follow the tutorials in the URLs below and you should be fine <img src='http://georgi-mitev.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<ul>
<li><a title="SVN server under windows" href="http://life.mysiteonline.org/archives/67-Installing-and-Setting-up-Subversion-SVN-Under-Windows-XP.html" target="_blank">http://life.mysiteonline.org/archives/67-Installing-and-Setting-up-Subversion-SVN-Under-Windows-XP.html</a></li>
</ul>
<ul>
<li><a href="http://life.mysiteonline.org/archives/67-Installing-and-Setting-up-Subversion-SVN-Under-Windows-XP.html" target="_blank">http://lifehacker.com/software/top/hack-attack-how-to-set-up-a-personal-home-subversion-server-188582.php</a></li>
</ul>
<p>However recently i updated to Windows 7 ( win7 ) beta 7022 which is actually pretty stable OS, and behaving much better than the shity Vista <img src='http://georgi-mitev.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> . So i had to reinstall the SVN all over again, which if you are lazy person can be pretty boring:)</p>
<p>So i found the <strong>Visual SVN Sever:</strong></p>
<p><a rel="lightbox" href="http://georgi-mitev.com/images/posts/3.2009/svn2.jpg"><img src="http://georgi-mitev.com/images/posts/3.2009/svn2.jpg" alt="installing the svn server" /></a></p>
<p><a title="http://life.mysiteonline.org/archives/67-Installing-and-Setting-up-Subversion-SVN-Under-Windows-XP.html" href="http://life.mysiteonline.org/archives/67-Installing-and-Setting-up-Subversion-SVN-Under-Windows-XP.html" target="_blank">http://visualsvn.com/server/</a></p>
<p>after some searching i found pretty damn good easy to understand tutorial in which even if you havent using it before, most probably you will get everything on <img src='http://georgi-mitev.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>so &#8211; check it here</p>
<p><a title="http://life.mysiteonline.org/archives/67-Installing-and-Setting-up-Subversion-SVN-Under-Windows-XP.html" href="http://life.mysiteonline.org/archives/67-Installing-and-Setting-up-Subversion-SVN-Under-Windows-XP.html" target="_blank">http://rajibmahmud.wordpress.com/2009/01/09/work-with-visual-svn-server-tortoise-svn/</a></p>
<p>the Visual SVN will create separate apache process and will manage your repository via https (you have to write https://server-name/main-repository-name/your-project:port) insted of svn://server/project-name   but i guess it&#8217;s ok cuz almost everything is done automaticaly. The only thing you have to config are the User rights and passwords etc <img src='http://georgi-mitev.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://georgi-mitev.com/2009/03/developing-under-windows/visual-svn-server-under-windows/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>ScottGu&#8217;s Using LINQ to SQL (Part 1)</title>
		<link>http://georgi-mitev.com/2008/11/developing-under-windows/scottgus-using-linq-to-sql-part-1/</link>
		<comments>http://georgi-mitev.com/2008/11/developing-under-windows/scottgus-using-linq-to-sql-part-1/#comments</comments>
		<pubDate>Sat, 22 Nov 2008 21:20:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Windows Environment]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[learn linq]]></category>
		<category><![CDATA[linq]]></category>
		<category><![CDATA[linq to sql]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://georgi-mitev.com/?p=11</guid>
		<description><![CDATA[Developers can use LINQ with any data source. They can express efficient query behavior in their programming language of choice, optionally transform/shape data query results into whatever format they want, and then easily manipulate the results. LINQ-enabled languages can provide full type-safety and compile-time checking of query expressions, and development tools can provide full intellisense, [...]]]></description>
			<content:encoded><![CDATA[<p><a rel="lightbox" href="http://www.scottgu.com/blogposts/linqtosql/step1.jpg"><img src="http://www.scottgu.com/blogposts/linqtosql/step1.jpg" alt="Georgi Mitev blog LinQ to SQL" /></a></p>
<p>Developers can use LINQ with any data source.  They can express efficient query behavior in their programming language of choice, optionally transform/shape data query results into whatever format they want, and then easily manipulate the results.  LINQ-enabled languages can provide full type-safety and compile-time checking of query expressions, and development tools can provide full intellisense, debugging, and rich refactoring support when writing LINQ code.</p>
<p><a href="http://weblogs.asp.net/scottgu/archive/2007/05/19/using-linq-to-sql-part-1.aspx">http://weblogs.asp.net/scottgu/archive/2007/05/19/using-linq-to-sql-part-1.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://georgi-mitev.com/2008/11/developing-under-windows/scottgus-using-linq-to-sql-part-1/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

