Click here to Skip to main content
15,885,216 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Encryption Pin
Anurag Gandhi14-Mar-15 6:07
professionalAnurag Gandhi14-Mar-15 6:07 
AnswerRe: Encryption Pin
Afzaal Ahmad Zeeshan14-Mar-15 9:36
professionalAfzaal Ahmad Zeeshan14-Mar-15 9:36 
AnswerRe: Encryption Pin
F-ES Sitecore15-Mar-15 23:28
professionalF-ES Sitecore15-Mar-15 23:28 
AnswerRe: Encryption Pin
jkirkerx16-Mar-15 10:39
professionaljkirkerx16-Mar-15 10:39 
Questionwhich is the best grid library to work with asp.net mvc Pin
Tanmay619312-Mar-15 23:46
Tanmay619312-Mar-15 23:46 
Questiondisplay the name of current system user Pin
Praveen Kandari12-Mar-15 21:13
Praveen Kandari12-Mar-15 21:13 
AnswerRe: display the name of current system user Pin
Joshua Omundson13-Mar-15 8:32
Joshua Omundson13-Mar-15 8:32 
QuestionWhat is the advantage of using Tag Helpers in ASP.Net MVC 5 Pin
Tridip Bhattacharjee12-Mar-15 0:55
professionalTridip Bhattacharjee12-Mar-15 0:55 
apologized that i am not very good in asp.net mvc that i would like to confess. i just come across a good write up for asp.net 5 new feature from this url http://stephenwalther.com/archive/2015/02/24/top-10-changes-in-asp-net-5-and-mvc-6

from there i heard about a term called Tag Helpers in ASP.Net MVC 5 and i saw there people say before developer create form this below way

C#
@model MyProject.Models.Product

@using (Html.BeginForm())
{
    <div>
        @Html.LabelFor(m => p.Name, "Name:")
        @Html.TextBoxFor(m => p.Name)
    </div>
    <input type="submit" value="Create" />
}


and now people can code the same with tag helper the below way

C#
@model MyProject.Models.Product
@addtaghelper "Microsoft.AspNet.Mvc.TagHelpers"

<form asp-controller="Products" asp-action="Create" method="post">
    <div>
        <label asp-for="Name">Name:</label>
        <input asp-for="Name" />
    </div>

    <input type="submit" value="Save" />
</form>


they use some few new syntax called asp-controller,asp-for etc but what it will do.....how and why people would be benefited by using this new syntax asp-controller,asp-for etc.

so please some one help me to understand this new tag helper concept and how it will make a developer life easier. thanks
tbhattacharjee

AnswerRe: What is the advantage of using Tag Helpers in ASP.Net MVC 5 Pin
Anurag Gandhi12-Mar-15 7:16
professionalAnurag Gandhi12-Mar-15 7:16 
GeneralRe: What is the advantage of using Tag Helpers in ASP.Net MVC 5 Pin
Tridip Bhattacharjee12-Mar-15 7:51
professionalTridip Bhattacharjee12-Mar-15 7:51 
AnswerRe: What is the advantage of using Tag Helpers in ASP.Net MVC 5 Pin
Anurag Gandhi13-Mar-15 4:39
professionalAnurag Gandhi13-Mar-15 4:39 
GeneralRe: What is the advantage of using Tag Helpers in ASP.Net MVC 5 Pin
Joshua Omundson13-Mar-15 8:40
Joshua Omundson13-Mar-15 8:40 
AnswerRe: What is the advantage of using Tag Helpers in ASP.Net MVC 5 Pin
Anurag Gandhi16-Mar-15 9:35
professionalAnurag Gandhi16-Mar-15 9:35 
Questionexport gridview data to CSV file Pin
Praveen Kandari11-Mar-15 21:54
Praveen Kandari11-Mar-15 21:54 
SuggestionRe: export gridview data to CSV file Pin
ZurdoDev19-Mar-15 3:48
professionalZurdoDev19-Mar-15 3:48 
QuestionHow to convert Asp.Net Gridview to OMR sheet Pin
Member 1151271911-Mar-15 21:53
Member 1151271911-Mar-15 21:53 
QuestionRetain value in HttpModule Pin
arisaravanan11-Mar-15 16:28
arisaravanan11-Mar-15 16:28 
AnswerRe: Retain value in HttpModule Pin
F-ES Sitecore11-Mar-15 22:54
professionalF-ES Sitecore11-Mar-15 22:54 
AnswerRe: Retain value in HttpModule Pin
Venkatesh Mookkan18-Mar-15 18:00
Venkatesh Mookkan18-Mar-15 18:00 
QuestionASP.NET Image Viewer? Pin
Member 1151440011-Mar-15 5:49
Member 1151440011-Mar-15 5:49 
AnswerRe: ASP.NET Image Viewer? Pin
Afzaal Ahmad Zeeshan11-Mar-15 7:27
professionalAfzaal Ahmad Zeeshan11-Mar-15 7:27 
AnswerRe: ASP.NET Image Viewer? Pin
Richard Deeming11-Mar-15 8:25
mveRichard Deeming11-Mar-15 8:25 
AnswerRe: ASP.NET Image Viewer? Pin
jkirkerx11-Mar-15 9:28
professionaljkirkerx11-Mar-15 9:28 
QuestionRegarding web site animation when page scroll Pin
Tridip Bhattacharjee10-Mar-15 23:33
professionalTridip Bhattacharjee10-Mar-15 23:33 
AnswerRe: Regarding web site animation when page scroll Pin
Richard MacCutchan10-Mar-15 23:49
mveRichard MacCutchan10-Mar-15 23:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.