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

UserManager helper method in the template AccountController
MVC AttributeRouting Precedence
Return complex object in REST Web API call
Moving JsonResult Actions from Controller to a separate Helper class
Vyacheslav Captcha validation on Ajax post not working
Angular app on IIS 8.x virtual directory has strange URL behavior
Display rows in MVC .NET from joining tables
Do not display results till search is executed in MVC
WebApi 2 Route not resolving with guid as parameter
mvc filter by dropdown selected text
Windows Authentication together with Asp.net MVC SimpleMembership?
Jquery validations stops working for an input when using masked plugin
set textarea text from ViewData asp.net mvc
Azure download blob filestream/memorystream
Bootstrap 3.1.1 less in ASP.NET MVC 5 have error with EnableOptimizations in true
simple membership provider with active directory

Categories

HOME
ffmpeg
android-wear
haskell-stack
weight
prometheus
format
jasypt
sweetalert
build.gradle
activerecord
autofac
push
copy-paste
oracle-ucm
sparkpost
chart.js2
ssrs-tablix
syswow64
pywin32
nsmutableattributedstring
snort
hawq
dapper-fastcrud
swipe
seh
jackrabbit
p4-lang
delete-row
extraction
paypal-rest-sdk
linechart
spring-saml
protobuf-3
message-hub
projection
quicksand
sweet.js
zfs
autofocus
ms-jet-ace
ssms-2012
multisite
simple.odata.client
canopen
masm32
dwr
ice
column-oriented
jquery-ui-accordion
a-star
jvm-arguments
graph-traversal
mapr
itamae
sqlite-net
building
ckcontainer
telecommunication
xmllint
winobjc
tag-helpers
document-ready
many-to-one
polygons
heroku-toolbelt
scalariform
ehcache-bigmemory
mkpolyline
isql
physx
liferay-hook
typesafe-activator
brooklyn
epoll
monk
modalpopupextender
keymapping
jxta
pydatalog
batman.js
pdf-scraping
onejar
deap
nsimageview
pubdate
python-dateutil
html5-apps
icon-fonts
alternate-data-stream
shebang
obout
settings.bundle
process.start
mkreversegeocoder
servletunit
jboss-cache
markitup
drwatson
iphone-sdk-3.1
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