Questions tagged [wcsf]

The Microsoft Web Client Software Factory is a framework that allows creating ASP.NET applications as a set of loosely-coupled modules. It provides a Model-View-Presenter framework and a dependency injection system based on Microsoft Unity to dynamically wire pages, presenters and other services together. It is produced by the Patterns and Practices group of Microsoft.

The Web Client Software Factory is comprised of 3 main elements:

  1. The Composite Web Application Block. This is a set of libraries that, along with some Enterprise Library blocks, allows developing web applications as a set of loosely coupled modules. Modules can be "foundational modules", which provide services to other modules, or "business modules", which are sets of related web pages that use the Model-View-Presenter pattern. Business modules can also contain services available to other modules. WCSF locates services using dependency injection.
  2. Web controls. The most prominent of which is ObjectContainerDataSource. It is a data source control purpose-built for use with the Model-View-Presenter. It simply publishes and raises CRUD events. Your view can then pass event data to presenter functions. This is in contrast to the ObjectDataSource which is built to interact directly with some business object/entity.
  3. Visual Studio templates and recipes that automate adding modules and, optionally, unit tests.

There are other aspects to WCSF that aid in building decoupled web applications, but these are the primary distinguishing features.

Lots more info is available on the main CodePlex site: http://webclientguidance.codeplex.com/wikipage?title=Web%20Client%20Software%20Factory&referringTitle=Home. Note: the reference implementations are in the source download

WCSF2010 and it's prerequsites, the VS2010 SP1 SDK and the Guidance Automation Toolkit 2010 (GAX2010), are available via the extension manager in VS2010.

34 questions
1
vote
0 answers

Where to get library for Microsoft.Practices.CompositeWeb

How can I get library for Microsoft.Practices.CompositeWeb.WebClientApplication I cannot find it in nuget. I have a copy of v3.0.0.0, is there any latest version after that? Does Microsoft support it anymore? I found this article online…
HaBo
  • 13,999
  • 36
  • 114
  • 206
1
vote
1 answer

Why is there an option to create a separate class library for interfaces with business modules?

In wcsf, it is possible to make a business module with a separate class library just for interfaces, if I tick the relevant box/boxes. What is the point in having a separate class library just for interfaces? Wouldn't this add unnecessary bloat to…
GurdeepS
  • 65,107
  • 109
  • 251
  • 387
1
vote
2 answers

Creating a Data Access Layer when using Web Client Software Factory 2010

I am exploring WCSF and wondering how is the data access layer created? Some of the articles I have found are two years old and talk about using Web Service Factory. I am using VS 2010 and .Net 4.0. I am looking for some sample and tutorials with…
Picflight
  • 3,832
  • 13
  • 61
  • 90
1
vote
2 answers

WCSF vs MEF, What's Best For Me?

I'm working on a large web application that includes many modules (CRM, Inventory, Administration, etc.) What I want to accomplish is to be able develop each of these modules independently (the UI, Core Logic, DataAccess Logic, and all) and then…
Ahmed
  • 11,063
  • 16
  • 55
  • 67
1
vote
0 answers

Alternative of WCSF pattern

As we all know WCSF has been obselete from MSDN and they are no more supporting or updating it. My question is, Is there any latest alternate for this. So that we can go ahead with the latest architectural design pattern which is similar to WCSF…
Mayank Pathak
  • 3,621
  • 5
  • 39
  • 67
0
votes
1 answer

web client software factory in Asp .net

What is the WCSF(web client software factory). what is the use of it. what is the relation between MVP with it. please let me know about this in simple manner.
user1149278
  • 21
  • 3
  • 7
0
votes
1 answer

Automatic model binding in asp.net

I've been using asp.net mvc and I like the facility given by UpdateModel & TryUpdateModel. Now I'm developing an application using the Web Client Software Factory. Are there any model binders I can use with this?
ntombela
  • 1,357
  • 2
  • 19
  • 31
0
votes
1 answer

Modifying Web Client Software Factory generation templates to use web application project

By default the WCSF uses the web site model but I would like to change it to use the web application model. How can I achieve this?
ntombela
  • 1,357
  • 2
  • 19
  • 31
0
votes
3 answers

Web Client Software Factory Unit Testing Big Fail

it is me again...too much question, I know, but in this I'm kind of a newbie... Well, I have a problem creating test for a project that is built using Microsoft's Web Client Software Factory: I get a error that says: Unable to set TestContext…
Hugo
  • 6,244
  • 8
  • 37
  • 43
0
votes
2 answers

Guidelines and design decisions with .NET and WCSF

We have started migration of a .NET thick client application to web. The scope of the work is restricted to migrating the winforms UI to web UI. The biz logic components will be reused as-is after striping the earlier web service wrapper layer as…
cosmos
  • 2,414
  • 4
  • 23
  • 25
0
votes
2 answers

Can the Presenter of Web Client Software Factory(WCSF) and Smart Client Software Factory(SCSF) shared and how?

Web Client Software Factory(WCSF) and Smart Client Software Factory(SCSF) both use MVP pattern. M-Model can be shared. V-View has to be different as both are on different platform(Desktop/Web). I want to know can the P-Presenter can be shared or…
Sachin Chavan
  • 5,578
  • 5
  • 49
  • 75
0
votes
1 answer

How do I create a custom validator in VAB that tests two properties at once?

In my database, I have a composite unique key constraint (CustomerId, Name) on a entity. I want to test if the unique constraint is upheld before submitting changes to the database. The user can customize the Name attribute on the entity, so I would…
0
votes
2 answers

Suggestions/Recommendations for a Web Application with Sub-Apps

I’m starting to think about and develop an architecture for a big web application, and I wanted to get suggestions and/or recommendations on which technologies and/or frameworks to use. The application will be an Intranet-based web site using…
lmttag
  • 2,499
  • 4
  • 26
  • 30
0
votes
1 answer

InjectionConstructor attribute in both Microsoft.Practices.ObjectBuilder and Microsoft.Practices.Unity - what's the difference?

I see the InjectionConstructor property defined in both the Microsoft.Practices.ObjectBuilder namespace and the Microsoft.Practices.Unity namespace. Is one of these properties deprecated? Can someone explain to me the difference between the two…
Dudeman3000
  • 551
  • 8
  • 21
0
votes
1 answer

Web Client Software Factory 2008 ASP.NET project migration to dotNET 4.5 64 bit possible?

I have old Web Client Software Factory project built with VS2008, WCSF 2008 and MS Enterprise Library 3.1 I have to make changes to the project so I migrated the solution to Visual Studio 2012. It compiles fine with .NET 3.5 and runs on IIS 7.5 as…
mitaka
  • 2,159
  • 1
  • 30
  • 30