<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Channel 9 - Discussions by vulcandeathgrip</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Niners/vulcandeathgrip/Discussions/RSS"></atom:link>
	<image>
		<url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url>
		<title>Channel 9 - Discussions by vulcandeathgrip</title>
		<link>http://channel9.msdn.com/Niners/vulcandeathgrip/Discussions</link>
	</image>
	<description>Channel 9 keeps you up to date with the latest news and behind the scenes info from Microsoft that developers love to keep up with. From LINQ to SilverLight – Watch videos and hear about all the cool technologies coming and the people behind them.</description>
	<link>http://channel9.msdn.com/Niners/vulcandeathgrip/Discussions</link>
	<language>en</language>
	<pubDate>Wed, 22 May 2013 12:23:18 GMT</pubDate>
	<lastBuildDate>Wed, 22 May 2013 12:23:18 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<c9:totalResults>0</c9:totalResults>
	<c9:pageCount>0</c9:pageCount>
	<c9:pageSize>0</c9:pageSize>
	<item>
		<title>Tech Off - ALTER Datatype of Column - SQL</title>
		<description><![CDATA[<p>SQL Server might complain if reducing the size of the field would delete data already in the column.&nbsp; Is there some reason why you can't just create a new column, copy &amp; convert the field data with an UPDATE statement, then remove the&nbsp;old column?&nbsp;
<br /><br />It sounds like an odd request;&nbsp;nvarchar is a flexible data type that also supports nulls.&nbsp; Maybe you need to&nbsp;put on your&nbsp;&quot;change management&quot;&nbsp;hat <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-5.gif' alt='Wink' /></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/259975-ALTER-Datatype-of-Column-SQL/38ea9d337afc48b8878d9dfa00bb22c2#38ea9d337afc48b8878d9dfa00bb22c2</link>
		<pubDate>Fri, 04 Jan 2008 14:12:56 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/259975-ALTER-Datatype-of-Column-SQL/38ea9d337afc48b8878d9dfa00bb22c2#38ea9d337afc48b8878d9dfa00bb22c2</guid>
		<dc:creator>vulcandeathgrip</dc:creator>
		<slash:comments>9</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/vulcandeathgrip/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Connection String for Typed Datasets</title>
		<description><![CDATA[<p>There's been a lot of talk about this subject going all the way back to before the initial
<span lang="EN-CA">release</span> of .NET 2.0, but&nbsp;no one seems to be able to come up with a definitive solution.&nbsp; It seems that application configuration in .NET is very confusing, especially when it comes to deployment.&nbsp;&nbsp;<br>
<br>
To my way of thinking, you ought to be able to simply include a different app.config file in your deployment package (most commonly, to use a different connection string&nbsp;when deployed), and have those settings picked up at runtime on the target.&nbsp; Otherwise,
 what the heck is app.config good for?<br>
<br>
Some people have suggested placing the settings in web.config instead, but contrary to what many believe, IF your DAL is in a
<u>class library project</u>, you CANNOT access the web.config file from the TableAdapter wizard nor&nbsp;the&nbsp;property setting of a TableAdapter&nbsp;(I'm trying it even as I write this just to be sure... nope, can't.)<br>
<br>
Certainly,&nbsp;during the build process, any changes you make&nbsp;in&nbsp;app.config, it being&nbsp;one of your source files,&nbsp;ought to&nbsp;be compiled into the project settings (the settings.settings file and/or the x.exe.config file).&nbsp; You should not have to reopen Visual Studio,
 open the properties&nbsp;form and answer&nbsp;a pop-up&nbsp;message box to make this happen.<br>
<br>
I agree with Kennon McCaa's statement in his blog posting of last July (<a href="http://kmccaa.blogspot.com/2007/07/how-to-move-typed-dataset-to-its-own_11.html">http://kmccaa.blogspot.com/2007/07/how-to-move-typed-dataset-to-its-own_11.html</a>) that this
 is a pretty big oversight, either in the architecture itself, or at the very least in the documentation.<br>
<br>
My conclusion:&nbsp; It's probably true that Typed Data Sets should not be used in production except in very simple applications and in situations where the developer also has control over the deployment target&nbsp;environment.&nbsp;
<br>
<br>
I'm just&nbsp;starting to use the newer tools now, and am hoping that this situation is addressed in VS2008 some way or another, either by improving application configuration, or by providing better direction to developers in the form of documentation that is clearer,
 consistent and -- just as important -- easy to find.<br>
<br>
&#43;&#43;&#43;<br>
<br>
I should have mentioned:&nbsp; If you do use Typed Data Sets, don't put the Data Access Layer in a separate (class library) project.&nbsp; Instead, just add it to your Web project.&nbsp; If you do it that way, your table adapter WILL be able to read the web.config file, will
 do so at runtime, and you won't run into the deployment problem.&nbsp; <br>
<br>
This is the approach taken by Scott Mitchell in his excellent tutorial series on the ASP.NET community site.&nbsp; In one of the tutorials, Scott recommends placing the DAL in a separate project, even though the sample application is all in one project, for simplicity.&nbsp;
 Recommendation: check out the data tutorials, but do as he DOES, not as he SAYS <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/209406-Connection-String-for-Typed-Datasets/0de7cc7ca8a64ab38b569dea0143bc1c#0de7cc7ca8a64ab38b569dea0143bc1c</link>
		<pubDate>Fri, 04 Jan 2008 00:21:51 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/209406-Connection-String-for-Typed-Datasets/0de7cc7ca8a64ab38b569dea0143bc1c#0de7cc7ca8a64ab38b569dea0143bc1c</guid>
		<dc:creator>vulcandeathgrip</dc:creator>
		<slash:comments>34</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/vulcandeathgrip/Discussions/RSS</wfw:commentRss>
	</item>
</channel>
</rss>