170 likes | 335 Views
.Net Online Training in USA| Job Assistance .Net is a software development framework by Microsoft. Its use is extensive and reaches, immense. Its best feature is its language interoperability. It also is well known for performance, security, simplified deployment, memory efficiency etc. .Net programming skills are highly valued in the market and .Net programmers are always in demand. This might just be the skills that you need to move ahead and grow in your career. Contact us: http://www.quontrasolutions.com/asp-net-online-training-course.html Email: info@quontrasolutions.com Contact : 404-900-9988
E N D
ASP.NET MVC Introduction Presented By : QuontraSolutions Quality Online Training Solutions – IT Email:info@quontrasolutions.com Call us for Free Demo: 404-900-9988 Web:www.QuontraSolutions.com
ASP.NET MVC • What Is MVC • Who Are Using MVC • ASP.NET MVC • What Is Missing • When MVC • ASP.NET MVC or Web Form • Benefits of ASP.NET MVC
What Is MVC? • An architectural pattern used to separate an application into three main aspects • Model. Set of classes that represent data and business rules for how data can be changed and manipulated • View. Application’s user interface • Controller. Set of classes that handles communication from user, overall application flow, and application-specific logic
Who Are Using MVC • Java: Swing, Struts • Python: Django • PHP: CakePHP, Symfony • Ruby: Ruby on Rails • ASP .NET: Microsoft’s ASP .NET MVC
ASP.NET MVC • A new way to build highly-testable apps on top of the ASP.NET Framework • No post-backs • Requests map to methods rather than pages • SEO-friendly URLs • Supports TDD and Unit Tests • Encourages use of design patterns and best practices
What Is Missing • Not as RAD as using Web Forms • No drag and drop experience • Doesn’t build on all your experience with ASP.NET server controls
When MVC • are disciplined and want to follow design • patterns and best practices • are interested in embracing unit tests • are interested in embracing TDD • are being told to use it by your employer/client
ASP.NET MVC or Web Form • Building an intranet site with lots of data editing -Web Forms may be better suited • Building an Internet site where HTML, performance, and scalability are paramount -ASP.NETMVC may be better suited
Benefits ASP.NET MVC • You get REST URLS • Normal ASP.NET • http://server/application/Products.aspx?id=4 • ASP.NETMVC • http://server/application/Products/show/beverages • You don't have to use the ".aspx" extensions (you never really did, but now it is easier to avoid). • Very clean, controlled HTML output. Less of what will show up is hidden from you, so you have a lot more control over the generated HTML. • Testing becomes much easier. Web forms where very difficult to test. Because of the controllers instead of the pages themselves handling things, testing becomes much easier. • It becomes far easier to optimize URLS for search engines. With Web Forms one needed to use URL rewriters which merely hid what the real URL was. • With Web Forms there was a sense of state. Pages maintained their state between posts. This made things a little bit easier, but this obfuscation hides how interactions between the client and the server actually occur. MVC gives you much more control over the client-server interaction
THANK YOU Q & A