[Mono-bugs] [Bug 463941] HttpWorkerRequest.MapPath should not be used at all in profile 2.0

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Jan 24 00:47:40 EST 2009


https://bugzilla.novell.com/show_bug.cgi?id=463941

User kornelpal at gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=463941#c2





--- Comment #2 from Kornél Pál <kornelpal at gmail.com>  2009-01-23 22:47:31 MST ---
This behavior was confirmed by Microsoft to be by design in
http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=322960

They recommend using VirtualPathProvider but that's for ASP.NET applications
rather than hosts.:)

IConfigMapPath is public as of .NET 2.0 SP1 (actually 3.5 was released first
that contains 2.0 SP1) that is documented:

http://msdn.microsoft.com/en-us/library/system.web.configuration.iconfigmappath.aspx

This also means that original .NET 2.0 only has custom MapPath support for IIS
but fortunately was addressed in SP1.

Right now I have no hosting sample code for ApplicationManager but I'll create
some once I'll have time for that.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list