Lindsay Donaghe's Library tagged → View Popular
UFrame: goodness of UpdatePanel and IFRAME combined - Omar AL Zabir blog on ASP.NET Ajax and .NET 3.5
A replacement for UpdatePanel in ASP.Net that lets you basically create an iFrame in the HTML using a div instead so the page is able to interact with the parent page's DOM. An option for cross-domain page embedding as well. Worth playing with.
ASP.NET 3.5 Extensions > ASP.NET Model View Controller Applications > URL Routing with MVC
The "official" documentation on url routing in MVC which I'm currently trying to grok.
MVC On II6 Without the ".mvc" Extension - ASP.NET Forums
This thread has some instructions on how to use the IIRF plugin for rewriting the urls for MVC. May have to implement this soon.
-
- Make sure the .Net 3.5 Framework is installed.
- Find IsapiRewrite4.dll and IsapiRewrite4.ini at http://cheeso.members.winisp.net/IIRF.aspx
- Copy the IsapiRewrite4.dll and IsapiRewrite4.ini file to a
directory of your choosing on the target web server. We've been using %WINDIR%\system32\inetsrv\System32\inetsrv MAKE SURE YOU PUT BOTH FILES IN THE SAME DIRECTORY!!! - Click the Configuration button under the Virtual
Directory/Website tab and add a mapping for .mvc mapping to .Net 2.0
framework. The extension is .mvc, use Limit to: GET, POST, HEAD, and
make sure that "Verify that file exists" is UNCHECKED - Install the IIRF isapi filter at the "Web Site" level using the information on where you installed it from above.
- Restart the World Wide Web Publishing service
Sorry this took so long to get out to you, but here is a walk through of getting this working: (note, please don't be offended by the bolding, it's for internal devs who don't always read docs well

Here's our IsapiRewrite.ini file:
1 RewriteLogLevel 3
2 RewriteLog c:\logs\IIRF\rewrite
3
4 #This will rewrite one level deep if you are on localhost. In other words
5 #if your url is http://localhost/MyDevEnvironment/[controller]/[action]/[id] it will
6 #be able to rewrite it to http://localhost/MyDevEnvironment/[controller].mvc/[action]/[id]
7 RewriteCond %{HTTP_HOST} ^.*localhost.*$
8 RewriteRule (?!.*\..*)^/([^/.]+)/([^/.]+)(.*)$ /$1/$2.mvc$3 [L]
9
10 #This will rewrite root level if you are NOT on localhost. In other words
11 #if your url is http://www.HeyThisIsACoolMVCSite.com/[controller]/[action]/[id] it will
12 #be able to rewrite it to http://www.HeyThisIsACoolMVCSite.org/[controller].mvc/[action]/[id]
13 RewriteCond %{HTTP_HOST} ^(?!.*localhost.*)$
14 RewriteRule (?!.*\..*)^/([^/.]+)(.*)$ /$1.mvc$2 [L]Let me know if you need any help or have any more questions...
- Make sure the .Net 3.5 Framework is installed.
How to enable pretty urls with Asp.Net MVC and IIS6 : Bia Securities
Even though MVC works fine from the default web, it has problems with virtual directories and requires using the wildcard or something like the routing solution suggested here.
Jeff Meyer's Blog - Deployment Fun with ASP.Net MVC Preview 2
Jeff describes his workarounds for some of the deployment issues with ASP.Net MVC CTP 2 on an ISP using a Virtual Directory.
... In Which We Discuss HTML-Encoding : Rob Conery
Discussion and some responses about HTML encoding in MVC as a means to prevent XSS. Gives some good links to XSS examples and resources.
Steve Sanderson’s blog » Blog Archive » ASP.NET MVC: Prevent XSS with automatic HTML encoding
Tutorial with demo code you can use to change the default behavior of <%= ... %> so that the output is Html encoded. Useful for prevention of XSS but not tested in many situations yet for robustness.
Blocking Direct Access To Views in ASP.NET MVC
Handy bit of code in web.config to prevent people from navigating directly to a view.
MVCToolkit URL Bugs - ASP.NET Forums
Some examples of how the Routes table changes the generated urls.
ASP.NET MVC: Using UserControls Usefully : Rob Conery
Some variations on how to use UserControls in Views with examples of calls to RenderUserControls and parameters.
Url Routing Debugger
Code that you can hook into your MVC project to tell you where your requests are being routed.
Simplicity: RenderUserControl from Controller
Example of how to render a control and pass the HTML back from the controller without having to render the view. Handly for dynamic partials.
Using the ComponentController in ASP.NET MVC CTP 2 - Mike Bosch's Blog on .NET
One of several articles that Mike Bosch has done on MVC (lots of good information here). This one is on how to use the RenderComponent to create a "partial", though there's some contention in other camps whether you should or not. There's also a bug that needs to be fixed with an extension to RenderComponent that can be found here: http://claudiomeschini.blogspot.com/2008/04/aspnet-mvc-i.html
Dominando el Dominio?: ASP.NET MVC I : RenderComponents y bugs
This fixes a bug in RenderComponent that has an error casting expressions in the lambda expression if you pass in a variable to the controller method. Setting up an extension fixes it everywhere. Nice.
ASP.NET MVC Framework (Part 3): Passing ViewData from Controllers to Views - ScottGu's Blog
Demonstration of the different ways to pass and consume the ViewData object in controllers and views.
ASP.NET WebForms and MVC in the same Project
Quickstart guide on how to use MVC with existing ASP.Net Web Applications. Nice that the two can coexist and you don't have to do a giant conversion to start using MVC.
ASP.NET MVC Framework - ScottGu's Blog
Intro to ASP.Net's version of MVC. Some of the code has changed since the March 2008 preview, but the concepts are nicely defined here.
Using jQuery with ASP.NET MVC
Awesome. Just what I've been looking for! JQuery integration with the ASP.Net MVC model. Sweet!
Nikhil Kothari's Weblog : Ajax with the ASP.NET MVC Framework
"This post presents a few basic Ajax features (similar to partial rendering and behaviors in terms of concepts) running on top of the ASP.NET MVC framework... some early ideas, experimentation and app-building results."
Some debate about this approach as to whether it's trying to "sneak" the post-back model back in.
Selected Tags
Related Tags
Sponsored Links
Top Contributors
Groups interested in mvc
-
mvc
Items: 1 | Visits: 44
Created by: Reder Tseng
-
Catalyst
Items: 3 | Visits: 28
Created by: diigouser2
Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »
Join Diigo
