Reputation: 2244
WCF Lob adapter project item creates this file.
I want to keep the SCHEME
and SERVICENAMSPACE
values in a machine.config
or BTSNTSvc64.exe.config
Is it possible? If not how can I keep it customizable setting.
using Microsoft.ServiceModel.Channels.Common;
/// -----------------------------------------------------------------------------------------------------------
/// Module : MyFirstInboundAdapter.cs
/// Description : The main adapter class which inherits from Adapter
/// -----------------------------------------------------------------------------------------------------------
using System;
using System.ServiceModel.Description;
namespace MyFirstInboundAdapterApp
{
public class MyFirstInboundAdapter : Adapter
{
// Scheme associated with the adapter
internal const string SCHEME = "TheDefaultScheme";
// Namespace for the proxy that will be generated from the adapter schema
internal const string SERVICENAMESPACE = "TheDefaultScheme://FirstInboundAdapterNamespace;
// Initializes the AdapterEnvironmentSettings class
static AdapterEnvironmentSettings environmentSettings = new AdapterEnvironmentSettings();
}
}
Upvotes: 1
Views: 81