As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I have worked with ASP.NET webforms and windows application with C# but due to the change in nature of my job, I did not work with ASP.NET at all for 2 years. Now, I want to come back to ASP.NET and MVC is already there. I am following the tutorials on www.asp.net.
Should I learn LINQ and EntityFramework to learn MVC? Are there any other fundamental things to learn before learning MVC?
Do yourself a favor and learn HTTP, then you'll be good with any framework.
Now, I want to come back to ASP.NET and MVC is already there
Nevermind! Get started with MVC!
Should I learn LINQ and EntityFramework to learn MVC?
That is not necessarily a prerequisite. Maybe you need get used to lambdas (as they are used by many methods in MVC), so learning LINQ will guide through that.
Get a good understand of AJAX and jQuery (as it's included in the MVC stack) and you're good to go!
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
Is there anyway to implement MVVM design pattern in client side of Asp.net with MVC applications?
Sounds contradictory. ASP.NET MVC (as it name suggests) implements the MVC pattern. If you want to use the MVVM pattern in a web application you could implement it yourself on top of ASP.NET or use an existing framework such as ASP.NET MVVM.
If you are talking about client side MVVM, there are gazillions of javascript frameworks (I've already lost track of their number, because they grow like mushrooms everyday) you could use: knockoutjs, backbonejs, ... For example ASP.NET MVC 4 comes bundled with knockoutjs and is using it for its SPA template.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am a student now, and I like grails.
I have a bit experience with java, but not that much.
I know a bit of the java stack technologies
What technologies I should understand before going to developing websites with the Grails framework?
I would advise you to learn the Spring MVC Framework prior to Grails because Grails is based on this framework. So if you encounter an error you will have to check the stacktrace and understand what is going on.
You can start learning Spring MVC by reading Introduction to Spring Web MVC framework.
have you tried going through the getting started guide for grails? that should get you going, and you can pick up anything extra you need along the way...
It's worth knowing about the the technologies Grails is using under the hood:
Hibernate
Spring (especially MVC)
Groovy
It is also worth being familiar with the design patterns that Grails uses, in particular model-view-controller.
Some basic knowledge of relational databases will also be useful.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I want to develop a personal blogging website using ASP.NET MVC 4.
I know that I could be using WordPress/ Joomla/ Orchard/ Umbraco/ Funnelweb, etc., instead of reinventing the wheel but I really wish to try it out myself.
I do not want my website to look like some beatle-aged archaic remain. I see plugins like Akismet/ Prettify/ Markdown/ nrelate that add amazing functionalities to your blog. But I am not really sure if I would be able to use any of these in my custom application as most of them are PHP based. I want to stick under the Microsoft roof and implement technologies like HTML5, CSS3 Silverlight5 and WCF 4.0, along with ASP.NET MVC 4. (At least thats what I plan to do)
I understand that I need to develop a scalable database design that could accomodate newer functionalities in the future. Additionally, the exorbitant focus on SEO and cross-browser capabilities is overwhelming. Permanent links for individual blogs, internal navigation, video-embedding inside posts, etc., sound like building Rome in a day
Please if you could guide me personally or direct me to appropriate resources, it would be very helpful.
I am sort of doing it right now on my own. It's not done yet but it will give you an idea: MvcBloggy.
Also, have a look at FunnelWeb source code. It's written in C# and uses ASP.NET MVC 3 I believe but it's a really good resource and easy to follow.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am familiar enough with C#, objects and classes and i have tested Entity Framework 4 (tutorials, videos, blogs for CRUD operations). But i think this knowledge is not enough for a larger project with real business aspects such us Ajax partial updates, jquery, json data populating lists etc.
Which Books or tutorials do you suggest for Professional Programming with MVC?
ASP.NET MVC in Action, good book to look.
Checkout the Tutotials in ASP.NET MVC site. They have a nice Contoso University sample MVC app which uses Entity Framework and Repositary pattern.
You may also consider checking out some Open Source projects in Codeplex/Github and download the source code and try do make some customization. That is a good exercise for sure.
Practicing will make you an expert. So Practice Practice Practice. Write some code...
I like the Steve Sanderson MVC book for a good overview of the framework:
http://www.amazon.co.uk/Pro-ASP-NET-MVC-Framework-Edition/dp/1430234040/ref=sr_1_4?ie=UTF8&qid=1344004976&sr=8-4
believe there is an MVC4 version now too, but without Steve:
http://www.amazon.co.uk/Pro-NET-Edition-Professional-Apress/dp/1430242361/ref=sr_1_2?ie=UTF8&qid=1344004976&sr=8-2
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
A colleague of mine ran a simple load test using VS2010 on a Webforms project and an Asp.net MVC project and noticed that Webforms was serving around 83 requests per second whereas Asp.net MVC was serving 28 requests per second. Both the sites were published on the same server with similar settings.
Webforms project had 10 pages 5 of them displayed simple text messages using labels and the other 5 had text box controls. Similar functionality was built into the Asp.net MVC site so that the output is the same as the Webforms pages. Tests were run with both constant load and incremental load with similar results.
I am a little surprised with the results. Does anyone know why MVC is slower that Webforms?
Thanks!
Hmm. Without much info to go on, perhaps you should instrument your code to see what's taking a while and/or the difference between Web Forms and MVC.
You might use some aspect oriented programming techniques to remove the burden of all those logging commands.
Here's one such framework:
http://code.google.com/p/postsharp-user-plugins/wiki/Log4PostSharp