<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Migrating from Cold Fusion to ASP.NET</title><link>http://forums.asp.net/49.aspx</link><description>Discuss moving from Cold Fusion to ASP.NET.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: newb coming from CF</title><link>http://forums.asp.net/thread/2226487.aspx</link><pubDate>Tue, 11 Mar 2008 20:04:23 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2226487</guid><dc:creator>commadercody</dc:creator><author>commadercody</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2226487.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=49&amp;PostID=2226487</wfw:commentRss><description>&lt;p&gt;Luke,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Make sure you use the AJAX control toolkit, it will make your migration that much easier.&amp;nbsp;&amp;nbsp;I have to admit that four years ago when I left CFML and it paid my bills since 1997 I was&amp;nbsp;a little scared.&amp;nbsp; But, now, I don&amp;#39;t even think about going back.&amp;nbsp; Just take a look at the toolkits, simple open and close tags just like &amp;lt;cfquery&amp;gt; :)&lt;/p&gt;</description></item><item><title>Re: newb coming from CF</title><link>http://forums.asp.net/thread/2096922.aspx</link><pubDate>Tue, 08 Jan 2008 14:57:15 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2096922</guid><dc:creator>lukenukum</dc:creator><author>lukenukum</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2096922.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=49&amp;PostID=2096922</wfw:commentRss><description>&lt;p&gt;hi Jeev,&lt;br /&gt;&lt;br /&gt;thanks for getting back to me so soon!&lt;/p&gt;
&lt;p&gt;&amp;gt; Session variables are infact stored in the server memory and the values are user&amp;nbsp;session dependant,&lt;br /&gt;&amp;gt; hence the name session variables&amp;nbsp;.The values in the web.config ie connectionstring, appsettings etc&lt;br /&gt;&amp;gt; are available to you at any time you need them in code&lt;br /&gt;&lt;br /&gt;yes, sorry... i think what i&amp;nbsp;was trying to get at was is the web.config like and&amp;nbsp;application.cfm.&lt;/p&gt;
&lt;p&gt;&amp;gt; you would be better off splitting it into&amp;nbsp; methods depending upon what functionality you wish to accomplish.&lt;br /&gt;&amp;gt; Also depending on the need to do certain things at certain times in the page lifecycle, you can put things&lt;br /&gt;&amp;gt; in the init, Prerender events etc to name a few&lt;br /&gt;&lt;br /&gt;more reading up here then!&lt;/p&gt;
&lt;p&gt;&amp;gt; SqlDataReaders work only when the connection is open and by default output is not cached. Could you&lt;br /&gt;&amp;gt; load the information into a table which is a page level variable if you need it at multiple places&lt;br /&gt;&lt;br /&gt;interesting, i shall look it up.&lt;/p&gt;
&lt;p&gt;&amp;gt;&amp;nbsp;Well you have the concept of user controls to break a single page into multiple pieces.&lt;br /&gt;&lt;br /&gt;yes, the more i use it i guess things will become clear.&lt;/p&gt;
&lt;p&gt;&amp;gt;&amp;nbsp;I&amp;#39;d suggest looking at some tutorials that are available on this site just to familiarize yourself with the new concepts&lt;br /&gt;&lt;br /&gt;yep, have been... its just i seem to be in a middle ground of knowing what i want to achieve and being able to do it in many ways but the syntax is foxing me a bit.&lt;/p&gt;
&lt;p&gt;&amp;gt; Hope this helps and all the best on this new journey. I&amp;#39;m sure you will enjoy it&lt;br /&gt;&lt;br /&gt;sure does, many thanks for the reply... i&amp;#39;ve got a couple of books on the way so hopefully i&amp;#39;ll get up to speed at somepoint...&lt;/p&gt;
&lt;p&gt;cheers,&lt;/p&gt;
&lt;p&gt;Luke&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: newb coming from CF</title><link>http://forums.asp.net/thread/2096846.aspx</link><pubDate>Tue, 08 Jan 2008 14:30:59 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2096846</guid><dc:creator>Jeev</dc:creator><author>Jeev</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2096846.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=49&amp;PostID=2096846</wfw:commentRss><description>&lt;p&gt;Hi Luke.. let me try to answer your questions&lt;/p&gt;
&lt;p&gt;) &lt;em&gt;i&amp;#39;ve got a web.config page with a connection string it... is this where i would store such things&amp;nbsp;as session variables? ie - is the web.config available all the time to the app, or just when the page is&amp;nbsp;first called? --&lt;/em&gt; Web.config is not where you would store session variables.Session variables are infact stored in the server memory and the values are user&amp;nbsp;session dependant, hence the name session variables&amp;nbsp;.The values in the web.config ie connectionstring, appsettings etc are available to you at any time you need them in code&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;nbsp;at the moment i seem to be putting everything into the&amp;nbsp;Page_Load subroutine (my old top&amp;nbsp;to bottom approach)&amp;nbsp;- is this good normal practice or indeed required?&lt;/em&gt; -- You would be better off splitting it into&amp;nbsp; methods depending upon what functionality you wish to accomplish. Also depending on the need to do certain things at certain times in the page lifecycle, you can put things in the init, Prerender events etc to name a few&lt;/p&gt;
&lt;p&gt;c) &lt;em&gt;do SqlDataReaders only work when the SqlConnection is open or&amp;nbsp;is the output cached anywhere?&amp;nbsp;cf would hold a resultset which you could pull at anypoint on the page.--&lt;/em&gt; SqlDataReaders work only when the connection is open and by default output is not cached. Could you load the information into a table which is a page level variable if you need it at multiple places&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;d) &lt;em&gt;how do you know if your page has too cumbersome and needs breaking up into new pages&lt;/em&gt;? -- Well you have the concept of user controls to break a single page into multiple pieces.&lt;/p&gt;
&lt;p&gt;I&amp;#39;d suggest looking at some tutorials that are available on this site just to familiarize yourself with the new concepts&lt;/p&gt;
&lt;p&gt;Hope this helps and all the best on this new journey. I&amp;#39;m sure you will enjoy it &lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>newb coming from CF</title><link>http://forums.asp.net/thread/2096734.aspx</link><pubDate>Tue, 08 Jan 2008 13:39:34 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2096734</guid><dc:creator>lukenukum</dc:creator><author>lukenukum</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2096734.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=49&amp;PostID=2096734</wfw:commentRss><description>&lt;p&gt;hi folks,&lt;/p&gt;
&lt;p&gt;im finally making the plunge and learning asp.net bit by bit (quite literally it feels sometimes!). i&amp;nbsp;am (or was)&amp;nbsp;diehard coldfusion developer but am moving into asp.net to up my skillset and hopefully become more object oriented.&lt;/p&gt;
&lt;p&gt;being someone who&amp;#39;s used to just wacking open a .cfm&amp;nbsp;page and working top to bottom with a fusebox type methodology im finding it a little difficult to get my head round some of the very basic foundations of the way the server works... my head keeps going back to &amp;quot;well in coldfusion i&amp;#39;d do it like this, whats all this extra stuff, hmmm, am i putting this in the&amp;nbsp;ideal place for the job&amp;quot;.&lt;br /&gt;&lt;br /&gt;im working on a basic web app with a code-behind page...&lt;/p&gt;
&lt;p&gt;a) i&amp;#39;ve got a web.config page with a connection string it... is this where i would store such things&amp;nbsp;as session variables? ie - is the web.config available all the time to the app, or just when the page is&amp;nbsp;first called?&lt;br /&gt;b) at the moment i seem to be putting everything into the&amp;nbsp;Page_Load subroutine (my old top&amp;nbsp;to bottom approach)&amp;nbsp;- is this good normal practice or indeed required?&lt;br /&gt;c) do SqlDataReaders only work when the SqlConnection is open or&amp;nbsp;is the output cached anywhere?&amp;nbsp;cf would hold a resultset which you could pull at anypoint on the page.&lt;br /&gt;d) how do you know if your page has too cumbersome and needs breaking up into new pages?&lt;br /&gt;&lt;br /&gt;oh dear, so many questions have i!&lt;/p&gt;
&lt;p&gt;i&amp;#39;ll call it a day there - any advice, tips, basic&amp;nbsp;methodolgy, diagrams, alcohol etc&amp;nbsp;for a cf developer making the move greatly appreciated!!!&lt;br /&gt;&lt;br /&gt;cheers,&lt;/p&gt;
&lt;p&gt;Luke&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>