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

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

what is wcf or wpf?Please give some sample application for asp.net.

Posted By:      Posted Date: August 30, 2010    Points: 0   Category :ASP.Net
hello , i  am  working on  asp.net project. i am newer from wcf and wpf . so how to use wcf,wpf in asp.net. i dont know where i start . so if you have any good link for this topic please send me . i thanks in adevance. 

View Complete Post

More Related Resource Links

Windows Forms: Give Your .NET-based Application a Fast and Responsive UI with Multiple Threads


If your application performs any non-UI processing on the thread that controls the user interface, it may make the app seem slow and sluggish, frustrating users. But writing multithreaded apps for Windows has long been restricted to C++ developers. Now with the .NET Framework, you can take advantage of multiple threads in C# to control the flow of instructions in your programs and isolate the UI thread for a fast and snappy user interface. This article shows you how. Also, it discusses the pitfalls of multiple threads and presents a framework for safe concurrent thread execution.

Ian Griffiths

MSDN Magazine February 2003

I'm pulling out my hair,hard to find a suitable mvc sample application to learn from

I've noticed several samples in the url:http://www.asp.net/mvc/application-developmentbut,nerddinner seems too hard for me ;MVC MusicStore cannot run in my computer. seems it use sql2008&i have sql2005 installed in my computerASP.NET MVC Storefront Starter Kit        even worse  after i've download the source code from codeplex as told by the author, just find that I  can not compiled it  in vs2010(it's deveplopped using vs2008)and it seems out of date(the project begun at 2008),actually i wanna find a sample written after 2010.And I hope the sample is classic   and easy to learn,  and the technology used should not turn out to be a past after a new version of mvc or .net framework released.Anyone can help me out?

Sample Application

Could anyone point me in the right direction of a sample application for a garden/landscape designer or that kind of application.

provide sample MVC application with asp.net 3.5 + VS 2008


Just I started working on MVC application using VS 2008 + 3.5 framework. Please provide any sample applicaiton with custorm validations with SQL Server 2008 database connectivity


Sample Application for learning.



I am new and want to work on MVC. I have Nerddinner and Music store.

Is there any other sample application for MVC2 with AJAX implementation?

Tutorials/Videos will be helpful.


Web Site/ Web Application templates seem changed; give me default.aspx only with site.master in VWD


Using Visual Web Developer 2010 Express

I was used to creating a web app anytime and I would get a default page for starters and be happy.  But today I find that when I pick either the ASP.NET Web Site or ASP.NET Web Application templates I get site.master and a bunch of site admin files that I don't want.  Alternately when I select the empty versions of those templates, I get almost nothing at all.  An almost empty web.config page and no Default.aspx page.  There is nothing magical about having a default.aspx page in place, but it is an indicator of a change when I can only get a virtually completely empty website or a website with a bunch of bells and whistles I don't want.

Also, for some reason, when I create a new app or website as just noted, in the Solution Explorer I get aspx.designer.cs files showing as well as web.config files for both debug and release.

Somehow some settings and templates must have changed, or am I missing something here?  How can I get my settings/templates to go back to the way they were?

Help, get Server Error in '/' Application when running the WCF sample EchoService


I am running Windows 7/IIS Version 7.5.7600.16385 with IIS Manger Version 6.1(Build 7600)/Visual studio 2010. When I am testing WCF hosted in IIS, I got the famous error:

"The type 'WCF4Configuration.EchoService', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found"


<%@ ServiceHost Language="C#" Debug="true" Service="WCF4Configuration.EchoService" CodeBehind="EchoService.svc.cs" %>


using System;

using System.Collections.Generic;

using System.Linq;

using System.Runtime.Serialization;

using System.ServiceModel;

using System.Text;

using System.Globalization;


namespace WCF4Configuration


    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "EchoService" in code, svc and config file together.

    public class EchoService : IEchoService


        public string Echo(string message)



Silverlight application using RIA Service v1.0 give error in Sharepoint 2010


Hi All,

I am using RIA Service v1.0 in Silverlight 4.0 to retrieve database from sql-server and display on Silverlight application. For this I create RIA class library using Template available in VS2010.  In silverlight application I just fetch the employee from the Employee table and displaying in Silverlight Datagrid. Silverlight application is working fine with ASP.Net web. But when we going deploy same silverlight xap file to Sharepoint  Foundation Server 2010 using Module,deployed sucessfully,webpart display properly except following script error occurred in browser and data is not fetched.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; InfoPath.3; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)
Timestamp: Mon, 24 May 2010 13:46:40 UTC

Message: Unhandled Error in Silverlight Application Load operation failed for query 'GetEmployees'. The remote server returned an error: NotFound.   at System.ServiceModel.DomainServices.Client.OperationBase.Complete(Exception error)
   at System.ServiceModel.DomainServices.Client.LoadOperation.Complete(Exception error)
   at System.ServiceModel.DomainServices.Client.DomainContext.CompleteLoad(IAsyncResult asyncResult)

Sample P2P Chat application using WCF which works over Internet


Can anyone please provide me a sample WCF Application for PeerToPeer Chat which works over Internet.

Thanks in advance,

Error running Document Aprpoval Process application sample


Hi all,

I download and install the application samples for Windows Workflow Foundation 4 on my machine. When I try to run the Document Approval Process example the ApprovalManager project runs fine but when I start the ApprovalClient.exe I run into problems. Can anybody help?

My environment is: Windows 7 64-bit with VS2010. The only change I have made is that the Express Db's name is '(local)' instead of 'localhost\SQLExpress' and I have changed this in the App.Config file.

Thanks in advance for your help.


Here is the error files:


<?xml version="1.0" encoding="UTF-16"?>
    <MATCHING_FILE NAME="ApprovalClient.exe" SIZE="36864" CHECKSUM="0xA99D9EE4" BIN_FILE_VERSION="1.0.3971.16290" BIN_PRODUCT_VERSION="1.0.3971.16290" PRODUCT_VERSION="1.0.3971.16290" FILE_DESCRIPTION="Microsoft.Samples.DocumentApprovalProcess.ApprovalClient" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Windows Communication Foundation and Windows Workflow Foundation SDK" FILE_VERSION="1.0.3971.16290" ORIGINAL_FILENAME="ApprovalClient.exe" INT

CreateSPs Sample Application Causes Exception.


When I use the CreateSPs sample app on a sample database (Person), with a sample table (Contact), the following exception occurred.


Add object to collection failed for StoredProcedureParameterCollection  of StoredProcedure 'SmoDemo.uspContactSelect'.  (Microsoft.SqlServer.Smo)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft SQL Server&ProdVer=9.00.1116.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Add object to collection+StoredProcedureParameterCollection&LinkId=20476

Program Location:

   at Microsoft.SqlServer.Management.Smo.ArrayListCollectionBase.AddImpl(SqlSmoObject obj)
   at Microsoft.SqlServer.Management.Smo.StoredProcedureParameterCollection.Add(StoredProcedureParameter storedProcedureParameter)
   at Microsoft.Samples.SqlServer.CreateStoredProcs.CreateSelectProcedure(Schema spSchema, Table tbl) in C:\Program Files\Microsoft SQL Server 2005 Samples\Engine\Programmability\SMO\CreateSPs\CS\CreateSPs\CreateStoredProcs.cs:l

Sample: Calling Public Web Services from a Sandboxed Silverlight Application (Visual How To)

Explore the code as you learn to create sandboxed Silverlight solutions that can call public web services in SharePoint 2010.

Microsoft's Collaborative Application Markup Language (CAML) Loop

discovered an interesting error recently while working with Microsoft's Collaborative Application Markup Language (CAML) that, surprisingly, had received no ink. Partly what surprises me about this is that the error may require you to rewrite large sections of your code if you haven't previously considered this SharePoint limitation. I'll start with some context, but first of all the error is:

Integrating a Legacy Web Application in SharePoint

This month we will continue with the theme of deploying Microsoft's SharePoint as a company intranet by describing a method for integrating a legacy Web application inside a SharePoint site.

In many companies the intranet site is not just a home page with announcements. It houses Web applications used by many different departments. In last month's article, I built a page to search the employee table in Northwind (the sample database included in Microsoft's SQL Server). This month, I will move the Web pages used to add/remove records from the table into the SharePoint intranet.

MVC architecture in ASP.Net using C# and Microsoft Data Access Application block

The Model-View-Controller (MVC) pattern separates the modeling of the domain, the presentation, and the actions based on user input into three separate classes [Burbeck92]:

Model. The model manages the behavior and data of the application domain, responds to requests for information about its state (usually from the view), and responds to instructions to change state (usually from the controller).

View. The view manages the display of information.

Controller. The controller interprets the mouse and keyboard inputs from the user, informing the model and/or the view to change as appropriate.

High-Performance .NET Application Development & Architecture

It has always been a goal of project architects to plan an effective strategy from the ground up in regards to an new application. All relevant factors are taken into consideration with respect to the application, from its design and layout to a functional website infrastructure. Pre-.NET strategies and design guidelines still effective now were developed with Microsoft's DNA (Distributed interNet Application) platform. This model successfully served the purpose of architecting N(any number of)-Tier (levels) applications. In its basic sense, as in most robust, distributed applications, you'll architect 3 main layers or Tiers: presentation, business rules and data access.

Application architecture in asp .net

Application Architecture is the most important process of developing a good application. Some people tends to jump into coding without any architecture laid. Later we see those people changing the architecture and finally the application had to be developed from the scratch with the correct architecture.

In this article I will describe some details about how you can improve the architecture of you application. This article is targeted to the beginner's audience.
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