Re: ASP.NET Common Usage (Debate Please)

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi,

DaBrain wrote:
Many thank to anyone who has the time to read an reply to this.

Am a lone gun developer, I do not develop in team so this question
comes from a place where I just don't really KNOW what others are
doing, I just read, and what I read is ALL about Web Forms ONLY.

ASP.NET gives you a high level of comfort, by wiring the events, automating a lot of tasks, making the web react more like windows. However, I don't really agree with you when you say that postbacks are the Correct way. I think that POST has a lot of issues, for example when your end user refreshes the page and gets asked if he wants to resubmit. Also, don't forget that POST requests cannot be saved, when GET requests can get stored in a bookmark.

As you say, my strong opinion is that there is nothing wrong in doing GETs, and you really shouldn't get inhibited. The art of engineering is knowing when to choose which technology. On the web, we have POST and GET, and both have advantages and inconveniences. You have a huge advantage on new developers who only worked with .NET, and this is that you understand the depths of the HTTP protocol, because you come a long
way. Make sure to use this advantage when you work on a project.

Nothing wrong with a querystring :-)

Feeling better?

HTH
Laurent

PS: some will argue that the Correct way to go nowadays is to use AJAX ;-)
PS2: And guess what, it comes with GET and POST too



I have been developing web sites since 1995, then it was all PERL/CGI,
HTML on UNIX Now I am making the transition from ASP to ASP.NET. I am
developing in C# now.

My question is based around the concept of True "Web Forms"
Development, using Post Backs etc. As a developer I want to develop in
this manner because it is the Correct way to develop today. But in
some cases for example, in an online catalog, you want to use Query
string, Not only are catalog pages bookmarkable that way but the
navigation (back ,forward function)

The problem is this, as a responsible developer making a transition to
the new ways ... every time I develop something with a QueryString
(?printable=1 ... ?productid=54654) I feel as though I am breaking the
rules, reverting to old ways, not accepting the transition as it should
be. - I think. "what have I missed"

While I do use and enjoy true Web Forms development, custom controls,
and user controls...

...Is it also common to use GET requests in lots of your design? Should
I just think of ASP.NET web forms as a new and powerful "option"
available to me or should I think of it as the new must method of
design if you are going to use ASP.NET

Is it a case of:
Web forms are just a tool, use 'em when you can don't feel guilty
when you don't -- mix it up as you see fit you got the experience,
stop overthinking it! Nothing wrong with a querystring as long as your
code is good.

I think I need mentoring here, assurance, something like that. -
Strange that is.


Thank you very much for any replies



--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
.



Relevant Pages

  • Re: Typical work day
    ... >> searching on Booleans (65 mins) ... developer and a network administrator. ... There was no IT manager. ... these programs to break easily plus new feature requests). ...
    (comp.programming)
  • Re: Select weirdness
    ... special dedicated server that handles only the AJAX requests. ... The tricky part is that each developer needs to have their own copy of ... serve run on unix sockets rather than TCP sockets. ...
    (comp.lang.python)
  • Re: Typical work day
    ... That changes the nature of interruptions; ... > developer and a network administrator. ... > these programs to break easily plus new feature requests). ... You guys need to get a helpdesk ticket system and _enforce_ it. ...
    (comp.programming)
  • Re: Compiling Stored procedures
    ... development environment and no DDL_ADMIN rights in the UAT ... Developer A creates a stored proc 'a' in Development ... Developer A then requests the DBA team to create this ...
    (microsoft.public.sqlserver.programming)
  • ASP.NET Common Usage (Debate Please)
    ... Am a lone gun developer, I do not develop in team so this question ... HTML on UNIX Now I am making the transition from ASP to ASP.NET. ... every time I develop something with a QueryString ... ....Is it also common to use GET requests in lots of your design? ...
    (microsoft.public.dotnet.framework.aspnet)