Hello,
i've been using C. Coller's excellent CopyAsHtml-Visual Studio addin for copying C# code as html to a webpage.
Now, i started to wonder if there exists a similar tool for converting the aspx-markup to valid html to show on page? Functionality that i'm looking for can be seen on G. Houston's blog.
F.ex. if i feed this
<asp:Button id="btnSthing" runat="server"></button>
into the tool in link above, it generates the following for me:
<pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color:
#000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height:
14px;padding: 5px; overflow: auto; width: 100%"><code><asp:Button id="
btnSthing" runat="server"></button></code></pre>
and i can simply copy and paste this into a website to show the aspx-markup used.
If there's a tool for this sort of functionality, that would integrate into VS, i'd like to hear about it! Other methods for achieving this effect would be greatly appreciated too!
greets, J.Arola