<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Code-Inside Blog International</title>
	
	<link>http://code-inside.de/blog-in</link>
	<description>Blogging about ASP.NET, .NET &amp; C#</description>
	<lastBuildDate>Sun, 19 Feb 2012 12:26:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Code-InsideBlogInternational" /><feedburner:info uri="code-insidebloginternational" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Git-Pull Request mergen for beginners</title>
		<link>http://feedproxy.google.com/~r/Code-InsideBlogInternational/~3/PzIvc-eggos/</link>
		<comments>http://code-inside.de/blog-in/2012/02/19/git-pull-request-mergen-for-beginners/#comments</comments>
		<pubDate>Sun, 19 Feb 2012 12:26:53 +0000</pubDate>
		<dc:creator>Code Inside Team</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://code-inside.de/blog-in/2012/02/19/git-pull-request-mergen-for-beginners/</guid>
		<description><![CDATA[My project “KnowYourStack.com” (the working title was BizzBingo – a detailed blogpost will follow soon) lays on GitHub and I’ve recognized a Problem where Daniel Lang helped me a lot. At the end he created a Fork for my Project and laid a Pull Request: The question is: How do I transfer the changes to ...]]></description>
			<content:encoded><![CDATA[<p><a href="http://code-inside.de/blog-in/wp-content/uploads/image1450-570x194.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image1450-570x194" border="0" alt="image1450-570x194" src="http://code-inside.de/blog-in/wp-content/uploads/image1450-570x194_thumb.png" width="498" height="170" /></a></p>
<p>My project “<a href="http://knowyourstack.com/">KnowYourStack.com</a>” (the working title was BizzBingo – a detailed blogpost will follow soon) lays on <a href="https://github.com/robertmuehsig/BizzBingo">GitHub</a> and I’ve recognized a Problem where <a href="http://daniellang.net/">Daniel Lang</a> helped me a lot. At the end he created a Fork for my Project and laid a Pull Request:</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://code-inside.de/blog/wp-content/uploads/image_thumb625.png" width="583" height="192" /></p>
<p><b>The question is: How do I transfer the changes to me?</b></p>
<p>Because I’m a totally beginner in <a href="http://www.knowyourstack.com/what-is/git">Git</a>/<a href="http://www.knowyourstack.com/what-is/github">GitHub</a> I’m going to write it down step by step. The <a href="http://help.github.com/send-pull-requests/">help</a> page on GitHub was a good introduction but at last I need to merge several files during this action which makes this a lot more complicated.</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:812469c5-0cb0-4c63-8c15-c81123a09de7:f7c2f135-b3e9-445b-9e61-88cf970a051a" class="wlWriterEditableSmartContent">
<pre name="code" class="c#">git checkout master
...
git pull https://github.com/dlang/BizzBingo master
... (VIELE DATEIEN werden gezogen)...</pre>
</div>
<p><b></b></p>
<p><b>Result:</b></p>
<p>“Automatic merge failed: fix conflicts and then commit the result.” </p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:812469c5-0cb0-4c63-8c15-c81123a09de7:b2fbb714-72bf-4584-bc99-3c99a09dc1a3" class="wlWriterEditableSmartContent">
<pre name="code" class="c#">$ git mergetool</pre>
</div>
<p><b>Beware: </b>Before you start make sure you already created a Mergetool. It’s not that difficult and you will find a <a href="http://gitguru.com/2009/02/22/integrating-git-with-a-visual-merge-tool/">detailed instruction here</a>. In fact all you have to do is to choose a Merge Program (I’ve chosen <a href="http://kdiff3.sourceforge.net/">KDiff3</a> but it’s ugly). And after that you need to tell Git which tool is the right one for the mergen process. At the end that’s what the .gitconfig looks like: </p>
<p>&#160;</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:812469c5-0cb0-4c63-8c15-c81123a09de7:26b42d98-a735-4b8b-be0b-f3997c7ef161" class="wlWriterEditableSmartContent">
<pre name="code" class="c#">[/diff]

	tool = kdiff3

[merge]

	tool = kdiff3

[mergetool "kdiff3"]

	path = C:/Program Files (x86)/KDiff3/kdiff3.exe

    keepBackup = false

    trustExitCode = false

[difftool "kdiff3"]

    path = C:/Program Files (x86)/KDiff3/kdiff3.exe

    keepBackup = false

    trustExitCode = false</pre>
</div>
<p>After that the files will merge to GitHub with “commit” and “push”. That’s it. <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smiley" src="http://code-inside.de/blog-in/wp-content/uploads/wlEmoticon-smile12.png" /></p>
<p>I think that will work – Thanks again Daniel <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smiley" src="http://code-inside.de/blog-in/wp-content/uploads/wlEmoticon-smile12.png" /></p>
<img src="http://feeds.feedburner.com/~r/Code-InsideBlogInternational/~4/PzIvc-eggos" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://code-inside.de/blog-in/2012/02/19/git-pull-request-mergen-for-beginners/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://code-inside.de/blog-in/2012/02/19/git-pull-request-mergen-for-beginners/</feedburner:origLink></item>
		<item>
		<title>Carriage Return / new line in Textareas</title>
		<link>http://feedproxy.google.com/~r/Code-InsideBlogInternational/~3/0wexH8CzT-8/</link>
		<comments>http://code-inside.de/blog-in/2012/02/15/carriage-return-new-line-in-textareas/#comments</comments>
		<pubDate>Wed, 15 Feb 2012 17:45:30 +0000</pubDate>
		<dc:creator>Code Inside Team</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://code-inside.de/blog-in/2012/02/15/carriage-return-new-line-in-textareas/</guid>
		<description><![CDATA[&#160; A little task: each new text line (Carriage Return/ if you press enter ) in a Textarea should be an element on a list – so what’s the easiest way? Actual a basic element in the web and the user make aware distributions – so it would be fair to dignify it. Little MVC ...]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>A little task: each new text line (Carriage Return/ if you press enter <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-winkingsmile" alt="Zwinkerndes Smiley" src="http://code-inside.de/blog-in/wp-content/uploads/wlEmoticon-winkingsmile33.png" />) in a Textarea should be an element on a list – so what’s the easiest way? Actual a basic element in the web and the user make aware distributions – so it would be fair to dignify it. </p>
<p><b>Little MVC Demo App:</b></p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://code-inside.de/blog/wp-content/uploads/image_thumb630.png" width="244" height="171" /></p>
<p>We are going to analyze the input in this text field a little bit closer. In my option the “split” happens on the Server-Side but it’s also possible on JavaScript. </p>
<p><b>After you’ve klicked on “ok”:</b></p>
<p>The controller receives the text you’ve entered. After the user pressed “enter” in the Textarea either an \n or a \r\n as “functional character”. ( I think it’s in connection with the operation system…. But that’s another story <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-winkingsmile" alt="Zwinkerndes Smiley" src="http://code-inside.de/blog-in/wp-content/uploads/wlEmoticon-winkingsmile33.png" />). </p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://code-inside.de/blog/wp-content/uploads/image_thumb631.png" width="402" height="91" /></p>
<p>After that all we have to is to split the string on this sign and then we are able to take care about the single distributions:</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:812469c5-0cb0-4c63-8c15-c81123a09de7:30a3625a-780e-4c6b-9135-f29cf38236fd" class="wlWriterEditableSmartContent">
<pre name="code" class="c#">  public ActionResult Multiline(string input)
        {
            ViewBag.MultilineRaw = input;

            List&lt;string&gt; eachLine = input.Split(new string[] { "\n", "\r\n" }, StringSplitOptions.RemoveEmptyEntries).ToList();
            ViewBag.MultilineSplitted = eachLine;

            return View("Index");
        }</pre>
</div>
<p>View:</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:812469c5-0cb0-4c63-8c15-c81123a09de7:d1f7456c-831b-4f33-a45d-c85b7e342997" class="wlWriterEditableSmartContent">
<pre name="code" class="c#">@using(Html.BeginForm("Multiline", "Home"))
{
    @Html.TextArea("input")
    &lt;button&gt;OK&lt;/button&gt;
}
@if(string.IsNullOrWhiteSpace(ViewBag.MultilineRaw) == false)
{
&lt;h2&gt;Input&lt;/h2&gt;
&lt;p&gt;Raw: @ViewBag.MultilineRaw&lt;/p&gt;
&lt;h3&gt;Each Line&lt;/h3&gt;
    &lt;ul&gt;
        @foreach(var line in @ViewBag.MultilineSplitted)
        {
        &lt;li&gt;@line&lt;/li&gt;
        }
    &lt;/ul&gt;
}</pre>
</div>
<p>Result:</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://code-inside.de/blog/wp-content/uploads/image_thumb632.png" width="310" height="273" /></p>
<p>Not a big deal but maybe a help for some of you. </p>
<p><a href="http://code.google.com/p/code-inside/source/browse/#git%2F2011%2Fmvcmultiline">[Download on Google Code]</a></p>
<img src="http://feeds.feedburner.com/~r/Code-InsideBlogInternational/~4/0wexH8CzT-8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://code-inside.de/blog-in/2012/02/15/carriage-return-new-line-in-textareas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://code-inside.de/blog-in/2012/02/15/carriage-return-new-line-in-textareas/</feedburner:origLink></item>
		<item>
		<title>WebDev Playground: dabblet.com for HTML/CSS, jsfiddler.com for JS &amp; HUrl.it for REST</title>
		<link>http://feedproxy.google.com/~r/Code-InsideBlogInternational/~3/M4WDIJ4R_dA/</link>
		<comments>http://code-inside.de/blog-in/2012/02/08/webdev-playground-dabblet-com-for-htmlcss-jsfiddler-com-for-js-hurl-it-for-rest/#comments</comments>
		<pubDate>Wed, 08 Feb 2012 13:57:42 +0000</pubDate>
		<dc:creator>Code Inside Team</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://code-inside.de/blog-in/2012/02/08/webdev-playground-dabblet-com-for-htmlcss-jsfiddler-com-for-js-hurl-it-for-rest/</guid>
		<description><![CDATA[&#160; What was reserved for mighty Desktop Apps in the past is now coming closer to the web. I’ve going to present three tools to you which are very useful for web developer. At least all the tools are quite cool in there functionality. Playground for HTML/CSS If you need a quick Playground for CSS ...]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>What was reserved for mighty Desktop Apps in the past is now coming closer to the web. I’ve going to present three tools to you which are very useful for web developer. At least all the tools are quite cool in there functionality. </p>
<p><b>Playground for HTML/CSS</b></p>
<p><b></b></p>
<p>If you need a quick Playground for CSS and HTML than you should take a look on <a href="http://dabblet.com/">Dabblet.com</a>:</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://code-inside.de/blog/wp-content/uploads/image1447.png" width="594" height="238" /></p>
<p>The basics are easy to explain: You are able to hitch CSS and HTML Code into the Web surface and you will see the result directly on the Preview.</p>
<p>It’s also possible to save it or share it via Link with somebody else: More Information’s on this <a href="http://blog.dabblet.com/">Blog</a> or you <a href="http://dabblet.com/">try it by yourse</a>lf. </p>
<p><b>Playground for Javascript (and HTML and CSS)</b></p>
<p><b></b></p>
<p>If you are looking for a Javascript Playground and other additional Frameworks “per Click” a <a href="http://jsfiddle.net/">jsfiddler.com</a> a good address: </p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://code-inside.de/blog/wp-content/uploads/image1448.png" width="617" height="328" /></p>
<p>It’s possible to see some Examples on the Sidebar like for <a href="http://jsfiddle.net/pborreli/pJgyu/">example a simple Twitter Reader</a>.</p>
<p>Here you can deposit CSS/HTML but in fact it doesn’t look so classy like dabblet.com. </p>
<p><b>Hurl.it – curl online </b></p>
<p>Last service in this row: hurl.it modeled on curl. </p>
<p><a href="http://code-inside.de/blog-in/wp-content/uploads/image162.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://code-inside.de/blog-in/wp-content/uploads/image_thumb70.png" width="499" height="424" /></a></p>
<p>The first examples are directly on the home page like a <a href="http://hurl.it/hurls/8e0ac4075fa20091ad136326201b98ccecdb6220/e49d01e6beca4dd7561e0865387af315538e3407">request to the GitHubAPI</a>. But the service is quite insecure (it wasn’t available the last view days) and there are some problems with answers (the Stackoverflow API doesn’t worked with this Tool).</p>
<p>But at least it is also useful if you want to have a quick play around with a REST Service.</p>
<img src="http://feeds.feedburner.com/~r/Code-InsideBlogInternational/~4/M4WDIJ4R_dA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://code-inside.de/blog-in/2012/02/08/webdev-playground-dabblet-com-for-htmlcss-jsfiddler-com-for-js-hurl-it-for-rest/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://code-inside.de/blog-in/2012/02/08/webdev-playground-dabblet-com-for-htmlcss-jsfiddler-com-for-js-hurl-it-for-rest/</feedburner:origLink></item>
		<item>
		<title>Javascript to Dart Translator</title>
		<link>http://feedproxy.google.com/~r/Code-InsideBlogInternational/~3/tsszPluKzTQ/</link>
		<comments>http://code-inside.de/blog-in/2012/02/02/javascript-to-dart-translator/#comments</comments>
		<pubDate>Thu, 02 Feb 2012 18:16:47 +0000</pubDate>
		<dc:creator>Code Inside Team</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Dart]]></category>

		<guid isPermaLink="false">http://code-inside.de/blog-in/2012/02/02/javascript-to-dart-translator/</guid>
		<description><![CDATA[&#160; Dart, a Google Javascript alternative was presented a few months ago and the web developer scene are a little bit unsure about the usability of Dart. To declare the language Google has translated the Javascript basics into Dart. The result is this “Translator”. In my opinion the name doesn’t find that well because it’s ...]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p><a href="http://www.dartlang.org/">Dart</a>, a Google Javascript alternative was presented <a href="http://code-inside.de/blog/2011/09/12/google-dashdart-go-eine-cloud-ide-brightly-und-die-zukunft-von-javascript/">a few months ago</a> and the web developer scene are a little bit unsure about the usability of Dart. To declare the language Google has translated the Javascript basics into Dart. The result is this “<a href="http://googlecode.blogspot.com/2012/01/translating-javascript-to-dart.html">Translato</a>r”.</p>
<p><img style="background-image: none; padding-left: 0px; padding-right: 0px; padding-top: 0px; border: 0px;" title="image" src="http://code-inside.de/blog/wp-content/uploads/image1453.png" border="0" alt="image" width="579" height="430" /></p>
<p>In my opinion the name doesn’t find that well because it’s only a statistical comparison and it’s not possible to “convert” Javascript Code. I assume it’s the plan for the future. <img class="wlEmoticon wlEmoticon-winkingsmile" style="border-style: none;" src="http://code-inside.de/blog-in/wp-content/uploads/wlEmoticon-winkingsmile32.png" alt="Zwinkerndes Smiley" /></p>
<p>For those who are interested in Dart: <a href="http://synonym.dartlang.org/">click</a>.</p>
<img src="http://feeds.feedburner.com/~r/Code-InsideBlogInternational/~4/tsszPluKzTQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://code-inside.de/blog-in/2012/02/02/javascript-to-dart-translator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://code-inside.de/blog-in/2012/02/02/javascript-to-dart-translator/</feedburner:origLink></item>
		<item>
		<title>Twitter Bootstrap as UI-kit</title>
		<link>http://feedproxy.google.com/~r/Code-InsideBlogInternational/~3/_m8jvhsJWOE/</link>
		<comments>http://code-inside.de/blog-in/2012/01/26/twitter-bootstrap-as-ui-kit/#comments</comments>
		<pubDate>Thu, 26 Jan 2012 16:26:54 +0000</pubDate>
		<dc:creator>Code Inside Team</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Twitter Bootstrap]]></category>

		<guid isPermaLink="false">http://code-inside.de/blog-in/?p=876</guid>
		<description><![CDATA[&#160; HTML and CSS are not foreign words for me but I regret, I’m not a Web designer &#8211; I see myself as a webdeveloper. But at least a dressy side is a must. But thank good there are some ready “Systems”. Twitter Bootstrap Twitter Bootstrap is a Toolkit for every kind of Web applications. ...]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p><strong> </strong></p>
<p>HTML and CSS are not foreign words for me but I regret, I’m not a Web designer &#8211; I see myself as a webdeveloper. But at least a dressy side is a must. But thank good there are some ready “Systems”.</p>
<p><strong> </strong></p>
<p><strong>Twitter Bootstrap</strong></p>
<p><strong> </strong></p>
<p>Twitter Bootstrap is a Toolkit for every kind of Web applications. It includes some basic styles and also some special styles for Buttons, charts, forms and so on. After all it is a smart Grid-System. Compared to other CSS Grid Frameworks Twitter Bootstrap seems to be more “round” and it offers some basic elements.</p>
<p>The best way is to take a look <a href="http://twitter.github.com/bootstrap/">online</a>. You will find a source on <a href="https://github.com/twitter/bootstrap">GitHub</a>.</p>
<p><strong>Technics behind it </strong></p>
<p><strong> </strong></p>
<p>Twitter Bootstrap is using <a href="http://twitter.github.com/bootstrap/#less">Less</a> to build the CSS and it also contains ready <a href="http://twitter.github.com/bootstrap/javascript.html">Javascripts</a> for some little UI gimmicks like Popups, Dropdowns, Dialogs, …</p>
<p><strong>The embedding </strong></p>
<p><strong> </strong></p>
<p>All you have to do is to embed the Styles (the Less files plus the <a href="http://lesscss.org/">Less Javascript files</a> or the ready CSS). An example which you will also found on the GitHub examples:</p>
<div id="scid:812469c5-0cb0-4c63-8c15-c81123a09de7:d1640d3d-ba68-496a-acf1-23ffa7825732" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;">
<pre class="c#">&lt;!DOCTYPE html&gt;
&lt;html lang="en"&gt;
  &lt;head&gt;
    &lt;meta charset="utf-8"&gt;
    &lt;title&gt;Bootstrap, from Twitter&lt;/title&gt;
    &lt;meta name="description" content=""&gt;
    &lt;meta name="author" content=""&gt;

    &lt;!-- Le HTML5 shim, for IE6-8 support of HTML elements --&gt;
    &lt;!--[if lt IE 9]&gt;
      &lt;script src="http://html5shim.googlecode.com/svn/trunk/html5.js"&gt;&lt;/script&gt;
    &lt;![endif]--&gt;

    &lt;!-- Le styles --&gt;
    &lt;link href="../bootstrap.css" rel="stylesheet"&gt;
    &lt;style type="text/css"&gt;
      /* Override some defaults */
      html, body {
        background-color: #eee;
      }
      body {
        padding-top: 40px; /* 40px to make the container go all the way to the bottom of the topbar */
      }
      .container &gt; footer p {
        text-align: center; /* center align it with the container */
      }
      .container {
        width: 820px; /* downsize our container to make the content feel a bit tighter and more cohesive. NOTE: this removes two full columns from the grid, meaning you only go to 14 columns and not 16. */
      }

      /* The white background content wrapper */
      .content {
        background-color: #fff;
        padding: 20px;
        margin: 0 -20px; /* negative indent the amount of the padding to maintain the grid system */
        -webkit-border-radius: 0 0 6px 6px;
           -moz-border-radius: 0 0 6px 6px;
                border-radius: 0 0 6px 6px;
        -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.15);
           -moz-box-shadow: 0 1px 2px rgba(0,0,0,.15);
                box-shadow: 0 1px 2px rgba(0,0,0,.15);
      }

      /* Page header tweaks */
      .page-header {
        background-color: #f5f5f5;
        padding: 20px 20px 10px;
        margin: -20px -20px 20px;
      }

      /* Styles you shouldn't keep as they are for displaying this base example only */
      .content .span10,
      .content .span4 {
        min-height: 500px;
      }
      /* Give a quick and non-cross-browser friendly divider */
      .content .span4 {
        margin-left: 0;
        padding-left: 19px;
        border-left: 1px solid #eee;
      }

      .topbar .btn {
        border: 0;
      }

    &lt;/style&gt;

    &lt;!-- Le fav and touch icons --&gt;
    &lt;link rel="shortcut icon" href="images/favicon.ico"&gt;
    &lt;link rel="apple-touch-icon" href="images/apple-touch-icon.png"&gt;
    &lt;link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png"&gt;
    &lt;link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png"&gt;
  &lt;/head&gt;

  &lt;body&gt;

    &lt;div class="topbar"&gt;
      &lt;div class="fill"&gt;
        &lt;div class="container"&gt;
          &lt;a class="brand" href="#"&gt;Project name&lt;/a&gt;
          &lt;ul class="nav"&gt;
            &lt;li class="active"&gt;&lt;a href="#"&gt;Home&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="#about"&gt;About&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="#contact"&gt;Contact&lt;/a&gt;&lt;/li&gt;
          &lt;/ul&gt;
          &lt;form action="" class="pull-right"&gt;
            &lt;input class="input-small" type="text" placeholder="Username"&gt;
            &lt;input class="input-small" type="password" placeholder="Password"&gt;
            &lt;button class="btn" type="submit"&gt;Sign in&lt;/button&gt;
          &lt;/form&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;

    &lt;div class="container"&gt;

      &lt;div class="content"&gt;
        &lt;div class="page-header"&gt;
          &lt;h1&gt;Page name &lt;small&gt;Supporting text or tagline&lt;/small&gt;&lt;/h1&gt;
        &lt;/div&gt;
        &lt;div class="row"&gt;
          &lt;div class="span10"&gt;
            &lt;h2&gt;Main content&lt;/h2&gt;
          &lt;/div&gt;
          &lt;div class="span4"&gt;
            &lt;h3&gt;Secondary content&lt;/h3&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;

      &lt;footer&gt;
        &lt;p&gt;&amp;copy; Company 2011&lt;/p&gt;
      &lt;/footer&gt;

    &lt;/div&gt; &lt;!-- /container --&gt;

  &lt;/body&gt;
&lt;/html&gt;</pre>
</div>
<p>It creates this side:</p>
<p><a href="http://code-inside.de/blog-in/wp-content/uploads/image1367.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image1367" src="http://code-inside.de/blog-in/wp-content/uploads/image1367_thumb.png" border="0" alt="image1367" width="513" height="310" /></a></p>
<p><strong>Roadmap</strong></p>
<p>There is also a <a href="https://github.com/twitter/bootstrap/wiki/Roadmap">Roadmap</a> for this Project which is cultivated by some developers on Twitter:</p>
<p><a href="http://code-inside.de/blog-in/wp-content/uploads/image1368.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image1368" src="http://code-inside.de/blog-in/wp-content/uploads/image1368_thumb.png" border="0" alt="image1368" width="521" height="232" /></a></p>
<p><strong>Result</strong></p>
<p>Twitter Bootstrap seems to be a great entrance for non-designer with many nice elements. The only think I’ve missed is a version for Mobile websites – I’m looking forward to it.</p>
<p>Download and everything else on <a href="http://twitter.github.com/bootstrap/">GitHub</a>.</p>
<img src="http://feeds.feedburner.com/~r/Code-InsideBlogInternational/~4/_m8jvhsJWOE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://code-inside.de/blog-in/2012/01/26/twitter-bootstrap-as-ui-kit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://code-inside.de/blog-in/2012/01/26/twitter-bootstrap-as-ui-kit/</feedburner:origLink></item>
		<item>
		<title>Fix: the value ‚x‘ is not valid for Foo in ASP.NET MVC</title>
		<link>http://feedproxy.google.com/~r/Code-InsideBlogInternational/~3/VS5ienfqj6I/</link>
		<comments>http://code-inside.de/blog-in/2012/01/23/fix-the-value-x-is-not-valid-for-foo-in-asp-net-mvc/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 10:12:45 +0000</pubDate>
		<dc:creator>Code Inside Team</dc:creator>
				<category><![CDATA[Fix]]></category>
		<category><![CDATA[value; ASP.NET MVC]]></category>

		<guid isPermaLink="false">http://code-inside.de/blog-in/?p=868</guid>
		<description><![CDATA[&#160; To get files into the MVC Controller Modelbinding from MVC is a clever method. But in fact it is a little bit complicated to set the error message if the connection failed. Example: public class RegisterModel { ... [Required] [DataType(DataType.EmailAddress)] [Display(Name = "Email address")] public string Email { get; set; } [Required] [Display(Name = ...]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p><strong> </strong></p>
<p>To get files into the MVC Controller <a href="http://code-inside.de/blog/2009/04/02/howto-daten-vom-view-zum-controller-bermitteln-bindings-in-aspnet-mvc/">Modelbinding</a> from MVC is a clever method.</p>
<p>But in fact it is a little bit complicated to set the error message if the connection failed.</p>
<p><strong>Example: </strong></p>
<div id="scid:812469c5-0cb0-4c63-8c15-c81123a09de7:39e2d23e-7a67-4843-a117-686ee11866e7" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;">
<pre class="c#">public class RegisterModel
    {
		...

        [Required]
        [DataType(DataType.EmailAddress)]
        [Display(Name = "Email address")]
        public string Email { get; set; }

        [Required]
        [Display(Name = "Age")]
        public int Age { get; set; }

		...
    }</pre>
</div>
<p><strong> </strong></p>
<p>This is the default model for the registration in the ASP.NET MVC project draft. I’ve added a Property “Age” from the Typ “int”. This have to be mentioned in the View as well:</p>
<div id="scid:812469c5-0cb0-4c63-8c15-c81123a09de7:40299041-887f-4cd8-bbf2-84f8e307c5b4" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;">
<pre class="c#"> ...
			&lt;div class="editor-label"&gt;
                @Html.LabelFor(m =&gt; m.Age)
            &lt;/div&gt;
            &lt;div class="editor-field"&gt;
                @Html.TextBoxFor(m =&gt; m.Age)
                @Html.ValidationMessageFor(m =&gt; m.Age)
            &lt;/div&gt;
			...</pre>
</div>
<p><strong>Problem: What happens if the user enters letters instead of numbers? </strong></p>
<p><strong> </strong></p>
<p>Everything is alright as long as <strong>the ClientValidation is on</strong>:</p>
<p><img style="background-image: none; padding-left: 0px; padding-right: 0px; padding-top: 0px; border: 0px;" title="image" src="http://code-inside.de/blog/wp-content/uploads/image_thumb615.png" border="0" alt="image" width="464" height="173" /></p>
<p>If it’s off you will receive this error message:</p>
<p><img style="background-image: none; padding-left: 0px; padding-right: 0px; padding-top: 0px; border: 0px;" title="image" src="http://code-inside.de/blog/wp-content/uploads/image_thumb616.png" border="0" alt="image" width="426" height="101" /></p>
<p>The error message “The vaule ‘Test’ is not valid for Age.” Will be written directly into the ModelState:</p>
<p><a href="http://code-inside.de/blog-in/wp-content/uploads/image1439.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image1439" src="http://code-inside.de/blog-in/wp-content/uploads/image1439_thumb.png" border="0" alt="image1439" width="459" height="308" /></a></p>
<p>Unfortunately it’s not that easy to <a href="http://forums.asp.net/t/1512140.aspx/1/10">change this message</a> – all kinds of languages will be ignored. That doesn’t look nice on a German side.</p>
<p><strong>Fix: create a resource file </strong></p>
<p>You need to create a Resource file at the App_GlobalResources and add a “PropertyValuenvalid” with the proper text:</p>
<p><img style="background-image: none; padding-left: 0px; padding-right: 0px; padding-top: 0px; border: 0px;" title="image" src="http://code-inside.de/blog/wp-content/uploads/image_thumb618.png" border="0" alt="image" width="503" height="162" /></p>
<p>Link the Resource file to the Global.asax:</p>
<div id="scid:812469c5-0cb0-4c63-8c15-c81123a09de7:d0183f0e-56d0-475a-b1dc-3b06efb5e778" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;">
<pre class="c#">	protected void Application_Start()
        {
            AreaRegistration.RegisterAllAreas();

            DefaultModelBinder.ResourceClassKey = "Errors"; &lt;-- lookup in Errors.resx

            RegisterGlobalFilters(GlobalFilters.Filters);
            RegisterRoutes(RouteTable.Routes);
        }</pre>
</div>
<p><strong>Result:</strong></p>
<p><a href="http://code-inside.de/blog-in/wp-content/uploads/image14411.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image1441" src="http://code-inside.de/blog-in/wp-content/uploads/image1441_thumb1.png" border="0" alt="image1441" width="424" height="124" /></a></p>
<p><strong> </strong></p>
<p><strong>Background: </strong></p>
<p>It’s not possible to run every kind of validation logic because the Framework isn’t able to attach the Property. Interestingly the reaction of the Framework is different if you try to allocate a higher number to the Int. In this case the ModelState receives an Exception you are able to catch. Also a validation could grip. I only have this problem in connection with String-entries.</p>
<img src="http://feeds.feedburner.com/~r/Code-InsideBlogInternational/~4/VS5ienfqj6I" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://code-inside.de/blog-in/2012/01/23/fix-the-value-x-is-not-valid-for-foo-in-asp-net-mvc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://code-inside.de/blog-in/2012/01/23/fix-the-value-x-is-not-valid-for-foo-in-asp-net-mvc/</feedburner:origLink></item>
		<item>
		<title>You Tube API – recall Video Meta files with .NET</title>
		<link>http://feedproxy.google.com/~r/Code-InsideBlogInternational/~3/veFdeQxTVwY/</link>
		<comments>http://code-inside.de/blog-in/2012/01/18/you-tube-api-recall-video-meta-files-with-net/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 09:48:14 +0000</pubDate>
		<dc:creator>Code Inside Team</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[You Tube API]]></category>

		<guid isPermaLink="false">http://code-inside.de/blog-in/?p=860</guid>
		<description><![CDATA[&#160; A loooong time ago I’ve blogged about how to access to You Tube with the Google Data APIs. After all that time there are several new ways how to recall files. Google offers You Tube a “simple” surface. If you prefer to do low-Level HTTP calls it is also possible. Aim: I want the ...]]></description>
			<content:encoded><![CDATA[<p><img style="background-image: none; padding-left: 0px; padding-right: 0px; padding-top: 0px; border: 0px;" title="image.png" src="http://code-inside.de/blog/wp-content/uploads/image1387.png" border="0" alt="image.png" width="150" height="150" /></p>
<p>&nbsp;</p>
<p>A loooong time ago I’ve blogged about how to access to You Tube with the <a href="http://code.google.com/apis/youtube/getting_started.html#data_api">Google Data APIs</a>. After all that time there are several new ways how to recall files. Google offers You Tube a “simple” surface. If you prefer to do low-Level HTTP calls <a href="http://code.google.com/apis/youtube/2.0/developers_guide_protocol_audience.html">it is also possible</a>.</p>
<p>Aim: I want the files to this You Tube video – but I already have the URL:</p>
<p><a href="http://www.youtube.com/watch?v=ItqQ2EZziB8">http://www.youtube.com/watch?v=ItqQ2EZziB8</a> (different to my former Blogpost where I was searching stuff)</p>
<p><strong> </strong></p>
<p><strong>download the library with NuGet</strong></p>
<p><strong> </strong></p>
<p>For comfortable excess I recommend you Google Data APIs. You will find this on NuGet as well:</p>
<p>All you need is the Google.GData.Client and the Google.GData.YouTube package:</p>
<p><img style="background-image: none; padding-left: 0px; padding-right: 0px; padding-top: 0px; border: 0px;" title="image" src="http://code-inside.de/blog/wp-content/uploads/image_thumb570.png" border="0" alt="image" width="537" height="168" /></p>
<p><strong>Code</strong></p>
<p><strong> </strong></p>
<p>(because my Testclient is a console application and I need the functionality from the System.Web Assembly I changed the whole Frameworkt to .NET 4.0)</p>
<div id="scid:812469c5-0cb0-4c63-8c15-c81123a09de7:4b02cb9f-e4ee-45e5-9a0d-5166ef8197f1" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;">
<pre class="c#">Uri youTubeLink = new Uri("http://www.youtube.com/watch?v=ItqQ2EZziB8");
            var parameters = System.Web.HttpUtility.ParseQueryString(youTubeLink.Query);
            var videoId = parameters["v"];

            Uri youTubeApi = new Uri(string.Format("http://gdata.youtube.com/feeds/api/videos/{0}", videoId));
            YouTubeRequestSettings settings = new YouTubeRequestSettings(null, null);

            YouTubeRequest request = new YouTubeRequest(settings);
            var result = request.Retrieve&lt;Video&gt;(youTubeApi);

            Console.WriteLine(result.Title);
            Console.WriteLine(result.Description);
            Console.WriteLine(result.ViewCount);

            Console.ReadLine();</pre>
</div>
<p><strong>Declaration</strong></p>
<p>In line 3 I take the “v” parameter for the video. In line 5 I apply empty YouTubeRequestSettings – with this I’m able to call every official service but I can’t leave comments or upload videos.</p>
<p>Afterwards the Video will be picked up with the request.Retrieve. Now I have several Meta information’s about the Video.</p>
<p><strong>No “Retrive” Method?</strong></p>
<p>During the development process I’ve recognized a strange problem – under the Request-Object I had no Retrieve or Get Method. I’m not sure what the problem is. At least the You Tube Request class is from the Google.YouTube namespace – maybe I got the wrong class.</p>
<p>More Informations on <a href="http://code.google.com/apis/youtube/2.0/developers_guide_protocol.html">the YouTube API.NET side</a>.</p>
<p><strong> </strong></p>
<p><strong>Result of my codes:</strong></p>
<p><img title="image" src="http://code-inside.de/blog/wp-content/uploads/image_thumb571.png" border="0" alt="image" width="555" height="222" /></p>
<p><a href="http://code.google.com/p/code-inside/source/browse/#git%2F2011%2Fyoutubeapi%253Fstate%253Dclosed">[Code on Google Code]</a></p>
<img src="http://feeds.feedburner.com/~r/Code-InsideBlogInternational/~4/veFdeQxTVwY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://code-inside.de/blog-in/2012/01/18/you-tube-api-recall-video-meta-files-with-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://code-inside.de/blog-in/2012/01/18/you-tube-api-recall-video-meta-files-with-net/</feedburner:origLink></item>
		<item>
		<title>MacBook Pro for .NET Developer – useful ore just pretty?</title>
		<link>http://feedproxy.google.com/~r/Code-InsideBlogInternational/~3/cMdJNzUD9WU/</link>
		<comments>http://code-inside.de/blog-in/2012/01/04/macbook-pro-for-net-developer-useful-ore-just-pretty/#comments</comments>
		<pubDate>Wed, 04 Jan 2012 09:00:42 +0000</pubDate>
		<dc:creator>Code Inside Team</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[MacBook Pro; Apple]]></category>

		<guid isPermaLink="false">http://code-inside.de/blog-in/?p=857</guid>
		<description><![CDATA[&#160; I own a MacBook Pro (from 2010) for about a year now and because I’ve used to think about this Question since I have it, I’m going to blog about my experience now. My Notebook Configurations MacBook Pro April 2010 - 2,66 Intel Core i7 - 8GB RAM - 15’’ Glossy Display - Intel ...]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p>I own a MacBook Pro (from 2010) for about a year now and because I’ve used to think about this Question since I have it, I’m going to blog about my experience now.</p>
<p><strong>My Notebook Configurations MacBook Pro April 2010</strong></p>
<p>- 2,66 Intel Core i7</p>
<p>- 8GB RAM</p>
<p>- 15’’ Glossy Display</p>
<p>- Intel X-25M 168GB SSD</p>
<p><strong>The Hardware: It’s a dream – at least with little disadvantages </strong></p>
<p><strong> </strong></p>
<p>What to write about Apple Hardware: The Quality is amazing. There are worlds between this and all the plastic notebooks I’ve seen so far. Also the Touchpad and the clever usage of Multitouch in the Desktop World are brilliant. The Display is great and the Colors are very strong. I wasn’t even disturbed by the “Glossy” but maybe it’s because I didn’t use it in the sun .. Come on… I’m a Developer <img class="wlEmoticon wlEmoticon-winkingsmile" style="border-style: none;" src="http://code-inside.de/blog-in/wp-content/uploads/wlEmoticon-winkingsmile31.png" alt="Zwinkerndes Smiley" /></p>
<p>For a Developer the keyboard is very important and here is <strong>the problem</strong>…</p>
<p>a) It’s a Notebook keyboard where some keys are left anyway</p>
<p>b) It’s a keyboard from Apple where even more keys are left or allocated with something else</p>
<p><img style="background-image: none; padding-left: 0px; padding-right: 0px; padding-top: 0px; border: 0px;" title="image" src="http://code-inside.de/blog/wp-content/uploads/image_thumb605.png" border="0" alt="image" width="589" height="406" /></p>
<p>In compare with my PC keyboard (not that beautiful but that what they usually look like):</p>
<p><img style="background-image: none; padding-left: 0px; padding-right: 0px; padding-top: 0px; border: 0px;" title="image" src="http://code-inside.de/blog/wp-content/uploads/image_thumb606.png" border="0" alt="image" width="600" height="287" /></p>
<p>Either my keyboard scheme was totally wrong configured or I’m a noob. I couldn’t find the keys “~” and “\”, which are sometimes very useful for developers. Also “[“”]” and “{“”}” where missing for a long time even if I found them with closed eyes on my normal keyboard and why the @ is on a completely other key is a mystery.</p>
<p>At last if you plan to use the numerous Goodis of Resharper you will need some Specialists (POS1 / ENDE,…) which you wouldn’t find on the MacBook Keyboard.</p>
<p>An advantage is that the keyboard glows in the dark and that writing on her is very comfortable. Programming is very difficult but you can learn to life with it (Quite recently I didn’t use a second keyboard <img class="wlEmoticon wlEmoticon-winkingsmile" style="border-style: none;" src="http://code-inside.de/blog-in/wp-content/uploads/wlEmoticon-winkingsmile31.png" alt="Zwinkerndes Smiley" /> )</p>
<p><span style="text-decoration: underline;"> </span></p>
<p><span style="text-decoration: underline;">Summary about the hardware:</span></p>
<p>It’s possible to work with the keyboard and the mouse but it’s more effective to use another one. At the moment I use this one. There is nothing negative left to say about the hardware.</p>
<p><strong>About the Software: Mac OSX or Windows? Why not both?</strong></p>
<p><strong> </strong></p>
<p>I don’t care if it’s Mac OSX or Windows 7. Both have their strengths and weaknesses. But at last I have to use Windows for Visual Studio and co.</p>
<p><span style="text-decoration: underline;"> </span></p>
<p><span style="text-decoration: underline;"><a href="http://code-inside.de/blog-in/wp-content/uploads/image1429.png"><img style="background-image: none; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; padding-top: 0px; border: 0px;" title="image1429" src="http://code-inside.de/blog-in/wp-content/uploads/image1429_thumb.png" border="0" alt="image1429" width="96" height="108" align="left" /></a>What I use Mac OSX for: </span>Most of all for Browsing in the Web. It’s more comfortable to use the great Touchpad then a Mouse or the Touchpad of a Windows Notebook. Even Mail-App and iCal is okay for the usual user. The Mail-App works and I don’t have problems with the synchronization so far.</p>
<p><a href="http://www.applesheet.com/download-mac-os-x-10-7-1-lion-update-direct-link/34039/">(Picturesource)</a></p>
<p>Summary:</p>
<p>- Webbrowsing for fun</p>
<p>- Mail</p>
<p><span style="text-decoration: underline;"> </span></p>
<p><span style="text-decoration: underline;"><a href="http://code-inside.de/blog-in/wp-content/uploads/image1430.png"><img style="background-image: none; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; padding-top: 0px; border: 0px;" title="image1430" src="http://code-inside.de/blog-in/wp-content/uploads/image1430_thumb.png" border="0" alt="image1430" width="101" height="82" align="left" /></a>What I use Windows 7 for: </span>For developing with Visual Studio and for serious office stuff. To say the true I didn’t like Office for Mac &amp; co. Office 2010 is enough for me. Even if it has some faults but nothing is perfect <img class="wlEmoticon wlEmoticon-winkingsmile" style="border-style: none;" src="http://code-inside.de/blog-in/wp-content/uploads/wlEmoticon-winkingsmile31.png" alt="Zwinkerndes Smiley" />. Gaming of course makes only sense on Windows.</p>
<p>Summary:</p>
<p>- Developing with .NET / Visual Studio 2010</p>
<p>- Office</p>
<p>- Gaming</p>
<p><strong>Connecting both worlds with Bootcamp &amp; VMWare Fusion – without disadvantages </strong></p>
<p><strong> </strong></p>
<p>Since the change to Intel-processors MacBooks are at least “only” PC’s. Of course it’s possible to install Windows 7 nativ – Apple calls this Bootcamp and serves the fitting drivers. With Bootcamp Windows runs native like on every other PC and uses the whole power. But for example the Touchpad doesn’t work in the same way like with Mac OSX.</p>
<p>Bootcamp “splits” the hard disk in an OSX and in a Windows partition. But think twice about this step because the hard disk is only 160GB – not much space if you are used to think in Terabyte.</p>
<p><a href="http://code-inside.de/blog-in/wp-content/uploads/image1431.png"><img style="background-image: none; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; padding-top: 0px; border: 0px;" title="image1431" src="http://code-inside.de/blog-in/wp-content/uploads/image1431_thumb.png" border="0" alt="image1431" width="65" height="68" align="left" /></a>VMWare Fusion has a very useful feature: It’s possible to boot the Bootcamp partition in a VM. The advantage is that you are now able to use MacOSX and Windows at the same time. The performance doesn’t thank you for that but simple strategy games, Office or Visual Studio will work.</p>
<p>Combined with VMWare Fusion it’s able to connect both worlds in a classy way and if you need more Power than you use Bootcamp. Only Windows hates the changes of the Hardwaresettings and asks for a reactivation of the Licencekey.</p>
<p>&nbsp;</p>
<div id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:408e7628-c704-4006-bc56-95ec0f60e9bb" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;">
<div><object width="434" height="244"><param name="movie" value="http://www.youtube.com/v/uFAWg6XZ0ic?hl=en&amp;hd=1" /><embed type="application/x-shockwave-flash" width="434" height="244" src="http://www.youtube.com/v/uFAWg6XZ0ic?hl=en&amp;hd=1"></embed></object></div>
</div>
<p>That’s what the Windows Capacity index looks like (because of this is the MacBook from 2010 the newest Generation will look a little bit better)</p>
<p><img style="background-image: none; padding-left: 0px; padding-right: 0px; padding-top: 0px; border: 0px;" title="image" src="http://code-inside.de/blog/wp-content/uploads/image_thumb610.png" border="0" alt="image" width="537" height="181" /></p>
<p><strong>Take a look beyond your own nose (at least for iOS Devs)!</strong></p>
<p><strong> </strong></p>
<p>To take a look beyond your nose to try Mac OSX could be a reason for the buy as well (it was for me too). If you want to develop native for iOS Tools you need a MacBook Pro.</p>
<p>If you like it you can try mono as well but I didn’t even think about this – if .NET works on Windows and I build WebApps why this pain?</p>
<p>But it’s possible.</p>
<p>I don’t regret the buy but now I need a battle machine to play battlefield (but this would be the dead for every Windows Notebook at least <img class="wlEmoticon wlEmoticon-winkingsmile" style="border-style: none;" src="http://code-inside.de/blog-in/wp-content/uploads/wlEmoticon-winkingsmile31.png" alt="Zwinkerndes Smiley" />).</p>
<p><strong>Result: Is a MacBook Pro the right choice for a .NET Developer?</strong></p>
<p><strong> </strong></p>
<p>If you need a high class Notebook with Performance but also mobile: Yes, I recommend it to you. But for a longer work and for programming you need a windows keyboard.</p>
<p>If you are only mobile from time to time the better choice is a usual pc and for to go a <a href="http://blog.thomasbandt.de/39/2371/de/blog/macbook-air-late-2010-kurzes-review.html">MachBook Air</a>. Today it would have been the better choice for me.</p>
<p>If you don’t want to make any type of compromises than you should buy the MacBook Pro – it will never be a bad buy. Or you wait for a look on the Ultrabooks.</p>
<p><strong> </strong></p>
<p><strong>Last question – Gaming?</strong></p>
<p>From time to time you need a little alternation. On the 2010 Macbook Battlefield 3 runs on the “minimal” settings at last for 3 hours. After that the machine gets hot and turns into the sleep mode. Nice for working but I need something with more power <img class="wlEmoticon wlEmoticon-winkingsmile" style="border-style: none;" src="http://code-inside.de/blog-in/wp-content/uploads/wlEmoticon-winkingsmile31.png" alt="Zwinkerndes Smiley" />. But keep in mind, that battlefield is a very ambitious game. Older games run without problems.</p>
<p>If you are interested now: Im sure you will find something on Apple or Amazon.</p>
<img src="http://feeds.feedburner.com/~r/Code-InsideBlogInternational/~4/cMdJNzUD9WU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://code-inside.de/blog-in/2012/01/04/macbook-pro-for-net-developer-useful-ore-just-pretty/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://code-inside.de/blog-in/2012/01/04/macbook-pro-for-net-developer-useful-ore-just-pretty/</feedburner:origLink></item>
		<item>
		<title>Windows Azure SDK for node.js &amp; co – on GitHub!</title>
		<link>http://feedproxy.google.com/~r/Code-InsideBlogInternational/~3/ocjrhW0rqio/</link>
		<comments>http://code-inside.de/blog-in/2011/12/21/windows-azure-sdk-for-node-js-co-on-github/#comments</comments>
		<pubDate>Wed, 21 Dec 2011 08:52:54 +0000</pubDate>
		<dc:creator>Code Inside Team</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[node.js; GitHub]]></category>

		<guid isPermaLink="false">http://code-inside.de/blog-in/?p=846</guid>
		<description><![CDATA[&#160; Like if assumed a while ago Microsoft does everything to place Windows Azure as “the” Cloud-Platform for several Languages &#38; Frameworks. In the past Microsoft was famous for pushing their own Platforms and Languages into the market seems like changing their strategy and is now pushing for example node.js and publishes SDKs on GitHub. ...]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p><strong></strong></p>
<p>Like <a href="http://code-inside.de/blog-in/2011/06/27/microsoft-full-speed-ahead-into-the-cloud-with-fileupload-node-js/">if assumed a while ago</a> Microsoft does everything to place Windows Azure as “the” Cloud-Platform for several Languages &amp; Frameworks. In the past Microsoft was famous for pushing their own Platforms and Languages into the market seems like changing their strategy and is now pushing for example <a href="http://nodejs.org/">node.js</a> and <a href="https://github.com/WindowsAzure">publishes SDKs on GitHub</a>.</p>
<p><strong>Node.js on Windows Azure</strong></p>
<p><strong></strong></p>
<p>Windows Azure <a href="http://www.windowsazure.com/en-us/develop/nodejs/">provides node.js</a>! The SDK includes <a href="http://msdn.microsoft.com/en-us/library/hh689725(VS.103).aspx">Powershell-Cmdlets</a> for creating and testing and deploying of node.js applications and samples.</p>
<p><strong>Never worked with node.js so far? Samples from Microsoft </strong></p>
<p><strong></strong></p>
<p>Since now I was only able to look casually above <a href="http://nodejs.org/">node.js</a> by myself but it seems like the examples from Microsoft are very large comparing to the numerous “Hello World” article but without getting to complex. The first <a href="http://www.windowsazure.com/en-us/develop/nodejs/tutorials/web-app-with-express/">Tutorial</a> includes:</p>
<p>- IISNode for node.js based on IIS</p>
<p>- How to work with the Node-Package manager “npm”</p>
<p>- How this works with the Azure services</p>
<p>- MVC Framework “Express”</p>
<p>For a totally node.js inexperienced developer like me it looks very well and understandable. At last it doesn’t hurt to <a href="http://www.windowsazure.com/en-us/develop/nodejs/tutorials/web-app-with-express/">take a look</a>.</p>
<p>There are also two tutorials which are a little bit more complex: <a href="http://www.windowsazure.com/en-us/develop/nodejs/tutorials/getting-started/">Node.js Web Application with Table Storage</a></p>
<p><strong>Entrance video in 5 minutes with node.js &amp; Azure:</strong></p>
<p> <iframe style="width: 512px; height: 288px" src="http://channel9.msdn.com/Blogs/Windows-Azure-Developer-Experience-Videos/Nodejs-Windows-Azure-Introduction/player?w=512&amp;h=288" frameborder="0" scrolling="no"></iframe>
<p>&#160;</p>
<p><strong></strong></p>
<p><strong></strong></p>
<p><strong></strong></p>
<p><strong></strong></p>
<p><strong></strong></p>
<p><strong>Node.js – a curious hype?</strong></p>
<p><strong></strong></p>
<p>I’m sure node.js is used to be fun with a few elegant frameworks. I didn’t get far with C# alone as well. Only the frameworks like ASP.NET MVC make it interesting and because of this I’m curious about the development and we should wait for whatever will come.</p>
<p>Anyway Microsoft is on the right way.</p>
<p>All the samples from Microsoft are also available on GitHub.</p>
<p><a href="http://code-inside.de/blog-in/wp-content/uploads/image1425.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image1425" border="0" alt="image1425" src="http://code-inside.de/blog-in/wp-content/uploads/image1425_thumb.png" width="145" height="140" /></a></p>
<img src="http://feeds.feedburner.com/~r/Code-InsideBlogInternational/~4/ocjrhW0rqio" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://code-inside.de/blog-in/2011/12/21/windows-azure-sdk-for-node-js-co-on-github/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://code-inside.de/blog-in/2011/12/21/windows-azure-sdk-for-node-js-co-on-github/</feedburner:origLink></item>
		<item>
		<title>oEmbed – 3rd Party Content (Video/Pictures/…) embedded on your own side</title>
		<link>http://feedproxy.google.com/~r/Code-InsideBlogInternational/~3/dWCbGa_17P4/</link>
		<comments>http://code-inside.de/blog-in/2011/12/19/oembed-3rd-party-content-videopictures-embedded-on-your-own-side/#comments</comments>
		<pubDate>Mon, 19 Dec 2011 19:54:47 +0000</pubDate>
		<dc:creator>Code Inside Team</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://code-inside.de/blog-in/?p=838</guid>
		<description><![CDATA[&#160; &#160; To embed content from other sides like YouTube, Flickr, Slideshare seems to be very difficult at the first sight especially if you want to make it “automatically” from the URL. How the embedding works depends on the content – on YouTube and so on you need a video player for Slideshare and so ...]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p>&nbsp;</p>
<p>To embed content from other sides like YouTube, Flickr, Slideshare seems to be very difficult at the first sight especially if you want to make it “automatically” from the URL. How the embedding works depends on the content – on YouTube and so on you need a video player for Slideshare and so on you need Flash/JS for the presentations. But there is a standard for exact this case: <a href="http://oembed.com/">oEmbed.</a></p>
<p><strong>Aims of oEmbed</strong></p>
<p>oEmbed is used to be a standard surface to embed content from other sides on your own side. There are some important names supporting oEmbed like YouTube or Flickr:</p>
<p><strong>Example Flickr:</strong></p>
<p>The client calls this URL:</p>
<div id="scid:812469c5-0cb0-4c63-8c15-c81123a09de7:baaad417-0975-4d49-b2f4-066f856357ed" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;">
<pre class="c#">http://www.flickr.com/services/oembed/?url=http%3A//www.flickr.com/photos/bees/2341623661/</pre>
</div>
<p>And receives this answer:</p>
<div id="scid:812469c5-0cb0-4c63-8c15-c81123a09de7:8e2181e3-715a-4143-82b6-5e3144403129" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;">
<pre class="c#">{
	"version": "1.0",
	"type": "photo",
	"width": 240,
	"height": 160,
	"title": "ZB8T0193",
	"url": "http://farm4.static.flickr.com/3123/2341623661_7c99f48bbf_m.jpg",
	"author_name": "Bees",
	"author_url": "http://www.flickr.com/photos/bees/",
	"provider_name": "Flickr",
	"provider_url": "http://www.flickr.com/"
}</pre>
</div>
<p><strong>Example YouTube:</strong></p>
<p>Call:</p>
<div id="scid:812469c5-0cb0-4c63-8c15-c81123a09de7:2d8e2329-6d3f-4765-9616-a71d75177c33" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;">
<pre class="c#">http://www.youtube.com/oembed?url=http%3A//youtube.com/watch%3Fv%3DM3r2XDceM6A&amp;format=json</pre>
</div>
<p>Answer:</p>
<div id="scid:812469c5-0cb0-4c63-8c15-c81123a09de7:4488d140-1ebe-444c-8d65-d6dc713209e3" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;">
<pre class="c#">{
	"version": "1.0",
	"type": "video",
	"provider_name": "YouTube",
	"provider_url": "http://youtube.com/",
	"width": 425,
	"height": 344,
	"title": "Amazing Nintendo Facts",
	"author_name": "ZackScott",
	"author_url": "http://www.youtube.com/user/ZackScott",
	"html":
		"&lt;object width=\"425\" height=\"344\"&gt;
			&lt;param name=\"movie\" value=\"http://www.youtube.com/v/M3r2XDceM6A&amp;fs=1\"&gt;&lt;/param&gt;
			&lt;param name=\"allowFullScreen\" value=\"true\"&gt;&lt;/param&gt;
			&lt;param name=\"allowscriptaccess\" value=\"always\"&gt;&lt;/param&gt;
			&lt;embed src=\"http://www.youtube.com/v/M3r2XDceM6A&amp;fs=1\"
				type=\"application/x-shockwave-flash\" width=\"425\" height=\"344\"
				allowscriptaccess=\"always\" allowfullscreen=\"true\"&gt;&lt;/embed&gt;
		&lt;/object&gt;",
}</pre>
</div>
<p>Especially on YouTube the Idea works: In the HTML Property you will find the whole code do embed the YouTube player.</p>
<p><strong>oEmbed Answers </strong></p>
<p>According to the Standard the answer will be XML or JSON but at the moment JSON is the more in use. YouTube supports both.</p>
<p><strong>jQuery oEmbed library </strong></p>
<p>There is also a <a href="http://code.google.com/p/jquery-oembed/">jQuery library</a> to call this service. For this they use <a href="http://code-inside.de/blog/2009/12/11/howto-cross-domain-ajax-mit-jsonp-und-asp-net/">JSONP.</a></p>
<p><strong>Embed.ly – oEmbed Hub </strong></p>
<p><strong> </strong></p>
<p><a href="http://code-inside.de/blog-in/wp-content/uploads/image1393.png"><img style="background-image: none; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; padding-top: 0px; border: 0px;" title="image1393" src="http://code-inside.de/blog-in/wp-content/uploads/image1393_thumb.png" border="0" alt="image1393" width="186" height="72" align="left" /></a>Because of oEmbed the format is fixed but anyway you need to question numerous Providers to get to know the URLS. With the service embed.ly you can access to a kind of “Hub”. Embeded.ly provides a oEmbed endpoint and you can send <a href="http://embed.ly/providers">almost every kind of address</a> to emebd.ly and you will receive a fitting answer.</p>
<p>Embed.ly could be called easily with the jQuery Plugin.</p>
<p><strong> </strong></p>
<p><strong>Embedy.ly – costs </strong></p>
<p>There is a rub with embed.ly – it’s not for free. But there is <a href="http://embed.ly/pricing">a Account-Type for free (scroll to the bottom!)</a>. With this Account you are allowed to make 10.000 calls every month. Afterwards the prices are graded.</p>
<p><strong>Who could be interested in embed.ly or oEmbed? </strong></p>
<p><strong> </strong></p>
<p>The most important usage is for “link-sharing” sites like Digg.com and so on but you get some meta-information from the URL so you don’t need a complex connection to API.</p>
<p><strong>Try it on embed.ly</strong></p>
<p>Embed.ly offers a “<a href="http://embed.ly/docs/explore/oembed?url=http%3A%2F%2Fvimeo.com%2F18150336">Test-Client</a>” to get a feeling for the results you can await.</p>
<img src="http://feeds.feedburner.com/~r/Code-InsideBlogInternational/~4/dWCbGa_17P4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://code-inside.de/blog-in/2011/12/19/oembed-3rd-party-content-videopictures-embedded-on-your-own-side/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://code-inside.de/blog-in/2011/12/19/oembed-3rd-party-content-videopictures-embedded-on-your-own-side/</feedburner:origLink></item>
	</channel>
</rss>

