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
16
votes
2 answers

How does one fix the "'System.Security.Permissions.SecurityAction.RequestMinimum' is obsolete" compilation error?

I received the following compilation warning as a error while upgrading some ASP.NET code from .NET 3.5: 'System.Security.Permissions.SecurityAction.RequestMinimum' is obsolete. The attribute has bee applied on the assebly level: [assembly:…
Schalk
  • 280
  • 1
  • 4
  • 13
15
votes
7 answers

ASP.NET MVC vs. Web client software factory (WCSF)

I have recently been doing a bit of investigation into the different types of Model View architectures, and need to decide which one to pursue for future in-house development. As I'm currently working in a Microsoft shop that has ASP.NET skills, it…
Bermo
  • 4,921
  • 1
  • 28
  • 31
7
votes
2 answers

How should comments for interface and class methods be different

I ran into this dilemma when working on an ASP.net web application using Web Client Software Factory(WCSF) in C#, and the same could apply to other platform and languages. My situation is like this: I am defining an IView interface for each web…
hongliang
  • 615
  • 4
  • 10
5
votes
2 answers

How do I integrate the ASP .Net Model View Presenter (MVP) pattern and static page methods marked as [WebMethod]?

In an asp.net application, I would like to combine the use of the Webclient Software Factory (WCSF), and its associated Model View Presenter pattern (MVP), with Page Method, that is static methods on the .aspx Views marked with the [WebMethod]…
John Grant
  • 522
  • 8
  • 17
4
votes
1 answer

Is WCSF for me?

I have a 3-man .NET web shop. Over the years we've developed a number of tools for content management, blogging, e-commerce, social network, and so on. We've never really modularized the software, though; so that porting functionality from one site…
Herb Caudill
  • 50,043
  • 39
  • 124
  • 173
4
votes
3 answers

IoC comparisions

Which IoC to consider while developing ASP.NET Web application project and what are the advantages of different IoC? ObjectBuilder Unity Spring.NET
dhinesh
  • 4,676
  • 2
  • 26
  • 44
3
votes
4 answers

.NET WCSF as UI stack choice for portal based sites?

We are building a website which will display news headlines and news. It will be a public site initially, but will evolve include portal content like personalized web pages. The site also needs to build web 2.0 features around the news stories…
gr8buddy
  • 3
  • 3
2
votes
4 answers

Not getting user input from TextBox

I'm starting to loose my nerves on some completely banal thing: I don't get user input from a TextBox :S I do something like this (code behind aspx): protected void Page_Load(object sender, EventArgs e) { if (!this.IsPostBack) …
Armen Ablak
  • 167
  • 3
  • 14
2
votes
1 answer

Is there a thread-safety issue in this ObjectBuilder code?

I suspect a problem with an old version of the ObjectBuilder which once was part of the WCSF Extension project and meanwhile moved into Unity. I am not sure whether I am on the right way or not so I hope someone out there has more competent…
Eulinky
  • 375
  • 3
  • 14
2
votes
4 answers

How can I make a framework for quickly building similar, but different, sites?

I have the need to build lots of sites that are very similar, but not exactly the same, using ASP.NET 2.0. I'm trying to find the best way to make generating these sites quick and easy. The sites will be used to collect information about a user, and…
Bret Walker
  • 1,796
  • 5
  • 20
  • 41
2
votes
1 answer

Why use WCSF(Web Client Software Factory) for building asp.net web applications?

WCSF is a software factory recommended from microsoft for developing web based applications. I feel that some thought is required on below before commiting to a software foctory: What is it? What are different features of it? How it will improve…
Anand Patel
  • 6,031
  • 11
  • 48
  • 67
1
vote
1 answer

WCSF Random assembly manifest definition does not match assembly ref in .NET 2.0

I'm running WCSF Feb 2008 along with Enterprise Library 3.1 and noticed that randomly I get the "fun" Could not load file or assembly Microsoft.Practices.EnterpriseLibrary.Common, Version=3.1.0.0, Culture=neutral, Public ... The located assembly's…
Toran Billups
  • 27,111
  • 40
  • 155
  • 268
1
vote
1 answer

"Web Client Software Factory 2010" no longer maintained?

I have just learnt that there is a library "Web Client Software Factory 2010" for ASP.Net development. It seems to be useful for modular ASP.Net Development. When I am directed by this link to this download link, I saw a red notice saying: "This…
1
vote
3 answers

What is the Controller for in WCSF?

I am still trying to get my brain wrapped around MVP. What should I use the controller class for? Is that where I access data resources?
SwampyFox
  • 1,105
  • 9
  • 13
1
vote
2 answers

ASP.NET MVC with Composite Web Client application block

I am new to ASP.NET MVC, I want to develop an asp.net page/Shell , the shell will host multiple UI/components.I discovered 'Webclient software factory' .I wanted to know if asp.net MVC is supported by WCSF?
Pushpendra
  • 820
  • 7
  • 11
1
2 3