|
|
I am thinking of moving onto ASP.NET Core MVC. Who is already using it?
|
|
|
|
|
Maybe an even better survey is who is using ASP.Net and who isn't?
|
|
|
|
|
That's a silly question, the community is huge!
Questions like that generally come from the few people using a Mac, I'm sure that's you!
|
|
|
|
|
|
I question the validity of introducing yet another markup. HTML helpers is enough for learning!
|
|
|
|
|
The percentage is probably ok, but the number around 200 for each answer??
Making total 232? Good math
|
|
|
|
|
I've brought it up in Sugs'n'Bugs for you - that's where it needs to be if you want the Admins to definitely see it.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I think it might be actually correct if Trump and Putin were involved
|
|
|
|
|
Quite possibly true, if litigious. Soapbox is probably the right place for it though.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I don't write ASP.NET Core apps 55.88%
I have no idea what a Tag Helper is 30.88%
And I'm in the 55.88% bracket...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Perhaps I could convince you to join us in make the ever growing 30.99%'ers!
WE SHALL OVERCOME! WE SHALL OVERCOME!
I don't write ASP.NET Core apps 39 54.93 39 votes, 54.93%
I have no idea what a Tag Helper is 22 30.99 22 votes, 30.99%
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Hah! You're sliding already!
I don't write ASP.NET Core apps 41 56.16 41 votes, 56.16%
I have no idea what a Tag Helper is 22 30.14 22 votes, 30.14%
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
OriginalGriff wrote: Hah! You're sliding already! Only because of that vast army of sock-puppet personalities you've accumulated over the years and and now bullied into voting for what is really just a near miss.
Get your hands out of your socks - get on board with The Way.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
|
I'm in both but I could pick only one.
|
|
|
|
|
We're gaining!
I don't write ASP.NET Core apps 61 49.19 61 votes, 49.19%
I have no idea what a Tag Helper is 45 36.29 45 votes, 36.29%
|
|
|
|
|
|
I'm actually in both those camps, but could only select one...
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."
-- Marcus Brigstocke, British Comedian
|
|
|
|
|
Heck, I don't write ASP.NET apps if I can help it.
|
|
|
|
|
Don't worry, I am sure by the end of the week MS will release some new "next big thing"...Forget about last weeks "next big thing".
Common sense is admitting there is cause and effect and that you can exert some control over what you understand.
|
|
|
|
|
It is true that Tag Helpers have a HTML-friendly syntax, but HTML Helpers have a Razor syntax which I feel is natural in ASP.NET Views, so it seems to me that it is intuitive and readable to most ASP.NET developers...
What was the point of this feature?
It is mentioned that: "The markup is much cleaner and easier to read, edit, and maintain than the HTML Helpers approach."
That conclusion seems rather subjective, the only ones that I feel could benefit from this is non ASP.NET developers that are familiar with any JS framework (like Angular, React, Vue, etc.).
Well at first that seems as if it could be beneficial, but then again what about the rest of the Razor syntax that will be present in the View?
Also does this encourage us to have two syntax in our Views?
Also I don't get how removing the C# with HTML is easier to edit and maintain?
You just replaced the C# code with magic strings, if anything you lost quite a few features because of that...
|
|
|
|
|
Message Closed
modified 1-Sep-17 1:47am.
|
|
|
|
|
Robert_Dyball wrote:
Tag Helpers can be like an old fashioned macro, one small bit of markup on the page and you can get a lot of time-saving HTML created.
You get this with HTML Helpers as well.
Robert_Dyball wrote:
If you are using PoMVC (plain old MVC) views you'll probably find after a while there's similar looking chunks of code all over the app, and depending on the size of the site, these repetitive code chunks might be moved into tag helpers. IMO makes for easier changes later.
Also you can create your own HTML Helpers and you could even use partials for this...
Robert_Dyball wrote:
If you like living dangerously, try out: SPA[^]
where I use Tag Helpers in ASP.Net Core MVC partial views to serve my SPA it's HTML views
To be honest I lost faith in Angular team a long time ago, but nevertheless again you could have just used the HTML Helpers to achieve the same.
For example, in one occasion I used them for adding Vuetifyjs components.
In short, I'm not sure if you just wanted to post a link to your article or if you really believe that there is something valuable that Tag Helpers provide over HTML Helpers...
|
|
|
|
|
ouch ... sorry wasted your time, I incorrectly assumed you weren't familiar with tag helpers.
The link I gave was in good faith to provide examples + further links, and some caveats and I hoped in a tone that did not sound like I new it all - I don't.
you are entitled to assume self promotion, I think this odd, as I get a negative benefit - having not got any pay for the articles in the first place (they cost me much of my own spare time to write), and take further time if anyone asks questions. In other words to me it's a cost.
So here's a link (not mine), that compares HTML helpers and Tag Helpers:
[^]
I'll delete my earlier reply to avoid further wasted time and any hint of self promotion.
|
|
|
|