<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>stefan-scheller.com</title>
	<atom:link href="http://stefanscheller.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://stefanscheller.wordpress.com</link>
	<description>stefan scheller information site</description>
	<lastBuildDate>Sun, 24 Jul 2011 18:03:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='stefanscheller.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>stefan-scheller.com</title>
		<link>http://stefanscheller.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://stefanscheller.wordpress.com/osd.xml" title="stefan-scheller.com" />
	<atom:link rel='hub' href='http://stefanscheller.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Reporting Services &#8211; ReportExcecution2005 &#8211; Credentials and URL property missing</title>
		<link>http://stefanscheller.wordpress.com/2011/07/24/reporting-services-reportexcecution2005-credentials-and-url-property-missing/</link>
		<comments>http://stefanscheller.wordpress.com/2011/07/24/reporting-services-reportexcecution2005-credentials-and-url-property-missing/#comments</comments>
		<pubDate>Sun, 24 Jul 2011 18:03:25 +0000</pubDate>
		<dc:creator>Stefan Scheller</dc:creator>
				<category><![CDATA[Reporting Services]]></category>

		<guid isPermaLink="false">https://stefanscheller.wordpress.com/2011/07/24/reporting-services-reportexcecution2005-credentials-and-url-property-missing/</guid>
		<description><![CDATA[Today I was a bit confused during render a report programmatically.I followed the example by Microsoft: http://msdn.microsoft.com/en-us/library/reportexecution2005.reportexecutionservice.render.aspx (click) I added the service reference for report execution and consumed it by a proxy.Finally I was wondering why my proxy did know &#8230; <a href="http://stefanscheller.wordpress.com/2011/07/24/reporting-services-reportexcecution2005-credentials-and-url-property-missing/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stefanscheller.wordpress.com&amp;blog=2148530&amp;post=207&amp;subd=stefanscheller&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I was a bit confused during render a report programmatically.<br />I followed the example by Microsoft: http://msdn.microsoft.com/en-us/library/<br />reportexecution2005.reportexecutionservice.render.aspx (<a href="http://msdn.microsoft.com/en-us/library/reportexecution2005.reportexecutionservice.render.aspx">click</a>)</p>
<p>I added the service reference for report execution and consumed it by a proxy.<br />Finally I was wondering why my proxy did know about the Credentials and Url Property and some other missing stuff.</p>
<p><a href="http://stefanscheller.files.wordpress.com/2011/07/reportexcecution2005_credentials_and_url_property_missing.jpg"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="ReportExcecution2005_Credentials_and_URL_property_missing" border="0" alt="ReportExcecution2005_Credentials_and_URL_property_missing" src="http://stefanscheller.files.wordpress.com/2011/07/reportexcecution2005_credentials_and_url_property_missing_thumb.jpg?w=644&#038;h=131" width="644" height="131"></a></p>
<p>&nbsp;</p>
<p>Finally figured out my little configuration issue, I used the “Add WCF Service dialog” instead the old “Web Service dialog”. After switch and rebuild all was fine.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stefanscheller.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stefanscheller.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stefanscheller.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stefanscheller.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stefanscheller.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stefanscheller.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stefanscheller.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stefanscheller.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stefanscheller.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stefanscheller.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stefanscheller.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stefanscheller.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stefanscheller.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stefanscheller.wordpress.com/207/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stefanscheller.wordpress.com&amp;blog=2148530&amp;post=207&amp;subd=stefanscheller&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stefanscheller.wordpress.com/2011/07/24/reporting-services-reportexcecution2005-credentials-and-url-property-missing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0a41208a105b6ba302873381186ee1b9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">stefanscheller</media:title>
		</media:content>

		<media:content url="http://stefanscheller.files.wordpress.com/2011/07/reportexcecution2005_credentials_and_url_property_missing_thumb.jpg" medium="image">
			<media:title type="html">ReportExcecution2005_Credentials_and_URL_property_missing</media:title>
		</media:content>
	</item>
		<item>
		<title>Word Abbildungsverzeichnis Punkte entfernen</title>
		<link>http://stefanscheller.wordpress.com/2011/06/02/word-abbildungsverzeichnis-punkte-entfernen/</link>
		<comments>http://stefanscheller.wordpress.com/2011/06/02/word-abbildungsverzeichnis-punkte-entfernen/#comments</comments>
		<pubDate>Thu, 02 Jun 2011 18:49:02 +0000</pubDate>
		<dc:creator>Stefan Scheller</dc:creator>
				<category><![CDATA[variouse code]]></category>
		<category><![CDATA[Abbildungsverzeichnis]]></category>
		<category><![CDATA[Punkte]]></category>
		<category><![CDATA[Word]]></category>

		<guid isPermaLink="false">https://stefanscheller.wordpress.com/2011/06/02/word-abbildungsverzeichnis-punkte-entfernen/</guid>
		<description><![CDATA[Frage einer Freundin – wie entfernt man die Punkte zwischen Bildunterschrift und Seitenzahl im Abbildungsverzeichnis von Microsoft Word (2007)? Da ich die Antwort selbst auch nicht direkt wusste, hier noch mal für euch alle wie man die Punkte im Abbildungsverzeichnis &#8230; <a href="http://stefanscheller.wordpress.com/2011/06/02/word-abbildungsverzeichnis-punkte-entfernen/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stefanscheller.wordpress.com&amp;blog=2148530&amp;post=204&amp;subd=stefanscheller&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Frage einer Freundin – wie entfernt man die Punkte zwischen Bildunterschrift und Seitenzahl im Abbildungsverzeichnis von Microsoft Word (2007)?</p>
<p>Da ich die Antwort selbst auch nicht direkt wusste, hier noch mal für euch alle wie man die Punkte im Abbildungsverzeichnis von Word mit Leerzeichen ersetzt:</p>
<p>1. Cursor irgendwo zwischen die Punkte stellen</p>
<p>2. Tabstopp auf Höhe der Seitenzahl doppelklicken</p>
<p>3. Füllzeichen auf Ohne stellen</p>
<p><a href="http://stefanscheller.files.wordpress.com/2011/06/word_2007_abbildungsverzeichnis_punkte_entfernen_stefan_scheller.jpg"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="Word_2007_Abbildungsverzeichnis_Punkte_entfernen_Stefan_Scheller" border="0" alt="Word_2007_Abbildungsverzeichnis_Punkte_entfernen_Stefan_Scheller" src="http://stefanscheller.files.wordpress.com/2011/06/word_2007_abbildungsverzeichnis_punkte_entfernen_stefan_scheller_thumb.jpg?w=500&#038;h=484" width="500" height="484"></a></p>
<p>Hier das Ergebnis:</p>
<p><a href="http://stefanscheller.files.wordpress.com/2011/06/word_2007_abbildungsverzeichnis_punkte_entfernen_punkte_weg_stefan_scheller.jpg"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="Word_2007_Abbildungsverzeichnis_Punkte_entfernen_punkte_weg_Stefan_Scheller" border="0" alt="Word_2007_Abbildungsverzeichnis_Punkte_entfernen_punkte_weg_Stefan_Scheller" src="http://stefanscheller.files.wordpress.com/2011/06/word_2007_abbildungsverzeichnis_punkte_entfernen_punkte_weg_stefan_scheller_thumb.jpg?w=452&#038;h=484" width="452" height="484"></a></p>
<p>&nbsp;</p>
<p>Alternativ kann auch das Abbildungsverzeichnis entfernt werden und ein neues eingefügt – hier kann im entsprechendem Formular auch das Füllzeichen eingestellt werden.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stefanscheller.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stefanscheller.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stefanscheller.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stefanscheller.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stefanscheller.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stefanscheller.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stefanscheller.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stefanscheller.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stefanscheller.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stefanscheller.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stefanscheller.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stefanscheller.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stefanscheller.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stefanscheller.wordpress.com/204/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stefanscheller.wordpress.com&amp;blog=2148530&amp;post=204&amp;subd=stefanscheller&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stefanscheller.wordpress.com/2011/06/02/word-abbildungsverzeichnis-punkte-entfernen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0a41208a105b6ba302873381186ee1b9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">stefanscheller</media:title>
		</media:content>

		<media:content url="http://stefanscheller.files.wordpress.com/2011/06/word_2007_abbildungsverzeichnis_punkte_entfernen_stefan_scheller_thumb.jpg" medium="image">
			<media:title type="html">Word_2007_Abbildungsverzeichnis_Punkte_entfernen_Stefan_Scheller</media:title>
		</media:content>

		<media:content url="http://stefanscheller.files.wordpress.com/2011/06/word_2007_abbildungsverzeichnis_punkte_entfernen_punkte_weg_stefan_scheller_thumb.jpg" medium="image">
			<media:title type="html">Word_2007_Abbildungsverzeichnis_Punkte_entfernen_punkte_weg_Stefan_Scheller</media:title>
		</media:content>
	</item>
		<item>
		<title>CTRL + F3  find next location of selected text in Visual Studio</title>
		<link>http://stefanscheller.wordpress.com/2011/05/22/ctrl-f3-find-next-location-of-selected-text-in-visual-studio/</link>
		<comments>http://stefanscheller.wordpress.com/2011/05/22/ctrl-f3-find-next-location-of-selected-text-in-visual-studio/#comments</comments>
		<pubDate>Sun, 22 May 2011 10:08:53 +0000</pubDate>
		<dc:creator>Stefan Scheller</dc:creator>
				<category><![CDATA[variouse code]]></category>
		<category><![CDATA[vs shortcut]]></category>

		<guid isPermaLink="false">https://stefanscheller.wordpress.com/2011/05/22/ctrl-f3-find-next-location-of-selected-text-in-visual-studio/</guid>
		<description><![CDATA[CTRL + F3 is awarded for  &#62;VS shortcut of the week &#60; This handy shortcut helps to find the next location of the selected text without opening the search window.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stefanscheller.wordpress.com&amp;blog=2148530&amp;post=198&amp;subd=stefanscheller&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>CTRL + F3 is awarded for  &gt;VS shortcut of the week &lt;</p>
<p>This handy shortcut helps to find the next location of the selected text without opening the search window.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stefanscheller.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stefanscheller.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stefanscheller.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stefanscheller.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stefanscheller.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stefanscheller.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stefanscheller.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stefanscheller.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stefanscheller.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stefanscheller.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stefanscheller.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stefanscheller.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stefanscheller.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stefanscheller.wordpress.com/198/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stefanscheller.wordpress.com&amp;blog=2148530&amp;post=198&amp;subd=stefanscheller&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stefanscheller.wordpress.com/2011/05/22/ctrl-f3-find-next-location-of-selected-text-in-visual-studio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0a41208a105b6ba302873381186ee1b9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">stefanscheller</media:title>
		</media:content>
	</item>
		<item>
		<title>Could not load file or assembly &#8216;Microsoft.Xrm.Client at plugin registration</title>
		<link>http://stefanscheller.wordpress.com/2011/02/23/could-not-load-file-or-assembly-microsoft-xrm-client-at-plugin-registration/</link>
		<comments>http://stefanscheller.wordpress.com/2011/02/23/could-not-load-file-or-assembly-microsoft-xrm-client-at-plugin-registration/#comments</comments>
		<pubDate>Wed, 23 Feb 2011 19:21:00 +0000</pubDate>
		<dc:creator>Stefan Scheller</dc:creator>
				<category><![CDATA[Dynamics CRM]]></category>
		<category><![CDATA[could not load file or assembly]]></category>
		<category><![CDATA[plugin registration tool]]></category>

		<guid isPermaLink="false">https://stefanscheller.wordpress.com/2011/02/23/could-not-load-file-or-assembly-microsoft-xrm-client-at-plugin-registration/</guid>
		<description><![CDATA[Could not load file or assembly &#8216;Microsoft.Xrm.Client, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&#8242; or one of its dependencies. The system cannot find the file specified. Got this exception during the deployment of a plugin using the xrm library. By questioning the internet I &#8230; <a href="http://stefanscheller.wordpress.com/2011/02/23/could-not-load-file-or-assembly-microsoft-xrm-client-at-plugin-registration/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stefanscheller.wordpress.com&amp;blog=2148530&amp;post=196&amp;subd=stefanscheller&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Could not load file or assembly &#8216;Microsoft.Xrm.Client, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&#8242; or one of its dependencies. The system cannot find the file specified.</p>
<p>Got this exception during the deployment of a plugin using the xrm library. By questioning the internet I found a lot of sources talking about different versions of dll (32 vs 64 bits) like over here: <a href="http://weblogs.asp.net/pabloperalta/archive/2010/11/22/plugin-registration-tool-unhandled-exception-system-badimageformatexception-could-not-load-file-or-assembly.aspx">Could not load file or assembly</a></p>
<p>Sounds possible but anyways in my case the solution was to <strong>add all the xrm dlls to the directory the plugin registration tool is executed.</strong></p>
<p><a href="http://stefanscheller.files.wordpress.com/2011/02/could_not_load_file_or_assembly_microsoft_xrm_client_stefan_scheller.jpg"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="could_not_load_file_or_assembly_Microsoft_Xrm_Client_stefan_scheller" border="0" alt="could_not_load_file_or_assembly_Microsoft_Xrm_Client_stefan_scheller" src="http://stefanscheller.files.wordpress.com/2011/02/could_not_load_file_or_assembly_microsoft_xrm_client_stefan_scheller_thumb.jpg?w=244&#038;h=196" width="244" height="196"></a></p>
<p>Complete exception:</p>
<p>Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly &#8216;Microsoft.Xrm.Client, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&#8242; or one of its dependencies. The system cannot find the file specified.<br />&nbsp;&nbsp; at System.Reflection.Assembly._GetExportedTypes()<br />&nbsp;&nbsp; at PluginRegistrationTool.AssemblyReader.RetrievePluginsFromAssembly(String path)<br />&nbsp;&nbsp; at PluginRegistrationTool.AssemblyReader.RetrievePluginsFromAssembly(String path)<br />&nbsp;&nbsp; at PluginRegistrationTool.RegistrationHelper.RetrievePluginsFromAssembly(String pathToAssembly)<br />&nbsp;&nbsp; at PluginRegistrationTool.PluginRegistrationForm.btnLoadAssembly_Click(Object sender, EventArgs e)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stefanscheller.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stefanscheller.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stefanscheller.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stefanscheller.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stefanscheller.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stefanscheller.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stefanscheller.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stefanscheller.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stefanscheller.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stefanscheller.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stefanscheller.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stefanscheller.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stefanscheller.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stefanscheller.wordpress.com/196/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stefanscheller.wordpress.com&amp;blog=2148530&amp;post=196&amp;subd=stefanscheller&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stefanscheller.wordpress.com/2011/02/23/could-not-load-file-or-assembly-microsoft-xrm-client-at-plugin-registration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0a41208a105b6ba302873381186ee1b9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">stefanscheller</media:title>
		</media:content>

		<media:content url="http://stefanscheller.files.wordpress.com/2011/02/could_not_load_file_or_assembly_microsoft_xrm_client_stefan_scheller_thumb.jpg" medium="image">
			<media:title type="html">could_not_load_file_or_assembly_Microsoft_Xrm_Client_stefan_scheller</media:title>
		</media:content>
	</item>
		<item>
		<title>Unable to load the connection string name</title>
		<link>http://stefanscheller.wordpress.com/2011/02/19/unable-to-load-the-connection-string-name/</link>
		<comments>http://stefanscheller.wordpress.com/2011/02/19/unable-to-load-the-connection-string-name/#comments</comments>
		<pubDate>Sat, 19 Feb 2011 16:40:00 +0000</pubDate>
		<dc:creator>Stefan Scheller</dc:creator>
				<category><![CDATA[Dynamics CRM]]></category>
		<category><![CDATA[variouse code]]></category>

		<guid isPermaLink="false">https://stefanscheller.wordpress.com/2011/02/22/unable-to-load-the-connection-string-name/</guid>
		<description><![CDATA[Today I was concerned by the “Unable to load the connection string name” exception. Simplified my setup looks like in the picture. I am running a ms unit test project with a service reference for the WCF service and the &#8230; <a href="http://stefanscheller.wordpress.com/2011/02/19/unable-to-load-the-connection-string-name/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stefanscheller.wordpress.com&amp;blog=2148530&amp;post=190&amp;subd=stefanscheller&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I was concerned by the “Unable to load the connection string name” exception.<a href="http://stefanscheller.files.wordpress.com/2011/02/stefan_scheller_unable_to_load_connection_string.jpg"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;float:right;padding-top:0;border-width:0;" title="stefan_scheller_unable_to_load_connection_string" src="http://stefanscheller.files.wordpress.com/2011/02/stefan_scheller_unable_to_load_connection_string_thumb.jpg?w=240&#038;h=207" border="0" alt="stefan_scheller_unable_to_load_connection_string" width="240" height="207" align="right" /></a></p>
<p>Simplified my setup looks like in the picture. I am running a ms unit test project with a service reference for the<strong> WCF service</strong> and the service references a class library to come a long with the business tasks.</p>
<p>Within the class library I use the ms crm xrm framework to get a typed layer of your crm business objects.</p>
<p>The xrm data context is build up like that:</p>
<pre class="csharpcode">var context = <span class="kwrd">new</span> Xrm.mynameDataContext(<span class="str">"MyConnectionString"</span>);</pre>
<p>By running the unit test I got all the time the exception “<strong>Unable to load the connection string myConnectionString</strong>”. I did add the connection string to my Class Library app.Config and my client app.config like that:</p>
<pre class="csharpcode">&lt;configuration&gt;
...
  &lt;connectionStrings&gt;
    &lt;add name=<span class="str">"MyConnectionString"</span> connectionString=<span class="str">"Authentication Type=AD; Server=http://myserver/myorganisation; User ID=mydomain\myaccount; Password=*****"</span>/&gt;
  &lt;/connectionStrings&gt;
...
&lt;/configuration&gt;</pre>
<p>The DataContext tries to retrieve the connection string like this:</p>
<p>ConfigurationManager.ConnectionStrings["myConnectionString"].ConnectionString;</p>
<p>So the ConnectionStrings Collection did never contain the connection string.</p>
<p>With a second look on the architecture finally I got the clue: The point is that my entry point on server side for the library execution is obviously not the  client.</p>
<h3>solution is:</h3>
<p><strong>Add your connection string to your WCF Service web.config or app.config</strong></p>
<p>The calling client does not need any connection strings, sometimes logical things let us stumble especially if we got many layers in real life projects.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stefanscheller.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stefanscheller.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stefanscheller.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stefanscheller.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stefanscheller.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stefanscheller.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stefanscheller.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stefanscheller.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stefanscheller.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stefanscheller.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stefanscheller.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stefanscheller.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stefanscheller.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stefanscheller.wordpress.com/190/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stefanscheller.wordpress.com&amp;blog=2148530&amp;post=190&amp;subd=stefanscheller&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stefanscheller.wordpress.com/2011/02/19/unable-to-load-the-connection-string-name/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0a41208a105b6ba302873381186ee1b9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">stefanscheller</media:title>
		</media:content>

		<media:content url="http://stefanscheller.files.wordpress.com/2011/02/stefan_scheller_unable_to_load_connection_string_thumb.jpg" medium="image">
			<media:title type="html">stefan_scheller_unable_to_load_connection_string</media:title>
		</media:content>
	</item>
		<item>
		<title>Frage mobil erfassen auf trainontrain.com/mobile</title>
		<link>http://stefanscheller.wordpress.com/2011/02/05/frage-mobil-erfassen-auf-trainontrain-commobile/</link>
		<comments>http://stefanscheller.wordpress.com/2011/02/05/frage-mobil-erfassen-auf-trainontrain-commobile/#comments</comments>
		<pubDate>Sat, 05 Feb 2011 19:07:03 +0000</pubDate>
		<dc:creator>Stefan Scheller</dc:creator>
				<category><![CDATA[trainontrain.com]]></category>
		<category><![CDATA[Gedächtnistrainer]]></category>
		<category><![CDATA[Gedächtnistraining]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[trainontrain]]></category>

		<guid isPermaLink="false">https://stefanscheller.wordpress.com/2011/02/05/frage-mobil-erfassen-auf-trainontrain-commobile/</guid>
		<description><![CDATA[Die Community zur Brainperformancesteigerung hat ein cooles neues Feature bekommen. Ab heute kann man unterwegs auf der Handy optimierten Version der trainontrain Community einzelne Fragen schnell erfassen. Damit bedienen wir das Szenario: Wir lernen etwas und wollen es direkt in &#8230; <a href="http://stefanscheller.wordpress.com/2011/02/05/frage-mobil-erfassen-auf-trainontrain-commobile/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stefanscheller.wordpress.com&amp;blog=2148530&amp;post=187&amp;subd=stefanscheller&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Die Community zur Brainperformancesteigerung hat ein cooles neues Feature bekommen. Ab heute kann man unterwegs auf der Handy optimierten Version der trainontrain Community einzelne Fragen schnell erfassen.</p>
<p>Damit bedienen wir das Szenario: Wir lernen etwas und wollen es direkt in unseren Wissensschatz übernehmen indem wir mit nur einem Klick das Formular zur Erfassung öffnen und das unterwegs. Schneller geht es kaum und uns entgeht nichts mehr.</p>
<p>Einfach mobil einloggen (<a title="http://trainontrain.com/mobile/QuickQuestion/Create" href="http://trainontrain.com/mobile/home">http://trainontrain.com/mobile/home</a>) und schon seht Ihr den neuen Link zur Fragenerfassung.</p>
<p><a href="http://stefanscheller.files.wordpress.com/2011/02/trainontrain_com_feature_frage_mobil_hinzufuegen.jpg"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="trainontrain_com_feature_frage_mobil_hinzufuegen" border="0" alt="trainontrain_com_feature_frage_mobil_hinzufuegen" src="http://stefanscheller.files.wordpress.com/2011/02/trainontrain_com_feature_frage_mobil_hinzufuegen_thumb.jpg?w=143&#038;h=244" width="143" height="244"></a></p>
<p>Oder direkt den Bookmark aufs Handy: <a title="http://trainontrain.com/mobile/QuickQuestion/Create" href="http://trainontrain.com/mobile/QuickQuestion/Create">http://trainontrain.com/mobile/QuickQuestion/Create</a></p>
<p>Die Erfassungsseite schaut dann so aus:</p>
<p><a href="http://stefanscheller.files.wordpress.com/2011/02/trainontrain_com_feature_frage_mobil_hinzufuegen_sammlung_waehlen.jpg"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="trainontrain_com_feature_frage_mobil_hinzufuegen_sammlung_waehlen" border="0" alt="trainontrain_com_feature_frage_mobil_hinzufuegen_sammlung_waehlen" src="http://stefanscheller.files.wordpress.com/2011/02/trainontrain_com_feature_frage_mobil_hinzufuegen_sammlung_waehlen_thumb.jpg?w=141&#038;h=244" width="141" height="244"></a></p>
<p>Wir wählen aus zu welcher Fragensammlung die neue Frage hinzugefügt wird. Denkt dran die Fragensammlung selbst werden über die website (<a href="http://www.trainontrain.com">www.trainontrain.com</a>) angelegt.</p>
<p>Nachdem wir den “Create” Button gedrückt haben, landen wir wieder auf der Startseite und können weitere Fragen erfassen oder einen Test starten.</p>
<p>Viel Spass – das TrainOnTrain Team</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stefanscheller.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stefanscheller.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stefanscheller.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stefanscheller.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stefanscheller.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stefanscheller.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stefanscheller.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stefanscheller.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stefanscheller.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stefanscheller.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stefanscheller.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stefanscheller.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stefanscheller.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stefanscheller.wordpress.com/187/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stefanscheller.wordpress.com&amp;blog=2148530&amp;post=187&amp;subd=stefanscheller&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stefanscheller.wordpress.com/2011/02/05/frage-mobil-erfassen-auf-trainontrain-commobile/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0a41208a105b6ba302873381186ee1b9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">stefanscheller</media:title>
		</media:content>

		<media:content url="http://stefanscheller.files.wordpress.com/2011/02/trainontrain_com_feature_frage_mobil_hinzufuegen_thumb.jpg" medium="image">
			<media:title type="html">trainontrain_com_feature_frage_mobil_hinzufuegen</media:title>
		</media:content>

		<media:content url="http://stefanscheller.files.wordpress.com/2011/02/trainontrain_com_feature_frage_mobil_hinzufuegen_sammlung_waehlen_thumb.jpg" medium="image">
			<media:title type="html">trainontrain_com_feature_frage_mobil_hinzufuegen_sammlung_waehlen</media:title>
		</media:content>
	</item>
		<item>
		<title>Best Practice &#8211; ASP.NET MVC transfer data between controller and view</title>
		<link>http://stefanscheller.wordpress.com/2010/12/11/best-practice-asp-net-mvc-transfer-data-between-controller-and-view/</link>
		<comments>http://stefanscheller.wordpress.com/2010/12/11/best-practice-asp-net-mvc-transfer-data-between-controller-and-view/#comments</comments>
		<pubDate>Sat, 11 Dec 2010 08:12:20 +0000</pubDate>
		<dc:creator>Stefan Scheller</dc:creator>
				<category><![CDATA[ASP.NET MVC2]]></category>

		<guid isPermaLink="false">https://stefanscheller.wordpress.com/2010/12/11/best-practice-asp-net-mvc-transfer-data-between-controller-and-view/</guid>
		<description><![CDATA[During the last weeks I had the opportunity to dive into data binding with ASP.NET MVC these are my experiences. One main task with ASP.NET MVC&#160; is to transfer M-odel data in our V-iew by the C-ontroller. Important is that &#8230; <a href="http://stefanscheller.wordpress.com/2010/12/11/best-practice-asp-net-mvc-transfer-data-between-controller-and-view/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stefanscheller.wordpress.com&amp;blog=2148530&amp;post=179&amp;subd=stefanscheller&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>During the last weeks I had the opportunity to dive into data binding with ASP.NET MVC these are my experiences.
<p>One main task with ASP.NET MVC&nbsp; is to transfer M-odel data in our V-iew by the C-ontroller. Important is that we distinguish between DOMAIN Model and VIEW Model. Within the most tutorials we do not have any difference between the two models, as the use cases are very straight forward, but as soon we do a real life application we have complex and related objects or just need to present more than one object in our view. When we face such kind of situation we have 2 solutions:</p>
<h3>A) use the ViewData object as a loosely typed dictionary and pass all our objects as object type:</h3>
<p>&nbsp;</p>
<p>controller code:</p>
<div style="border-bottom:gray 1px solid;border-left:gray 1px solid;line-height:12pt;background-color:#f4f4f4;width:97.5%;font-family:consolas, 'Courier New', courier, monospace;max-height:200px;font-size:8pt;overflow:auto;border-top:gray 1px solid;cursor:text;border-right:gray 1px solid;margin:20px 0 10px;padding:4px;">
<div style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0;">
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#0000ff;">public</span> ActionResult IndexUntyped()</pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">{</pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">    Car car = <span style="color:#0000ff;">new</span> Car();</pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">    car.Name = <span style="color:#006080;">"Audi Q7 S line"</span>;</pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">&nbsp;</pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">    Owner owner = <span style="color:#0000ff;">new</span> Owner();</pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">    owner.Name = <span style="color:#006080;">"Stefan"</span>;</pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">&nbsp;</pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">    <span style="color:#008000;">//add the model data</span></pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">    ViewData[<span style="color:#006080;">"car"</span>] = car;</pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">    ViewData[<span style="color:#006080;">"owner"</span>] = owner;</pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">    </pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">    <span style="color:#0000ff;">return</span> View();</pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">}</pre>
</div>
</div>
<p>&nbsp;</p>
<p>view code:</p>
<div style="border-bottom:gray 1px solid;border-left:gray 1px solid;line-height:12pt;background-color:#f4f4f4;width:97.5%;font-family:consolas, 'Courier New', courier, monospace;max-height:200px;font-size:8pt;overflow:auto;border-top:gray 1px solid;cursor:text;border-right:gray 1px solid;margin:20px 0 10px;padding:4px;">
<div style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0;">
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="background-color:#ffff00;">&lt;%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage" %&gt;</span></pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">&nbsp;</pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#0000ff;">&lt;!</span><span style="color:#800000;">DOCTYPE</span> <span style="color:#ff0000;">html</span> <span style="color:#ff0000;">PUBLIC</span> <span style="color:#0000ff;">"-//W3C//DTD XHTML 1.0 Transitional//EN"</span> <span style="color:#0000ff;">"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"</span><span style="color:#0000ff;">&gt;</span></pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">&nbsp;</pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#0000ff;">&lt;</span><span style="color:#800000;">html</span> <span style="color:#ff0000;">xmlns</span><span style="color:#0000ff;">="http://www.w3.org/1999/xhtml"</span> <span style="color:#0000ff;">&gt;</span></pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#0000ff;">&lt;</span><span style="color:#800000;">head</span> <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">="server"</span><span style="color:#0000ff;">&gt;</span></pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">    <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">title</span><span style="color:#0000ff;">&gt;</span>IndexUntyped<span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">title</span><span style="color:#0000ff;">&gt;</span></pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">head</span><span style="color:#0000ff;">&gt;</span></pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#0000ff;">&lt;</span><span style="color:#800000;">body</span><span style="color:#0000ff;">&gt;</span></pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">    <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">div</span><span style="color:#0000ff;">&gt;</span></pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">     The cars's name is <span style="background-color:#ffff00;">&lt;%</span>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   1:</span> : ((MvcApplication1.Models.Car)ViewData[<span style="color:#006080;">"car"</span>]).Name </pre>
<p><span style="background-color:#ffff00;">%&gt;</span> <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">br</span> <span style="color:#0000ff;">/&gt;</span></pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">     The owners's name is <span style="background-color:#ffff00;">&lt;%</span>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   1:</span> : ((MvcApplication1.Models.Owner)ViewData[<span style="color:#006080;">"owner"</span>]).Name </pre>
<p><span style="background-color:#ffff00;">%&gt;</span></pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">    <span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">div</span><span style="color:#0000ff;">&gt;</span></pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">body</span><span style="color:#0000ff;">&gt;</span></pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">html</span><span style="color:#0000ff;">&gt;</span></pre>
</div>
</div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h3>B) use the ViewData.Model Property and assign a special designed <strong>ViewModel</strong></h3>
<p>&nbsp;</p>
<p>controller code:</p>
<div style="border-bottom:gray 1px solid;border-left:gray 1px solid;line-height:12pt;background-color:#f4f4f4;width:97.5%;font-family:consolas, 'Courier New', courier, monospace;max-height:200px;font-size:8pt;overflow:auto;border-top:gray 1px solid;cursor:text;border-right:gray 1px solid;margin:20px 0 10px;padding:4px;">
<div style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0;">
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#0000ff;">public</span> ActionResult IndexStrongtyped()</pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">{</pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">    Car car = <span style="color:#0000ff;">new</span> Car();</pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">    car.Name = <span style="color:#006080;">"Audi Q7 S line"</span>;</pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">&nbsp;</pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">    Owner owner = <span style="color:#0000ff;">new</span> Owner();</pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">    owner.Name = <span style="color:#006080;">"Stefan"</span>;</pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">&nbsp;</pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">    <span style="color:#008000;">//the view model</span></pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">    VM_CarOwners vm_CarOwners = <span style="color:#0000ff;">new</span> VM_CarOwners();</pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">    vm_CarOwners.Car = car;</pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">    vm_CarOwners.Owner = owner;</pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">&nbsp;</pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">    ViewData.Model = vm_CarOwners;</pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">&nbsp;</pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">    <span style="color:#0000ff;">return</span> View();</pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">    <span style="color:#008000;">//retrun View (vm_CarOwners); //works as well</span></pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">}</pre>
</div>
</div>
<p>view code:</p>
<div style="border-bottom:gray 1px solid;border-left:gray 1px solid;line-height:12pt;background-color:#f4f4f4;width:97.5%;font-family:consolas, 'Courier New', courier, monospace;max-height:200px;font-size:8pt;overflow:auto;border-top:gray 1px solid;cursor:text;border-right:gray 1px solid;margin:20px 0 10px;padding:4px;">
<div style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0;">
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="background-color:#ffff00;">&lt;%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage&lt;MvcApplication1.Models.ViewModels.VM_CarOwners&gt;" %&gt;</span></pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">&nbsp;</pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#0000ff;">&lt;!</span><span style="color:#800000;">DOCTYPE</span> <span style="color:#ff0000;">html</span> <span style="color:#ff0000;">PUBLIC</span> <span style="color:#0000ff;">"-//W3C//DTD XHTML 1.0 Transitional//EN"</span> <span style="color:#0000ff;">"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"</span><span style="color:#0000ff;">&gt;</span></pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">&nbsp;</pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#0000ff;">&lt;</span><span style="color:#800000;">html</span> <span style="color:#ff0000;">xmlns</span><span style="color:#0000ff;">="http://www.w3.org/1999/xhtml"</span> <span style="color:#0000ff;">&gt;</span></pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#0000ff;">&lt;</span><span style="color:#800000;">head</span> <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">="server"</span><span style="color:#0000ff;">&gt;</span></pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">    <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">title</span><span style="color:#0000ff;">&gt;</span>IndexStrongtyped<span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">title</span><span style="color:#0000ff;">&gt;</span></pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">head</span><span style="color:#0000ff;">&gt;</span></pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#0000ff;">&lt;</span><span style="color:#800000;">body</span><span style="color:#0000ff;">&gt;</span></pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">    <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">div</span><span style="color:#0000ff;">&gt;</span></pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">    The cars's name is <span style="background-color:#ffff00;">&lt;%</span>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   1:</span> = Html.LabelFor(x =&gt; x.Car) </pre>
<p><span style="background-color:#ffff00;">%&gt;</span> <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">br</span> <span style="color:#0000ff;">/&gt;</span></pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">    The owners's name is <span style="background-color:#ffff00;">&lt;%</span>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   1:</span> = Html.LabelFor(x =&gt; x.Owner) </pre>
<p><span style="background-color:#ffff00;">%&gt;</span></pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">    <span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">div</span><span style="color:#0000ff;">&gt;</span></pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">body</span><span style="color:#0000ff;">&gt;</span></pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">html</span><span style="color:#0000ff;">&gt;</span></pre>
</div>
</div>
<p>&nbsp;</p>
<p>For the most use cases <u>best practice is to create a special ViewModel </u>which holds all the expected data and assign it the ViewData.Model property and use strong typed views with HTML Helper using LINQ. You gain compile time error detection, the possibility to use automatic refactor features of Visual Studio, intellisense support and last but not least much less issues when you retrieve the data back by a later post.</p>
<p>&nbsp;</p>
<p>Simple architecture could look like this:</p>
<p><a href="http://stefanscheller.files.wordpress.com/2010/12/asp_net_mvc_architecture_best_practice.jpg"><img style="border-bottom:0;border-left:0;border-top:0;border-right:0;" border="0" alt="ASP_NET_MVC_ARCHITECTURE_BEST_PRACTICE" src="http://stefanscheller.files.wordpress.com/2010/12/asp_net_mvc_architecture_best_practice_thumb.jpg?w=341&#038;h=152" width="341" height="152"></a> </p>
<p>(the ViewModel is a simple class with only properties to exchange data between the Controller and View and back)</p>
<p>&nbsp;</p>
<p>If your are in a scenario you need data globally in <strong>many views with different or no strong typed model</strong>, then it is time for the flexibility of the untyped View Data Dictionary, i.e. : &lt;%: ViewData["currentPageNumber"] %&gt;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>If you are confused about the TempData vs ViewData&nbsp; &#8211; TempData is for redirect model data to other methods.</p>
<p>There is a nice explanation over here: <a href="http://blogs.teamb.com/craigstuntz/2009/01/23/37947/" target="_blank">TempData Is Really RedirectData</a> .</p>
<p>&nbsp;</p>
<p>You can download the complete sample code <a title="download" href="http://dl.dropbox.com/u/638054/permanent/MvcApplication1.zip" target="_blank">here</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stefanscheller.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stefanscheller.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stefanscheller.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stefanscheller.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stefanscheller.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stefanscheller.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stefanscheller.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stefanscheller.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stefanscheller.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stefanscheller.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stefanscheller.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stefanscheller.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stefanscheller.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stefanscheller.wordpress.com/179/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stefanscheller.wordpress.com&amp;blog=2148530&amp;post=179&amp;subd=stefanscheller&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stefanscheller.wordpress.com/2010/12/11/best-practice-asp-net-mvc-transfer-data-between-controller-and-view/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0a41208a105b6ba302873381186ee1b9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">stefanscheller</media:title>
		</media:content>

		<media:content url="http://stefanscheller.files.wordpress.com/2010/12/asp_net_mvc_architecture_best_practice_thumb.jpg" medium="image">
			<media:title type="html">ASP_NET_MVC_ARCHITECTURE_BEST_PRACTICE</media:title>
		</media:content>
	</item>
		<item>
		<title>CS0135: &#8216;Model&#8217; conflicts with the declaration &#8216;System.Web.Mvc.ViewPage.Model&#8217;</title>
		<link>http://stefanscheller.wordpress.com/2010/12/08/cs0135-model-conflicts-with-the-declaration-system-web-mvc-viewpage-model/</link>
		<comments>http://stefanscheller.wordpress.com/2010/12/08/cs0135-model-conflicts-with-the-declaration-system-web-mvc-viewpage-model/#comments</comments>
		<pubDate>Tue, 07 Dec 2010 23:24:45 +0000</pubDate>
		<dc:creator>Stefan Scheller</dc:creator>
				<category><![CDATA[ASP.NET MVC2]]></category>

		<guid isPermaLink="false">https://stefanscheller.wordpress.com/2010/12/08/cs0135-model-conflicts-with-the-declaration-system-web-mvc-viewpage-model/</guid>
		<description><![CDATA[When you build ASP.MVC Websites you can use HTML Helpers and use a LINQ expression with them to get a certain property of your model. As it is not forbidden you can use what ever you like as LINQ variable, &#8230; <a href="http://stefanscheller.wordpress.com/2010/12/08/cs0135-model-conflicts-with-the-declaration-system-web-mvc-viewpage-model/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stefanscheller.wordpress.com&amp;blog=2148530&amp;post=175&amp;subd=stefanscheller&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When you build ASP.MVC Websites you can use HTML Helpers and use a LINQ expression with them to get a certain property of your model.</p>
<p>As it is not forbidden you can use what ever you like as LINQ variable, so I did fall in the trap to copy some code for my view:</p>
<p>&nbsp;</p>
<p>&lt;%= Html.TextAreaFor(<strong><font color="#ff0000">Model</font></strong> =&gt; Model.MyViewModelPropertyA) %&gt;<br />&lt;%= Html.ValidationMessageFor(<strong><font color="#ff0000">Model</font></strong> =&gt; Model.MyViewModelPropertyA)%&gt;
<p>&nbsp;</p>
<p>The control alone compiles pretty well, the issue </p>
<blockquote><p>CS0135: &#8216;Model&#8217; conflicts with the declaration &#8216;System.Web.Mvc.ViewPage&lt;TModel&gt;.Model&#8217;</p>
</blockquote>
<p>is rising up as soon as we try to add an other more complex HTML Helper, for my case a drop down list:</p>
<p>&lt;%= Html.DropDownListFor(<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; x =&gt; x.MyViewModelPropertyB,&nbsp; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#ff0000"><strong>Model</strong></font>.MyViewModelObjectListC,&nbsp; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; new { @class = &#8220;yellowDropDown&#8221; }&nbsp; <br />) %&gt;
<p>&nbsp;
<p>As you guess the one alone works also pretty well, but the 2 controls in one page create the conflict.</p>
<p>Solution use something else for your lambda expressions like &lt;%=Html.TextAreaFor(<strong><font color="#ff0000">x</font></strong> =&gt; <font color="#ff0000"><strong>x</strong></font>.MyViewModelPropertyA)%&gt;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stefanscheller.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stefanscheller.wordpress.com/175/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stefanscheller.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stefanscheller.wordpress.com/175/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stefanscheller.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stefanscheller.wordpress.com/175/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stefanscheller.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stefanscheller.wordpress.com/175/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stefanscheller.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stefanscheller.wordpress.com/175/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stefanscheller.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stefanscheller.wordpress.com/175/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stefanscheller.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stefanscheller.wordpress.com/175/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stefanscheller.wordpress.com&amp;blog=2148530&amp;post=175&amp;subd=stefanscheller&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stefanscheller.wordpress.com/2010/12/08/cs0135-model-conflicts-with-the-declaration-system-web-mvc-viewpage-model/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0a41208a105b6ba302873381186ee1b9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">stefanscheller</media:title>
		</media:content>
	</item>
		<item>
		<title>Create insert script including data with SQL Server Management Studio</title>
		<link>http://stefanscheller.wordpress.com/2010/12/06/create-insert-script-including-data-with-sql-server-management-studio/</link>
		<comments>http://stefanscheller.wordpress.com/2010/12/06/create-insert-script-including-data-with-sql-server-management-studio/#comments</comments>
		<pubDate>Mon, 06 Dec 2010 21:17:14 +0000</pubDate>
		<dc:creator>Stefan Scheller</dc:creator>
				<category><![CDATA[variouse code]]></category>

		<guid isPermaLink="false">https://stefanscheller.wordpress.com/2010/12/06/create-insert-script-including-data-with-sql-server-management-studio/</guid>
		<description><![CDATA[Just tried to create a deployment script of my local MS SQL data base including the data. This feature is well known by MySQL or Oracle Clients. Actually I could not find the feature in MS SQL Server Management Studio &#8230; <a href="http://stefanscheller.wordpress.com/2010/12/06/create-insert-script-including-data-with-sql-server-management-studio/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stefanscheller.wordpress.com&amp;blog=2148530&amp;post=174&amp;subd=stefanscheller&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just tried to create a deployment script of my local MS SQL data base <u>including the data</u>.</p>
<p>This feature is well known by MySQL or Oracle Clients. Actually I could not find the feature in MS SQL Server Management Studio &#8211; BUT &#8211; the feature <u>exists in Visual Studio 2010</u> :</p>
<p>Just Create a Database Connection, step on your database and right click &#8220;<u>publish to provider</u>&#8230;&#8221;</p>
<p><a href="http://stefanscheller.files.wordpress.com/2010/12/create_script_with_data_by_ms_sql_studio_stefan_scheller.jpg"><img style="border-bottom:0;border-left:0;border-top:0;border-right:0;" border="0" alt="Create_Script_with_data_by_ms_sql_studio_stefan_scheller" src="http://stefanscheller.files.wordpress.com/2010/12/create_script_with_data_by_ms_sql_studio_stefan_scheller_thumb.jpg?w=242&#038;h=244" width="242" height="244"></a> </p>
<div style="display:inline;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:d2e78c92-cc99-4f53-ae81-2b230c422869" class="wlWriterSmartContent">Technorati-Tags: <a href="http://technorati.com/tags/sql%20insert%20script" rel="tag">sql insert script</a>,<a href="http://technorati.com/tags/SQL%20Server%20Management%20Studio" rel="tag">SQL Server Management Studio</a></div>
<p>Then you follow a lot of&nbsp; continue &#8211; ok &#8211; ok &#8211; continue and finally you get a script like this one:</p>
<p><a href="http://stefanscheller.files.wordpress.com/2010/12/create_script_with_data_by_script_sql_studio_stefan_scheller.jpg"><img style="border-bottom:0;border-left:0;border-top:0;border-right:0;" border="0" alt="Create_Script_with_data_by_script_sql_studio_stefan_scheller" src="http://stefanscheller.files.wordpress.com/2010/12/create_script_with_data_by_script_sql_studio_stefan_scheller_thumb.jpg?w=1028&#038;h=366" width="1028" height="366"></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stefanscheller.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stefanscheller.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stefanscheller.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stefanscheller.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stefanscheller.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stefanscheller.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stefanscheller.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stefanscheller.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stefanscheller.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stefanscheller.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stefanscheller.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stefanscheller.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stefanscheller.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stefanscheller.wordpress.com/174/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stefanscheller.wordpress.com&amp;blog=2148530&amp;post=174&amp;subd=stefanscheller&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stefanscheller.wordpress.com/2010/12/06/create-insert-script-including-data-with-sql-server-management-studio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0a41208a105b6ba302873381186ee1b9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">stefanscheller</media:title>
		</media:content>

		<media:content url="http://stefanscheller.files.wordpress.com/2010/12/create_script_with_data_by_ms_sql_studio_stefan_scheller_thumb.jpg" medium="image">
			<media:title type="html">Create_Script_with_data_by_ms_sql_studio_stefan_scheller</media:title>
		</media:content>

		<media:content url="http://stefanscheller.files.wordpress.com/2010/12/create_script_with_data_by_script_sql_studio_stefan_scheller_thumb.jpg" medium="image">
			<media:title type="html">Create_Script_with_data_by_script_sql_studio_stefan_scheller</media:title>
		</media:content>
	</item>
		<item>
		<title>Visual Studio shortcut of the month Ctrl m o</title>
		<link>http://stefanscheller.wordpress.com/2010/11/05/visual-studio-shortcut-of-the-month-ctrl-m-o/</link>
		<comments>http://stefanscheller.wordpress.com/2010/11/05/visual-studio-shortcut-of-the-month-ctrl-m-o/#comments</comments>
		<pubDate>Fri, 05 Nov 2010 05:12:21 +0000</pubDate>
		<dc:creator>Stefan Scheller</dc:creator>
				<category><![CDATA[variouse code]]></category>

		<guid isPermaLink="false">http://stefanscheller.wordpress.com/?p=166</guid>
		<description><![CDATA[As I had a lot of refactoring the last days my favourite VS short cut for this month: Ctrl + m + o It collapses all outlining. This short cut is extremely cool when you have to gain bird’s eye &#8230; <a href="http://stefanscheller.wordpress.com/2010/11/05/visual-studio-shortcut-of-the-month-ctrl-m-o/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stefanscheller.wordpress.com&amp;blog=2148530&amp;post=166&amp;subd=stefanscheller&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>As I had a lot of refactoring the last days my favourite VS short cut for this month:</p>
<p><strong>Ctrl + m + o</strong></p>
<p>It collapses all outlining.<br />
This short cut is extremely cool when you have to gain bird’s eye view on methods in a class.</p>
<p>If you find a particular interesting one just place the curser on it and press</p>
<p><strong>Ctrl + m + m</strong></p>
<p>It expands (or later collapse) this certain method.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stefanscheller.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stefanscheller.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stefanscheller.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stefanscheller.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stefanscheller.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stefanscheller.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stefanscheller.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stefanscheller.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stefanscheller.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stefanscheller.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stefanscheller.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stefanscheller.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stefanscheller.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stefanscheller.wordpress.com/166/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stefanscheller.wordpress.com&amp;blog=2148530&amp;post=166&amp;subd=stefanscheller&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stefanscheller.wordpress.com/2010/11/05/visual-studio-shortcut-of-the-month-ctrl-m-o/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0a41208a105b6ba302873381186ee1b9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">stefanscheller</media:title>
		</media:content>
	</item>
	</channel>
</rss>
