Santosh Benjamin's Weblog

Adventures with AppFabric, BizTalk & Clouds

Posts Tagged ‘WSCF Blue

WSCFblue on Endpoint TV

with 7 comments

The latest episode of Endpoint TV now features a demo of WSCFblue and an interview with lil ol’ me ūüôā

Its the first time a trans-atlantic webcast has been attempted and that too with video chat and desktop sharing via OCS so there are slight lags in the audio sync to the face to face bits. However, the video is primarily an on-screen demo so audio sync doesnt appear to be much of an issue.

Check it out and post your feedback on the episode and the tool.

Written by santoshbenjamin

November 10, 2010 at 6:30 PM

Posted in WSCF, WSDL

Tagged with , ,

WSCF blue (1.0.9) -Fault Contract Support

leave a comment »

This post is just a note to highlight that Alex has made available a new release of WSCFblue with full support for adding fault contracts when defining the WSDL and generating code.

Check out his detailed post explaining the feature and please send feedback via the Codeplex workspace.

Written by santoshbenjamin

May 31, 2010 at 5:06 PM

Posted in Tools, WSCF

Tagged with ,

WSCF blue – The Road Ahead – What does the dev community want?

with 10 comments

WSCFblue v1 has been a really successful project and we’ve had some great discussions on the forums, feature requests (most of which we have been able to provide) and so on. For a long time the team has been thinking about the next generation of WSCF tooling, taking what we have now to the next level and we have put together a list of things for which we would love to get your feedback and ideas to help prioritise.

So here’s our laundry list. You can provide feedback here or on the CodePlex workspace where I shall put them up as work items so you can vote on them if you like.

  1. T4 templates : We’ve had numerous requests for additional settings to allow users to ‘tweak’ the generated code ‘ever so slightly!’. To an extent, this can be done quickly as we implement ‘decorators’ to allow us to change the code depending on the options, but for many folk the ‘Rolls Royce’ of customising the code generation would be to control it through T4 templates. Having said this. there are (big) issues to consider. The first thing is that the onus is on the end user to not mess with the templates because T4 (as well as other code gen tools) will provide a long rope on which we could easily hang ourselves ūüôā . The second issue is that if we upgrade the templates, then again the end user¬† will have to migrate any customisations. So in some ways T4 could be a double edged sword.
  2. Merge ‘Classic’ and ‘Blue’ : The ‘Classic’ / ASMX code generator is still available on a separate CodePlex project.¬†While we havent made any formal MSI releases, there have been a number of contributions to the source especially to the command line options etc. While WCF is the preferred web services implementation framework, IMO, ASMX will be around for a long time and it would be useful to support that. It would be too much work for us to maintain two separate code-bases so perhaps it’s time to bring Classic into the Blue workspace.
  3. API : While WSCF is primarily an add-in at the moment, it would be useful to externalize the API of the engine. The framework currently covers major services such as WSDL Generation, WSDL Import/Parsing, Service side stub generation, data contract gen and client side proxy gen and configuration management. A proper API¬†would make it usable by other tools (such as my own MockingBird – which could ‘outsource’ the metadata import of multi-part WSDLs to WSCF) as well as other tools that developers may write.
  4. Persistence + Reload of settings (all dialogs and WSDL wizard ) : For some of the code gen dialogs we allow the user to save the settings. However, this file is in the users profile temp folders. Storing these settings along with the code as well as allowing the code-gen dialogs (and the WSDL Wizard) to load a pre-existing config file would be very useful in scenarios where we only need to change one setting but dont want to go through the entire series of steps in the wizard.
  5. New command line (can use “settings” files)¬† : The command line interface is in need of an overhaul. We could allow the user to use the ‘settings’ files mentioned above as part of the command line. The new command line would also target both Classic and Blue if possible.
  6. Support other bindings : We only use BasicHttpBinding now. So far no one has asked for anything else. Should we consider adding an option to the dialogs that allow you to pick the binding (perhaps including custom bindings, say, via MEF?)
  7. Customized mapping of endpoints to SVC files?  (multiple svc files) : We currently support only one endpoint (SVC file which points to the generated interface) out of the box. Business services usually have different endpoints (possibly with different bindings) to support things like customer access, management/ops access and so on. Is this something you would want ? Currently you can do this by creating another WSDL (importing the same schemas if needed) and driving the code gen from there, but since the metadata/WSDL for a service is always the same no matter how many endpoints, perhaps there needs to be an option for going from one WSDL to multiple SVC files ?
  8. Incremental code-gen¬† (ie: what if we want to add extra operations to an SVC file or WSDL) : This is in early stages of thinking. Should the tooling allow you to add extra ops or would it be better to run the wizards again ? If we persist/re-load all wizard settings, then this wont be an arduous process anymore. I’m leaning towards the latter option because I would rather not tinker with code that could have been customized.
  9. Additional behaviors :¬† Christian Weyer wrote a custom “FlatWSDL” behavior that allows the service to expose a single consolidated flattened WSDL. Perhaps this can be provided as one of the options for the service. Again, (via MEF) we could pick up any number of custom behaviors and allow the user to select them.
  10. WS-Addressing support in WSDL wizard : The title says it all.
  11. More flexible naming conventions : What would you like to see here? would T4 supersede this?
  12. Contract First Workflow Services (.NET 4) : There is no support in WF4 for proper contract first development for various reasons. IMO, its more of a lack of time to provide the tooling and we may see something in service packs or upcoming versions if enough folks shout loud enough and/or if there are commercial justifications for the same. Anyway,rationale aside, is this something you would like to see in WSCF? Now do keep in mind that we havent worked through this issue in detail and it maybe that the lack of support goes beyond tooling so being able to code-gen the XAML will not provide any guaranteees it will actually work, be rendered correctly by the designer and so on.¬† But i think its worth considering and if you are a WF expert and have done anything in this area , we’d love to hear from you and maybe work with you on the same.
  13. Integration with Service Factory : Would it be useful / make sense to link this with the Service Factory Modeling Edition (in its VS2010 or beyond incarnation). What are the touchpoints you see?
  14. Feature Builder :¬† Now that Feature Builder¬†has emerged as the primary vehicle for providing automated guidance, we’ve been thinking that WSCF should leverage Feature Builder. One of the reasons is that as we expand our functionality , wizards and single screen code gen dialogs are just too linear and do not provide enough guidance on what options or sets of options should be chosen for your scenario.
  15. WPF UI :¬† We’ve (at least Alex has) been playing around with MVVM a little to see if we can rewrite the WSDL Wizard which is currently tightly coupled to the code gen engine. Given that we have opted for a full on refactoring (explained below), this may not be necessary, but on the other hand if we are going to support lots more options etc then the UI’s are going to need an overhaul. Let us know what you think of this idea.

