[Mono-dev] ASP.NET 2.0 performance discussion.

Miguel de Icaza miguel at ximian.com
Wed Nov 22 18:56:47 EST 2006


Hello,

> ASP.NET 2 uses XML-based Browser database stored by MS.NET in a
> subdirectory of its CONFIG folder, browser.ini being deprecated. Also,
> the user can put .browser files (utilizing the same XML format) in
> ~/App_Browsers and they get compiled whenever the application is
> loaded. I plan to work on support for the App_Browsers and the XML
> definition files in the near future. Since the definition files are
> loaded once during the application startup and whenever a change to any
> of the definition files is detected the app is reloaded, we can cache
> the database in HttpApplicationFactory.InitType at the cost of using
> some more memory. We could keep them in a (generic) SortedList and
> populate in such a way where we would not use any wildcard/regex
> matches, just full string match. That would probably increase the
> performance dramatically.

Is the application-provided data supposed to replace, or augment the
system database?

I agree that this is a one-time hit.

Miguel.



More information about the Mono-devel-list mailing list