• 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 'aspmvc' feeds
Latest activity

Tagged Code

Views Used Newest Oldest

789
Views
Extension to the HttpClient
By @fredrikn "I'm the master"  February 16, 2012 5:50 PM

"Extension method to simplify posting with HttpClient, also an sync extension method."
.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'

webapi

Mark 'webapi' tag as 'like'

Mark 'webapi' tag as 'ignore'

0 0 0 0


959
Views
ASP.NET MVC 4.0 Web API Message logger for .Net 4.0
By @fredrikn "I'm the master"  February 16, 2012 5:30 PM

"The following code can be used to log inncomming and outgoing messages"
.net4

Mark '.net4' tag as 'like'

Mark '.net4' 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'

webapi

Mark 'webapi' tag as 'like'

Mark 'webapi' tag as 'ignore'

0 0 0 0


698
Views
Fork of GZIP your Actions in MVC if not used as standard in IIS7 or only use IIS6
By Stefan Rusek   July 25, 2011 12:00 PM

"Action FIlter for MVC to GZIP your reults if not turned on as default in IIS7 or if you use IIS6"
actionfilter

Mark 'actionfilter' tag as 'like'

Mark 'actionfilter' tag as 'ignore'

asp.net

Mark 'asp.net' tag as 'like'

Mark 'asp.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'

mvc

Mark 'mvc' tag as 'like'

Mark 'mvc' tag as 'ignore'

0 1 0 0


1.4k
Views
Make sure the web.config pages/namespace can be used together with ASP.NET MVC 3 P1 and Razor
By @fredrikn "I'm the master"  August 04, 2010 11:18 AM

"Make sure namespaces will be imported into every view when using ASP.NET MVC 3.0 Preview 1"
.net

Mark '.net' tag as 'like'

Mark '.net' tag as 'ignore'

aspmvc

Mark 'aspmvc' tag as 'like'

Mark 'aspmvc' tag as 'ignore'

aspnet4

Mark 'aspnet4' tag as 'like'

Mark 'aspnet4' tag as 'ignore'

c#

Mark 'c#' tag as 'like'

Mark 'c#' tag as 'ignore'

razor

Mark 'razor' tag as 'like'

Mark 'razor' tag as 'ignore'

0 0 0 0


1.37k
Views
StringFormat Extension method for HtmlHelper ASP.NET MVC
By @fredrikn "I'm the master"  August 02, 2010 10:34 AM

"An extension method that format an string and return a IHtmlString"
aspmvc

Mark 'aspmvc' tag as 'like'

Mark 'aspmvc' tag as 'ignore'

c#

Mark 'c#' tag as 'like'

Mark 'c#' tag as 'ignore'

extension-method

Mark 'extension-method' tag as 'like'

Mark 'extension-method' tag as 'ignore'

razor

Mark 'razor' tag as 'like'

Mark 'razor' tag as 'ignore'

0 0 0 0


1.89k
Views
Google Analytics helper for ASP.NET Razor
By @fredrikn "I'm the master"  August 01, 2010 9:50 AM
aspmvc

Mark 'aspmvc' tag as 'like'

Mark 'aspmvc' tag as 'ignore'

c#

Mark 'c#' tag as 'like'

Mark 'c#' tag as 'ignore'

razor

Mark 'razor' tag as 'like'

Mark 'razor' tag as 'ignore'

razor-helpers

Mark 'razor-helpers' tag as 'like'

Mark 'razor-helpers' tag as 'ignore'

0 0 0 0


1.26k
Views
Unity Service Locator for ASP.NET MVC 3.0 Beta 1
By @fredrikn "I'm the master"  August 01, 2010 9:35 AM

"A Unity 2.0 Service Locator which can be used with ASP.Net MVC 3.0"
.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'

service-locator

Mark 'service-locator' tag as 'like'

Mark 'service-locator' tag as 'ignore'

0 1 0 0


1.61k
Views
Unity Controller Factory for ASP.NET MVC 3.0
By @fredrikn "I'm the master"  August 01, 2010 9:31 AM

"This is a Unity 2.0 Controller Factory for ASP.NET MVC 3.0"
aspmvc

Mark 'aspmvc' tag as 'like'

Mark 'aspmvc' tag as 'ignore'

c#

Mark 'c#' tag as 'like'

Mark 'c#' tag as 'ignore'

controller

Mark 'controller' tag as 'like'

Mark 'controller' tag as 'ignore'

unity

Mark 'unity' tag as 'like'

Mark 'unity' tag as 'ignore'

0 0 0 0


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


2.47k
Views
PagedList class and paging code for ASP.Net MVC (Nothing new but kind of usefull.)
By @johannormen "Code Contributor"  July 23, 2010 12:05 AM

"A Pager for ASP.Net MVC, a PageBuilder, A CSS and a HtmlExtension for a pager. I made this a year ago..."
aspmvc

Mark 'aspmvc' tag as 'like'

Mark 'aspmvc' tag as 'ignore'

c#

Mark 'c#' tag as 'like'

Mark 'c#' tag as 'ignore'

mvc

Mark 'mvc' tag as 'like'

Mark 'mvc' tag as 'ignore'

pagedlist

Mark 'pagedlist' tag as 'like'

Mark 'pagedlist' tag as 'ignore'

0 1 0 1


876
Views
GZIP your Actions in MVC if not used as standard in IIS7 or only use IIS6
By @johannormen "Code Contributor"  July 20, 2010 8:33 PM

"Action FIlter for MVC to GZIP your reults if not turned on as default in IIS7 or if you use IIS6"
actionfilter

Mark 'actionfilter' tag as 'like'

Mark 'actionfilter' tag as 'ignore'

asp.net

Mark 'asp.net' tag as 'like'

Mark 'asp.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'

mvc

Mark 'mvc' tag as 'like'

Mark 'mvc' tag as 'ignore'

0 0 0 1


Squeed
Made by: Fredrik Normén 2010