2
Answers

What is WCF? Comparing it with MVC

Sweety Kohli

Sweety Kohli

14y
7.7k
1

Hello,I am an trainee and I am assigned an task. Regarding that i have some queries.
I searched a lot for WCF and I just came up with a very breif overview. Can any one please explain me the comparision of WCF with  MVC architecture.
Actually I want to develop an system for company which will be deployed on the intranet using ASP.net
And I want to knw about the Silverlight also. Is it possible to have MVC architecture in ASP.net and Silverlight?
Answers (2)
0
Abbas

Abbas

NA 2 0 14y
What kind of system are u assigned?whats MVc gotta do with WCF?MVC is a
a frame work where as WCF is a technolgy.Well MVC,is  any code you can organize in MVC.You keep ur database code in Models(M),Html code in Views(V)
and your business logic in Controllers(C).Before you were not having different divisons,maybe placing all code in same place.In MVC you just place according to category.

WCF,you can visit my blog:http://www.itechtutor.blogspot.com
Iam currently having a lookat WCF.If iam correct you want to develop a distributed system using ASP.net?Well u can have  alook at ASP.net MVC,which u are i guess.IN WCF is logic is one server and GUI on many.Like in desktops.
0
Deepak Singh

Deepak Singh

NA 8 0 14y
There are no any comparison between WCF and MVC.
WCF is use to retrieve functionality from other website or application.
Where as,

ASP.NET MVC is a part of the ASP.NET Web application framework. It is one of the two different programming models you can use to create ASP.NET Web applications,the other being ASP.NET Web Forms.

An MVC Application is designed and implemented using the following three attributes

Model: The model contains the core information for an application. This includes the data and validation rules as well as data access and aggregation logic.

View: The view encapsulates the presentation of the application, and in ASP.NET this is typically the HTML markup.

Controller: The controller contains the control-flow logic. It interacts with the Model and Views to control the flow of information and execution of the application.