• Code
  • Tags
  • Users
  • Titles
  • Log in
  • Feedback
  • FAQ
Share Code
Welcome to ForkCan.com

ForkCan is all about sharing code in a social way.

Discuss, debate or argue with other devs about their or your own code.

Give other devs feedback or make a Fork (Make a better version of a shared code).

Rate the code, if you use the code mark it as used so others can see if the shared code is used by someone.

Help each other to be better devs and to be more productive.


Features not working yet:

Flag a post

Tagged code 'repository' feeds
Latest activity

Tagged Code

Views Used Newest Oldest

1.54k
Views
Generic linq-to-sql repository
By alexandern   September 29, 2010 10:59 PM

"A generic linq-to-sql class for easy, strongly-typed data access"
.net

Mark '.net' tag as 'like'

Mark '.net' tag as 'ignore'

c#

Mark 'c#' tag as 'like'

Mark 'c#' tag as 'ignore'

linq-to-sql

Mark 'linq-to-sql' tag as 'like'

Mark 'linq-to-sql' tag as 'ignore'

repository

Mark 'repository' tag as 'like'

Mark 'repository' tag as 'ignore'

0 0 1 3


1.77k
Views
UnitOfWork Action filter for ASP.NET MVC and nHibernate
By @fredrikn "I'm the master"  July 27, 2010 4:25 PM

"Reuse unit of work among several repositories by using the HTTPContext"
.net

Mark '.net' tag as 'like'

Mark '.net' tag as 'ignore'

aspmvc

Mark 'aspmvc' tag as 'like'

Mark 'aspmvc' tag as 'ignore'

c#

Mark 'c#' tag as 'like'

Mark 'c#' tag as 'ignore'

nhibernate

Mark 'nhibernate' tag as 'like'

Mark 'nhibernate' tag as 'ignore'

repository

Mark 'repository' tag as 'like'

Mark 'repository' tag as 'ignore'

0 0 0 3


914
Views
Loading Strategy for Entity Framework 4.0
By @fredrikn "I'm the master"  July 25, 2010 10:41 AM

"Loading strategy for specifying how to load data, for example eager loading and define queries etc."
c#

Mark 'c#' tag as 'like'

Mark 'c#' tag as 'ignore'

ef4.0

Mark 'ef4.0' tag as 'like'

Mark 'ef4.0' tag as 'ignore'

repository

Mark 'repository' tag as 'like'

Mark 'repository' tag as 'ignore'

1 0 0 0


1.96k
Views
Keep Entity Framework ObjectContext in a WCF Service OperationContext
By @fredrikn "I'm the master"  July 14, 2010 7:49 AM

"This code can be used to keep a ObjectContext live during a WCF Service OperationContext."
c#

Mark 'c#' tag as 'like'

Mark 'c#' tag as 'ignore'

ef4.0

Mark 'ef4.0' tag as 'like'

Mark 'ef4.0' tag as 'ignore'

objectcontext

Mark 'objectcontext' tag as 'like'

Mark 'objectcontext' tag as 'ignore'

repository

Mark 'repository' tag as 'like'

Mark 'repository' tag as 'ignore'

wcf

Mark 'wcf' tag as 'like'

Mark 'wcf' tag as 'ignore'

0 0 0 0


3.25k
Views
Generic Entity Framework 4.0 Base Repository with Paging
By @CodingInsomnia "First one to share code"  July 12, 2010 10:43 PM

"Fork of the Generic Entity Framework 4.0 Base Repository"
.net

Mark '.net' tag as 'like'

Mark '.net' tag as 'ignore'

c#

Mark 'c#' tag as 'like'

Mark 'c#' tag as 'ignore'

ef4.0

Mark 'ef4.0' tag as 'like'

Mark 'ef4.0' tag as 'ignore'

repository

Mark 'repository' tag as 'like'

Mark 'repository' tag as 'ignore'

0 0 0 2


3.96k
Views
Generic Entity Framework 4.0 Base Repository
By @fredrikn "I'm the master"  July 10, 2010 10:04 AM

"This is a generic base class you can use when creating a Repositories and EF 4.0"
.net

Mark '.net' tag as 'like'

Mark '.net' tag as 'ignore'

c#

Mark 'c#' tag as 'like'

Mark 'c#' tag as 'ignore'

ef4.0

Mark 'ef4.0' tag as 'like'

Mark 'ef4.0' tag as 'ignore'

objectcontext

Mark 'objectcontext' tag as 'like'

Mark 'objectcontext' tag as 'ignore'

repository

Mark 'repository' tag as 'like'

Mark 'repository' tag as 'ignore'

1 0 0 9


Squeed
Made by: Fredrik Normén 2010