View Complete Post
I know what Singleton Pattern means and Abstract class means.
What I wanted to know was how would this apply to real world.
Could anyone give me any good example or simple explanation.
Say I have a simple website, why would I use any of the above if any.
Why would it simplify my architechture.
Thanks in advace.
For handy database interface, is it good to use SqldataSources exclusively intead of EntLib functions?
Thanks for any feedback.
I am using a wcf service that I created, when both hosting machine and
the client machine are on the same domain everything works just fine.
When I publish the client app to the webserver in the DMZ I am getting
the following error:
SOAP security negotiation with 'http://10.0.0.14:3790/Bullfrog/QBService/QBService' for target 'http://10.0.0.14:3790/Bullfrog/QBService/QBService' failed. See inner exception for more details.The Security Support Provider Interface (SSPI) negotiation failed.
Here is my service main where I set up the service
Uri baseAddress = new Uri("Http://10.0.0.14:3790/Bullfrog/QBService");
ServiceHost selfHost = new ServiceHost(typeof(QBService), baseAddress);
I have a class that is created as a singleton because its used to access the filesystem in a multi-threaded app.
As part of the class instantiation I need to assign some values to an internal list used by the class when I set an instance of it.
Heres some bare bones code for what im trying to do
The singleton class
sealed public class Validator : IValidator
set up some private variable here...
List<blah> lst = new List<blah>(); basically 1 or more pairs of strings
public static Validator Instance
code here to add items to the List (lst)?
SchemaSet = new XmlSchemaSet();
for each (blah b in lst)
more code here.......
and the code to use an instance of my class
private Validator SValidator;
SValidator = Validator.Instance; -- add items to the List here?
so when I create an instance of Validator, how can I assign values to the list when its being created, something like
This month we begin a look at the Single Page Interface (SPI) model and some design patterns for designing AJAX applications.
MSDN Magazine May 2008
Dan Griffin shows the extensibility of Visual Studio 2005 Team Edition for Software Testers by discussing the modification of the existing Test Interface Provider sample in the latest Visual Studio SDK and implements Fuzz Testing.
MSDN Magazine November 2007
MSDN Magazine December 2004
Prevent the sizing of the column headers in an ATL composite control. Also, see how you can share a small amount of simple data among multiple processes running on the same machine without Remoting.
MSDN Magazine June 2003
MSDN Magazine February 2003
Web Services are a great way to accept and manage contributions to a public clip art library, digital music catalog, or corporate knowledge base. Since the SOAP interface to a Web method operates over HTTP, contributors can easily publish content any time, from anywhere across the Internet. However, accepting binary content and managing content metadata through SOAP over HTTP presents Web Service developers with some interesting design decisions. This article discusses three ways to enable content publishing using Web methods.
MSDN Magazine March 2002
The Windows XP shell introduces many new features that both users and developers are sure to welcome. The interface supports a number of styles that will be new to users, and it also supports customization of those styles through a new concept called themes. There are more shell registry settings available to the user and developer, a facility for customizing infotips, and infotip shell extensions. In addition, folder views can be customized. This article covers these shell changes and includes a discussion of a number of other Windows XP additions. These include fast user switching, which lets users log on and off quickly, and AutoPlay support for a variety of devices and file types not previously supported.
MSDN Magazine November 2001
MSDN Magazine June 2001
MSDN Magazine April 2001
MSDN Magazine August 2000