.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Post New Web Links

about interfaces

Posted By:      Posted Date: October 18, 2010    Points: 0   Category :ASP.Net

we have Icollection, Icomparer, Ienuberable, Ienumerator these are all system.Interfaces or .NET Framework interfaces.?

plz help


View Complete Post

More Related Resource Links

InterFaces and Abstract Classes

Link Describes About Abstraction and Interfaces In Breif

Toolbox: User Interfaces, Podcasts, Object-Relational Mappings and More


This column covers common user interface groupings, configuring NHibernate using C#, and a look at interesting books and podcasts.

Scott Mitchell

MSDN Magazine October 2009

Cutting Edge: Build Rich User Interfaces with jQuery


In this month's installment we build modal and modeless dialog boxes in jQuery and explain how to post data from them to the Web server.

Dino Esposito

MSDN Magazine May 2009

{ End Bracket }: Building Voice User Interfaces


The GUI is the interface of choice for scenarios when the user has a large keyboard, mouse, and display. But most cell phones have just a keypad and a small display. Drivers want to get directions without taking their eyes off the road or their hands off the wheel.

Alex Acero

MSDN Magazine February 2006

Scripting SQL: VBScript Interfaces in SQL Server 2000 Let You Transform Data and Provide Reports to


Application service providers often must send information to clients automatically rather than on-demand. For example, a manufacturer may want to know each day how many of their products were sold by a retail chain. While SQL Server is ideal for maintaining this type of database, you have to write scripts to get the data out in a client-friendly format. Here you will see how you can use Data Transformation Services (DTS), a powerful tool in SQL Server, to automate the retrieval and formatting of data from SQL Server 2000 and make the process of pushing data to your users a lot easier.

Alok Mehta and Daniel Williams

MSDN Magazine August 2002

RPC and C++: Build a Template Library for Distributed Objects Containing Multiple Interfaces


Building a C++ template library for developing distributed object-oriented applications using Remote Procedure Calls (RPC) allows the programmer to design RPC applications that are composed of components that implement multiple interfaces. This article demonstrates the use of techniques such as assembly-level thunks to build machine code on the fly, and C++ features such as templates, conversion operators, virtual destructors and virtual function tables. Along the way, familiar C++ interfaces and classes are transformed into a distributed application. The benefits of using distributed objects rather than raw remote procedures, which include writing fewer lines of code, is explained.

Ajai Shankar

MSDN Magazine November 2000

Developer Training: User Interfaces and Lists in SharePoint 2010

Learn about the new user experience in SharePoint 2010 and how you can use the new UI in your customizations. This training module also discusses improvements in list handling, including list relationships and new form-rending options.

Module 8: Creating Silverlight User Interfaces for SharePoint 2010 Solutions

SharePoint 2010 integrates closely with Microsoft Silverlight to enable you to build compelling user interfaces that interact with SharePoint data.

XmlSerialization with Interfaces

I'm trying to serialize a class that exposes a property as an interface.  When I try to serialize the instance of the class the XmlSerializer throws an InvalidOperationException with the following message: {"Cannot serialize member SerializationTest.ParkingLot.MyCar of type SerializationTest.ICar because it is an interface."} This may seem like a silly question but is this true?  I've never ran into this before and I use interfaces pretty extensively in my designs.  Can the .NET XmlSerializer not handle interfaces? Thanks! Jeremy

SQL Server Network Interfaces Error 26 - while failing over SQL Server 2008 R2

