Using MVC 6 Tag Helpers in MVC 5
up vote
15
down vote
favorite
Tag Helpers are a nice substitute for HTML Helpers in ASP.NET. Code is much easier to read when they're employed. To my knowledge, they're available in ASP.NET Core (formerly ASP.NET 5
) MVC 6
.
Is it possible to use tag helpers in ASP.NET 4.x MVC 5
? If so, then how do I go about doing it?
If not, is there a way to write code to create your own tag helpers for ASP.NET 4.x MVC 5
?
asp.net-mvc-5 tag-helpers
add a comment |
up vote
15
down vote
favorite
Tag Helpers are a nice substitute for HTML Helpers in ASP.NET. Code is much easier to read when they're employed. To my knowledge, they're available in ASP.NET Core (formerly ASP.NET 5
) MVC 6
.
Is it possible to use tag helpers in ASP.NET 4.x MVC 5
? If so, then how do I go about doing it?
If not, is there a way to write code to create your own tag helpers for ASP.NET 4.x MVC 5
?
asp.net-mvc-5 tag-helpers
9
Short answer - No and No.
– Stephen Muecke
Dec 6 '16 at 3:30
5
@StephenMuecke That's a bummer.
– Dude-Dastic
Dec 6 '16 at 8:03
add a comment |
up vote
15
down vote
favorite
up vote
15
down vote
favorite
Tag Helpers are a nice substitute for HTML Helpers in ASP.NET. Code is much easier to read when they're employed. To my knowledge, they're available in ASP.NET Core (formerly ASP.NET 5
) MVC 6
.
Is it possible to use tag helpers in ASP.NET 4.x MVC 5
? If so, then how do I go about doing it?
If not, is there a way to write code to create your own tag helpers for ASP.NET 4.x MVC 5
?
asp.net-mvc-5 tag-helpers
Tag Helpers are a nice substitute for HTML Helpers in ASP.NET. Code is much easier to read when they're employed. To my knowledge, they're available in ASP.NET Core (formerly ASP.NET 5
) MVC 6
.
Is it possible to use tag helpers in ASP.NET 4.x MVC 5
? If so, then how do I go about doing it?
If not, is there a way to write code to create your own tag helpers for ASP.NET 4.x MVC 5
?
asp.net-mvc-5 tag-helpers
asp.net-mvc-5 tag-helpers
edited Nov 9 at 3:19
Nisarg
1,33431123
1,33431123
asked Dec 6 '16 at 3:18
Dude-Dastic
1371311
1371311
9
Short answer - No and No.
– Stephen Muecke
Dec 6 '16 at 3:30
5
@StephenMuecke That's a bummer.
– Dude-Dastic
Dec 6 '16 at 8:03
add a comment |
9
Short answer - No and No.
– Stephen Muecke
Dec 6 '16 at 3:30
5
@StephenMuecke That's a bummer.
– Dude-Dastic
Dec 6 '16 at 8:03
9
9
Short answer - No and No.
– Stephen Muecke
Dec 6 '16 at 3:30
Short answer - No and No.
– Stephen Muecke
Dec 6 '16 at 3:30
5
5
@StephenMuecke That's a bummer.
– Dude-Dastic
Dec 6 '16 at 8:03
@StephenMuecke That's a bummer.
– Dude-Dastic
Dec 6 '16 at 8:03
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f40987263%2fusing-mvc-6-tag-helpers-in-mvc-5%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
9
Short answer - No and No.
– Stephen Muecke
Dec 6 '16 at 3:30
5
@StephenMuecke That's a bummer.
– Dude-Dastic
Dec 6 '16 at 8:03