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 4 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.
  • R 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
              • R 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
                          • P Paul Watson

                            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 Offline
                            C Offline
                            Christian Graus
                            wrote on last edited by
                            #35

                            Paul Watson wrote:

                            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.

                            Yeah, the apps I have worked on almost certainly fall into this category.

                            Paul Watson wrote:

                            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.

                            I guess the thing is, it is a new (ish) framework. A lot of stuff has gotten better in 2.0 ( being able to keep state between pages for example ).

                            Paul Watson wrote:

                            Thank good for technological diversity

                            Yes, indeedio.

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

                            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.

                              J Offline
                              J Offline
                              Jeremy Falcon
                              wrote on last edited by
                              #36

                              Paul Watson wrote:

                              Not trying to make the web like a WinForm.

                              Not to mention (I haven't used it lately), but it also has a lot of IE speicific stuff it spits out too. I like ASP.NET, but not WebForms, for that reason.

                              Jeremy Falcon

                              1 Reply Last reply
                              0
                              • P Paul Watson

                                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 Offline
                                B Offline
                                Brian Delahunty
                                wrote on last edited by
                                #37

                                Ok. I wasn't being all that serious considering I haven't done ASP.NET dev in a good while... was just yanking your chain... not in a dirty way...

                                Regards, Brian Dela :-)

                                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.

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

                                  Paul Watson wrote:

                                  (web-services are a different matter. ASP.NET works nicely there.)

                                  Damn right... they are basically C# classes with an attribute or two slapped on here and there. Pure simplicity. And to be ultra safe, write the WSDL contract first and then generate the implementation C# stub. Nice.. Yum... I'm hungry.. Ok, I'm gone insane... Paul, hit me in work tomorrow. Cheers. I need sleep!!! SLEEEEEEP!

                                  Regards, Brian Dela :-)

                                  1 Reply Last reply
                                  0
                                  • P Paul Watson

                                    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.

                                    J Offline
                                    J Offline
                                    Jeremy T Fuller
                                    wrote on last edited by
                                    #39

                                    I work full time as an ASP.NET developer working on some pretty big applications, and I've never encountered a time when I needed to have more than one

                                    on the page. Are you trying to integrate non-.NET systems with the page? I could see how that could get dicey, but staying strictly in the ASP.NET realm, everything works well as designed. I agree that the it is by far the best thing to have come out for dynamic web applications. An earlier comment was made about ASP.NET making a web site stateful instead of stateless. This is exactly why you would have picked up ASP.NET to begin with. If you want a stateless web page, just write it in HTML.

                                    P P S 3 Replies Last reply
                                    0
                                    • P peterchen

                                      (1) kid sister rule maybe? (2) I wouldn't do it


                                      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

                                      A Offline
                                      A Offline
                                      AbhishekBK
                                      wrote on last edited by
                                      #40

                                      peterchen wrote:

                                      kid sister rule maybe?

                                      Oh! Just forgot about that.

                                      Abhishek The worst loneliness is not to be comfortable with yourself. --Mark Twain

                                      1 Reply Last reply
                                      0
                                      • J Jeremy T Fuller

                                        I work full time as an ASP.NET developer working on some pretty big applications, and I've never encountered a time when I needed to have more than one

                                        on the page. Are you trying to integrate non-.NET systems with the page? I could see how that could get dicey, but staying strictly in the ASP.NET realm, everything works well as designed. I agree that the it is by far the best thing to have come out for dynamic web applications. An earlier comment was made about ASP.NET making a web site stateful instead of stateless. This is exactly why you would have picked up ASP.NET to begin with. If you want a stateless web page, just write it in HTML.

                                        P Offline
                                        P Offline
                                        prst123
                                        wrote on last edited by
                                        #41

                                        If feel that, for a novice web programmer, asp.net is the best place to start with. i started coding web applications with asp.net (1.0) 2 years ago, during my first job after graduation. I find it easy to learn even for a guy with not much programming exposure.

                                        1 Reply 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 :-)

                                          J Offline
                                          J Offline
                                          Johnny Mnemonic
                                          wrote on last edited by
                                          #42

                                          Brian Delahunty wrote:

                                          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.

                                          Hm. I have HTML validator plugin plugged-into my Firefox. It show a small icon in the statusbar - red when there'are errors on the page, yellow for warnings without errors and green if x/html code of current page is fully ok. And while surfing the web, seing green "valid" icon is VERY rare thing, even for sites made with ASP.NET (BTW, according to my experience, the highest percent of correct sites is among those made with Ruby/Rails). Thats a pity, IMHO. But anyway I'm very glad that Microsoft finally has stopped perverting and agreed that there is a W3C existing and there are some conventional standards for the web.

                                          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