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

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Predefined Interfaces in .Net

Posted By:      Posted Date: April 14, 2011    Points: 0   Category :Windows Application

What is the use of Predefined interfaces in .Net? How to use IEnumerable,IComparable interfaces? What is GetEnumerator method?

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

SQL Query to retrive the data in XML Predefined tag format

I am looking out the way for  instead of using column names as tags, be able to use a predefined mapping. For example Select firstname from employee <firstname>John</firstname> Instead, Have a file that maps the firstname to fname so when we run the TSQL should get:  <fname>John</fname> Please consider that there are over 100 columns in the Query for which how can I use the predefined format.  Sivaprasad S http://sivasql.blogspot.com Please click the Mark as Answer button if a post solves your problem!

Worflow template with some predefined activities and a hole to add other activities

Hi,all,        I am trying to write a workflow template to simplify modeling a new workflow.  The workflow template include some predefiend activities and an empty ifelseactivity there. When the user wants to define a new workflow, it use this workflow as base workflow(something like NewWorkflow: WorkflowTemplate), and then add some ifelsebranchactivities in the empty ifElseActivity.        I tried to implement it. But I met some problems .  First, When I drag a new ifElseBranchActity into the hole, it was not permitted and said "Cannot add or remove child activities on a non-editable activity". Furthermore, in the InitializeComponent() function,the designer will generate all the elements that has in the template workflow again.  So there will be two activities with the same name, one is inherited from the workflow template, one is generated in the new workflow.       Is there any way to implement my requirement in workflow 3.5? or workflow 4?        Best wishes to you all!  

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

Negate predefined words using Regular Expression Validator

Hi Any one please tell a regular expression which allow all, except some predefined words. For example user should add their imaginary planet names to text field. So if he typed the existing planet names regular field validation don't allow further. i tried [^({Mercury})|({Venus})|({Earth})|({Mars})|({Jupiter})|({Saturn})|({Uranus})|({Neptune})|({Ceres})|({Ploto})|({Haumea})|({Makemake})|({Eris})] but not working. Its not working for any strings. Please tell me the correct way to do this One more thing i want to know is how lengthy expression can be given to the Regular Expression Validator. Thanks Akeeq

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.  

Predefined excel report sheet

Hi, I am trying to export data from DB to excel sheet. I have to use a predefined excel sheet. My questions here are 1. How do i use a predefined excel sheet. That predefiend excel sheet has some formats my data should be exactly placed in that location only. Is it possible to achieve. If yes how can i do that? 2. I want to place the row count on the top of the excel . say in row 1 i need count, name from DB should be in row 2, address in row 3. How can i achieve this. Pls throw some light on this. Thanks and Regards, Dumbi dooooo
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