Free refactoring tools for ASP.NET code in Visual Studio 2005

Free refactoring tools for ASP.NET code in Visual Studio 2005

  • Comments 15

DevExpress today announced the availability of Refactor! for ASP.NET -- a free add-on to Visual Studio 2005 that enables very cool refactoring capabilities for ASP.NET code. The add-on can be downloaded from here:

http://www.devexpress.com/refactorasp

The add-on includes the following ASP.NET refactorings:

  • Add Validator
  • Extract ContentPlaceHolder
  • Extract ContentPlaceHolder (and create master page)
  • Extract Style (Class)
  • Extract Style (id)
  • Move to Code-behind
  • Move Style Attributes to CSS
  • Rename Style
  • Surround with Update Panel

Here are some screenshots showing a few of the refactoring capabilities:

 

 

The add-on also includes the following "standard" refactorings that work inside <script> tags as well as inside *.cs and *.vb files belonging to an ASP.NET project:

  • Extract Method
  • Extract Property
  • Flatten Conditional
  • Inline Temp
  • Introduce Constant
  • Introduce Local
  • Move Declaration near Reference
  • Move Initialization to Declaration
  • Reorder Parameters
  • Rename
  • Replace Temp with Query
  • Reverse Conditional
  • Safe Rename
  • Simplify Expression
  • Split Initialization from Declaration
  • Split Temporary Variable

To learn more check out this great video tutorial showing the product in action.

If you are a source view junkie like myself, and do a lot of ASP.NET in Visual Studio 2005, I highly recommend grabbing this free add-on.  Enjoy!

-- Omar (Group Program Manager, WebTools Team)

  • Non sviluppo in ASP.net ma questo sembra un tool interessante: DevExpress today announced the availability

  • Refactor!™ for ASP.NET是一款很酷的ASP.NET代码重构插件,可以集成到Visual Studio 2005中。提供的功能包括添加验证控件、提炼ContentPlaceHolder并创建母版页等,如下所示:

  • Refactor!&#8482; for ASP.NET 是一款很酷的 ASP.NET 代码重构插件,可以集成到 Visual Studio 2005 中。提供的功能包括添加验证控件、提炼 ContentPlaceHolder

  • Hi,

    I'm having trouble with this tool - its installed, but the only time i get a refactoring option is to rename a method. none of the great stuff you mention.

    Any idea what the problem is?

  • Refactor! is designed to be as unobtrusive as possible, so you won't see any menus or splash screens to alert you to its presence. Instead, you need to select the code or move the caret onto the element you want to change. Then you'll see a small smart tag near the caret telling you a refactoring is

    available.

    Refactor! for ASP.NET works in VS 2005, but will not work in earlier versions of VS. Also, it only works on code belonging to ASP.NET projects.

    Note that some refactorings are not available yet on content pages, so if you're expecting a refactoring inside a page that is referred to by a ContentPlaceholder, that may be why you're not seeing what you're expecting.

    Probably the easiest test is to move the caret onto an identifier or style that can be renamed and look for a smart tag beneath that identifier. If you don't see a smart tag and/or if pressing Ctrl+` (Ctrl plus the back-tick) fails to do anything, please contact support@devexpress.com and send them a small sample to help us reproduce the issue.

    Also, for Surround with Update panel to be available, the Atlas extensions must be installed on your machine.

    If you're still having trouble getting smart tags or the Refactor! popup menu to appear, please send a small sample ASP.NET project that we can reproduce the problem with to support@devexpress.com.

  • Hi!

    <a href= thanks for sharing ></a>   [url=thanks for sharing][/url]  

  • Hi!

    <a href= 45e386443077da53fcfe55cc64300f01

    ></a>   [url=45e386443077da53fcfe55cc64300f01

    ][/url]  

  • Hopefully we'll see Expression Web sync in the next release for add-on architecture so my web designers can take advantage of the CSS refactoring. Visual Studio is too big for what they typically work with.

  • Me acabo de encontrar con este add-on gratuito para Visual Studio 2005. Sirve para refactorizar el código

  • Me acabo de encontrar con este add-on gratuito para Visual Studio 2005. Sirve para refactorizar el código

  • Leía el post de Eugenio: Refactor!™ for ASP.NET (descarga gratuita cuando se redacto este post),...

  • Leía el post de Eugenio : Refactor!™ for ASP.NET (descarga gratuita cuando se redacto este post), e inmediatamente

  • A while back I posted about some great free refactoring tools for ASP.NET. The folks at Developer Express

  • 今天升级到VS2008,在写代码时想做一些重构(refactor)的操作,却发现VS的重构没有提供提取常量(extractconstant的功能。查找了一下,找到了这个著名的第三方重构插件:Ref...

Page 1 of 1 (15 items)