In a asp.net web.config file you can do
<appSettings file="local.appSettings.config">
<add key="foo" value="bar" />
</appSettings>
and it will look in local.appSettings.config for any overrides to the foo/bar setting.
Is there an equivalent for applicationSettings? Something like this
<applicationSettings file="local.application...
Ya is this possible :) ?
...
On outer join fetching, the Nhibernate documentation says:
If your database supports ANSI or
Oracle style outer joins, outer join
fetching might increase performance by
limiting the number of round trips to
and from the database (at the cost of
possibly more work performed by the
database itself). Outer join fetching
al...
Forget trivial apps that have half a dozen users and a dozen options, what ui do you think is most effective at letting the admin get the job done. Some interesting technologies which though have other applications might include:
AREXX - "live" application scripting.
GUIs - Point and click, a bit troublesome when one has lots of repeti...
I've got dependency injection working with Unity and it runs nicely but I want to reduce the amount of cruft in the app.config as it is getting huge.
This is an issue because the customer routinely 'cleans up' the config by removing comments etc and we end up with a few hundred lines of nasty XML without explanation.
So, is there a way...
We have set of web projects, which has a lot of shared html resources - .aspx, ascx files.
We already made split them in project folder structure and I know, which folders must be same for all 4 projects, and which are specific.
It should be a way in svn how to do this, right?
In worst case, maybe someone can recommend good tool to co...
Ive been googling for quite some while and couldn't find it! I need to know the specs of our hosting server system. And also this command will be quite useful in the future. Thanks
...
I'm running a batch file command on a server which is using reg query to find out the procesor_architecture of the machine(AMD64 or x86).
And I'm getting this error, does anyone know what could be the issue.
And what all things have to be checked first before running this command on that specific server.
This is the command:
reg quer...
I recently broke out a part of my winform app in a .dll. Some of the classes in that dll
wants fetch/store user settings.
The classes just used the VS generated Settings file so it just did
Properties.Settings.Default.SomeSetting = var;Properties.Settings.Default.Save() etc.
What are my options now that I moved that code out to a clas...
Hello,
I am using the ASP.NET Web Site Small Business Starter Kit as a starting point for a simple web app. I wanted to convert it to a web project from a web site for few reasons (better interaction with VisualSVN, etc..). I created a new ASP.NET Web Application from scratch... then copied and pasted all the files via explorer, then di...
We write an application with WPF. When we build this project, 3 files is generate for us in addition to :
> OurApplication.exe
> OurApplication.exe.config
their names are:
> OurApplication.vshost.exe
> OurApplication.vshost.exe.config
> OurApplication.vshost.exe.manifest
first, what are these files? secondly, which one of this conf...
Everything was going great until I added AddHandler application/x-httpd-php5s .php to the .htaccess file in my local server's document root (which I change frequently depending on the site I'm working with). Since I did that when I visit http://localhost:8888 my browser just downloads the index.php and it's not processed at all, just the...
I have this webserver that have an IP address xxx.xxx.xx.x, I also have a website I want to publish, but I do not have any domain for my website yet.
So in my httpd-vhosts.conf file I have this setting:
<VirtualHost xxx.xxx.xx.x>
ServerName xxx.xxx.xx.x
DocumentRoot "C:\Sites\mysite"
</VirtualHost>
And since I dont have a domain ...
I have a business logic tier I work with that requires configuration based on a custom configuration file. When using this tier within a web or windows application, I initialize the business logic tier within application startup, passing in the path to the configuration file which is configured in app.config or web.config.
I'm now tryin...
I am trying to build a simple LR parser for a type of template (configuration) file that will be used to generate some other files. I've read and read about LR parsers, but I just can't seem to understand it! I understand that there is a parse stack, a state stack and a parsing table. Tokens are read onto the parse stack, and when a rule...
I need to allow the user to store/load an arbitrary number of lists of objects (assume they are Serializable). Conceptually I want a data model like
class FooBean { /* bean stuff here */ }
class FooList {
final private Set<FooBean> items = new HashSet<FooBean>();
public boolean add(FooBean item) { return items.add(item); }
...
I'm developing a tool that will perform several types of analysis, and each analysis can have different levels of thoroughness. This app will have a fair amount of options to be given before it starts. I started implementing this using a configuration file, since the number of types of analysis specified were little. As the number of opt...
I'm writing a WPF application with C# as the code behind and I want to give the users the option to change certain settings in my application. Is there a standard for storing settings within an application that will be read and written to constantly?
...
Hi folks,
NOTE: this is very very similar to this SO question, but I need some more help.
i'm trying to make the following section in my .config file, but i get an exception when trying to access this section.
.config file
<configSections>
<section name="foos" type="Ackbar.Mvc.Models.Foo.FooCollection, Ackbar.Mvc" requirePermissi...
Hi,
sometimes we use global variables in our biztalk configuration called BTSNTSvc.exe, we add these with the following code:
<appSettings>
<!--<add key="ZNA_Integratie_Prestaties_OasisProxy_OasisServiceProxy_Service" value="http://localhost/service.asmx" />-->
<add key="IPSdatum" value="20090101" />
</appSettings>
Using th...