.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

How does WCF work with other parts of the .NET framework?

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :SharePoint
This may be a silly question, but I'm very new to both WCF and the .Net framework, so bear with me. I've been reading about WCF's capabilities, looked at some demos, but I haven't found a clear answer yet. Say for instance I had an application in C# with a WPF GUI (I dont, yet, so no code samples and such) , and I wanted that application to have P2P connectivity (from what I've read, WCF is the way to go here). How would I integrate WCF into this application? Is the WCF part a separate type of application whose functions I can call or is it a real part of the main program?

I would appreciate it if someone could give me a concise explanation of how this works exactly.

View Complete Post

More Related Resource Links

Quick Note: Using SharePoint Designer 2010 to Work with Web Parts

Learn to create an XSLT List View Web Part within SharePoint Designer 2010 that displays a list of employees on the Home page of local web site.

Nested Work Flows in 4.0 Framework

Hi, I want to Invoke an work flow within an workflow. And I should be able to sqlTrack the inner workflow.  

Server-side validation on an Entity Framework required field (property) does not work!

Has anyone had issues getting server-side validation on an Entity Framework required field (property) to work? The data type is a string (nvarchar). Server-side validation for required fields of other data types WORK fine. Only string fields have issues. I get the following error on UpdateModel(obj); of my POST method within the controller. Exception Details: System.Data.ConstraintException: This property cannot be set to a  null value.Source Error: Line 4500:                OnTextChanging(value);Line 4501:                ReportPropertyChanging("Text");Line 4502:                _Text = StructuralObject.SetValidValue(value, false);Line 4503:                ReportPropertyChanged("Text");Line 4504:                OnTextChanged(); I've even tried data annotations like this but it seems to get ignored.     [MetadataType(typeof(ObjMD))]     public partial class Obj     {    

I try To Install Microsoft framework Dont i dont work

Hi i have Tried To Download Microsoft Frame Work 3.5 And every time i start the download I says Half Way Through "Go to Control Panel, Click on Turn On and Off Progams.So i went There Tried to Configure It but I says Not All files where Finshed I need Help ASSP i have a Advent 7110, Window 7 Ultimate.

The control value can not be set on GUI in .Net Framework 4.0, but it can work in .Net Framework 3.5



Now I encounter one strange problem on WPF. In the previous version, I work on VSTS2008 with .Net Framework 3.5; And in current version, I upgrade the software to VSTS2010 with .Net Framework 4.0. But the problem occurs. The control value can not be set on GUI now but the legacy version works fine.

After debug, I found that the control value in logic layer is what I want. But the value can not be populate to GUI.

The xaml script is like this:


Content="{Binding Path=TopButton1IndexUIValue}"


The codes are listed like this:


public static DependencyProperty TopButton1IndexUIValueProperty = DependencyProperty.Register(
       "TopButton1IndexUIValue", typeof(string), typeof(GraphicView));

public string TopButton1IndexUIValue
      get { return (string)GetValue(TopButton1IndexUIValueProperty); }
      set { SetValue(TopButton1IndexUIValueProperty, value); }


Does anyone know what the root cause of this issue ? In other words, is there extra more work needed while upgrading from 3.5 to 4.0 ?

Thanks a lot !!

WPF, MVVM , Entity Framework: Is there an example to show how Entity Frameowk work with MVVM pattern


Is there an example to show how Entity Frameowk work with MVVM pattern or WPF?
Does it suppose to be the Model layer implement LINQ to Entities?

Multiple database support with Entity Framework

One of the features introduced in Entity Framework is being database independent. Which mean each database provider can support Entity Framework by implementing its provider.

This feature allows you build applications independent from the underplaying database provider. In this post I'm going to show how to build an application that support multiple databases using same conceptual model made by Entity Framework.

Displaying SharePoint lists in Web Parts

