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. ASP.NET MVC

ASP.NET MVC

Scheduled Pinned Locked Moved The Lounge
asp-netcsharpcomtoolsarchitecture
6 Posts 5 Posters 2 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.
  • C Offline
    C Offline
    Christian Graus
    wrote on last edited by
    #1

    So, I am creating a new website, and I'm figuring it's a good time to learn ASP.NET MVC. I'm watching a video about it right now. I am thinking that I will like it, once I get a handle on it. Right now it seems like there's a lot of pieces to figure out. I am hating the idea of putting code back in the aspx tho, I am waiting for the moment where it becomes clear that I don't need to do that.

    Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

    M N T 3 Replies Last reply
    0
    • C Christian Graus

      So, I am creating a new website, and I'm figuring it's a good time to learn ASP.NET MVC. I'm watching a video about it right now. I am thinking that I will like it, once I get a handle on it. Right now it seems like there's a lot of pieces to figure out. I am hating the idea of putting code back in the aspx tho, I am waiting for the moment where it becomes clear that I don't need to do that.

      Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

      M Offline
      M Offline
      Mycroft Holmes
      wrote on last edited by
      #2

      I'm surprised you don't go Silverlight?

      Never underestimate the power of human stupidity RAH

      C 1 Reply Last reply
      0
      • M Mycroft Holmes

        I'm surprised you don't go Silverlight?

        Never underestimate the power of human stupidity RAH

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

        So am I.... Silverlight is out because people have to download a plugin. I believe a silverlight version is planned down the track. ASP.NET MVC seems like it could do some cool things, especially readable URLs. However, I feel like I'd like to play with the ASP.NET AJAX controls, and I'm not sure that is possible with ASP.NET MVC, so I am feeling torn. I also hate how the code goes into the aspx in MVC, that's just ugly.

        Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

        G 1 Reply Last reply
        0
        • C Christian Graus

          So am I.... Silverlight is out because people have to download a plugin. I believe a silverlight version is planned down the track. ASP.NET MVC seems like it could do some cool things, especially readable URLs. However, I feel like I'd like to play with the ASP.NET AJAX controls, and I'm not sure that is possible with ASP.NET MVC, so I am feeling torn. I also hate how the code goes into the aspx in MVC, that's just ugly.

          Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

          G Offline
          G Offline
          Giorgi Dalakishvili
          wrote on last edited by
          #4

          Why don't you use jQuery UI[^] instead of ASP.NET AJAX controls? As for the aspx did you look at Spark view engine?

          Giorgi Dalakishvili #region signature My Articles Browsing xkcd in a windows 7 way[^] #endregion

          1 Reply Last reply
          0
          • C Christian Graus

            So, I am creating a new website, and I'm figuring it's a good time to learn ASP.NET MVC. I'm watching a video about it right now. I am thinking that I will like it, once I get a handle on it. Right now it seems like there's a lot of pieces to figure out. I am hating the idea of putting code back in the aspx tho, I am waiting for the moment where it becomes clear that I don't need to do that.

            Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

            N Offline
            N Offline
            Not Active
            wrote on last edited by
            #5

            I know it struck me at first as going back to the classic ASP model. There was an article I read a short time ago, I believe by Dino Esposito, giving the case where this wasn't as bad as it seems. If I can remember it I'll pass it along.


            I know the language. I've read a book. - _Madmatt

            1 Reply Last reply
            0
            • C Christian Graus

              So, I am creating a new website, and I'm figuring it's a good time to learn ASP.NET MVC. I'm watching a video about it right now. I am thinking that I will like it, once I get a handle on it. Right now it seems like there's a lot of pieces to figure out. I am hating the idea of putting code back in the aspx tho, I am waiting for the moment where it becomes clear that I don't need to do that.

              Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

              T Offline
              T Offline
              TheyCallMeMrJames
              wrote on last edited by
              #6

              I would argue that the only code you're putting (you should be putting) in the ASPX is for view-related template expression. So, extracting data from the model. If you have to go beyond that, it's likely a candidate for a partial view and some more controller logic. For all things UI I use straight-up HTML and jQuery/jQuery UI. It's nothing at all like classic ASP ;), except maybe your code tags. I spent three years too many of my life there. When you're getting started, I think the size of the default/starter project (even the empty one) is a little overwhelming. Once you're more comfortable with the framework I find it very natural. I think of the View (the ASPX) as simply a template. No logic, baby. Cheers.

              They Call me Mister James

              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