Good evenning all,
can anybody tell me what is practical use of interface.
plase give an example where with out interface developement can not be done.
Thanks to all.
View Complete Post
MSDN Magazine December 2004
Hi, so on msdn page
The disadvantage of omitting IEnumerable and
IEnumerator [in C#] is that the collection class is no longer interoperable with the
foreach statements, or equivalents, of other common language runtime-compatible languages.
You can have the best of both worlds, type-safety within C# and interoperability with other common language runtime-compatible languages, by inheriting from
IEnumerator and using explicit interface implementation as demonstrated in the following example.
But the example they show right beneath that, does it actually contain any explicit
For handy database interface, is it good to use SqldataSources exclusively intead of EntLib functions?
Thanks for any feedback.
Please suggest what is the best approach of coding for RSS implementation,
a) Add custom handler in web.config for .rss type
b) Create a handler class (RSSHandler.cs) in APP_Code
c) Create a Sample.rss file
d) Browse Sample.rss in browser
After some googling and help from the forum, I have integrated the the URLrewrting.net in my project. There are no error when I build the project, but the URL rewriting does not work. I am able to figure ot where the problem is. Is there a way to debug this. The code is as below:
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=220.127.116.11, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=18.104.22.168, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.W
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);
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
The .NET Framework offers several methods for customizing the presentation of native .NET and COM object types. One such technique, custom marshaling, refers to the notion of specializing object type presentations. There are times, like when a legacy COM component needs to implement a new interface or when you need to make calls across process or machine boundaries, when custom marshaling saves the day. Elements of COM Interop permit the customizing of COM types while .NET Remoting offers the developer the ability to tailor native .NET types. This article examines these techniques.
MSDN Magazine September 2003
With over 9,000 files, and including some 1300 public classes to pore through, the Shared Source CLI can teach you quite a bit about the internal workings of the CLR. But the sheer amount of source code included can make just starting your exploration a monumental task. This article discusses some of the things you can learn from the source code facsimile of the CLR, like how JIT compilation works. It will also help you understand how to control execution along with debugging and loading classes. A walk through the steps involved in setting up the runtime will let you become familiar with the process.
MSDN Magazine July 2002
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 August 2001
MSDN Magazine June 2001
MSDN Magazine April 2001