When you create a built-in or custom list in Microsoft Windows SharePoint Services, Windows SharePoint Services creates a Web Part, a basic building block of a SharePoint site, to display that list. These Web Parts are called List View Web Parts. Windows SharePoint Services stores List View Web Parts in the site collection Web Part gallery. (The site collection Web Part gallery is the most central gallery of Web Parts for a work group. By default, the gallery name is the name of the site, such as "Our Team Site Web Part Gallery." )

Six easy ways to customize your site using Web Parts in SharePoint

Becoming familiar with Web Part customization techniques gives you a range of page-customization choices. For example, you can customize your site's home page so that it displays the specific information that your team needs. You can rearrange the list items on the home page, add lists, and even change the images on the home page. As you become more familiar with Web Part Page customization techniques, you can build interactive Web Part Pages that makes the data in lists more dynamic and useful, and you can add new Web Parts that provide access to external data and Web services.

SharePoint Tutorial - Web Parts

A page in SharePoint is comprised of web parts the exist within zones. Web parts are available for just about everything. For example in the page below there are four web part highlighted by different colors. The purple web part displays a short list of the new announcements stored in the annoucements library. The pink web part displays events from a calendar within the site. The green web part displays an image from a location the user specifies. The gray web part displays a list of links from the links list on the site.

Creating a Generic Entity Framework 4.0 Repository

With .NET 4.0 right around the corner, I thought it would be cool to download Visual Studio 2010 beta 2 and start playing around with the next release of Entity Framework.

The initial release of Entity Framework came with a great deal of criticism. To make matters worse, there was a large uproar when it was rumored that Microsoft would be abandoning LINQ to SQL, in favor of Entity Framework. This was because, at the time, many developers felt Entity Framework was an inferior technology to LINQ to SQL. To set things right, Microsoft proactively moved forward with improving Entity Framework, in time for the 4.0 release of the .NET Framework. This is good news because my initial impressions, so far, have been nothing but positive.

ASP.NET 4.0 Dynamic Data and Many to Many Entity Framework Entities

I did not play much with Dynamic Data controls in VS2008 and just made a cool discovery in VS2010 Beta 2. This may not even be new, but as I'm sitting 30,000+ feet over the Atlantic ocean, I don't have access to VS2008 at the moment to check.

RadioButton inside GridView, How to get it work as normal

Did you tried before to drag a RadioButton control inside a Gridivew templatefield, and then you attempt to select these RadioButtons , you will notice that the behavior of RadioButton control will be changed and it will work just like the behavior of checkbox control! the user will be able to select more than one radiobutton in the grid!

Visual Studio Add-In for Web Parts Generation

This article will introduce you to a new Visual Studio 2005/2008 add-in that can be used for Web Parts generation based on a prepared ASCX control/template. The add-in should allow Web Part developers to easily make Web Parts using the Visual Studio HTML designer. It should save you a lot of time and make Web Part development an enjoying experience even for beginners.

This article is written in the form of a step-by-step tutorial. It will give beginners a chance to successfully make, deploy, and try their first Web Parts, and will save some time for advanced users as you can always run into challenges when working with SharePoint.

Sandboxed Solutions for Web Parts in SharePoint 2010

SharePoint 2010 provides a new sandboxed environment that enables you to run user solutions without affecting the rest of the SharePoint farm. This environment means that users can upload their own custom solutions without requiring intervention from administrators, and without putting the rest of the farm at risk.

Writing Custom Web Parts for SharePoint 2007

As I mentioned in an earlier blog post, SharePoint 2007 is built on top of ASP.NET 2.0, which means you can now use ASP.NET 2.0 features (Forms Authentication, Master Pages, Membership, Site Navigation, New Data Controls, etc) when building SharePoint sites. This is true for both the new Windows SharePoint Services 3.0 version (which will be a free download) as well as Microsoft Office SharePoint Server 2007 (which costs money).

Checklist for Creating SharePoint Web Parts

Use this checklist to assist with the deployment and maintenance of Microsoft SharePoint Products and Technologies Web Parts.
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