Tool to convert inline C# into a code behind file
- by Jon Jones
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