That’s our list as it stands now. We are continuing to provide point releases of V1 but for many (if not all) the features listed above,¬† a full on refactoring of our code base is essential, which is already underway (For example, if we merged Classic and Blue, I would expect to be able to use the same core engine of ‘Blue’ , which evolved significantly from the ASMX days, and just ‘plugin’ the ASMX generation, but with the current code structure this is not possible). So it’s quite likely that most of the features above will be v2.x.

Please do provide your comments and feedback on the roadmap and help us to prioritise. We want to continue to make WSCF blue the premier web services development toolset for the .NET community. Looking forward to your feedback.

Written by santoshbenjamin

May 3, 2010 at 1:43 PM

Posted in WCF, WSCF

Tagged with , 1.0.7 supports VS10 RC

with one comment v1.0.7 now supports VS10 RC in addition to VS2008. There are no new features as such although v1.0.6 which we released a short while ago fixes a number of important bugs in data contract generation. Alex , our code-master extraordinaire, blogged about the 1.0.6 release here .

The generated code has not changed (from previous versions) and runs fine in VS10. With WCF 4’s configuration enhancements, it is even easier to merge config from the output.config file which we generate to the web.config or app.config. Simply copy the bindings and service elements across. Check the release notes for some info on how to handle the <serviceHostingEnvironment¬† multipleSiteBindingsEnabled¬† attribute in WCF 4.

Grab the latest release and let us know what you think. Please note that VS10 Beta-2 is NOT supported because of a number of bugs in the context menus and command bar area of VSX. Alex has already started work on V2 which will be a bigger release and I will write about our main themes and roadmap shortly. We are looking forward to your feedback (now and on the roadmap) to help plan features and releases. Hope you find our latest release useful.

Written by santoshbenjamin

February 25, 2010 at 12:06 AM

Posted in Visual Studio 2010, WSCF

Tagged with ,

WSCF Blue is now open

leave a comment »

Christian Weyer has now announced that WSCF-Blue the code name for the  next version of WSCF РWeb Services Contract First is now an open project on CodePlex and is looking for people to participate and take the lead on driving the tool forwards.

In case you havent come across it so far, WSCF is a really cool add-in which has a wizard that allows you to build a WSDL from a set of XSDs and then generate the ASMX for it. it also has a very good Data-Contract (pre WCF) code generator which i found to be much better than XSD.exe or XSDObjectGen and the data contract tool can be used over any XSD independently of the WSDLs.  It can also generate client side proxies. Overall the quality of the code it generates is very high. One of the key aims of WSCF Blue is to bring it into the WCF world.

I used WSCF extensively for ASMX services in my previous job as all our implementations were WSDL first. In fact we supplied clients with those WSDLs and then published Biztalk schema webservices and when taking care to use the “Bare” format in BTS, the clients didnt notice the difference at all when the implementations were ready.

In the forums, it appeared that people were clamoring for it to be open sourced  as the good folk at thinktecture havent had time to do as much with it as they had planned. I think its really good that they have opened it up now. The tool has great potential.

Some of the areas i think it can be extended are

  • Making it a full fledged GAT package
  • Linking it with the ServiceFactory – particularly as the SF lacks a WSDL import facility (although you can use prebuilt XSDs when defining your contracts)
  • maybe even linking into BizTalk ūüôā

I’m in but i cant lead it unfortunately as i have too many irons in the fire right now.

So if there are any takers for a lead role on this or to contribute please contact Christian Weyer.

[UPDATE]: Edward Bakker has now taken up the lead role on the project.

Written by santoshbenjamin

October 8, 2008 at 11:44 AM

Posted in Factories, Tools

Tagged with ,