Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. My First Real-World Exposure to .Net Programming

My First Real-World Exposure to .Net Programming

Scheduled Pinned Locked Moved The Lounge
csharpcollaborationhelp
50 Posts 25 Posters 6 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Paul Watson

    Christian Graus wrote:

    ASP.NET is THE reason why .NET is killer, it's the one place where it provides an amazing platform in a world where all prior platforms absolutely blew chunks.

    I used to think that but then realised how warped ASP.NETs view of the web is. I'd love to see many ASP.NET features but working within standard web conventions. Not trying to make the web like a WinForm.

    regards, Paul Watson Ireland FeedHenry needs you

    Shog9 wrote:

    eh, stop bugging me about it, give it a couple of days, see what happens.

    B Offline
    B Offline
    Brian Delahunty
    wrote on last edited by
    #15

    Paul Watson wrote:

    I'd love to see many ASP.NET features but working within standard web conventions. Not trying to make the web like a WinForm.

    I could be completely wrong here as I have never used ASP.NET 2.0 but wasn't that one of the major good points of it... it produced standards compliant code. Plus, with the new output renderers (I can't remember if that iscorrect name) that come withwith Atlas (you can also download them separately IIRC) it now does proper things like using CSS for layout instead of tables and so on. As far as I know they have written replacement output renders for all the built in controls and they use CSS etc and standard conventions.

    Regards, Brian Dela :-)

    P J 2 Replies Last reply
    0
    • B Brian Delahunty

      Paul Watson wrote:

      I'd love to see many ASP.NET features but working within standard web conventions. Not trying to make the web like a WinForm.

      I could be completely wrong here as I have never used ASP.NET 2.0 but wasn't that one of the major good points of it... it produced standards compliant code. Plus, with the new output renderers (I can't remember if that iscorrect name) that come withwith Atlas (you can also download them separately IIRC) it now does proper things like using CSS for layout instead of tables and so on. As far as I know they have written replacement output renders for all the built in controls and they use CSS etc and standard conventions.

      Regards, Brian Dela :-)

      P Offline
      P Offline
      Paul Watson
      wrote on last edited by
      #16

      Not standards as in specs but standards as in conventions. Single biggest problem with ASP.NET; only allowed one form in a page. This is contrary to how, well, every other web framework/language works. ASP.NET tries to turn a web page into a WinForm. Buttons, events etc. It tries to turn a stateless system (HTTP) into a stateful one.

      regards, Paul Watson Ireland FeedHenry needs you

      Shog9 wrote:

      eh, stop bugging me about it, give it a couple of days, see what happens.

      J B 2 Replies Last reply
      0
      • J Josh Smith

        John Simmons / outlaw programmer wrote:

        After five days, I have to say I still don't really care for .NET. I haven't found a "gee whiz" reason that it's better than anything that came before.

        That's probably because you don't know anything about .NET at this point. You've only been using it for five days.

        :josh: My WPF Blog[^]

        realJSOPR Offline
        realJSOPR Offline
        realJSOP
        wrote on last edited by
        #17

        You don't have to spend five days handling crap to know it's crap...

        "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
        -----
        "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

        J 1 Reply Last reply
        0
        • C Chris Maunder

          It's like sex, John. If you think it's boring then you're not doing it right.

          cheers, Chris Maunder

          CodeProject.com : C++ MVP

          J Offline
          J Offline
          jwillhite
          wrote on last edited by
          #18

          Chris Maunder wrote:

          It's like sex, John. If you think it's boring then you're not doing it right.

          Holy crap! That gets a 5 for just being the funniest entry!

          1 Reply Last reply
          0
          • P Paul Watson

            Not standards as in specs but standards as in conventions. Single biggest problem with ASP.NET; only allowed one form in a page. This is contrary to how, well, every other web framework/language works. ASP.NET tries to turn a web page into a WinForm. Buttons, events etc. It tries to turn a stateless system (HTTP) into a stateful one.

            regards, Paul Watson Ireland FeedHenry needs you

            Shog9 wrote:

            eh, stop bugging me about it, give it a couple of days, see what happens.

            J Offline
            J Offline
            Jasmine2501
            wrote on last edited by
            #19

            This is simply not true. Stop using the "Designer", become a real programmer, and hand-code your ASP.Net pages. It's not a Windows Form, it's a web page. You can have multiple forms if you want. Event handling is a welcome addition which saves me from countless hours of JavaScript debugging. I've been doin this stuff for 22 years and the .NET Framework is the best thing to come along since the THINK Class Library. If you don't remember that library, then you have no perspective with which to comment. Dot Net is a thousand times better than anything we've had before, but if you're just learning programming, I can see where it might seem complicated - you just need some experience.

            P 1 Reply Last reply
            0
            • J Jasmine2501

              This is simply not true. Stop using the "Designer", become a real programmer, and hand-code your ASP.Net pages. It's not a Windows Form, it's a web page. You can have multiple forms if you want. Event handling is a welcome addition which saves me from countless hours of JavaScript debugging. I've been doin this stuff for 22 years and the .NET Framework is the best thing to come along since the THINK Class Library. If you don't remember that library, then you have no perspective with which to comment. Dot Net is a thousand times better than anything we've had before, but if you're just learning programming, I can see where it might seem complicated - you just need some experience.

              P Offline
              P Offline
              Paul Watson
              wrote on last edited by
              #20

              You cannot have multiple forms with runat="server" in an ASP.NET page. (That is, without stupid hacks, tricks and cludges.) -- modified at 13:26 Thursday 10th August, 2006

              regards, Paul Watson Ireland FeedHenry needs you

              Shog9 wrote:

              eh, stop bugging me about it, give it a couple of days, see what happens.

              J 1 Reply Last reply
              0
              • P Paul Watson

                Not standards as in specs but standards as in conventions. Single biggest problem with ASP.NET; only allowed one form in a page. This is contrary to how, well, every other web framework/language works. ASP.NET tries to turn a web page into a WinForm. Buttons, events etc. It tries to turn a stateless system (HTTP) into a stateful one.

                regards, Paul Watson Ireland FeedHenry needs you

                Shog9 wrote:

                eh, stop bugging me about it, give it a couple of days, see what happens.

                B Offline
                B Offline
                Brian Delahunty
                wrote on last edited by
                #21

                Paul Watson wrote:

                Single biggest problem with ASP.NET; only allowed one form in a page

                That's not correct. It only allows one server-side form... i.e. a form in which ASP specific components (e.g. asp:lable) will be evaluated. You can still have multiple forms and access their values etc on the server as you would normally.

                Paul Watson wrote:

                It tries to turn a stateless system (HTTP) into a stateful one.

                Well, I agree with you there but it has been a long time since I used a website that was stateful in nature. Almost every website I use these days knows my session, my setup, my configuration etc... all done via cookies. Cookies themselves are a way to get around the stateless nature of the web.

                Paul Watson wrote:

                ASP.NET tries to turn a web page into a WinForm. Buttons, events etc

                It tries to do that but doesn't force you to. You an still use the normal method but then you are more or less coding static pages. Anyway. Go RoR! hehe :-)

                Regards, Brian Dela :-)

                P 1 Reply Last reply
                0
                • B Brian Delahunty

                  Paul Watson wrote:

                  Single biggest problem with ASP.NET; only allowed one form in a page

                  That's not correct. It only allows one server-side form... i.e. a form in which ASP specific components (e.g. asp:lable) will be evaluated. You can still have multiple forms and access their values etc on the server as you would normally.

                  Paul Watson wrote:

                  It tries to turn a stateless system (HTTP) into a stateful one.

                  Well, I agree with you there but it has been a long time since I used a website that was stateful in nature. Almost every website I use these days knows my session, my setup, my configuration etc... all done via cookies. Cookies themselves are a way to get around the stateless nature of the web.

                  Paul Watson wrote:

                  ASP.NET tries to turn a web page into a WinForm. Buttons, events etc

                  It tries to do that but doesn't force you to. You an still use the normal method but then you are more or less coding static pages. Anyway. Go RoR! hehe :-)

                  Regards, Brian Dela :-)

                  P Offline
                  P Offline
                  Paul Watson
                  wrote on last edited by
                  #22

                  Brian Delahunty wrote:

                  hat's not correct. It only allows one server-side form... i.e. a form in which ASP specific components (e.g. asp:lable) will be evaluated. You can still have multiple forms and access their values etc on the server as you would normally.

                  Without runat="server" you might as well not use ASP.NET on your page. So, a major suckage of ASP.NET is that it can only handle one server-side form on a page at time (I didn't think I had to be so specific with you lot :) .) Tons of ASP.NET stuff needs to be inside a form runat="server" for it to work AFAIR. If they dropped that limitation I'd be a lot happier with ASP.NET. As for the stateful arguement other frameworks handle it a lot better, they don't convolute what is a simple, straightforward pipeline (or tubes, wich horses can run down but casino chips block.) ASP.NET is WinForms for the web (they even named it WebForm) which at first glance is awesome but then starts to suck big time as you do real world systems.

                  regards, Paul Watson Ireland FeedHenry needs you

                  Shog9 wrote:

                  eh, stop bugging me about it, give it a couple of days, see what happens.

                  B J K 3 Replies Last reply
                  0
                  • realJSOPR realJSOP

                    Well, a couple of guys on our team have been working on this ASP (.Net 2.0) web site thing for the last nine months, and I was assigned some tasks to add some features and fix some bugs. I had not seen ANY of the code prior to last Thursday, so things are REAL bumpy because of that. I have no idea how most of this .NET crap works, or what assumptions I can safely make about how a .NET website works. After five days, I have to say I still don't really care for .NET. I haven't found a "gee whiz" reason that it's better than anything that came before. I've found a lot of ways we could make our code more maintainable, but yawn.....

                    "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                    -----
                    "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                    P Offline
                    P Offline
                    Paul Watson
                    wrote on last edited by
                    #23

                    Sadly you are right about ASP.NET. You managed to see through its gloss without having to go through hell fire. As for .NET itself, I like it and like C#. I just don't use it for websites (web-services are a different matter. ASP.NET works nicely there.)

                    regards, Paul Watson Ireland FeedHenry needs you

                    Shog9 wrote:

                    eh, stop bugging me about it, give it a couple of days, see what happens.

                    J B 2 Replies Last reply
                    0
                    • R Ryan Binns

                      And naturally, they gave you a 1 in return to restore the balance of the universe :-D

                      Ryan

                      "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #24

                      I wear it with pride!

                      The tigress is here :-D

                      1 Reply Last reply
                      0
                      • P Paul Watson

                        You cannot have multiple forms with runat="server" in an ASP.NET page. (That is, without stupid hacks, tricks and cludges.) -- modified at 13:26 Thursday 10th August, 2006

                        regards, Paul Watson Ireland FeedHenry needs you

                        Shog9 wrote:

                        eh, stop bugging me about it, give it a couple of days, see what happens.

                        J Offline
                        J Offline
                        Jasmine2501
                        wrote on last edited by
                        #25

                        You do it with User controls. I don't consider that a hack. Either way, my point is that many folks don't like the restrictions they see, that is, nobody has ever forced them to write good code before. When suddenly forced into that restriction, it's a little disconcerting for sloppy web designers, but it teaches you to write good XHTML, which I don't think is a bad thing...

                        "Quality Software since 1983!" http://www.smoothjazzy.com/

                        P 1 Reply Last reply
                        0
                        • P Paul Watson

                          Sadly you are right about ASP.NET. You managed to see through its gloss without having to go through hell fire. As for .NET itself, I like it and like C#. I just don't use it for websites (web-services are a different matter. ASP.NET works nicely there.)

                          regards, Paul Watson Ireland FeedHenry needs you

                          Shog9 wrote:

                          eh, stop bugging me about it, give it a couple of days, see what happens.

                          J Offline
                          J Offline
                          Jasmine2501
                          wrote on last edited by
                          #26

                          What exactly do you not like about it? We've already established that your original complaints are only because of a lack of knowledge... what else is wrong with it? Is there anything better, and why do you think so?

                          "Quality Software since 1983!" http://www.smoothjazzy.com/

                          P C 2 Replies Last reply
                          0
                          • J Jasmine2501

                            What exactly do you not like about it? We've already established that your original complaints are only because of a lack of knowledge... what else is wrong with it? Is there anything better, and why do you think so?

                            "Quality Software since 1983!" http://www.smoothjazzy.com/

                            P Offline
                            P Offline
                            Paul Watson
                            wrote on last edited by
                            #27

                            Actually my knowledge is fine, if you read above you will see it is true that you cannot have multiple server-side forms in ASP.NET. That is a bad thing. It breaks conventional web practices.

                            regards, Paul Watson Ireland FeedHenry needs you

                            Shog9 wrote:

                            eh, stop bugging me about it, give it a couple of days, see what happens.

                            S 1 Reply Last reply
                            0
                            • J Jasmine2501

                              You do it with User controls. I don't consider that a hack. Either way, my point is that many folks don't like the restrictions they see, that is, nobody has ever forced them to write good code before. When suddenly forced into that restriction, it's a little disconcerting for sloppy web designers, but it teaches you to write good XHTML, which I don't think is a bad thing...

                              "Quality Software since 1983!" http://www.smoothjazzy.com/

                              P Offline
                              P Offline
                              Paul Watson
                              wrote on last edited by
                              #28

                              You can't have another form runat="server" inside a user control.

                              regards, Paul Watson Ireland FeedHenry needs you

                              Shog9 wrote:

                              eh, stop bugging me about it, give it a couple of days, see what happens.

                              1 Reply Last reply
                              0
                              • realJSOPR realJSOP

                                You don't have to spend five days handling crap to know it's crap...

                                "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                                -----
                                "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                                J Offline
                                J Offline
                                Josh Smith
                                wrote on last edited by
                                #29

                                John Simmons / outlaw programmer wrote:

                                You don't have to spend five days handling crap to know it's crap...

                                I don't?

                                :josh: My WPF Blog[^]

                                1 Reply Last reply
                                0
                                • C Chris Maunder

                                  It's like sex, John. If you think it's boring then you're not doing it right.

                                  cheers, Chris Maunder

                                  CodeProject.com : C++ MVP

                                  C Offline
                                  C Offline
                                  Chris S Kaiser
                                  wrote on last edited by
                                  #30

                                  That'll become a quote in someone's sig for sure.

                                  This statement is false.

                                  1 Reply Last reply
                                  0
                                  • J Jasmine2501

                                    What exactly do you not like about it? We've already established that your original complaints are only because of a lack of knowledge... what else is wrong with it? Is there anything better, and why do you think so?

                                    "Quality Software since 1983!" http://www.smoothjazzy.com/

                                    C Offline
                                    C Offline
                                    Chris S Kaiser
                                    wrote on last edited by
                                    #31

                                    Your confusing Paul's post with John's post that started this thread.

                                    This statement is false.

                                    1 Reply Last reply
                                    0
                                    • P Paul Watson

                                      peterchen wrote:

                                      (2) I wouldn't do it

                                      Don't you want kids one day? Isn't your girlfriend frustrated? Oh. You meant quoting. Right... never mind.

                                      regards, Paul Watson Ireland FeedHenry needs you

                                      Shog9 wrote:

                                      eh, stop bugging me about it, give it a couple of days, see what happens.

                                      P Offline
                                      P Offline
                                      peterchen
                                      wrote on last edited by
                                      #32

                                      eh! :suss:


                                      We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
                                      Tree in C# || Fold With Us! || sighist

                                      1 Reply Last reply
                                      0
                                      • P Paul Watson

                                        Christian Graus wrote:

                                        ASP.NET is THE reason why .NET is killer, it's the one place where it provides an amazing platform in a world where all prior platforms absolutely blew chunks.

                                        I used to think that but then realised how warped ASP.NETs view of the web is. I'd love to see many ASP.NET features but working within standard web conventions. Not trying to make the web like a WinForm.

                                        regards, Paul Watson Ireland FeedHenry needs you

                                        Shog9 wrote:

                                        eh, stop bugging me about it, give it a couple of days, see what happens.

                                        C Offline
                                        C Offline
                                        Christian Graus
                                        wrote on last edited by
                                        #33

                                        Paul Watson wrote:

                                        I'd love to see many ASP.NET features but working within standard web conventions. Not trying to make the web like a WinForm.

                                        But that is the whole point. The web model wasn't designed for the rich pages that we've all come to expect. Adding state via viewstate, and events, is sure a lot nicer than having an asp page full of hidden fields. That stuff sucked big time. I've worked on some reasonably large systems in ASP.NET and in asp. I know which one I prefer and which one was a total nightmare ( don't get me wrong, our systems worked and worked well, but you had to work hard to create anything remotely maintainable ).

                                        Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

                                        P 1 Reply Last reply
                                        0
                                        • C Christian Graus

                                          Paul Watson wrote:

                                          I'd love to see many ASP.NET features but working within standard web conventions. Not trying to make the web like a WinForm.

                                          But that is the whole point. The web model wasn't designed for the rich pages that we've all come to expect. Adding state via viewstate, and events, is sure a lot nicer than having an asp page full of hidden fields. That stuff sucked big time. I've worked on some reasonably large systems in ASP.NET and in asp. I know which one I prefer and which one was a total nightmare ( don't get me wrong, our systems worked and worked well, but you had to work hard to create anything remotely maintainable ).

                                          Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

                                          P Offline
                                          P Offline
                                          Paul Watson
                                          wrote on last edited by
                                          #34

                                          You are right in that that is the whole point of ASP.NET, WinForm for the web. I just happen to not like that view of the web. I went through ASP.NET, spent a good deal of time loving it and then falling out with it. It turns out I prefer a lighter approach to web frameworks. Something like Rails fits how I approach web dev a lot better than ASP.NET. I'm not going to try and convince you on this. It is a lot like SOAP vs. REST. I prefer REST while others prefer SOAP. It also does depend a lot on what you are doing on the web. A lot of intranet like apps are ideal for ASP.NET and I would even advise people to use ASP.NET for that kind of thing. There are things in ASP.NET that are categorically wrong (like only one server-side form per page) but a lot of it I just personally don't like. Thank good for technological diversity :)

                                          regards, Paul Watson Ireland FeedHenry needs you

                                          Shog9 wrote:

                                          eh, stop bugging me about it, give it a couple of days, see what happens.

                                          C 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups