.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

Sample: Custom BCS Connector Sample

Posted By:      Posted Date: August 31, 2010    Points: 0   Category :SharePoint
Explore the code as you learn how to create a Business Connectivity Services (BCS) connector to integrate data sources into SharePoint Server 2010.

View Complete Post

More Related Resource Links

Windows UI: Our WinMgr Sample Makes Custom Window Sizing Simple


Programmers using Visual Basic have always had an advantage over C++ programmers when it comes to component and window sizing. There are many third-party Visual Basic-based solutions to this age-old problem, but unfortunately, there are few elegant alternatives for the C++ crowd, short of using a full-fledged windowing toolkit. This article explains how to circumvent the tedious task of hardcoded pixel arithmetic. It starts by introducing a window sizing rules system, and then moves on to show how CWinMgr, a data-driven class, can intelligently manage an MFC application's window sizing.

Paul DiLascia

MSDN Magazine July 2001

"significant whitespace" build errors in workflows with custom designers (with attached sample proje

I'm using some custom designers in a workflow and occasionally get a combo of errors that don't make much sense.

On the designer surface, the following error is shown:

Cannot create unknown type '{clr-namespace:HurrDurr.Activities}MyActivity'.
System.Xaml.XamlObjectWriterException: Cannot create unknown type '{clr-namespace:HurrDurr.Activities}MyActivity'.
   at System.Xaml.XamlObjectWriter.WriteStartObject(XamlType xamlType)
   at blah blah yadda yadda...

In the error list, I get the following error:

Error 1 XC1020: Build error occurred in the XAML MSBuild task: 'The value ' ' contains significant white space(s) but "xml:space = preserve" cannot be written down on the member '{clr-namespace:HurrDurr.Activities;assembly=HurrDurr}MyActivity.Variables'.'

So the designer says the type is unknown, and the error list says I have some issue with significant whitespace.  Except I don't, or cannot find it.

FlowChart workflow - Custom FreeformActivityDesigner sample



       Here is the long due sample for writing custom activity designers utilizing the freeform activitydesigner. This is still a very crude sample, so we will try to post improved versions from time to time.  Thanks to Arjun for the Executors and Validators. The validators show a false positive sometimes because of a bug that we will be fixing soon.


here is a preview of the flowchart workflowtype  get


Sample: Creating Custom SharePoint 2010 Service Applications and Consumers

Explore the code in this visual how-to article as you learn to create custom SharePoint 2010 service applications for robust, scalable, and fault tolerant shared services.

Sample: Integrating Custom Silverlight Applications with SharePoint Server 2010

Explore the code as you learn to use the SharePoint Foundation 2010 managed client object model to work with managed Microsoft Visual C# code within the context of custom Silverlight 4 applications.

Sample: Creating and Publishing Excel 2010 Documents with Custom SharePoint 2010 Workflows

Explore the code as you learn to generate Excel spreadsheets inside SharePoint workflows and publish them to SharePoint sites.

Abstract Factory Design Pattern (Sample in C# and VB .NET)

An abstract factory provides an interface for creating families of related objects without specifying their concrete classes. Sometimes one wants to construct an instance of one of a suite of classes, deciding between the classes at the time of instantiation. In order to avoid duplicating the decision making everywhere an instance is created, we need a mechanism for creating instances of related classes without necessarily knowing which will be instantiated.

Looking for ASP.Net JQuery Post Sample


Hi, iam looking for a JQuery Post Sample, without reload of the current Page. I want on a webform enter a search text, onclick on the submit button i want get (webservice?) back clean html code that will be shown in a div tag
i found something like

<form id="formsearch" onsubmit="jQuery.ajax({type:'POST',dataType:'html',data:jQuery(this).serialize(),success:
function(data, textStatus){jQuery('#ajaxcontent').html(data);},beforeSend:function(XMLHttpRequest){$('#indicatorSearch').
show();},complete:function(XMLHttpRequest, textStatus){$('#indicatorSearch').hide();},
url:'/Search'}); return false;" action="/Search" method="post">

but how is the source asp.net (or webservice) build up?

can you give me some samples, how i can realize that with asp.net


Looking for a simple Service and Console Client REST sample implementing BASIC authentication


Does anyone know of a C# code sample demonstrating WCF REST services and console test client with OperationContracts (GET and POST) implementing mutiple paramaters using BASIC authentication? Also, perhaps, using Fiddler as a test client as well? I have searched high and low for something like this, but have not had any success.

Sample: Creating a SharePoint 2010 Web Part That Can Read and Write Data to an External Data Source

Explore the code in this visual how-to article as you learn to use Visual Studio 2010 to create a Visual Web Part that uses a BCS external content type in SharePoint Server 2010.

Sample: SharePoint Server 2010: Aggregating Data Using BCS and .NET Assemblies

Use the BCS Data Aggregation sample with BCS in SharePoint Server 2010 and to aggregate data from two external systems.

Sample: SharePoint 2010 Claims Provider

Download a code sample that shows how to write a claims provider in SharePoint 2010 to augment claims and provide name resolution.

Sample: Business Connectivity Services Excel 2010 Add-In

Download a sample add-in that shows how to use BCS in SharePoint Server 2010 to access and update external data by using Microsoft Excel 2010 as a client.

Sample: Accessing BLOB Data from External Systems Using Business Connectivity Services in SharePoint

Download sample code as you learn to use BCS in SharePoint Server 2010 to access and surface BLOB data in the SharePoint user interface and search.
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