Mike Bosch's Blog on .NET

Agile enterprise architecture in .NET, SOA, WCF, WS-*, AJAX, MVC, Sharepoint and more...

Browse by Tags

All Tags » ASP.NET (RSS)
GiftListr Beta - ASP.NET MVC Facebook Application
I am officially announcing the beta release of the GiftListr for Facebook application . GiftListr is the only truly universal gift registry allowing you to add products from ANY website without limitations. Just browse stores the way you usually do when...
Posted: Aug 05 2008, 11:26 AM by MikeBosch | with 13 comment(s)
Filed under:
Part II - Fluent Filters, IQueryable and Linq To Sql for Easy Data Access
I decided to write a second part to my previous post on extending the IQueryable interface to create a really neat and organized data access layer with Linq To Sql. The cool thing about this practice is that it nicely separates individual filters for...
Posted: Aug 01 2008, 08:00 AM by MikeBosch | with 3 comment(s)
Filed under: ,
Showcase of "Live" ASP.NET MVC Sites
It looks like people are starting to deploy sites based on the ASP.NET MVC Framework already. I've been trying to collect some examples and here's what I got so far. GiftListr Facebook Application - First and foremost, my own Facebook application. Read...
Posted: May 05 2008, 08:00 AM by MikeBosch | with 19 comment(s)
Filed under: ,
Using the ComponentController in ASP.NET MVC CTP 2
ASP.NET MVC CTP 2 shipped with a new controller class which you may have missed. Community feedback begged for a better way to handle component pages that don't rely on the main page's view data. A classic example might be a stock ticker. We would want...
Posted: Mar 10 2008, 12:45 PM by MikeBosch | with 18 comment(s)
Filed under: ,
ASP.NET MVC Tip # 7 - Using a CAPTCHA with MVC
Problem: You need a CAPTCHA to use when submitting forms in MVC Solution: For this I will defer to an excellent explanation: http://www.coderjournal.com/2008/03/aspnet-mvc-captcha/
Posted: Mar 07 2008, 12:17 PM by MikeBosch | with no comments
Filed under: ,
ASP.NET MVC Tip #6 - Code Snippets for Quickly Testing Routes
Scenario: You want to write some tests for your route configuration, but you hate typing... Solution: We can create some VS Code Snippets to generate most of the tests for you. While messing around with Kigg , I got the idea to create some snippets to...
Posted: Feb 21 2008, 07:00 AM by MikeBosch | with 3 comment(s)
Filed under: ,
ASP.NET MVC Tip #5 - Submitting an AJAX Form with jQuery
This is one of the neatest, straightforward, and down right coolest way to submit a form with the ASP.NET MVC Framework. I've blogged in the past about jQuery and how useful it is. Combining MVC with jQuery can produce some really neat Web 2.0 style applications...
Posted: Feb 15 2008, 01:18 AM by MikeBosch | with 14 comment(s)
Filed under: , , ,
ASP.NET MVC Tip #4 - Handling Multiple Form Actions on One View
Scenario: You have a view which renders a list of customers. You need to provide a way to delete customers from this table view of the data. In your "CustomersController" you have a Delete action which takes a Customer ID. How do we go about providing...
Posted: Feb 12 2008, 12:30 AM by MikeBosch | with 6 comment(s)
Filed under: ,
ASP.NET MVC Tip # 3 - Getting an Absolute Url Using an Extension Method
This is probably a good time to note... all of this is based on a CTP version of the MVC framework. I'm putting this together mostly as a reference for myself. If you start developing with any of these tips, new versions of the MVC framework will have...
Posted: Feb 06 2008, 08:26 PM by MikeBosch | with 1 comment(s)
Filed under: ,
ASP.NET MVC Tip #2 - Redirecting to another action and passing information to it
Scenario : Here's a quick little "how-to" for a pretty common task. After some controller event, you want to redirect the user to a new action, perhaps on a different controller, while passing some data along to it. Fair enough (and very simple)... Solution...
Posted: Feb 02 2008, 02:30 AM by MikeBosch | with 5 comment(s)
Filed under: ,
More Posts Next page »