Share via


Refactor! for ASP.NET Beta released

After seeing the amazing success and interset in the great Refactor! for VB applications last year, we've been working with the folks at DevExpress to deliver a rich refactoring expereince around common Web scenarios and specific ASP.NET features.  My hats off to Mark and othesr at DevExpress for an amazing partnershpi and a fabulous product.  Check it out, tell your friends, and watch the screen cast --  it will blow you away -- everything you want to knowbelow:

 

https://www.devexpress.com/refactorasp

Training Videos

12-minute Training Video (1024x768):

https://www.devexpress.com/Products/NET/IDETools/RefactorASP/Presentation/Refactor_for_ASP_NET/

Same Training Video, full size (for larger monitors):

https://www.devexpress.com/Products/NET/IDETools/RefactorASP/Presentation/Refactor_for_ASP_NET_Full/

Screen Shots

https://www.devexpress.com/Products/NET/IDETools/RefactorASP/Presentation/MoveStyleAttributesToCss.png

https://www.devexpress.com/Products/NET/IDETools/RefactorASP/Presentation/MoveToCodeBehind.png

https://www.devexpress.com/Products/NET/IDETools/RefactorASP/Presentation/SurroundWithUpdatePanel.png

Support

ASP.NET developers should contact support@devexpress.com with any questions, issues, or suggestions concerning this release.

We have also established a newsgroup at news.devexpress.com for this product:

devexpress.public.refactor.asp

Our developers monitor this newsgroup.

Content

This drop includes 25 refactorings, nine of which are dedicated to ASP.NET development:

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

(Extract to User Control will arrive in a future drop)

This drop also includes 16 standard refactorings that work inside *.cs and *.vb code-behind files (most of these refactorings also work on code placed inside <script> tags):

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

Known Issues

· Extract Style (Class) and Extract Style (id) are not available inside content pages. We will address this in a future release.

· Surround with Update Panel does not modify the Web.Config file. We are still deciding whether it makes sense to change this or whether it makes more sense to suppress availability of the refactoring if the project is not set up to exploit AJAX.

Comments

  • Anonymous
    February 02, 2007
    Brian Goldfarb mentioned this on his blog a little bit ago and I thought it was certainly worth repeating

  • Anonymous
    February 02, 2007
    I installed it and I don't seem to see anything different Is there special install instructions?

  • Anonymous
    February 03, 2007
    Hm...I'm having the same issue as SG

  • Anonymous
    February 04, 2007
    Dear Gentlemen: I would be grateful if anyone could tell me what the rank of Cfn. stands for.. in the Canadian Infantry Corps tfd. R.C.E.M.E. in WWII. Thank-you.

  • Anonymous
    February 04, 2007
    Hi SG, Refactor! is designed to be as unobtrusive as possible, so you won't see any menus or splash screens to alert you of its presence. Instead, you need to select the code move the caret onto the element you want to change. 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 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 of a valid install is to move the caret onto an identifier or style that can be renamed and look for a smart tag beneath that idendifier. 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.

  • Anonymous
    February 04, 2007
    Noticed two typos in my previous post:

  1. "Instead, you need to select the code move the caret onto the element you want to change." should have been: "Instead, you need to select the code or move the caret onto the element you want to change."
  2. "idendifier" should have been "identifier".
  • Anonymous
    February 04, 2007
    Noticed two typos in my previous post:
  1. "Instead, you need to select the code move the caret onto the element you want to change." should have been: "Instead, you need to select the code or move the caret onto the element you want to change."
  2. "idendifier" should have been "identifier".