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

Tagged Code

Views Used Newest Oldest

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


856
Views
Using DynamicObject to get a value from the Request.Params
By @fredrikn "I'm the master"  July 23, 2010 3:16 PM

"Get a Request.Params value by taking advantage of the DynamicObject to make the code look more static"
asp.net

Mark 'asp.net' tag as 'like'

Mark 'asp.net' tag as 'ignore'

c#

Mark 'c#' tag as 'like'

Mark 'c#' tag as 'ignore'

dynamic

Mark 'dynamic' tag as 'like'

Mark 'dynamic' tag as 'ignore'

razor

Mark 'razor' tag as 'like'

Mark 'razor' tag as 'ignore'

0 2 0 0


Squeed
Made by: Fredrik Normén 2010