I have worked with MVC/MVC2 and built some web applications based on Nerddinner. Those applications only use webform and entity framework. I would like to start to use more Ajax and looked for some tutroials but they are a bit out of day. Does any one have found some recent practices/examples/tutorials/ of MVC3 with more integration of Ajax?
Thank you very much!
I recommend book 'Pro ASP.NET MVC Framework' by Steven Sanderson - it have examples of real applications and problems in development in begin, if you want - you can go in more detail chapters with description of all mechanisms, ajax and jquery basics included too. Book available for MVC2. To learn more about mvc 3 - read Scott Gu blog.
For ajax read JQuery tutorial:
Related
I am trying to learn backbone.js to make a web application.This is my first time with a javascript framework and I am fairly confused with some of the stuff.
I have been developing in codeigniter for a while so I do have a understanding of the MVC architecture.
My question is how do I get the data from the backbone.js front end to my codeigniter controller and save it in the database. for example to implement a simple login/register functionality with CI and backbone, how should I proceed. If anyone can guide me step step then that would be great or point me to the right resource. Thank you.
PS: I know that I have to implement a REST api with my codeigniter but I don't know how? so if someone can provide a basic controller example it'd be really helpful.
Here's a tutorial to use the API mentioned in the above reply (by the author of the library himself)
http://net.tutsplus.com/tutorials/php/working-with-restful-services-in-codeigniter-2/
ASP.NET MVC 4 has some nice mobile features which are replacing my mutant mobile view engines, but until it's production ready, I'd like to implement the browser override feature for ASP.NET MVC 3.
SetOverriddenBrowser() seems to set a .ASPXBrowserOverride cookie with an overriding User Agent that returns an HttpBrowserCapabilitiesBase object via HttpContext.GetOverriddenBRowser().
What would be the simplest way of implementing this feature for MVC 3 to make use of the mobile detection library, including 51Degrees.mobi?
There is a blog post on the 51Degrees.mobi site that you might find useful. Check it out here. It covers the implementation of 51Degrees with MVC 4.
Can anyone share links of production code to real-word ASP.NET MVC applications. It's interesting to see on production code and implementation staff!
Many thanks.
I found the best one for me its Kigg starter kit.
..And of course the almighty NerdDinner (which is not really real website, but rather an Implementation of the well known tutorial).
Umbarco CMS is an example of an open source ASP.NET MVC built CMS. While the Music Store is not a real world application it is close enough and a good from learning perspective.
What about http://www.stackoverflow.com? :)
This one: http://getrocketship.com/ It's a CMS service for small businesses.
And... http://www.lizzabethbrown.com/
Can some one provide step by step tutorial how to do ASP.NET 4 AJAX data binding
Read this article for a good intro about ASP.NET AJAX 4.0 data templates. You can then learn more advanced techniques by reading the source of the sample applications from Microsoft.
Can it easily be combined with jQuery, (ASP.NET) Ajax, ASP.NET webforms, other frameworks.
What about pulling dynamic code from ASP.NET MVC into for example classic ASP?
Does the MVC model mean that it is easy to customize code?
Background:
I have some experience that it can lead to problems to integrate frameworks relying on JavaScript with each other?
We have a classic ASP where we write new stuff in ASP.NET, and include .aspx code in the ASP files.
I am looking for some OS frameworks for stuff we need, and i think MVC based ones should be easier to adopt (KIGG)
ASP.NET MVC ships with jQuery as the default javascript framework, so no worries there. There aren't really any ties in the framework itself to jQuery so you could also switch it out with a framework of your choice. MVC comes with it's own AJAX implementation that builds on the base ASP.NET Ajax implementation (at least in javascript), so there is AJAX support but I think you'll find that it's different -- no UpdatePanels, for instance -- but you're able to do similar things.
You can mix WebForms with MVC, but you'll need to set up IgnoreRoutes for those URLs so they don't get processed. I confess that I haven't found a need to do this yet, but then I don't use third-party controls. That might be an area where, at least for now, you still need some WebForms. I've never used classic ASP and likely won't so I can't help you there.
You can use any Javascript framework with MVC, they have included Jquery as the default but any can work with it.
As far as flexibility, we have deployed a working site with ASP.NET webforms, MVC and .NET 1.1 libraries, so yes it is flexible.
In our experience ASP.NET MVC is the best thing MS have done for web development, especially if you like to control closely your html output and use web standards in your layout and design. We have used it for 6 Months and we are NEVER going back to web forms.
Have fun!