Reverse Auction

923 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
923
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
15
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Reverse Auction

  1. 1. ASP.NET MVC OVERVIEW By Muktadiur Rahman Date: 17/12/2009
  2. 2. 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
  3. 3. 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
  4. 4. What Is MVC
  5. 5. What Is MVC
  6. 6. What Is MVC
  7. 7. What Is MVC
  8. 8. What Is MVC
  9. 9. What Is MVC
  10. 10. What Is MVC
  11. 11. Who Are Using MVC  Java: Swing, Struts  Python: Django  PHP: CakePHP, Symfony  Ruby: Ruby on Rails  ASP .NET: Microsoft’s ASP .NET MVC
  12. 12. 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
  13. 13. ASP.NET MVC  ASP.NET MVC 1.0  Requires .NET 3.5 SP1 / Visual Studio 2008 SP1  Download Microsoft ASP.NET MVC 1.0 from http://asp.net/mvc  ASP.NET MVC 2.0(In beta)  Will be part of Visual Studio 2010 / ASP.NET 4.0
  14. 14. 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
  15. 15. 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
  16. 16. 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.NET MVC may be better suited
  17. 17. Benefits ASP.NET MVC • You get REST URLS – Normal ASP.NET • http://server/application/Products.aspx?id=4 – ASP.NET MVC • 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 fromyou, 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 easierto optimize URLS forsearch 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 theirstate between posts. This made things a little bit easier, but this obfuscation hides how interactions between the client and the serveractually occur. MVC gives you much more control over the client-server interaction
  18. 18. THANK YOU Q & A

×