WPF vs WEB forms

Posted on 2011-04-29
Last Modified: 2013-11-12
I have a database design ready in MS-SQL 2005, I want to develop a .net application in a way that I can use the same code for desktop and for web. I heard that If I build the application using WPF then I can use the same code for web deployment
Question by:heemandalal
    LVL 3

    Expert Comment

    Hi, WPF is just desktop technology, but is Silverlight, beginning from version 4 it can be used as Out-of-browser application
    LVL 4

    Expert Comment

    by:Sathish DV

    Refer the like below. It will very much helpful for u....

    LVL 83

    Accepted Solution

    You can use the n tier pattern where the data access layer is in a separate DLL, business logic layer is in a separate DLL and then you can have a presentation layer such as WPF, Silverlight, Webforms etc. This way, you only need to change the presentation layer and all your data access and business logic code would remain the same.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    This article shows how to make a Windows 7 gadget that accepts files dropped from the Windows Explorer.  It also illustrates how to give your gadget a non-rectangular shape and how to add some nifty visual effects to text displayed in a your gadget.…
    This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
    This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now