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. Web Development
  3. ASP.NET
  4. asp.net mvc 4 razor, time to learn something new this year.

asp.net mvc 4 razor, time to learn something new this year.

Scheduled Pinned Locked Moved ASP.NET
asp-netcsharpmobiledatabasebeta-testing
10 Posts 4 Posters 20 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.
  • J Offline
    J Offline
    jkirkerx
    wrote on last edited by
    #1

    Time to learn something new this year. So ASP.net MVC 4 Razor is the way to go? I want to create responsive web designs from this point forward, done with the old stuff now. Sure looks intimidating, I created the starter project, pretty neat how it creates the database for you. Just wanted to get some feedback before I dive into this.

    J H E 3 Replies Last reply
    0
    • J jkirkerx

      Time to learn something new this year. So ASP.net MVC 4 Razor is the way to go? I want to create responsive web designs from this point forward, done with the old stuff now. Sure looks intimidating, I created the starter project, pretty neat how it creates the database for you. Just wanted to get some feedback before I dive into this.

      J Offline
      J Offline
      jkirkerx
      wrote on last edited by
      #2

      I would like to do as much as possible to tweak my existing web sites to a responsive design. I guess this can be done via CSS, and a lot of brain work. Or would it be better to just create a mobile version for small phones? What are you guys doing with your classic web sites? and the small phone issue like the iPhone 4 or 5.

      F 1 Reply Last reply
      0
      • J jkirkerx

        I would like to do as much as possible to tweak my existing web sites to a responsive design. I guess this can be done via CSS, and a lot of brain work. Or would it be better to just create a mobile version for small phones? What are you guys doing with your classic web sites? and the small phone issue like the iPhone 4 or 5.

        F Offline
        F Offline
        F ES Sitecore
        wrote on last edited by
        #3

        It's often not possible to "tweak" a non-responsive site into one that is, it normally requires a full UI and css redesign from the ground up. You should be able to keep your functionality and code, just change the markup. If you do get a good responsive design then you can use the same site for mobile and desktop.

        J 1 Reply Last reply
        0
        • F F ES Sitecore

          It's often not possible to "tweak" a non-responsive site into one that is, it normally requires a full UI and css redesign from the ground up. You should be able to keep your functionality and code, just change the markup. If you do get a good responsive design then you can use the same site for mobile and desktop.

          J Offline
          J Offline
          jkirkerx
          wrote on last edited by
          #4

          I started experimenting with the master pages of one of my web apps. Thought I did a great job with the CSS, until I got to testing on an IPad and Safari. So I sort of wasted a day of work, or saved a week. I'm starting to think that perhaps just a mobile version using m.domainname.com would be a better solution, and just do device detection. Perhaps this is a good reason to learn MVC, which is so foreign looking to me. Your right on the money, it needs to be built from the ground up.

          1 Reply Last reply
          0
          • J jkirkerx

            Time to learn something new this year. So ASP.net MVC 4 Razor is the way to go? I want to create responsive web designs from this point forward, done with the old stuff now. Sure looks intimidating, I created the starter project, pretty neat how it creates the database for you. Just wanted to get some feedback before I dive into this.

            H Offline
            H Offline
            harsimranb
            wrote on last edited by
            #5

            Asp.Net MVC is very neat. Initially it is hard to get around if you're from Asp.Net WebForms, but once you get a hang, you will never look back. In fact, you will hate WebForms. :) For responsive design, you can use Twitter BootStrap[^] It is basically the ground framework for a good looking site, with built-in responsive design support. It will save you a lot of time and effort. There are many CSS frameworks on the web that support responsive design, a simple Google search should reveal them. All in all, Asp.Net MVC is a great framework to invest in, and it is here to stay.

            --- H.B.

            J 1 Reply Last reply
            0
            • J jkirkerx

              Time to learn something new this year. So ASP.net MVC 4 Razor is the way to go? I want to create responsive web designs from this point forward, done with the old stuff now. Sure looks intimidating, I created the starter project, pretty neat how it creates the database for you. Just wanted to get some feedback before I dive into this.

              E Offline
              E Offline
              Erik Funkenbusch
              wrote on last edited by
              #6

              MVC4 is actually quite old now. MVC 5.2.2 is the most recent version, and MVC6 is in development (for release later this year). You can download the free Community Edition of Visual Studio 2013 for personal use to learn MVC 5.x, or you can download the Visual Studio 2015 CTP if you want to get a head start on MVC6.

              -- Where are we going? And why am I in this handbasket?

              J 1 Reply Last reply
              0
              • E Erik Funkenbusch

                MVC4 is actually quite old now. MVC 5.2.2 is the most recent version, and MVC6 is in development (for release later this year). You can download the free Community Edition of Visual Studio 2013 for personal use to learn MVC 5.x, or you can download the Visual Studio 2015 CTP if you want to get a head start on MVC6.

                -- Where are we going? And why am I in this handbasket?

                J Offline
                J Offline
                jkirkerx
                wrote on last edited by
                #7

                My action pack or MSDN subscription expired for VS2013, I'll try the community version and give 5 a spin. I was just working on MVC 4 just now, watching the Code Project Article "learn in 7 days" So I guess I will dive into this this week, and build my website in it first. Thanks for the version info, I didn't know about that. Learn MVC (Model View Controller) step by step in 7 days – Day 1[^]

                1 Reply Last reply
                0
                • H harsimranb

                  Asp.Net MVC is very neat. Initially it is hard to get around if you're from Asp.Net WebForms, but once you get a hang, you will never look back. In fact, you will hate WebForms. :) For responsive design, you can use Twitter BootStrap[^] It is basically the ground framework for a good looking site, with built-in responsive design support. It will save you a lot of time and effort. There are many CSS frameworks on the web that support responsive design, a simple Google search should reveal them. All in all, Asp.Net MVC is a great framework to invest in, and it is here to stay.

                  --- H.B.

                  J Offline
                  J Offline
                  jkirkerx
                  wrote on last edited by
                  #8

                  I was just watching the training video on Code Project Learn MVC (Model View Controller) step by step in 7 days – Day 1[^] It makes sense to me now. MVC would be easier for me after the learning curve, and I can see how it would reduce my development time, and make projects more profitable, plus produce that responsive design I was looking for. I looked at the Twitter Bootstrap website, will download a copy and see if that's a good start point for me, and figure how to merge that in. Thanks for the positive feedback on my choice to move forward this year, and the pointers! I'm going to have a thousand questions here. like how to place an image element in the view.

                  H 1 Reply Last reply
                  0
                  • J jkirkerx

                    I was just watching the training video on Code Project Learn MVC (Model View Controller) step by step in 7 days – Day 1[^] It makes sense to me now. MVC would be easier for me after the learning curve, and I can see how it would reduce my development time, and make projects more profitable, plus produce that responsive design I was looking for. I looked at the Twitter Bootstrap website, will download a copy and see if that's a good start point for me, and figure how to merge that in. Thanks for the positive feedback on my choice to move forward this year, and the pointers! I'm going to have a thousand questions here. like how to place an image element in the view.

                    H Offline
                    H Offline
                    harsimranb
                    wrote on last edited by
                    #9

                    Sure thing! If you have any question, feel free to ask, me and many other members are willing to help. Google also has an abundance of questions and answers. Just to give you a little perception on the view: Your controller will pass in a "model" to the View. The model can be your domain object, or a view model. I don't want to go into too many details and make it more confusing. You will learn these things as you get more into Asp.Net Mvc. The view is a template with all the html and razor code. A sample template will be like this:

                    @Model.Name

                    The razor templating engine then parses the HTML, fills in the model properties from the controller, and renders the raw HTML in the browser. Asp.MVC does all that automatically on the backend. This produces clean and concise HTML, and lets you make it as semantic as you like. It is all very beautiful.

                    H.B.

                    J 1 Reply Last reply
                    0
                    • H harsimranb

                      Sure thing! If you have any question, feel free to ask, me and many other members are willing to help. Google also has an abundance of questions and answers. Just to give you a little perception on the view: Your controller will pass in a "model" to the View. The model can be your domain object, or a view model. I don't want to go into too many details and make it more confusing. You will learn these things as you get more into Asp.Net Mvc. The view is a template with all the html and razor code. A sample template will be like this:

                      @Model.Name

                      The razor templating engine then parses the HTML, fills in the model properties from the controller, and renders the raw HTML in the browser. Asp.MVC does all that automatically on the backend. This produces clean and concise HTML, and lets you make it as semantic as you like. It is all very beautiful.

                      H.B.

                      J Offline
                      J Offline
                      jkirkerx
                      wrote on last edited by
                      #10

                      Cool, I was going to ask if I should use razor. Installing that VS2013 Community Edition right now, and will start again today. I've always had regrets about adopting asp.net webforms versions, so much of it was just stupid. Was considering that Ruby on Rails or just going back to PHP and Linux, but I see a lot of PHP sites that I frequent using MVC now. I think Best Buy is now MVC as well.

                      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