As my 2 threads are converging, I will post a single reply here (they seemed to be separate issues, but are now very much related).
Re: Source -- Yes, I see that "Source" isn't even in the database table.
Moving my test scenario out of the console app shifted the issues...
Now I have a web service that references the MyUtils class libarary and invokes the static WriteLogEntry() method -- exactly how this needs to work. Unfortunately, I am again failing on the EntLib.config because it is expected to be
in the BIN folder of the web service! What confuses me is that the other configuration settings (in the original App.config) are available without any special processing.
So, will the Fluent API allow me to programatically set the configuration without the need for EntLib.config? I would still have to address the DLL issue, but putting the necessary Microsoft.Practices.EnterpriseLibrary DLLs in the GAC may be the
An alternative would be to simply use EntityFramework to log to a custom SQL database -- similar to the Logging DB with the advantage of easily adding any custom fields. I can see the value of the
Enterprise Library, but is it just not a good fit for what I want to do? Any downsides in terms of performace or other issues?