Book Description
It’s testable. It’s light-weight. It’s open-source. It’s . . . Microsoft?
Yes, finally, Microsoft has figured it out. ASP.NET MVC 2.0 lets you test drive your code, control the output of your HTML, and leverage C# and .NET in an easy-to-use web framework. This book shows you all you need to know to get started developing web applications using test-driven development (TDD). You’ll learn how to do everything from creating your first test, to building REST web services, to deploying your finished ASP.NET MVC applications. Test-Drive ASP.NET MVC gets you started with all the fundamentals you need, whether you’re transitioning from older Microsoft technologies, or if you’re coming from an open-source background and are curious about what ASP.NET MVC has to offer.
ASP.NET MVC 2.0 is C# on the web done right. No more fiddling around with Viewstate, IsPostBack(), and drag-and-drop coding. Microsoft has addressed the shortcomings of ASP.NET and created a framework that goes toe-to-toe with other popular web frameworks such as Ruby on Rails. Programming in C# is fun again!
This book takes a test-first approach to the main features of ASP.NET MVC. You’ll get hands-on experience building and deploying a time-management web application from start to finish. From building your first page, to data access, to integrating with web services such as Blogger.com, Test-Drive ASP.NET MVC guides you step by step. You’ll come away with a complete understanding of web services and data access, and you’ll learn how to test each component so that your code is bug-free and maintainable from the start. You’ll see how to handle security, logging, and error handling.
Software isn’t useful until it’s deployed into production. We’ll cover automated deployment using MSBuild, a build tool product that can help you get your site online, repeatably and reliably. Throughout, you’ll work with open source projects that complement ASP.NET MVC, including NHibernate, MVCContrib, and Castle Windsor Container. These tools speed up developing database components, architecture layers, and testing your code.
As you build and deploy your application, you’ll not only learn the framework itself, but also gain valuable experience with the test-first methodology, driving your application development through small and measurable incremental improvements.
About the Author
Jonathan McCracken is the Director of Services with ThoughtWorks Canada. He has developed .NET applications for a wide range of companies, including Microsoft. Jonathan has been developing software since 1994 and his .NET experience goes all the way back to .NET 1.0 in 2002. In addition to his professional activities, Jonathan enjoys speaking and blogging about diverse topics such as technology and the meaning of life (http://jonathanmccracken.blogspot.com).
Book Details
- Paperback: 250 pages
- Publisher: Pragmatic Bookshelf; 1 edition (June, 2010)
- Language: English
- ISBN-10: 1934356530
- ISBN-13: 978-1934356531
- File Size: 6.1 MiB
- Hits: 2,752 times