1 2010-02-18 Marek Habersack <mhabersack@novell.com>
3 * HostingEnvironment.cs: removed SetHostingId and added internal
4 setters to the SiteName and IsHosted properties.
6 * ApplicationManager.cs: CreateHost doesn't have to call set
7 HostingEnvironment.IsHosted, it is done in
8 ApplicationHost.CreateApplicationHost.
10 * ApplicationHost.cs: set the ".appId" item in the new appdomain's
11 data, so that HttpRuntime.AppDomainAppId returns a non-null
13 Set HostingEnvironment.{IsHosted, SiteName} in the new appdomain
14 instead of the original one.
16 All of the above fix bug #578880
18 2010-01-14 Marek Habersack <mhabersack@novell.com>
20 * ApplicationManager.cs: implemented a missing CreateObject
23 2009-11-18 Marek Habersack <mhabersack@novell.com>
25 * ApplicationHost.cs: changed the order of file names in
26 WebConfigFileNames, so that our global web.config is found first
27 (it's frequently accessed)
29 2009-10-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
31 * ApplicationHost.cs: set the shadow copy options calling the methods
32 in AppDomain, instead of setting them in a copy of the setup
35 2009-10-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
37 * ApplicationHost.cs: use shadowCopyBinAssemblies from
40 2009-09-07 Marek Habersack <mhabersack@novell.com>
42 * HostingEnvironment.cs: MapPath checks if HttpContext.Request
43 actually exists before using it.
45 2009-08-26 Marek Habersack <mhabersack@novell.com>
47 * IApplicationHost.cs: added
49 2009-07-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
51 * SimpleWorkerRequest.cs: move this back to an instance property.
54 2009-07-09 Gonzalo Paniagua Javier <gonzalo@novell.com>
56 * SimpleWorkerRequest.cs: store the root web configuration path in a
59 2009-02-19 Marek Habersack <mhabersack@novell.com>
61 * ApplicationHost.cs: added support for the
62 __MONO_DOMAIN_ID_SUFFIX environment variable, used by mod_mono.
64 2008-10-29 Marek Habersack <mhabersack@novell.com>
66 * ApplicationHost.cs: set domain setup CachePath to the same value
67 as DynamicBase, so that shadow-copied assemblies appear under the
68 same location what generated files.
70 2008-05-13 Gert Driesen <drieseng@users.sourceforge.net>
72 * VirtualPathProvider.cs: Removed debug code.
74 2008-04-08 Marek Habersack <mhabersack@novell.com>
76 * DefaultVirtualDirectory.cs: fixed the constructor - derive
77 virtual directory from the original path.
78 AddDirectories and AddFiles combine the virtual paths properly
81 2008-04-01 Marek Habersack <mhabersack@novell.com>
83 * HostingEnvironment.cs: initialize custom VPP on
85 Added an internal boolena property to signal if we're using a
86 custom VPP or not (HaveCustomVPP)
88 2008-03-31 Marek Habersack <mhabersack@novell.com>
90 * VirtualPathProvider.cs: internal SetPrevious method renamed to
91 InitializeAndSetPrevious.
93 2008-03-27 Marek Habersack <mhabersack@novell.com>
95 * DefaultVirtualPathProvider.cs: support relative virtual paths in
98 * VirtualPathProvider.cs: FileExists should chain to the previous
101 2008-03-13 Marek Habersack <mhabersack@novell.com>
103 * ApplicationHost.cs: use HttpRuntime.CaseInsensitive when
104 checking whether we're running in a case-insensitive environment.
105 Revert to the single-bin-dir behavior when setting the
106 PrivateBinPath - the directories are sought for in the order given
107 by HttpApplication.BinDirs and the first existing directory is set
108 as the value of PrivateBinPath. If none of those are found,
109 PrivateBinPath defaults to "bin" (and "/app/full/path/bin" in the
112 2008-03-12 Marek Habersack <mhabersack@novell.com>
114 * DefaultVirtualPathProvider.cs: disable throwing an exception
115 when a virtual path is passed to FileExists.
117 2008-02-18 Marek Habersack <mhabersack@novell.com>
119 * VirtualPathProvider.cs: chain up to the previous provider, if
120 prexent. Fixes bug #362038
122 2008-01-06 Marek Habersack <mhabersack@novell.com>
124 * ApplicationHost.cs: make sure that application with virtualDir
125 "/a" and physicalDir "/b" and the other way around get different
128 2007-12-13 Marek Habersack <mhabersack@novell.com>
130 * ApplicationManager.cs, ApplicationHost.cs,
131 DefaultVirtualPathProvider.cs: speed optimization - use
132 String.Concat instead of String.Format in some cases.
134 2007-11-03 Gert Driesen <drieseng@users.sourceforge.net>
136 * ApplicationHost.cs: On 2.0, also make PrivateBinPath an absolute
137 paths on Windows (and on systems using MONO_IOMAP).
139 2007-11-03 Marek Habersack <mhabersack@novell.com>
141 * ApplicationHost.cs: AppDomainSetup.PrivateBinPath is a list of
144 2007-10-24 Marek Habersack <mhabersack@novell.com>
146 * ApplicationHost.cs: ignore exceptions resulting from the attempt
147 to delete a stamp directory in CreateApplicationHost. It is safe
148 to do so, since the code inside the loop serves the only purpose
149 to create the asp.net temporary directory if the filesystem
150 permissions allow it. If the directory has been deleted by some
151 other thread, that's ok.
153 2007-10-17 Marek Habersack <mhabersack@novell.com>
155 * ApplicationHost.cs: introduce an application domain data item to
156 allow checks for whether System.Web code runs inside a hosted
157 application or in a stand-alone one.
158 Made the array of web.config name variations an internal one, to
159 be used from within configuration code.
161 2007-08-24 Marek Habersack <mhabersack@novell.com>
163 * ApplicationHost.cs: use ; as the separator with PrivateBinPath.
165 2007-08-23 Marek Habersack <mhabersack@novell.com>
167 * ApplicationHost.cs: set AppDomainSetup.PrivateBinPath to "bin"
168 if running on Windows or with MONO_IOMAP in effect, and to
171 2007-08-21 Marek Habersack <mhabersack@novell.com>
173 * ApplicationHost.cs: AppDomainSetup.PrivateBinPath should contain
174 a list of paths relative to AppDomainSetup.ApplicationBase, not a
176 We no longer check if the bin directories exist, the user can
177 create them while the application is running.
179 2007-07-21 Marek Habersack <mhabersack@novell.com>
181 * ApplicationHost.cs: ClearDynamicBaseDirectory becomes an
184 2007-07-12 Marek Habersack <mhabersack@novell.com>
186 * HostingEnvironment.cs: allow relative paths to be
187 passed. Matches both MSDN and the MS.NET behavior. Fixes bug
190 2007-05-09 Igor Zelmanovich <igorz@mainsoft.com>
192 * ApplicationHost.cs:
193 added MonoNotSupported attribute for TARGATE_JVM.
195 2007-04-13 Marek Habersack <mhabersack@novell.com>
197 * ApplicationHost.cs: clear the dynamic base directory before
198 creating the host. Fixes bug #80635
200 2007-04-05 Marek Habersack <mhabersack@novell.com>
202 * ApplicationHost.cs: make ApplicationName/domain id really
205 2007-02-21 Marek Habersack <grendello@gmail.com>
207 * ApplicationHost.cs: support both Bin and bin directories, prefer
210 2007-02-19 Marek Habersack <grendello@gmail.com>
212 * ApplicationHost.cs: Use a deterministic application name, so
213 that the temporary location is always in the same place for the
216 2007-01-30 Marek Habersack <grendello@gmail.com>
218 * ApplicationHost.cs: Define AppDomain data item "DataDirectory" - used
219 by the ADO.NET |DataDirectory| connection string placeholder. Present
220 by default in MS.NET.
222 2007-01-20 Miguel de Icaza <miguel@novell.com>
224 * ApplicationManager.cs: Remove unused variable.
225 (ShutdownAll) remove unused variables.
227 * ApplicationHost.cs: Protect create_dir lock
229 2007-01-19 Marek Habersack <grendello@gmail.com>
231 * SimpleWorkerRequest.cs: If path is empty, return the physical
232 application directory. Fixes bug #80544.
234 2007-01-17 Adar Wesley <adarw@mainsoft.com>
236 * ApplicationHost.cs: tweaking CreateApplicationHost to throw the
237 right exceptions so the tests will pass.
239 2007-01-11 Adar Wesley <adarw@mainsoft.com>
241 * ApplicationHost.cs: fixed AppDomain initialization of physical
242 path to be in file system semantics
244 2006-12-22 Marek Habersack <grendello@gmail.com>
246 * HostingEnvironment.cs: implemented the SetCultures methods.
248 2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
250 * ServletWorkerRequest.cs: fixed:
251 Path.Combine is used in GetFilePathTranslated to consider
252 platform-depended PathSeparator char.
254 2006-12-07 Vladimir Krasnov <vladimirk@mainsoft.com>
256 * ServletWorkerRequest.jvm.cs: fixed request uri unescaping in
257 ServletWorkerRequest ctor
259 2006-11-24 Miguel de Icaza <miguel@novell.com>
261 * ApplicationHost.cs: In 2.0, as Todd reports the default is
262 "Web.Config", try that before we tell people to use MONO_IOMAP=all ;-)
264 2006-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
266 * ApplicationHost.cs: the new Directory code throws if the directory
267 exists, so handle that as gracefully as possible.
269 2006-08-23 Konstantin Triger <kostat@mainsoft.com>
271 * ServletWorkerRequest.jvm.cs: fix default page resolution.
273 2006-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
275 * BareApplicationHost.cs:
276 * ApplicationManager.cs: remove unloaded domains.
278 2006-03-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
280 * SimpleWorkerRequest.cs: use UrlUtils instead of Path. Several fixes
281 to make PathInfo + SimpleWorkerRequest work as in MS.
283 2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
285 * ServletWorkerRequest.jvm.cs: fixed ctor, UrlDecode applied on
287 fixed GetRawUrl, removed protocol, hostname and port
288 fixed GetUriPath, _requestUri is always initialized
290 2006-03-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
292 * ApplicationHost.cs: ShadowCopyDirectories is not a URL. Set
293 PrivateBinPath to the same value.
295 2006-03-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
297 * BareApplicationHost.cs: initialize paths from AppDomain data. New
299 * ApplicationHost.cs: in 2.0 the physical path is turned into an
302 2006-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
304 * ApplicationManager.cs: new internal method to create/reuse a
305 BareApplicationHost from ClientBuildManager.
307 2006-02-28 Chris Toshok <toshok@ximian.com>
309 * IAppDomainFactory.cs: corcompare work.
311 * IAppManagerAppDomainFactory.cs: same
313 * IISAPIRuntime.cs: same.
315 2006-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
317 * ApplicationManager.cs: implemented ShutdownAll().
318 * HostingEnvironment.cs: remove MonoTODO.
320 2006-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
322 * BareApplicationHost.cs: class used as an entry point into each
323 application domiain from the ApplicationManager.
324 * ApplicationManager.cs: implemented most of the remaining methods.
325 * HostingEnvironment.cs: object handling methods are now implemented.
327 2006-02-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
329 * DefaultVirtualPathProvider.cs: add some comments/TODO.
330 * HostingEnvironment.cs: initialize the default value for
333 2006-02-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
335 * HostingEnvironment.cs: MapPath is done.
337 2006-02-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
339 * DefaultVirtualDirectory.cs: implemented missing bits.
340 * DefaultVirtualFile.cs: fix ctor scope.
341 * DefaultVirtualPathProvider.cs: implemented GetFile and GetDirectory.
343 2006-02-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
345 * DefaultVirtualDirectory.cs:
346 * DefaultVirtualPathProvider.cs:
348 * DefaultVirtualFile.cs: almost done with the default
349 VirtualPathProvider which just maps to on-disk directories/files.
351 2006-02-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
353 * SimpleWorkerRequest.cs: implemented RootWebConfigPath.
354 * HostingEnvironment.cs: implemented RegisterVirtualPathProvider and
355 a few other defaults.
357 2006-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
359 * AppManagerAppDomainFactory.cs: stubbed out.
361 * ApplicationInfo.cs:
362 * ApplicationManager.cs: add 2 new classes.
364 2006-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
366 * VirtualPathProvider.cs: implemented OpenFile.
367 * VirtualFile.cs: removed stuff cut&pasted from VirtualDirectory.
369 * SimpleWorkerRequest.cs:
370 * HostingEnvironment.cs: class status fixes.
372 2006-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
374 * IProcessHostFactoryHelper.cs:
375 * IProcessPingCallback.cs:
377 * IProcessHostSupportFunction.cs:
378 * IHttpWorkerRequestHandler.cs:
380 * IApplicationHost.cs: removed all this. They are not longer part of the
383 2006-01-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
385 * VirtualDirectory.cs:
386 * VirtualPathProvider.cs:
387 * VirtualFileBase.cs:
388 * VirtualFile.cs: implemented this base classes.
390 * HostingEnvironment.cs: implemented a few properties by using the ones
393 2006-01-24 Konstantin Triger <kostat@mainsoft.com>
395 * ServletWorkerRequest.jvm.cs: convert .invoke requests to PathInfo,
396 remove ToUpper usage.
398 2006-01-19 Konstantin Triger <kostat@mainsoft.com>
400 * ServletWorkerRequest.jvm.cs: refactoring.
402 2005-11-28 Robert Jordan <robertj@gmx.net>
404 * SimpleWorkerRequest.cs: fixed MapPath () for the case
405 app_virtual_dir.Length == 1 && path.Length == 1.
406 * SimpleWorkerRequest.cs: implemented SendResponseFromMemory ().
408 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
410 * ApplicationHost.cs: make this work with paths that that
411 contain non-ASCII characters. Fixes bug #76807.
413 2005-11-02 Chris Toshok <toshok@ximian.com>
415 * HostingEnvironment.cs: completely NIE'ed implementation of
416 HostingEnvironment, just to get an MS example provider to compile.
418 2005-11-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
420 * ApplicationHost.cs: use the AbsolutePath from the Uri to remove the
421 schema prefix if present.
423 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
425 * SimpleWorkerRequest.cs: all tests pass now.
427 2005-09-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
429 * ApplicationHost.cs: append a directory separator char to the physical
430 path. Fixes bug #76187.
432 2005-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
434 * SimpleWorkerRequest.cs: fix GetUriPath() for paths ending in '/'.
436 2005-09-10 Sebastien Pouliot <sebastien@ximian.com>
438 * AppDomainFactory.cs: Added LinkDemand for Minimal. Added Demand for
439 UnmanagedCode on ctor. Added TODO on unimplemented method.
440 * ApplicationHost.cs: Added LinkDemand for Minimal. Added Demand for
441 UnmanagedCode on ctor. Removed duplicate null checks.
442 * ISAPIRuntime.cs: Fixed inheritance (added MarshalByRefObject and
443 IRegisteredObject) for 2.0. Added LinkDemand for Minimal. Added Demand
444 for UnmanagedCode on ctor.
445 * SimpleWorkerRequest.cs: Added LinkDemand and InheritanceDemand (not
446 sealed) for Minimal. Added Demands for UnmanagedCode on ctors. Added
447 FileIOPermission for PathDiscovery before returning processed paths.
449 2005-09-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
451 * ApplicationHost.cs: set the domain's DynamicBase property instead of
452 guessing it in BaseCompiler.
454 2005-09-08 Eyal Alalouf <eyala@mainsoft.com>
455 * ServletWorkerRequest.jvm.cs: Implement SendResponseFromFile
457 2005-07-24 Eyal Alalouf <eyala@mainsoft.com>
458 * ServletWorkerRequest.jvm.cs: Put Console.WriteLine in #if DEBUG
460 2005-07-18 Eyal Alalouf <eyala@mainsoft.com>
462 * Added ServletWorkerRequest.jvm.cs
464 2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
466 * IISAPIRuntime.cs: GUID changed.
468 2004-08-03 Atsushi Enomoto <atsushi@ximian.com>
470 * IApplicationHost.cs : missing namespace import.
472 2004-08-02 Duncan Mak <duncan@ximian.com>
474 * IApplicationHost.cs (MapPath): Add [In] attribute.
476 * IAppManagerAppDomainFactory.cs:
477 * IProcessHostSupportFunction.cs: signature fixes.
479 2004-08-02 Duncan Mak <duncan@ximian.com>
481 * IApplicationHost.cs:
482 * IHttpWorkerRequestHandler.cs:
484 * IProcessHostFactoryHelper.cs:
485 * IProcessHostSupportFunction.cs:
486 * IProcessPingCallback.cs:
488 * IRegisteredObject.cs: Added interfaces.
490 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
492 * IAppDomainFactory.cs: added missing marshalling attributes
493 * IISAPIRuntime.cs: added missing marshalling attributes
495 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
497 * AppDomainFactory.cs: set the Dynamic base for the AppDomain.
499 2004-03-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
501 * SimpleWorkerRequest.cs: patch from Aleksey Demakov that fixes
502 MapPath when the virtual directory is the root virtual directory.
504 2004-01-14 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
506 * IISAPIRuntime.cs: Fixed wrong attribute
508 2004-01-11 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
510 * SimpleWorkerRequest.cs: Added missing attribute
511 * IISAPIRuntime.cs: Added attributes, fixed signature
512 * IAppDomainFactory.cs: Added attributes, fixed signature
514 2003-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
516 * ApplicationHost.cs: set hostingInstallDir.
517 * SimpleWorkerRequest.cs: implemented a couple of properties.
519 2003-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
521 * SimpleWorkerRequest.cs: fixed GetFilePathTranslated and added a
522 paranoid condition to ExtractPathInfo.
524 2003-06-25 Eric Lindvall <eric@5stops.com>
526 * SimpleWorkerRequest.cs:
527 -adds PATH_INFO support
528 - updates GetFilePathTranslated() to make use of Path.Combine()
529 - gets rid of the null check in GetPathInfo() (we're setting
530 _PathInfo to String.Empty now)
531 - fixed CreatePath() so that it doesn't return String.Empty if
532 the _AppVirtualPath is not "/" (to match MS runtime -- does
533 anyone know why it was returning String.Empty?)
535 2003-03-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
537 * AppDomainFactory.cs: hacks to work-around our buggy System.Uri.
539 2003-03-17 George Kodinov <gkodinov@openlinksw.co.uk>
541 * AppDomainFactory.cs: place the correct full path for Web.config when
544 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
546 * AppDomainFactory.cs: Web.config takes precedence over web.config.
548 * ApplicationHost.cs: removed hacks to work around an old bug.
550 2003-02-04 Tim Haynes <thaynes@openlinksw.com>
552 * SimpleWorkerRequest.cs: changed the initialised values of
553 _App{Install,Virtual}Path variables
555 2002-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
557 * System.Web.Hosting/SimpleWorkerRequest.cs: we are now able to compile
558 pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
560 2002-09-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
562 * ApplicationHost.cs:
563 * SimpleWorkerRequest.cs: workaround for bug #31245.
565 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
567 * ApplicationHost.cs: little fixes.
569 2002-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
571 * ApplicationHost.cs: use Assembly instead of Module.
573 2002-08-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
575 * AppDomainFactory.cs: implemented.
576 * ApplicationHost.cs: implemented.
577 * SimpleWorkerRequest.cs: a few little fixes and reformatted. It's now
580 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
582 * AppDomainFactory.cs:
583 * IAppDomainFactory.cs:
585 * ISAPIRuntime.cs: make them compile.
587 2002-04-10 Patrik Torstensson <patrik.torstensson@labs2.com>
589 * ApplicationHost.cs: Test implementation to support testing.
590 * SimpleWorkerRequest.cs: Rewrite and a almost full implementation.
592 2001-08-30 Bob Smith <bob@thestuff.net>
594 * AppDomainFactory.cs: Stubbed.
595 * ApplicationHost.cs: Stubbed.
596 * IAppDomainFactory.cs: Stubbed.
597 * IISAPIRuntime.cs: Stubbed.
598 * ISAPIRuntime.cs: Implemented.
599 * SimpleWorkerRequest.cs: Implemented.