configuration

Programatically configure individual WCF operations with different WCF configurations.

Hi, I am just getting started with WCF and would like to set up a distributable networked system as follows: (but am not sure if it is possible.) I have a .net client that has business logic. It will need various data from various sources so I would like to add a 'server' that contains an in-memory cache but also WCF capabilities to se...

How can I test my server has .net 3.5 SP1 installed?

Hi, Is there a way I can upload a file to my web server to test whether .net 3.5 SP1 was installed properly? Maybe use a new feature or something? ...

WCF not running under IIS6.0

Hi, Trying to get my wcf service running under IIS6. I have created the .svc and aspnet_isapi.dll mapping according to: http://msdn.microsoft.com/en-us/library/ms752241.aspx When viewing the Server1.svc page, I am getting a 404. I have tested the site with a simple .aspx page to ensure the url is working, but again the .svc extension...

where are the external tools launch configurations in Eclipse

I usually install and uninstall different versions of Eclipse for fun. I don't want to install many plugins. I prefer to start with fresh install to test the IDE. The problems comes when I have to config all the external tools that I always use (E.g. run jconsole). Also I want to backup my launch configurations. Do you know where Ecli...

Where to put AppSettings when breaking monothic asp.net site into libraries?

I have some business objects which use: Web.Configuration.WebConfigurationManager.AppSettings.Item("SomeSetting") Now that I'm breaking those objects into their own library, it feels dirty to take a dependency on System.Web when nothing else in the library has anything to do with web. What is the proper way to do this? UPDATE: Fou...

Configuration File as Embedded Resource

Does anyone out there have an example of using an embedded Configuration File in either VB.NET or C#? I understand how to embed the configuration file, but what is the best method to access it afterward? Can I treat it as a configuration file, like I can with the external configuration files? Any help is greatly appreciated. ...

C# code for sending an email without knowing much about the server configuration?

Is there a way, in C# code, to send an email without having to know the SMTP server configuration, etc on the server, or have any of that stuff set up? The code I'm developing will be deployed to a live server, but I know nothing about the configuration, so I can't predict what the SMTP server will be. ...

What is continuous integration?

What is continuous integration and what are its benefits? ...

Combining multiple config files in Visual Studio

I have a solution in Visual Studio 2008 which contains multiple C# projects. Each project has it's own config file (App.config and Settings.settings). This makes sense architecturally as each module is autonomous and is used in a number of different solutions. My problem is that when I compile the solution only the config file for the s...

How to connect to SQL Server 2008

I have a desktop, and a Laptop. The Desktop has Windows 7 64-bit and the Laptop has Vista Ultimate 32-bit. On both machines I have SQL Server 2008 Standard installed. On the laptop, I open SQL Management Studio and try to connect to the SQL Server on the desktop. It times out. With SQL Server Config Manager I Enabled TCP/IP and Named Pi...

How do I run 2 or more copies of the same WebSolution at the same time?

I have a solution with 8 seperate Web Apps which are required to redirect/link to each other on occasion. Also I use Subversion as my sourceControl and do development in one branch and bug fixing in another. Thus I can have more than one copy of the web suite on my machine at once. For the purposes of this question let's say they are ...

ConfigurationManager.AppSettings is empty?

Hello All, I have a VS2008 ASP.NET Web Service Application running on the local IIS of my XP machine. A separate project in the same solution uses test methods to invoke the WS calls, and run their processes. When I added a web reference to the WS App, VS2008 created a Settings.settings file in the Properties folder to store the addres...

WCF not using my domain name, but rather my computer name when viewing MyService.svc?wsdl

Hi, My WCF seems to be pulling the computer-name instead of the domain name. When I view the MyService.svc?wsdl it is showing my computer name. Where do I add my domain name in the web.config? Endpoint address, baseaddress or identity? Note: I am using SSL so it has to be https://www.example.com/myservice.svc ...

Wrong App.config being loaded

Hi all, I have a .NET 3.5 class library I built that reads an App.config file for values it needs. It can pull the config values just fine when I test it in Visual Studio. To test it, I just change the project to a console application and execute a method call. I have the need to call this class library from many other .NET programs,...

ASP.NET page specific configuration

Is there any way to make some sections of the web.config file only apply to a single file (or directory, or a group of files, etc.) Basically I would like to apply the following thing only to a single page in the application, the rest should use the default settings: (it limits the upload size to 32M) <system.web> <httpRuntime maxReq...

How to edit application configuration settings? App.config best way to go?

For my project I have settings that I added through the Settings in the project properties. I quickly discovered that editing the app.config file directly seems to no really update the settings value. Seems I have to view the project properties when I make a change and then recompile. I'm wondering ... what is the best and easies...

TestNG, multiple suites, possible to merge reports?

So here's an issue at my work. I've got a few testng cases that, if run within the primary batch of test cases, wreak havock throughout the other test cases. Rather than going through and changing all our test cases, I've made a group for the involved cases. I run the main test suite, excluding that group, and then make a second ant call...

Load a context/servlet at startup in Tomcat *WITHOUT* changing deployment descriptor (web.xml)

I've got a foo.war file from a third-party vendor. I've defined a context in my Tomcat configuration by creating conf/Catalina/localhost/foo.xml that contains: <Context docBase="/path/to/foo.war" ...> ... </Context> I want Tomcat to load up the foo context at startup. But the WEB-INF/web.xml (deployment descriptor) in the foo.war fi...

What's Is the Best File Format for Configuration Files

I am creating a framework in PHP and need to have a few configuration files. Some of these files will unavoidably have a large number of entries. What format would be the best for these config files? Here is my quantification of best: Easily parsed by PHP. It would be nice if I didn't have to write any parsing code but this is not a ...

What does the "RAILS_GEM_VERSION" setting do exactly?

What is the purpose of the RAILS_GEM_VERSION setting in config/environment.rb? Is it supposed to stop your app from running under an unexpected version of Rails? I just keep Rails updated to the latest release on my laptop and in production. Since I do that, can I comment out RAILS_GEM_VERSION or should I set it for some reason? ...