swalther

Stories kicked by swalther

Essential Visual Studio Tips & Tricks that Every Developer Should Know(weblogs.asp.net)

submitted by swaltherswalther(975) 3 years, 7 months ago

In this blog entry, Stephen Walther lists the essential tips and tricks that every developer who uses Visual Studio 2008 should know. The list is kept brief. The list focuses on only those tips and tricks that can be used on a daily basis. Almost all of these tips and tricks are just as useful regardless of whether you are building an ASP.NET Web Forms or ASP.NET MVC application. read more...

add a comment |category: |Views: 845

tags: another

A Guide to Learning ASP.NET MVC Beta 1 (weblogs.asp.net)

submitted by mosessaurmosessaur(5424) 3 years, 7 months ago

ASP.NET MVC Beta1 learning guide by Stephen Walther read more...

1 comment |category: |Views: 461

tags: another

ASP.NET MVC Tip #44 – Create a Pager HTML Helper (weblogs.asp.net)

submitted by mosessaurmosessaur(5424) 3 years, 8 months ago

This tip demonstrate how you can create a custom HTML Helper that you can use to generate a user interface for paging through a set of database records. Stephen built on the work of Troy Goode and Martijn Boland. Also demonstrate how you can build unit tests for HTML Helpers by faking the HtmlHelper class. read more...

add a comment |category: |Views: 175

tags: another

New ASP.NET MVC Videos and Tutorials(weblogs.asp.net)

submitted by jamesewelchjamesewelch(2275) 3 years, 9 months ago

15 new ASP.NET MVC videos were just published at the http://www.ASP.net/mvc website. The first 10 videos are basic tutorials on the ASP.NET MVC framework. If you haven’t had a chance to play with ASP.NET MVC yet, these tutorials are a great introduction. The second set of 5 videos is part of an ongoing video series: ASP.NET MVC Pair Programming. In these videos, I pair with a prominent community expert to build an entire ASP.NET MVC application from start to finish (because of time constraints – a very, very simple application). The goal is to emphasize the process of building a web application instead of the product. read more...

add a comment |category: |Views: 262

tags: another

ASP.NET MVC Tip #26 – Create a Lightweight Control View Engine (weblogs.asp.net)

submitted by swaltherswalther(975) 3 years, 9 months ago

In this tip, Stephen Walther shows you how to create a custom ASP.NET MVC view engine that supports lightweight, declarative controls. He shows you how to create both simple controls and controls that display database data. He also shows you how to test the rendered output of the lightweight controls. read more...

add a comment |category: |Views: 28

tags: another

ASP.NET MVC Tip #25 – Unit Test Your Views without a Web Server(weblogs.asp.net)

submitted by swaltherswalther(975) 3 years, 10 months ago

In this tip, Stephen Walther demonstrates how you can unit test ASP.NET MVC views without running a Web server. He shows you how to unit test views by creating a custom MVC View Engine and a fake Controller Context. read more...

add a comment |category: |Views: 12

tags: another

ASP.NET MVC Tip #21 – Fake the Data Context (weblogs.asp.net)

submitted by swaltherswalther(975) 3 years, 10 months ago

In this tip, Stephen Walther shows you how to unit test your data access code by faking the DataContext with an in-memory DataContext. read more...

add a comment |category: |Views: 36

tags: another

ASP.NET MVC Tip #20 – How to Unit Test Data Access(weblogs.asp.net)

submitted by swaltherswalther(975) 3 years, 10 months ago

In this tip, Stephen Walther demonstrates how you can write unit tests for MVC controller actions that access a database. He shows you how to create a base unit test class that you can use to unit test your LINQ to SQL controller action code. read more...

add a comment |category: |Views: 19

tags: another

ASP.NET MVC Tip #19 – Use the nVelocity View Engine (weblogs.asp.net)

submitted by swaltherswalther(975) 3 years, 10 months ago

In this tip, Stephen Walther demonstrates how you can use the nVelocity view engine, instead of the normal Web Forms view engine, when displaying views from an ASP.NET MVC application. read more...

add a comment |category: |Views: 213

tags: another

ASP.NET MVC Tip #18 – Parameterize the HTTP Context (weblogs.asp.net)

submitted by swaltherswalther(975) 3 years, 10 months ago

Context is the enemy of testability. In this tip, Stephen Walther demonstrates how you can eliminate, once and for all, the HTTP Context from an ASP.NET MVC application by creating a custom Action Invoker and Controller Factory. read more...

add a comment |category: |Views: 22

tags: another

ASP.NET MVC Tip #16 – Create ASP.NET MVC Macros(weblogs.asp.net)

submitted by swaltherswalther(975) 3 years, 10 months ago

Real programmers use the Command window. In this tip, Stephen Walther demonstrates how you can create new ASP.NET MVC project items by firing off macro commands from the Visual Studio 2008 Command window. read more...

add a comment |category: |Views: 19

tags: another

ASP.NET MVC Tip #14 – Create a Template Helper Method(weblogs.asp.net)

submitted by swaltherswalther(975) 3 years, 10 months ago

In this tip, Stephen Walther shows you how to create and use templates in the MVC framework that you can use to display database data. He shows you how to create a new MVC Helper method named the RenderTemplate() method. read more...

add a comment |category: |Views: 52

tags: another

ASP.NET MVC Tip #13 – Unit Test Your Custom Routes (weblogs.asp.net)

submitted by swaltherswalther(975) 3 years, 10 months ago

In this tip, Stephen Walther demonstrates how you can create unit tests for custom routes that you define for your ASP.NET MVC application. He shows you how to test custom routes by faking the HTTP Context. read more...

add a comment |category: |Views: 15

tags: another

ASP.NET MVC Tip #12 - Faking the Controller Context(weblogs.asp.net)

submitted by swaltherswalther(975) 3 years, 10 months ago

In this tip, Stephen Walther shows you how to test ASP.NET intrinsics when building unit tests for an ASP.NET MVC application. He shows you how to create a standard set of fake objects that enables you to fake the current user, the current user roles, the request parameters, session state, and cookies. read more...

add a comment |category: |Views: 227

tags: another

An Introduction to the xUnit.net Testing Framework(weblogs.asp.net)

submitted by swaltherswalther(975) 3 years, 10 months ago

In this blog entry, Stephen Walther demonstrates how to use the xUnit.net testing framework while building an ASP.NET MVC application. He discusses how to build unit tests for controller actions that perform database access. read more...

add a comment |category: |Views: 141

tags: another

ASP.NET MVC Tip #11 - Use Standard Controller Action Names(weblogs.asp.net)

submitted by swaltherswalther(975) 3 years, 10 months ago

ASP.NET MVC Tip #11 – Use Standard Controller Action Names by swalther In this tip, I recommend that you use standard names for your controller actions in order to make your code more transparent to other developers. I propose action names that will work with the default route table and that will work with both C# and VB.NET. read more...

add a comment |category: |Views: 33

tags: another