In my Apache configuration, I have the following statement:
RewriteRule ^/classic(.*) /$1 [nc,l]
This will return all statements to http://localhost/classic basic the base htdoc folder (so index.html is used)
I want to be able to enter http://localhost/classic/somefolder and make it go the a specific folder in the htdocs.
How would ...
Is ti possible to configure the L2 cache provider in code via FHN?
Adding a line to the following config is what I'm after:
return Fluently.Configure()
.Database(MsSqlConfiguration.MsSql2005.ConnectionString(c => c.FromConnectionStringWithKey("Temp")).ShowSql())
.Mappings(m => m.FluentMappings.AddFromAs...
Hi,
I am having difficulties compiling the test project in my .NET solution solution when using any configuration other than "Debug". I am using a third party assembly (Ninject), the assembly is referenced as usual in my project settings.
It works fine in Debug mode, but when switching to relase I get this error:
Error 13 The type ...
Im using log4net to log errors or debugging. But sometimes it just stops logging for some time.
Is there anything that Im missing or it is the server problem
...
Question:
How to make code behave differently when running locally vs. in QA vs. in production?
Example:
In an ASP.NET MVC application I have a controller set up to deliver e-mail notifications. When running locally on a development machine I want the e-mails delivered to the developer, when in QA I don't want any e-mail notifications ...
We run a complex system written in C#.NET 3.5, consisting of 20+ websites, 10+ windows services and various scheduled tasks and helper apps.
Each of these is bundled with one or more of our framework and business logic DLL's.
These DLL's have extensive config settings, and this has turned into a nightmare where we're maintaining over ...
Just wondering how others out there are managing tasks not directly related to fulfilling user stories such as server configuration and application deployment (in a web application environment). Previously I’ve included these activities within the task breakout of a product backlog item but the effort tends to get lost amongst other task...
The Sphinx config file hints to it supporting multiple sources for one index, how do I actually specify it?
Here's the snippet from the config file:
# document source(s) to index
# multi-value, mandatory
# document IDs must be globally unique across all sources
source = src1
I've tried setting it in the following for...
It is the second time that I stumble across that issue and I haven't found a good solution yet. My problem is that I want to package a framework like JAR with a default Spring context and give the user of my JAR package the possibility to use this configuration (or even an ApplicationContext implementation) to add his own bean definition...
I have been working with SIFR 3.0 for some time now and the font-size never seems to work correctly. I understand the most basic concepts behind SIFR. SIFR runs when you load the page. It does some calculations one the size of the HTML rendered font and then replaces it with a flash movie that is roughly equal to that size. Because of...
Its a bit weird, I wanted to deactivate automatic backups in gVIM when saving, so I placed set nobackup in the top of the file _vimrc and it didn't work. Then I placed that line below the following lines:
set nocompatible
source $VIMRUNTIME/vimrc_example.vim
source $VIMRUNTIME/mswin.vim
behave mswin
and it worked.
basically set nobac...
Hello guys,
I've specified an assembly binding for a newer version of an assembly used in my app, and works great.
However, on one of my client machines, the new version of that assembly is missing, but instead the old one is present. When I try to run the app, it says it cannot find the new version, which is normal, I guess. The quest...
I am new in NHibernate, you can say I am almost at dummy level :( . What I want to know is that what is NHibernate Interceptor, and for what purpose does it serve in an application?
Also, in this article, I learned that using NHibernate makes a desktop application slower at startup, so to avoid this, I need to save the configuration in ...
I've been looking into setting up and trying out Neo4j on Amazon EC2 however I seem to have hit a road block with finding documentation that I can use.
For example, this page mentions "Clustering, High Availability and Online Backup are add-on components that manage distribution and consistency over several live or offline node spaces."...
I am using Zend_Application and it does not feel right that I am mixing in my application.ini both application and user configuration.
What I mean with this is the following. For example, my application needs some library classes in the namespace MyApp_ . So in application.ini I put autoloaderNamespaces[] = "MyApp_". This is pure applic...
I would like to learn from and possibly use the section serializer that Jeff Attwood posted in his The Last Configuration Section Handler.. Revisited blog posting. But, alas, it appears to have been lost in the great coding horror backup failure.
Does anybody have a copy, or similar code that I can learn from or use?
...
I've managed to configure the L2 cache for Get\Load in FHN, but it's not working for queries configured using the ICriteria interface - it doesn't cache the results from these queries.
Does anyone know why?
The configurations are as follows:
ICriteria:
return unitOfWork
.CurrentSession
.CreateCriteria(typeof(Country)...
I have a file with a dozen classes and i use reflection to generate data from it. I was thinking it may be cool if i had a way to configure all of the classes in that file at once. How might i do this?
-edit- everyone seems confused. I posted a possible solution below.
I want to attach data to a file. While using reflection i would lik...
We're looking at how to do distributed configuration within our primarily Java based deployment. We have a number of applications and it makes sense to centralise the configuration of the applications. JNDI appears to be the standard choice, probably backing off to something like ApacheDS (that way we can store non Java config in there a...
Hi all,
I have deployed a WCF service to SharePoint and on my own machine everything works fine. Navigating to the .svc works and, as expected, navigating to service.svc/Operation generates a "method not allowed message". Posting to the service using jQuery also works perfectly on my own machine.
However, when my colleague gets the lat...