Tool to convert inline C# into a code behind file
Posted
by Jon Jones
on Stack Overflow
See other posts from Stack Overflow
or by Jon Jones
Published on 2010-03-11T17:47:08Z
Indexed on
2010/03/11
17:54 UTC
Read the original article
Hit count: 360
Hi
I have a number of legacy web controls (ascx) that contains huge amounts of inline C#. The forms contain a number of repeated and duplicate code. Our first plan is to move the code into code behinds per file, then refactor etc... were doing this to upgrade the client to the latest version of their cms
At the moment we are going to have to manually copy and paste from hundreds of files, create a code behind, copy the code, add the namespaces based on the client-side imports and then do any tidying up
does anybody PLEASE know of a tool that can do the majority of this work for us ?
Thanks
© Stack Overflow or respective owner