<?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: Convert Coldfusion pages to ASP.NET</title><link>http://forums.asp.net/thread/2360179.aspx</link><pubDate>Thu, 15 May 2008 14:50:52 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2360179</guid><dc:creator>hrnc</dc:creator><author>hrnc</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2360179.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=49&amp;PostID=2360179</wfw:commentRss><description>&lt;p&gt;Charlie,&lt;/p&gt;
&lt;p&gt;I had the unfornuate opportunity of attending one of your classes &amp;quot;Running CFM on .net&amp;quot; or some such. It was basically an ad for Blue Dragon. I spoke up in that class and expressed my concern of attending an ad rather than an actual class. Turns out you had no good response to any of the questions that I or any of the other attendees had about it. I promptly left that class and had my money refunded. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;Seems very similar to what is here. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Convert Coldfusion pages to ASP.NET</title><link>http://forums.asp.net/thread/2282159.aspx</link><pubDate>Mon, 07 Apr 2008 22:08:25 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2282159</guid><dc:creator>lespaul00</dc:creator><author>lespaul00</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2282159.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=49&amp;PostID=2282159</wfw:commentRss><description>&lt;p&gt;I have a simple site coded in CFML.&amp;nbsp; I need to change it to asp.net, but i&amp;#39;m not familiar with asp.&amp;nbsp; Any help, or tutorial that may be helpful?&amp;nbsp; It&amp;#39;s mostly sql queries based on drop down list selections.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Nick&lt;/p&gt;</description></item><item><title>Re: Convert Coldfusion pages to ASP.NET</title><link>http://forums.asp.net/thread/2276213.aspx</link><pubDate>Fri, 04 Apr 2008 08:59:11 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2276213</guid><dc:creator>Menthol</dc:creator><author>Menthol</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2276213.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=49&amp;PostID=2276213</wfw:commentRss><description>&lt;p&gt;Hi &lt;strong&gt;Yubo!&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;This is very old post but i tought i will still reply. Maybe this will help you or some other. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have field called account_disabled in database. Values on that field are 0 if not disabled and 1 if account is disabled.&lt;/p&gt;&lt;p&gt;I have checkbox inside of DataList component and it&amp;#39;s EditItemTemplate. So i needed to make that box &amp;quot;checked&amp;quot; if the value is 1. Below you can see how i did manage to do it&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;&lt;/p&gt;&lt;pre class="coloredcode"&gt;&lt;b id="1"&gt;1    &lt;/b&gt;&amp;lt;&lt;span class="tag"&gt;input&lt;/span&gt;&lt;span class="attr"&gt; type=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;checkbox&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; name=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;chkDisabled&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; id=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;chkDisabled&amp;quot;&lt;/span&gt; &lt;span class="dir"&gt;&amp;lt;%#&lt;/span&gt;Replace(Replace(Eval(&amp;quot;account_disabled&amp;quot;), &amp;quot;1&amp;quot;, &amp;quot;checked&amp;quot;), &amp;quot;0&amp;quot;, &amp;quot;&amp;quot;)&lt;span class="dir"&gt;%&amp;gt;&lt;/span&gt; /&amp;gt;&lt;/pre&gt;&lt;pre class="coloredcode"&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class="coloredcode"&gt;Im not sure if it will work with asp:CheckBox..&lt;/pre&gt;&lt;pre class="coloredcode"&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class="coloredcode"&gt;Sorry about my poor English :)&amp;nbsp;&lt;/pre&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;</description></item><item><title>Re: Convert Coldfusion pages to ASP.NET</title><link>http://forums.asp.net/thread/2238446.aspx</link><pubDate>Mon, 17 Mar 2008 20:54:05 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2238446</guid><dc:creator>carehart</dc:creator><author>carehart</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2238446.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=49&amp;PostID=2238446</wfw:commentRss><description>I think you&amp;#39;re chasing a pipe dream. There is none I&amp;#39;ve ever heard of, and I can&amp;#39;t imagine there ever will be. Coding in traditional CFML is SO different than coding in ASP.NET. It just would never work for an automated tool to do that conversion. 
&lt;p&gt;That said, many who extol the benefits of converting an app from CF to something else (making it more maintainable and scalable) would find that if they just rewrote it in CFML (staying on CF or BD) would see many of the same benefits. Often the improvements come both from using more modern coding practices (separation of view code from business logic), as well as simply from having a fresh start to incorporate a better understanding of the problem domain, rather than using duct tape and rubber bands to add functionality to an old system. In that respect, coding in CF is not that different from many other procedural languages. But since 2002 it&amp;#39;s been possible to write far more reusable, component-oriented code in CFML. It&amp;#39;s just that most have never taken the time to rewrite old apps to leverage that. &lt;br /&gt; &lt;/p&gt;&lt;p&gt;Still, I&amp;#39;m not denying that if you want it running on .NET (and you don&amp;#39;t want to use BD.NET to get there), then you have no choice but to rewrite. Maybe you have no more CFML developers, or you have a pool of ASP.NET developers available. Even if you don&amp;#39;t want to use BD and really want pure ASP.NET code in a conversion from CFML, you may still want to contact them (sales@newatlanta.com) and ask about possible services to do such conversion.&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p&gt;(BTW, no, I don&amp;#39;t work for New Atlanta. Though I did when this thread started in early 2006,  I left two years ago this month. It&amp;#39;s no knock on the product. I just wanted to be able to help people as much with CF challenges as with BD ones. And I still believe BD.NET&amp;#39;s the best way--indeed the only way--for a shop to get their CFML apps running natively on .NET. CF8 has added new features to enable greater integration between CFML and .NET, but to truly run CFML *on* .NET, BD.NET is the way to go.)&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Convert Coldfusion pages to ASP.NET</title><link>http://forums.asp.net/thread/2238302.aspx</link><pubDate>Mon, 17 Mar 2008 19:58:02 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2238302</guid><dc:creator>jmanley</dc:creator><author>jmanley</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2238302.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=49&amp;PostID=2238302</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Is there a tool that will convert CFML to asp.net (NOT BLUEDRAGON) a straight conversion?!?!?!?!?!?!&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Convert Coldfusion pages to ASP.NET</title><link>http://forums.asp.net/thread/1229089.aspx</link><pubDate>Fri, 17 Mar 2006 04:05:13 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1229089</guid><dc:creator>NHustak</dc:creator><author>NHustak</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1229089.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=49&amp;PostID=1229089</wfw:commentRss><description>&lt;p&gt;Charlie - good enough&amp;nbsp; - we just have a difference of opinions on the matter and I appreciate the professional manner in which you have delt with it. I understand what you are saying, I just disagree with the idea of it&amp;nbsp; - not BD in particular.&amp;nbsp; I should have made this plain in my original post and for this I apologize. (and yes I do understand BD isn't on top of CF&amp;nbsp;- it's on top of .NET - and&amp;nbsp; I should have said 'interpreter' layer instead of conversion&amp;nbsp;)&lt;/p&gt;
&lt;p&gt;Yubu - you are running into EXACTLY the same problem I have had ( and trying many of the same solutions) - the inability to easily set &amp;lt;ASP:xx&amp;gt; parameters via a loop or repeater.&amp;nbsp;&amp;nbsp; I've yet to get an answer to it so I'm not going to be of much help.&amp;nbsp; My issue was in trying to use linkbuttons - I finally just gave up and used traditional anchors.&amp;nbsp; It really seems like ASP.NET is not setup to make use of the code blocks - which really sucks.&amp;nbsp;&amp;nbsp; Having both code blocks and code behind would be extremely powerful and put it nearly on RAD speed of CF - and it may yet be there somewhere, but I've yet to figure it out.&amp;nbsp;&amp;nbsp; The problem is the loop in the &amp;lt;% %&amp;gt; code is not executed at the same time as the &amp;lt;ASP:xx&amp;gt; components are built.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;What I would try for your issue is a place holder combined with building the check box components manually in the code behind.&amp;nbsp;&amp;nbsp;I THINK this would work - I have yet to try it.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Nick H&lt;/p&gt;</description></item><item><title>Re: Convert Coldfusion pages to ASP.NET</title><link>http://forums.asp.net/thread/1228628.aspx</link><pubDate>Thu, 16 Mar 2006 18:03:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1228628</guid><dc:creator>carehart</dc:creator><author>carehart</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1228628.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=49&amp;PostID=1228628</wfw:commentRss><description>&lt;p&gt;Nick, yes, sorry, I do work for New Atlanta. My email client would of course place that in my signature but typing this email here I didn't think to add it. (Actually, I'd also presumed it was clear from my previous postings in this forum, but of course it's reasonable that someone in a new thread may not have seen previous ones.)&lt;/p&gt;
&lt;p&gt;Your comment about being a highly experienced coder sounds like you're trying to defend against some attack by me on your skills. I wasn't at all. I was just asking whether your experience with BD was contemporary. Glad to hear it was about 18 months ago. I can promise you that (just as CFMX has had multiple hotfixes and point releases since then), BlueDragon 6.2.1 would be a very different experience than your attempt back then.&lt;/p&gt;
&lt;p&gt;But you equate BD with a Bandaid, and "another layer". Just want to clarify: it's not another layer "on top of CF", if that's what you meant. It is a replacement for CF. Just as CFMX runs on top of the J2EE framework, BD.NET runs on top of the .NET framework. CF doesn't run on .NET at all, so if one wants to run CFML natively on .NET, BD.NET is the only choice.&lt;/p&gt;
&lt;p&gt;This isn't a "political" discussion, nor is it a sales pitch. It's just a fact. The sad thing, again, is that just as some who don't use CF want to cast it in a negative light, similarly those in the CF community who don't use BD or don't understand it will often regard it negatively as well. But Microsoft certainly appreciates what BD.NET can do. They did a whitepaper on it at the MSDN site:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://members.microsoft.com/CustomerEvidence/Search/EvidenceDetails.aspx?EvidenceID=3606&amp;amp;LanguageID=1"&gt;http://members.microsoft.com/CustomerEvidence/Search/EvidenceDetails.aspx?EvidenceID=3606&amp;amp;LanguageID=1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Also, they had me do a 2-part webcast this week, showing the benefits of running CFML natively on .NET. Just finished the second part. When I have the URLs for the recordings, I'll be happy to share them for those interested. &lt;/p&gt;
&lt;p&gt;Finally, Nick, you say you "don't consider Blue Dragon a platform to move to". Well, we're saying .NET is the platform. BlueDragon isn't a "conversion layer". Not at all. Your CFML remains CFML. We just provide the runtime for it atop .NET, again just like CFMX (and Java versions of BlueDragon) offer a CFML runtime&amp;nbsp;atop J2EE. There's no "conversion", nor "migration". It's simply about redeployment. &lt;/p&gt;
&lt;p&gt;If one wants to use ASP.NET, go for it. But if one has a large legacy investment in CFML and CFML developers, BD.NET just helps smooth the transition of getting them onto .NET, converting code (if ever) at their own pace and affording them the time to learn .NET as well as they know CFML Hope that's helpful.&lt;/p&gt;
&lt;p&gt;/charlie&lt;br /&gt;Chief Evangelist&lt;br /&gt;New Atlanta Communications, LLC&lt;/p&gt;</description></item><item><title>Re: Convert Coldfusion pages to ASP.NET</title><link>http://forums.asp.net/thread/1228406.aspx</link><pubDate>Thu, 16 Mar 2006 15:25:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1228406</guid><dc:creator>Yubo</dc:creator><author>Yubo</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1228406.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=49&amp;PostID=1228406</wfw:commentRss><description>&lt;p&gt;Hi, thanks. I still have not figured out that solution.&lt;/p&gt;
&lt;p&gt;Yes, the number of the list of checkbox is determined at runtime.
the DataSet is as follows, where 0 and 1 are the checkboxes checked
values, (the number of 0 and 1s vary by the query):&lt;/p&gt;
&lt;p&gt;Developer&amp;nbsp;1&amp;nbsp;1&amp;nbsp;0&amp;nbsp;0&amp;nbsp;0&amp;nbsp;0&amp;nbsp;0&amp;nbsp;0&amp;nbsp;1&amp;nbsp;0&amp;nbsp;0&amp;nbsp;0&amp;nbsp;0&amp;nbsp;0&amp;nbsp;0&amp;nbsp;0&amp;nbsp;0&amp;nbsp;0&amp;nbsp;0&lt;br /&gt;End User&amp;nbsp;1&amp;nbsp;0&amp;nbsp;0&amp;nbsp;0&amp;nbsp;0&amp;nbsp;0&amp;nbsp;0&amp;nbsp;0&amp;nbsp;1&amp;nbsp;0&amp;nbsp;0&amp;nbsp;0&amp;nbsp;0&amp;nbsp;0&amp;nbsp;0&amp;nbsp;0&amp;nbsp;0&amp;nbsp;0&amp;nbsp;0&lt;br /&gt;Project Manager&amp;nbsp;1&amp;nbsp;1&amp;nbsp;1&amp;nbsp;0&amp;nbsp;0&amp;nbsp;0&amp;nbsp;1&amp;nbsp;0&amp;nbsp;1&amp;nbsp;0&amp;nbsp;1&amp;nbsp;0&amp;nbsp;0&amp;nbsp;0&amp;nbsp;0&amp;nbsp;0&amp;nbsp;0&amp;nbsp;0&amp;nbsp;1&lt;br /&gt;Quality Assurance&amp;nbsp;1&amp;nbsp;1&amp;nbsp;1&amp;nbsp;0&amp;nbsp;0&amp;nbsp;0&amp;nbsp;1&amp;nbsp;0&amp;nbsp;1&amp;nbsp;0&amp;nbsp;1&amp;nbsp;0&amp;nbsp;0&amp;nbsp;0&amp;nbsp;0&amp;nbsp;0&amp;nbsp;0&amp;nbsp;0&amp;nbsp;1&lt;/p&gt;
&lt;p&gt;The two ways I tried to create checkboxes with correct 'Checked' property failed:&lt;/p&gt;
&lt;p&gt;1) Imbed CheckBoxes in a repeater&lt;/p&gt;
&lt;p&gt;&amp;lt;asp:Repeater ID="rpEHierarchy" Runat=server&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;ItemTemplate&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;tr&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;td width='20%'&amp;gt;&amp;lt;%# DataBinder.Eval(Container.DataItem, "Role") %&amp;gt;&amp;lt;/td&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;font&gt;for loop....&lt;/font&gt;&lt;/p&gt;&lt;font size="2"&gt;
&lt;p&gt;colName = DataSet.Tables[0].Columns[i].ColumnName;&lt;/p&gt;&lt;/font&gt;
&lt;p&gt;&lt;font size="2"&gt;&amp;lt;td width='10%'&lt;/font&gt;&lt;font&gt;&amp;gt;&amp;lt;asp:CheckBox ID="Checkbox8" Runat=server Checked='&amp;lt;%# DataBinder.Eval(Container.DataItem, &lt;font&gt;colName &lt;/font&gt;) %&amp;gt;'&amp;gt;&amp;lt;/asp:CheckBox&lt;/font&gt;&lt;font size="2"&gt;&lt;font&gt;&amp;gt;&amp;lt;/&lt;/font&gt;td&amp;gt;&lt;/font&gt; &amp;lt;/tr&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;font&gt;end loop&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font&gt;the colName is not acceptable as a variable in DataBinder.Eval();&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;2) Using while loop to pupulate checkboxes:&lt;/p&gt;
&lt;p&gt;&amp;lt;%
			while(n&amp;lt;%=role%&amp;gt;&amp;lt;%
				while(n&amp;lt;%if(ShierarchyDS.Tables[0].Rows[n][2].ToString()=="True") isChecked=true;
						  else isChecked = false;
						%&amp;gt;&amp;lt;% &lt;/p&gt;
&lt;p&gt;&amp;nbsp;int j=0; isChecked = false;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;while loop for rows&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;while loop for columns&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{%&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;td&amp;nbsp; width='10%'&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font&gt;&amp;nbsp;&amp;nbsp;&amp;lt;%if(DataSet.Tables[0].Rows[n][2].ToString()=="True") isChecked=true;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else isChecked = false;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;%&amp;gt;&lt;br /&gt;&lt;/font&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font&gt;&amp;nbsp;&amp;lt;asp:CheckBox ID=ckRight Runat=server Checked='&amp;lt;%#&lt;font&gt;isChecked&lt;/font&gt;%&amp;gt;'&amp;gt;&amp;lt;/asp:CheckBox&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;&lt;/font&gt;&amp;nbsp;end loop&lt;/p&gt;
&lt;p&gt;end loop&lt;/p&gt;
&lt;p&gt;&lt;font&gt;isChecked&lt;/font&gt;&lt;font&gt;&amp;nbsp; here is a property.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;but this approach would not generate desired checked values.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;%n++; 
				}
				if(n&amp;lt;%		
			}%&amp;gt;&amp;lt;%n++; 
				}
				if(n&amp;lt;%		
			}%&amp;gt;&amp;lt;%n++; 
				}
				if(n&amp;lt;%		
			}%&amp;gt;&amp;lt;%n++; 
				}
				if(n&amp;lt;%		
			}%&amp;gt;&amp;lt;%
			while(n&amp;lt;%=role%&amp;gt;&amp;lt;%
				while(n&amp;lt;%if(ShierarchyDS.Tables[0].Rows[n][2].ToString()=="True") isChecked=true;
						  else isChecked = false;
						%&amp;gt;&amp;lt;%n++; 
				}
				if(n&amp;lt;%		
			}%&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;%
			while(n&amp;lt;%=role%&amp;gt;&amp;lt;%
				while(n&amp;lt;%if(ShierarchyDS.Tables[0].Rows[n][2].ToString()=="True") isChecked=true;
						  else isChecked = false;
						%&amp;gt;&amp;lt;%n++; 
				}
				if(n&amp;lt;%		
			}%&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Convert Coldfusion pages to ASP.NET</title><link>http://forums.asp.net/thread/1228357.aspx</link><pubDate>Thu, 16 Mar 2006 14:49:20 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1228357</guid><dc:creator>NHustak</dc:creator><author>NHustak</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1228357.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=49&amp;PostID=1228357</wfw:commentRss><description>&lt;p&gt;Yubo,&lt;/p&gt;
&lt;p&gt;Ack, we are hijacking your thread for political discussions - my apologies.&amp;nbsp; We should be answering your questions.&lt;/p&gt;
&lt;p&gt;Question: You said the number of checksboxes is determined at runtime?&amp;nbsp; Is that what you meant?&amp;nbsp; Are you creating the checkboxes in code?&amp;nbsp;&amp;nbsp; Is the query in the code behind?&amp;nbsp;&amp;nbsp; Or are you using a code block loop to generate them?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Nick H&lt;/p&gt;</description></item><item><title>Re: Convert Coldfusion pages to ASP.NET</title><link>http://forums.asp.net/thread/1228342.aspx</link><pubDate>Thu, 16 Mar 2006 14:43:44 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1228342</guid><dc:creator>NHustak</dc:creator><author>NHustak</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1228342.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=49&amp;PostID=1228342</wfw:commentRss><description>&lt;p&gt;Perhaps I'm being a bit harsh/unfair&amp;nbsp;to BlueDragon -&amp;nbsp;I should have said compounding CF issues by inserting yet&amp;nbsp;another layer, whatever that layer is, &amp;nbsp;is a bad idea.&amp;nbsp; It's a band-aid.&amp;nbsp; I'm not sure how moving to CFMX relates to the questions, but ok.&amp;nbsp; I don't consider Blue Dragon a platform to move to - it's a conversion layer.&amp;nbsp;&amp;nbsp;&amp;nbsp; That said, the testing was done about a year and half ago.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;As far as my background goes - I'm a highly experienced CF coder, among other languages.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;BTW Charlie, do you work for BD?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Nick H&lt;/p&gt;
&lt;p&gt;All of the above is, of course, my opinions.&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: Convert Coldfusion pages to ASP.NET</title><link>http://forums.asp.net/thread/1226853.aspx</link><pubDate>Wed, 15 Mar 2006 11:09:03 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1226853</guid><dc:creator>RichWillmore</dc:creator><author>RichWillmore</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1226853.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=49&amp;PostID=1226853</wfw:commentRss><description>You might want to check out the events on the asp:checkboxlist or the asp:checkbox control.&amp;nbsp; Both have events such as OnLoad, OnDataBinding, OnPreRender.&amp;nbsp; During which you can fire off a function that will determine if the checkbox should be checked or not by flipping the boolean 'Checked' property.&amp;nbsp; I had to something similar on a DataList control so I fired off a function on the OnItemDataBound event.&lt;br /&gt;&lt;br /&gt;vr, Rich&lt;br /&gt;</description></item><item><title>Re: Convert Coldfusion pages to ASP.NET</title><link>http://forums.asp.net/thread/1226190.aspx</link><pubDate>Tue, 14 Mar 2006 17:47:57 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1226190</guid><dc:creator>carehart</dc:creator><author>carehart</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1226190.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=49&amp;PostID=1226190</wfw:commentRss><description>&lt;p&gt;Nick, you say, "Blue dragon has a lot of issues - I was in on a test at a (very large) client for it.&amp;nbsp; They passed on it."&lt;/p&gt;
&lt;p&gt;Can I just remind everyone that moving to CFMX can have "a lot of issues". It's all about perspective, as well as the state of your code. There are plenty of sites that move to BlueDragon with no issues at all, and some that have minor ones. There can be some who may have major ones. It's a little unfair to castigate it entirely like that.&lt;/p&gt;
&lt;p&gt;We all know that there are some who would pitch CF entirely into the bin. Sometimes their assertions are based on old knowledge, or even second-hand knowledge. I realize, Nick, that it may even have been just recently that you tested, so that may not be the issue here. Let's just all remember how we feel when someone spews on CF. We don't like it, and we know many who would not agree with the accusations. I'm just saying that I (and hundreds of happy customers) can say the same about BD, and especially BD.NET.&lt;/p&gt;
&lt;p&gt;If you have a LOT of legacy CFML, we feel that there's simply no better way to get that running in the better platform of .NET than to use BD.NET.&lt;/p&gt;
&lt;p&gt;/charlie&lt;/p&gt;</description></item><item><title>Re: Convert Coldfusion pages to ASP.NET</title><link>http://forums.asp.net/thread/1225855.aspx</link><pubDate>Tue, 14 Mar 2006 13:20:59 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1225855</guid><dc:creator>Yubo</dc:creator><author>Yubo</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1225855.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=49&amp;PostID=1225855</wfw:commentRss><description>&lt;p&gt;Thanks for the detailed response.&lt;/p&gt;
&lt;p&gt;I have no problem with data access layer and page validations conversion from Cfm to aspx. I did run into a problem yesterday with dynamically populated controls on the page. For example, a list of asp:CheckBox(s) are populated from the result of a database query, the number of which is determined at run time. I could not find a way to specify the "Checked" property of each checkbox. The following two methods does not work:&lt;/p&gt;
&lt;p&gt;1. the string "column" here can only be determined at run time, but &lt;font size=2&gt;DataBinder.Eval method doesn't allow a variable as a parameter.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size=2&gt;&amp;lt;td width='10%'&amp;gt;&amp;lt;asp:CheckBox ID="Checkbox8" Runat=server Checked='&amp;lt;%# DataBinder.Eval(Container.DataItem, &lt;strong&gt;"column")&lt;/strong&gt; %&amp;gt;'&amp;gt;&amp;lt;/asp:CheckBox&amp;gt;&amp;lt;/td&amp;gt;&lt;/font&gt;
&lt;p&gt;2. &amp;lt;asp:CheckBox ID=ckRight Runat=server Checked='&amp;lt;%#isChecked%&amp;gt;'&amp;gt;&amp;lt;/asp:CheckBox&amp;gt;&lt;/p&gt;
&lt;p&gt;using this isChecked property does not generate expected result.&lt;/p&gt;
&lt;p&gt;If you have any thoughts, I'd appreciate it.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;Yubo&lt;/p&gt;&lt;/p&gt;</description></item><item><title>Re: Convert Coldfusion pages to ASP.NET</title><link>http://forums.asp.net/thread/1225502.aspx</link><pubDate>Tue, 14 Mar 2006 04:37:06 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1225502</guid><dc:creator>NHustak</dc:creator><author>NHustak</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1225502.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=49&amp;PostID=1225502</wfw:commentRss><description>&lt;p&gt;Let me try answering the actual question.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;I'm having to do the same thing - convert over CF code to asp.net.&amp;nbsp;&amp;nbsp; It's actually not too bad.&amp;nbsp; I'm using alot of inline code.&amp;nbsp;&amp;nbsp; I built a base page code-behind page and inherit it for all my other pages to make data access easier.&amp;nbsp;&amp;nbsp; I use almost exclusively datasets and make use of the code behind whenever possible&amp;nbsp;&amp;nbsp; I've moved alot of places where there was CF code in a seperate file to the onclick function in the code-behind.&amp;nbsp; I moved most of my SQL code to stored procedures but got a little tired of that&amp;nbsp; - I ended up building a little piece of code to retrieve my SQL (mostly for inserts &amp;amp; updates - seems pointless to put them in a proc) &amp;nbsp;from a database right into the select of my datasets.&amp;nbsp; Makes it a lot easier to get the code up and running.&amp;nbsp;&amp;nbsp; From one of your other posts, I see you are using no third parties.&amp;nbsp; This should make it even easier.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Rather than populate my input forms inline, I convert them all to controls and populate them in my load routines.&amp;nbsp; The validation controls are much easier to work with than the CF validations.&amp;nbsp;&amp;nbsp; Also, learn how to use the CustomValidator (if you don't already)&amp;nbsp; You can use it to achieve the custom validations that CF has.&lt;/p&gt;
&lt;p&gt;So basically inline it where you can to&amp;nbsp;preserve the CF 'flow' and shift to the code behind when it can help make the code more legible.&amp;nbsp; Hopefully you aren't dealing with any fusebox code (god I hated that) or anything like that.&amp;nbsp;&amp;nbsp;&amp;nbsp; I have yet to find any CF code that I couldn't translate.&amp;nbsp; I make a lot of use of &amp;lt;!-- #include to simulate the CF_Include on shared coded.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Blue dragon has a lot of issues - I was in on a test at a (very large) client for it.&amp;nbsp; They passed on it. You're much better off converting it and escaping CF, though forget coding web pages as fast as CF.&amp;nbsp; However, I believe the integrated debugger makes up for this loss (and of course having a real language is great - I hate the whole CF script thing)&lt;/p&gt;
&lt;p&gt;Anyway, don't know if any of this helps - if you run into some specfic translation issues I might be able to help.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Nick H&lt;/p&gt;</description></item><item><title>Re: Convert Coldfusion pages to ASP.NET</title><link>http://forums.asp.net/thread/1216369.aspx</link><pubDate>Fri, 03 Mar 2006 20:06:24 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1216369</guid><dc:creator>RichWillmore</dc:creator><author>RichWillmore</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1216369.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=49&amp;PostID=1216369</wfw:commentRss><description>.NET is a different animal than CF.&amp;nbsp; Everything is an object whether you like it or not.&amp;nbsp; Even your aspx page becomes an object (though you may not notice it at first).&amp;nbsp; Converting from one page to another page may not be the best approach.&amp;nbsp; If your CF app seperated out business and presentation layers then your business layer would become your re-usable pre-complied assemblies (dll's) and your presentation would be in the aspx files.&amp;nbsp; That's a rough assumption but you get the idea.&lt;br /&gt;&lt;br /&gt;vr, Rich&lt;br /&gt;</description></item></channel></rss>