Badr 0.9 beta 4

Rating: No reviews yet
Downloads: 20
Change Set: eeb55ed654ae
Released: Jun 11, 2013
Updated: Jun 11, 2013 by badrproject
Dev status: Beta Help Icon

Recommended Download

Application Badr 0.9 beta 4
application, 281K, uploaded Jun 11, 2013 - 12 downloads

Other Available Downloads

example, 298K, uploaded Jun 11, 2013 - 8 downloads

Release Notes


IMPORTANT: A server can no longer host multiple sites as it's not paractical or useful. As a consequence, server settings accepts now only a single web site either in xml or code configuration.
  • Xml configuration; <websites> node is removed.
  • Code configuration (using SiteSettings): The last SiteSettings registered is used.


It's an array of patterns to use when validating request's `Host` header. By default it's empty, no request will pass, so it must be set in order for the website to be accessible. Matches are case insensitive and ignore port number. Possible patterns are:
  • fully qualified names : e.g.: pattern='', hostname must be ''.
  • subdomains : e.g.: '' (starts with a period, as subdomain wildcard), matches any subdomain of '' even empty subdomain ('').
  • * : matches any hostname.

  • methods/properties (SiteSettings, urls, ...) are now statically accessible from anywhere after server launch
  • relocated under src/Badr.Server/ (was in src/Badr.Server/Net/)

AppRoot: namespace (and location) changed from Badr.Server.Settings to Badr.Server

Urls: UrlArgs has a new property UrlName containing the name of the url from which these arguments were extracted

  • Fields : new field DateField
  • OrmManager : database name can not be null and is now case-insensitive
  • Manager : - an exception is throw with an explicit message about missing configuration when _dbEngine is null - queryset argument is now optional for ToDatatable & ToList functions.

  • new constructor to create a response when a request object is not present
  • CreateResponse renamed to Create
  • new Redirect function to redirect the request to a given url.
  • HttpMethodParams renamed to HttpRequestParams

  • new Format filter to format any IFormattable object.
  • variables are now auto-escaped (html).
  • new Safe filter to mark a variable safe to render (turn off auto-escaping for this variable)
  • Dictionary values are now accesible using notation (key must not contain spaces)


Reviews for this release

No reviews yet for this release.