Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 138901
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T07:20:21+00:00 2026-05-11T07:20:21+00:00

I am trying to write my own LightWeight MVC for .Net 2.0 using NHaml

  • 0

I am trying to write my own LightWeight MVC for .Net 2.0 using NHaml as the view engine.

In ASP.Net 3.5 MVC the View file we used to specify the link by the code snippet.

Html.ActionLink('Add Product','Add'); 

In MVC binary there is no function to match this call.

I Only found:

(In class System.Web.Mvc.Html.LinkExtensions )

public static string ActionLink(this System.Web.Mvc.HtmlHelper htmlHelper,     string linkText, string actionName) 

There are more similar static classes like FormExtensions, InputExtensions etc.

How does ASP.Net MVC handle it? Does it generates dynamic code for Html.ActionLink?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T07:20:22+00:00Added an answer on May 11, 2026 at 7:20 am

    The ActionLink method is an extension method (hence the this before the type of the first parameter). This means you can use this method as an instance method on all HtmlHelper instances, even though it is not defined on HtmlHelper.

    Html is a property on the View of type HtmlHelper. This means you can use the ActionLink extensionmethod on it.

    The ActionLink method itself does nothing more than generate a link string (with regards to its arguments) and return that string.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to write my own fade-ins and fade-outs using the AVAudioPlayer as a
I'm trying to write my own text editor in C using gtk+-2.0 & gtksourceview-2.0.
I am trying to write my own edit-in-place using jQuery. My code is something
Recently I've been trying to write my own game (clone of Space Invaders) using
C++ newb here. I'm trying to write my own implementation of an array using
I'm trying to write my own little MVC framework for my projects, something I
I'm trying to write my own modal popup window using a jQuery function. However,
I am trying to write my own MySQL storage engine which uses a key-value
I'm trying to write my own custom View and I have problem with LayoutParams
I'm trying to write my own version of connected components discovery using the breadth-first

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.