I’m wondering, .net has all these build in GUI elements. The purpose is that we build a .net web application and for the coding itselve I know my way.
But as for user interaction, ajax, etc..
I’m very familiar with jQuery in PHP but I noticed that in .Net everybody starts using it too.
Is jQuery the best way these days to deal with this in .NET (c#)? or are there others you might recommend?
.Net web controls can be very powerful and can quickly provide good, professional user experience. But there are tradeoffs:
In short, .Net web controls are not the best strategy for every situation, although in Asp.Net 4.0 they are less troublesome. In 4.0 you can make the mark-up they send to the client more predictable, including more control over the id attribute.
And of course there is the other option in ASP.Net: the MVC framework. Although WebForm strategies now work better with JQuery, MVC is fundamentally more of a hands on approach to your markup, which works fantastic with a JQuery heavy strategy. For this reason, you’ll see JQuery more in MVC apps than in web forms applications.
MooTools, Prototype and others are also more effective than they were before in .Net, but JQuery is arguably best in .Net because:
We should all use our strengths. If you’ve got JQuery expertise, that expertise will translate very well to .Net, especially if you’re using MVC or the newer WebForms. And besides, JQuery rocks!