Latest Microsoft Blogs

Browse by Tags

Related Posts

  • ASP.NET MVC Framework Unleashed in Bookstores!

    ASP.NET MVC Framework Unleashed is now published and available at your local bookstore and Amazon. I devoted over a year of my life to writing this book. At over 700 pages, this book is one of the most comprehensive books on Microsoft’s newest framework for building web applications. Buy the book at Amazon All of the code samples are included in both the C# and VB.NET programming languages in the text of the book. You can download the source code from the book by visiting my publisher’s website at: http://www.informit.com/store/product.aspx?isbn=0672329980 You can download a single file that includes all of the code or you can download the code chapter by chapter. Just click the Downloads tab at the website. I had a lot of help writing this...


  • Book – ASP.NET MVC QUICKLY from Packt Publishing!

    If you read my blog you know that I’m a Web Forms guy. ASP.NET MVC is cool, fun, HIP even, but I’m going to keep working with Web Forms. Still, I need to know about all the web stuff we build at Microsoft, so I’m doing some reading about ASP.NET MVC (even if only to improve my arguments with our MVC guy Stephen Walther :) ) The KEY to this book is “Quickly” Without the appendices the book is 191 pages. But there is allot of information in those 191 ! Appendix A is a reference application. Appendix B deals with Testing and a Mock Framework Appendix C is all recourses ! One of the nice thing about Packt is that they don’t publish “definitive guide”. Packt is to publishing as is Sniper to Military. I highly recommend this a an ASP.NET MVC jump...


  • BOOK – Sample Chapter ASP.NET MVC 1.0

    I've avoided ASP.NET for a long time. Don't get me wrong, it's cool. I just haven't needed it. WinForms suits, and continues to serve me quite well. But still, as a developer who also does a lot of PHP (and other) web development. Sometimes I wanna use the "do it yourself" web dev model.  Enter ASP.NET MVC Some of our guys wrote this book and it's now shipping from Amazon.com You can grab a free sample chapter HERE Technorati Tags: ASP.NET , MVC , Books ! Read More...


  • Chapter 6 - Understanding HTML Helpers

    This is a rough draft of a chapter from the book ASP.NET MVC Framework Unleashed by Stephen Walther. Comments are welcome and appreciated. When the book is published, the text from this blog entry will be removed and only the code listings will remain. Order this Book from Amazon You use HTML helpers in a view to render HTML content. An HTML helper, in most cases, is just a method that returns a string. You can build an entire ASP.NET MVC application without using a single HTML helper. However, HTML helpers make your life as a developer easier. By taking advantage of helpers, you can build your views with far less work. In this chapter, you learn about the standard HTML helpers included with the ASP.NET MVC framework. You learn how to use the...


  • Chapter 5 -- Understanding Models

    This is a rough draft of a chapter from the book ASP.NET MVC Framework Unleashed by Stephen Walther. Comments are welcome and appreciated. When the book is published, the text from this blog entry will be removed and only the code listings will remain. Order this Book from Amazon An ASP.NET MVC model contains all of the business, validation, and data access logic required by your application. In other words, a model contains all of your application logic except the view logic and controller logic. The bulk of your time and effort when building an ASP.NET MVC application is devoted to building your model classes. The focus of this chapter is on creating model classes for data access. In particular, you learn how to build model classes by using...


  • Chapter 4 - Understanding Views

    This is a rough draft of a chapter from the book ASP.NET MVC Framework Unleashed by Stephen Walther. Comments are welcome and appreciated. When the book is published, the text from this blog entry will be removed and only the code listings will remain. Order this Book from Amazon The set of views in an ASP.NET MVC application is the public face of the application. ASP.NET MVC views are responsible for rendering the HTML pages that people see when they visit your website. In this chapter, you learn how to create and work with views. You learn how to pass information from a controller to a view. You also learn how to create both typed and untyped views. Finally, you learn strategies for testing your views. Creating a View The easiest way to create...


  • Chapter 3 - Understanding Controllers

    ASP.NET MVC controllers are responsible for controlling the flow of application execution. When you make a browser request against an ASP.NET MVC application, a controller is responsible for returning a response to that request. Controllers expose one or more actions. A controller action can return different types of action results to a browser. For example, a controller action might return a view, a controller action might return a file, or a controller action might redirect you to another controller action. In this chapter, you learn how to create controllers and controller actions. You learn how to return different types of controller action results. You also learn how to use attributes to control when a particular controller action gets...


  • Chapter 2 - Building a Simple ASP.NET MVC Application

    This is a rough draft of a chapter from the book ASP.NET MVC Framework Unleashed by Stephen Walther. Comments are welcome and appreciated. When the book is published, the text from this blog entry will be removed and only the code listings will remain. Order this Book from Amazon In the previous chapter, we discussed all of the lofty goals of the ASP.NET MVC framework. In this chapter, we completely ignore them. In this chapter, we build a simple database-driven ASP.NET MVC application in the easiest way possible. We ignore design principles and patterns. We don’t create a single unit test. The goal is to clarify the basic mechanics of building an ASP.NET MVC application. Over the course of this chapter, we build a simple Toy Store application...


  • Chapter 2 - Understanding Routing

    This is a rough draft of a chapter from the book ASP.NET MVC Framework Unleashed by Stephen Walther. Comments are welcome and appreciated. When the book is published, the text from this blog entry will be removed and only the code listings will remain. Order this Book from Amazon When you request a page from an ASP.NET MVC application, the request gets routed to a particular controller. In this chapter, you learn how to use the ASP.NET Routing module to control how browser requests get mapped to controllers and controller actions. In the first part of this chapter, you learn about the Default route that you get when you create a new ASP.NET MVC application. You learn about the standard parts of any route. Next, you learn how to debug the routes...


  • Chapter 1 - An Introduction to ASP.NET MVC

    This is a rough draft of a chapter from the book ASP.NET MVC Framework Unleashed by Stephen Walther. Comments are welcome and appreciated. When the book is published, the text from this blog entry will be removed and only the code listings will remain. Order this Book from Amazon “There is nothing permanent except change.” -- Heraclitus In this chapter, you are provided with an overview and introduction to the Microsoft ASP.NET MVC framework. The goal of this chapter is to explain why you should want to build web applications using ASP.NET MVC. Because the ASP.NET MVC framework was designed to enable you to write good software applications, the first part of this chapter is devoted to a discussion of the nature of good software. You learn about...


Page 1 of 2 (16 items) 1 2 Next >
Microsoft Communities