asp.net-mvc


I can’t find the <modules> about UrlRoutingModule When Create a Asp.net MVC 3 Application


I have downloaded the source code of the MVC 3 to learn How it runs .
Many people said that the MVC interceptes Http’s requests by the UrlRouting Moudle Class.
I know when you custom a HttpModule ,you need to register it like that:
<system.webServer>
<modules>
<add name="test" type="WebApplication2.MyModule1,WebApplication2"/>
</modules>
</system.webServer>
So Asp.net mvc application Web.config file Should be have the configuration section:
<add name="UrlRoutingModule"
type="System.Web.Routing.UrlRoutingModule,..." />
But I can't find it int the web.config file,when I create a new Asp.net MVC application .
Someone said the IIS 7 would automatically added it .
When to IIS7 add the configuration section?
How the IIS7 Difference it is a MVC application or WebForm?
Ha, you have a few questions in there. The web.config is located in the root of your start up project when you open it in Visual Studio, else if you 'explore' the application within IIS, this should take you to it also.
Not all modules are included in the web.config, some are also in the machine.config. This is usuall in the C:\WINDOWS\Microsoft.NET\Framework\\CONFIG
Hope that helps.

Related Links

Are MVC frameworks confusing Views with Templates?
ASP.NET MVC 3 RC and Azure?
ASP.NET MVC Routing
Using MVC2 as RESTful service deciding upon URL paths
How to design XML Restful service interface for file uploading?
Most secured way to persist data in ASP MVC
Accessing Model object in a custom Html helper
Split DateTime to Date and Time in ASP.NET MVC
Supporting custom compression algorithm for IIS served content
MVC2 Problem refreshing View after Post action method
MVC HTML.RenderAction – Error: Duration must be a positive number
managing lookup in MVC2 and persisting object with Nhibernate
Are lambda expressions supported by Razor?
ASP.NET MVC3 Razor syntax help - I'm getting stuck in an infinite loop
Determining if .NET MVC should be used
Dynamically set required fields

Categories

HOME
html5-canvas
f#
groovy
web-applications
applet
fonts
saml
image-segmentation
genetic-algorithm
turing
encog
active-directory
ionic3
restsharp
ceph
square-connect
hyperion
obiee
google-weather-api
command-line-interface
calabash-android
orchardcms-1.10
lag
android-dialogfragment
plc
eigen3
abaqus
formio
git-bash
c-strings
robotium
hawq
scalability
ucwa
laravel-valet
debugview
seh
outlook-vba
api-doc
extraction
qweb
packaging
apartment-gem
uistoryboardsegue
spring-saml
jsonstore
ibm-wcm
csr
nomenclature
plasticscm
zfs
azure-cdn
wrk
fido
reactivex
billing
qtcpserver
ifc
data-fitting
kernighan-and-ritchie
vlc-android
qlpreviewcontroller
dms
webpack-hmr
rabbitvcs
ctakes
pakyow
linq2db
telescope
fastparse
getuikit
min3d
mks
words
gcovr
excel-charts
spiceworks
android-menu
bonecp
email-spam
master-theorem
custom-titlebar
twill
ituneslibrary
data-dictionary
blueprint
prudentia
source-highlighting
hogan.js
osmf
dependency-walker
wpf-4.0
mixing
51degrees
rpn
self-organizing-maps
proxy-classes
bapi
openid4java
f2c
jammit
closest
combinators
plinqo
formsauthentication
pong
webshop
non-relational-database
gedcom
gendarme
variable-names
graceful-degradation

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App