[MonoDevelop] New Patch to MonoDevelop.WebReference Addin

Luciano _ lnc19 at hotmail.com
Sun Nov 2 19:29:28 EST 2008


Hi:
     I attach 2 files:

     1) A screenshot of a new future (MonoDevelop.WebReference).
     2) The patch.

Explanation has two parts:

1) A minor "change" to delete command: Confirm Dialog when deleting a WebReference and the same for the "Delete All Reference".

2) The second part, and bigger, is a Future: with this patch WebReference let you select a Project to store the URL in the project app.config file. If the file (app.config) doesn't exists, it is created automatically with this key, if exists, and you have more keys in this file, it let you select one previous added key or add new one. If you update a WebReference that has a "Key" in the app.config file assigned and proxy was generated against this key, it re-creates the proxy class with this configuration reference.
I did this configuration per-project and not for the selected project beacause some times you've a project which is a library and you don't want to store the URL in this app.Config file, beacause is not the right one, you want to store it in the main Exe file or some other project. If you select a config key, the proxy class gets a new Constructor like:

public MyWebServices (bool useConfig)
{
    ...Config Managment here...
}

If you don't use this future, the web reference Url works like before.

Please, someone could review/commit it ?

Lucian0



_________________________________________________________________
Reveal your inner athlete and share it with friends on Windows Live.
http://revealyourinnerathlete.windowslive.com?locale=en-us&ocid=TXT_TAGLM_WLYIA_whichathlete_us
-------------- next part --------------
A non-text attachment was scrubbed...
Name: WebReference.png
Type: image/png
Size: 45292 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/monodevelop-list/attachments/20081103/4a23f75c/attachment-0001.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: WebReference.patch
Type: text/x-diff
Size: 27327 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/monodevelop-list/attachments/20081103/4a23f75c/attachment-0001.bin 


More information about the Monodevelop-list mailing list