Tips & tricks
Here are some useful tips when developing on the Litium platform.
Server.Transfer* is not allowed in the same request as login is executed, instead you should use Response.Redirect to redirect the user to the correct page.
To improve performance for users it's important to optimize all possible requests to the site. In Litium Studio this is prepared with bundling for style sheet and javascript to avoid multiple requests to the server.
Modify or adding your own sections with pages in the control panel menu is all done in web.config.
When building a site the .lic files (for example ComponentArt files) are not always copied into the bin catalog. This is easily fixed by adding the following rows into your web.config (from Litium Studio 4.7 this is already added in the download package).
Sometimes a website fails and there are no errors or event log posts that can help you understand why.
When a page, for example the search result page, does an ajax request the javascript that triggers the request is adding new headers.
Sql code script and reference to restore a database using .mdf and .ldf files.