By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,952 Members | 916 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,952 IT Pros & Developers. It's quick & easy.

Implementing Front Controller in ASP.NET Using HTTPHandler

P: n/a
Hi
I am trying to understand the article [url]http://msdn.microsoft.com/practices/type/Patterns/Enterprise/DesFrontController/ [/url
mentioned on the msdn website, I created the following example [url]http://msdn.microsoft.com/practices/type/Patterns/Enterprise/ImpFrontControllerInASP/ [/url
which describes Enterprise Solution Patterns Implementing Front Controller in ASP.NET Using HTTPHandler. When i created the web application and tried to run the same It gives me Parser Error Message: Unrecognized configuration section 'controller.mapping' can anyone guide me setting a running version of the application on my machine. I am currently using Microsoft Visual studio 2002 and dot net framework 1.1

Than
Prasad
Jul 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Cor
Hi Prasad,

See this article

VS2002 and net 1.1

http://msdn.microsoft.com/library/de...patibility.asp

Cor

"Prasad Patil" <p_*******@hotmail.com> schreef in bericht
news:A2**********************************@microsof t.com...
Hi,
I am trying to understand the article http://msdn.microsoft.com/practices/...r /> ntroller/ mentioned on the msdn website, I created the following example http://msdn.microsoft.com/practices/...ntrollerInASP/ which describes Enterprise Solution Patterns Implementing Front Controller in ASP.NET Using HTTPHandler. When i created the web application and tried
to run the same It gives me Parser Error Message: Unrecognized configuration
section 'controller.mapping' can anyone guide me setting a running version
of the application on my machine. I am currently using Microsoft Visual
studio 2002 and dot net framework 1.1.

Jul 21 '05 #2

P: n/a
H
The sample you're trying to run doesn't work right away if you copy and paste all the code. The problem you're getting is because you have to declare the section 'controller.mapping' in the web.config, something that's not shown in the example
You would do this by inserting this into your web.confi
<configSections><section name="controller.mapping" type="UrlMap,WebFrontController"/></configSections

If you get this working, you'll have to correct the entries by replacing the /patterns/frontc/3/ part with the virtual directory that you've created for your site
I'll recomend you take a look at http://msdn.microsoft.com/asp.net/us...esources/code/ and then Front Controller Demo for a complete working implementation of the pattern

Alfred
Jul 21 '05 #3

P: n/a
H
The sample you're trying to run doesn't work right away if you copy and paste all the code. The problem you're getting is because you have to declare the section 'controller.mapping' in the web.config, something that's not shown in the example
You would do this by inserting this into your web.confi
<configSections><section name="controller.mapping" type="UrlMap,WebFrontController"/></configSections

If you get this working, you'll have to correct the entries by replacing the /patterns/frontc/3/ part with the virtual directory that you've created for your site
I'll recomend you take a look at http://msdn.microsoft.com/asp.net/us...esources/code/ and then Front Controller Demo for a complete working implementation of the pattern

Alfred
Jul 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.