Before I explain the issue I am facing, I would like to say that I did read the post at  http://blogs.msdn.com/b/sql_protocols/archive/2007/05/13/sql-network-interfaces-error-26-error-locating-server-instance-specified.aspx but in my case the problem is transient (lasts for approximately two minutes after a failover) so items 1-3 in the list of troubleshooting steps do not seem to make sense. As to 4 and 5, the named instances use non-default ports (2433 and 3433 respectively), so I do not know how to tailor the PortQry command for that. I tried  portqry.exe -n ServerA,2433-p UDP -e 1434 and  portqry.exe -n ServerA,2433 -p UDP -e 2434 and it failed both times with a "Failed to resolve name to IP address" while the server was up and serving database requests The same thing happened when I tried it with the failover server as well. ***The issue I am facing*** I am using Enterprise Library 4.1 to connect to a SQL Server 2008 R2 database with a mirror. My connection string itself is as below (with dummy values for all fields): "Data Source=ServerA;Failover Partner=ServerB;Initial Catalog=DBName;User ID=uid;Password=pwd;Connect Timeout=5" Sample .NET code is as below (with modifications to instantiate all variables locally to provide context): SqlDatabase db = new SqlDatabase(ConnectionString); SqlConnection cn = (SqlConnection)db

Desiging interfaces

I am new to ASP.NET development. I noted that the design interface provided with visual studio 2010 is not very help ful in designing eye catching website. May be I am missing some pice of inforanmtion. To improve my understanding, specially with reference to Visual studo 2010/ASP.NET, I wanted to know useful resources about HTML, CSS and javascript

Exposing Web Service interfaces on a per-binding basis

Hi there, supposed I have a dual-homed system (with 2 nic ards) that are connected to 2 separate networks. Suppose one nic is bound to a public address (e.g. 63.xxx.xxx.xxx) and the other to a private network address (10.xxx.xxx.xxx). Is there a way for me to only expose a web services interface (e.g. foobar.asmx) on one of the bindings (e.g. 10.xxx.xxx.xxx), but not the other? I'm assuming this is a pretty typical scenario. Can someone please shed some light on this? Thanks,- K.  

SQL Network Interfaces, error: 26

My project is working on local machine and I can access remote database from local machine. I have VS 2008 Version 3.5SP1 on local server. My connection string works fine<add key="ConnectionString" value="initial catalog=xxxx;user id=xxxx;password=xxxx;data source=xx.xx.xx.xx"></add>But as I upload my project online I receive following error. A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)Source Error:  An unhandled exception was gen

Wrap unmanaged dll and interfaces



I wan't to use unmanaged dll (C++, not COM). My problem is that dll doesn't have static functions but expose (throw header file) some interfaces to class. For example IClientFactory.h looks like that:

class IClientFactory : public IUnknown
	virtual BOOL Init() = 0;
	virtual BOOL CreateClient( IClient **pClient ) = 0;
	virtual void Exit() = 0;

class __declspec( uuid("{B4041BE8-B1E6-485f-AD3D-BF79FDDFFD3B}") ) IClientFactory;

Usage in C++ is as follows:

m_hClientDll = ::LoadLibrary( L"sdk.dll" );
	if ( m_hClientDll )
		// get entry function
		GET_CLIENT_FACTORY *GetClientFactory = (GET_CLIENT_FACTORY *)::GetProcAddress( m_hClientDll, "GetClientFactory" );

Implemeting Interfaces

How to use and implement Interfaces with WCF services?

Interfaces and resource allocation


I've recently been discussing Interfaces with a fellow developer. I don't have any experience using them, but my colleague has made some reasonable arguments for using them. He explained how it can allow you to limit the methods and properties in an object so you can instantiate an object for a specific purpose that may not need all the other methods and what not. The first question that came to my mind was "Does that also limit the amount of memory those objects use?" In other words, if I limit an objects methods/properties/etc does it only allocates memory for those specific methods/props? If so I see a lot of value in interfaces. I'm now in a scenario where I'd like to use an interface if it does restrict the amount of memory used. I'm rewriting some code another developer did a while back. He's using labels to store several values between postbacks. Ideally, I'd like to show an object holding those values into viewstate or session object. However, this particular object has a lot of methods and more properties than I need, so I don't want to throw a huge object into either of those objects. That said, if this interface would limit the amount of memory that object is going to grab a hold of, I'd feel much more comfortable storing that object then retrieving the 6 or 7 property values I need from the full blown object. Does this make sense? The

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend