Extract to User Control in visual studio11

added by jalpesh
5/24/2012 10:17:52 AM

2 Kicks, 149 Views

I have been playing with Visual Studio 11 beta recently and everyday I am amazed with new features of it. Today I have found one more very useful feature Extract to User Control feature. In large projects, we are having large pages and its always good to user control(.ascx) but sometimes we are so lazy to create user controls and we remain with the whole page and even we can’t reuse that code. In similar kind of situation ‘Extract to user control’ can be quite useful. Suppose we have long HTML mark up and we need to convert one div to user control and then we can do it very easily with Visual Studio 11 beta Extract to User Control feature.


1 comments

dpeterson
5/24/2012 10:15:03 AM
I hadn't heard of that feature yet, very handy. There will be no excuse not to refactor now!