CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > migration_to_asp.net.migrating_from_cold_fusion_to_asp.net Tags:
Item Type: NewsGroup Date Entered: 9/7/2006 10:26:06 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 35 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
sudipsen@yahoo.
Asp.Net User
Migrating fron coldfusion to .net9/7/2006 10:26:06 AM

0/0

 
   
 
I need to convert the following code into .net. the existing code is in coldfusion and runs as a background process.
Can someone help me in converting this coldfusion code to .net code.

<code>
<CFPARAM NAME="ATTRIBUTES.JUSTIFY" DEFAULT="no">

  <CFIF NOT ThisTag.HasEndTag>
    <CFABORT SHOWERROR="You need to supply a closing <CF_FileWriteText> tag.">
  </CFIF>  

  <CFIF ThisTag.ExecutionMode is "End">
      <!--- If it has <pre> or <code> tags, just leave the whole page alone!! --->
      <!--- When CF reg expressions have non-greedy searching, I'll deal with this more intelligently --->
      <CFIF REFindNoCase("<pre>|<code>", ThisTag.GeneratedContent) EQ 0>
        <!--- Replace whitespace between CR/LFs with a single CF/LF --->
        <!--- That fixes almost all of the major whitespace --->
        <CFSET ThisTag.GeneratedContent = REReplace(ThisTag.GeneratedContent, "[#Chr(13)##Chr(10)#]+[[:space:]]*[#Chr(13)##Chr(10)#]+", "#Chr(13)##Chr(10)#", "ALL")>
        <!--- If JUSTIFYing, remove whitespace at beginning of each line --->
        <CFSET ATTRIBUTES.JUSTIFY = ucase(ATTRIBUTES.JUSTIFY)>
        <CFIF ATTRIBUTES.JUSTIFY EQ "Y" OR ATTRIBUTES.JUSTIFY EQ "YES">
            <CFSET ThisTag.GeneratedContent = REReplace(ThisTag.GeneratedContent, "[#Chr(13)##Chr(10)#][[:space:]]*", "#Chr(13)##Chr(10)#", "ALL")>
        </CFIF>
    </CFIF>
  </CFIF>

<CFSETTING ENABLECFOUTPUTONLY="NO">
</code>


Thank you in advance. :)

Sudip
RichWillmore
Asp.Net User
Re: Migrating fron coldfusion to .net9/7/2006 2:51:43 PM

0/0

What is the purpose of the code above?  It looks like some sort of custom tag that accepts HTML code, and returns the code less the white space... correct?\

vr, Rich
 


http://richwillmore.com
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
Migrating fron coldfusion to .net - ASP.NET Forums NET » Migrating from Cold Fusion to ASP.NET » Migrating fron coldfusion to .net ... Re: Migrating fron coldfusion to .net ...
Migrating from Cold Fusion to ASP.NET - ASP.NET Forums Coldfusion Connections to MSSSQL vs. ASP.net 2.0 to MSSQL by QuietObserver ... Migrating fron coldfusion to .net by [email protected]. Not Resolved ...
Migration Guide Depending on the extent of a Linux migration at the client end, NFS and AFS. may also be interesting alternatives. NFS and AFS are widely used in UNIX net- ...
visual basic, vb, active server pages (ASP),java, javscript,c, c++ ... On this article you'll learn how to catch the output HTML of an asp.net page. ... Output excel file easy with ColdFusion MX. Hi Many years ago i wrote an ...
Jacksonville, Florida, Custom Software Development Computer ... I have been an internet application developer for 5 years specializing in HTML, ColdFusion, Perl, JSP, and now ASP.NET. Here are a list of some of the sites ...
control,program,server servers, equipment,accounts, directory frontpage fron - There is a far greater reliability being hosted on a ..... coldfusion - We offers businesses quality, affordable dedicated servers, ...
JD on EP: Privacy/Security Archives NET aggregator... a Flash or Coldfusion flaw would get much attention in MXNA, ..... My name was used today as the apparent sender for a batch fron an ...
IFLA JOURNAL This is a general-subject net portal with quality- ...... tures such as ColdFusion or php-MySQL, a .... format migration. Although Lynch takes pains to ...
Windows Networking: Local Admin Rights, windows 2000 pro ... Maintained custom web services applications using Cold Fusion 5.0/MX and .... CIW Server Administrator Exam (1D0-450) Study Notes fron uCertify.com ...
Contact Me - Archive 1 « Journey to SQL Authority with Pinal Dave Send me the script for migrating the database from lower version to ...... Is thr any way to use coldfusion in .net(asp.net),if it is possible can you ...




Search This Site:










sharing/passing data between coldfusion and asp.net

<cfquery> vs. asp.net

treeview navigateurl

list of all query execution times for a page

<cfoutput> group attribute

is it possible to duplicate cf schedule in asp.net?

consuming a web service

current cf dev with some questions about migrating over...

web.config similar to application.cfc (or application.cfm)

specification for cfm to .net migration

anybody else miss being able to quickly get a webapp up?

changing coldfusion queries to store procedures

who is ben forta's asp.net?

cold fusion to asp.net

asp.net driving me nuts

looking for equivalents in asp.net (cfcs)

incredible no help or support for basic things like posting a value to another page

migrating from coldfusion to .net

asp to clear cache?

logic separate from presentation

questionnaires

coldfusion vs asp

converting coldfusion to asp.net

cold fusion can do it! how can i get vb to do it?

converting from coldfusion to asp.net newbie questions

convert coldfusion pages to asp.net

asp.net vs coldfusion

coldfusion site navigation.... how do i do this in asp.net?

cfc in asp.net

migrating fron coldfusion to .net

  Privacy | Contact Us
All Times Are GMT