LA.NET [EN]
Ramblings about C#, .NET and Programming
Browse by Tags
All Tags
»
S#arp
(
RSS
)
C#
S#arp 1.0 RTM
Thu, Jul 16 2009 19:49
It seems like S#arp is out . I’ve written a little about it in the past and I guess I should take another look at it to see if we’ve got anything new there :)
Read More...
The S#arp framework: WCF integration
Fri, May 8 2009 12:37
Today we’re going to take a look at the SharpArch.Wcf assembly, which contains several classes that will help use the S#arp framework from within you WCF services. If you’re looking at the source code, you’ll surely notice that it has lots of classes, many of each are there just for supporting infrastructural WCF code. We’ll start by looking at the WcfSessionStorage...
Read More...
The S#arp framework: the SharpModelBinder
Wed, May 6 2009 14:10
In the last post , we’ve looked at several classes that improve the default binding you get in ASP.NET MVC. Today, we’re going to end the Sharparch.Web assembly study and we’ll take a deep look at the SharpModelBinder custom binder. This custom binder performs the following actions on the OnModelUpdated override: starts by removing all errors that aren’t parsing...
Read More...
The S#arp framework: still on the web assembly
Tue, May 5 2009 10:18
Ok, it seems like I’ve missed a couple of interesting classes defined on the SharpArch.Web assembly in my last post . It’s time to fix this and today we’re going to talk about the MvcValidationAdapter and the ValidatableModelBinder classes. Let’s get started with the MvcValidationAdapter class… As you know, S#arp has its own validation thing . We also know that...
Read More...
The S#arp framework: wrapping up the SharpArch.Web assembly study
Fri, May 1 2009 21:42
Today we’re going to wrap up the SharpArp.Web assembly study by looking at its area support. This is really going to be a short post because the S#arp framework reuses Phil Haack’s idea from this post and reuses Steve Sanderson’s helpers presented in this second post . They do an excellent work in describing this feature and since there’s really not much I can...
Read More...
The S#arp framework: adding support to JSON.Net
Thu, Apr 30 2009 10:06
Today we’re going to keep looking at the internals of the SharpArch.Web assembly and we’ll take a quick peek at the JsonNetResult class. This is a custom ActionResult class which you can use if you need to return JSON serialized by the Json.NET serializer to the client. As you recall , custom ActionResult classes are supposed to override the ExecuteResult...
Read More...
The S#arp framework: The SharpArch.Web assembly – part II
Wed, Apr 29 2009 13:26
Today we’ll keep looking at the SharpArch.Web assembly and we’ll take a quick look at the TransactionAttribute. TransactionAttribute is an ActionFilterAttribute which intercepts the ActionExecuting and ActionExecute exceptions for starting and ending a transaction. Here’s the code for that class: public class TransactionAttribute : ActionFilterAttribute ...
Read More...
The S#arp framework: the SharpArch.Web – part I
Mon, Apr 27 2009 20:36
In this post we’re going to start looking at the goodies available on the SharpArch.Web assembly introduced by the S#arp framework . This assembly contains several helpers which you can reuse in your ASP.NET MVC projects. In this post, we’re concentrating on the WebSessionStorage class. I’m not sure if you remember it, but we talked about the ISessionStorage...
Read More...
The S#arp framework: the duplicate entity validator
Mon, Apr 27 2009 14:44
In the last post I promise that we’d talk about the EntityDuplicateChecker and that’s what we’re going to look at today. As we’ll see, this class is used by the custom NH validators that you can find in the SharpArch.Core.NHibernateValidator. The EntityDuplicateChecker implements the IEntityDuplicateChecker, which looks like this: public interface...
Read More...
The S#arp framework: understanding the data assembly
Sun, Apr 26 2009 17:25
After a small detour into the NH Validator framework (and yes, it was really a small detour since we didn’t see how it integrates really well with NH and other frameworks nor how we can create custom validation rules), in this post we’re going back to our study of the S#arp framework . Today, we’re going to take a deep dive into some of the helper classes that...
Read More...
The S#arp framework: repository interfaces
Wed, Apr 22 2009 9:51
Today we’re going to keep looking at the SharpArch.Core assembly and try to understand its default support for repositories. Before going on, I guess that it’s a good idea to take a detour and talk a little bit about repositories. One of the problems we (developers) face in most applications is that most of the time we’re so worried with infrastructure code that...
Read More...
The S#arp framework: working with entities
Mon, Apr 20 2009 22:07
Today we’re going to keep looking at the S#arp architecture and we’re going to talk about the existing interfaces and base classes that let you work with entities. Before going on, I guess that we should define the concept of entity. According to Eric Evans ’ DDD book , you’ll find that “Some objects are not defined primarily by their attributes. They represent...
Read More...
The S#arp framework: adding validation to your objects
Sun, Apr 19 2009 18:28
Today we’re going to keep looking at the S#arp framework and we’re going to take a look at how we can reuse the classes introduced by the framework to add validation to an object. Before going on, it’s important to keep in mind that validation is a topic which might generate lots of discussion. For instance, there are lots of people which say that we should never...
Read More...
The S#arp framework: using value objects
Sat, Apr 18 2009 21:59
If you’ve been involved with DDD , you have surely built several value objects. But what is a value object? Eric Evans defines it (in his seminal work ) as being an object which doesn’t have a conceptual identity and that is used for describing a characteristic of a thing. As always, there really isn’t any good rule for identifying value objects since it all...
Read More...
The S#arp framework: getting started
Sat, Apr 18 2009 21:45
This marks the beginning of a new series. I’ve already written about it in the past, but I thought that now would be a good idea to go back and take a deep dive on the existing code. What is the S#arp ? Here’s the official definition: “Pronounced "Sharp Architecture," this is a solid architectural foundation for rapidly building maintainable web applications...
Read More...
S#arp 1.0 beta is out
Tue, Jan 20 2009 10:27
Go get it here .
Read More...
S#arp core overview
Mon, Dec 8 2008 23:07
One of the open source projects I’ve been following in these last months is the S#arp project (pronounced Sharp Architecture) started and coordinated by Billy McCafferty . According to the homepage, this framework “is a solid architectural foundation for rapidly building maintainable web applications leveraging the ASP.NET MVC framework with NHibernate”. ...
Read More...
Search
Go
This Blog
Home
Contact
About
Tags
ASP.NET
Books
C#
DDD
Design by Contract
Gadgets
Javascript
JQuery
MS AJAX
Multithreading
MVC
NHibernate
Parallel Extensions
PowerShell
S#arp
Silverlight
Tools
Trivia
VS
VS 2010
WCF
WF
Windows 7
WPF
XAML
Community
Home
Blogs
Media
Groups
Archives
November 2009 (35)
October 2009 (70)
September 2009 (35)
August 2009 (52)
July 2009 (48)
June 2009 (48)
May 2009 (44)
April 2009 (39)
March 2009 (39)
February 2009 (23)
January 2009 (22)
December 2008 (18)
November 2008 (20)
October 2008 (22)
September 2008 (31)
August 2008 (3)
July 2008 (25)
June 2008 (26)
May 2008 (30)
April 2008 (5)
March 2008 (11)
February 2008 (9)
January 2008 (15)
December 2007 (10)
November 2007 (20)
October 2007 (19)
September 2007 (29)
August 2007 (12)
July 2007 (20)
June 2007 (33)
May 2007 (44)
April 2007 (28)
March 2007 (27)
February 2007 (21)
January 2007 (37)
December 2006 (8)
November 2006 (17)
October 2006 (14)
September 2006 (5)
August 2006 (7)
July 2006 (4)
Syndication
RSS for Posts
Atom
RSS for Comments
Email Notifications
Go
News
My books