Why WPF and compare WPF with Winforms ? (WPF Interview question with answers)

Sdílet
Vložit
  • čas přidán 27. 08. 2024
  • For more such videos visit www.questpond.com
    For more such videos subscribe www.youtube.co...
    See our other Step by Step video series below :-
    Learn C# Step by Step goo.gl/FNlqn3
    Learn Design Pattern Step by Step:- goo.gl/eJdn0m
    Learn Angular tutorial step by step tinyurl.com/yc...
    Learn MVC Core step by step :- tinyurl.com/y9j...
    Learn Azure Step by Step :- tinyurl.com/y6...
    Learn SharePoint Step by Step in 8 hours:- goo.gl/XQKHeP
    Python Tutorial for Beginners:- • Python Tutorial for Be...
    Learn Data Science in 1 hour :- tinyurl.com/y5...
    Learn Power BI Step by Step:- tinyurl.com/y6...
    Learn MSBI Step by Step in 32 hours:- goo.gl/TTpFZN
    Learn SQL Server Step by Step tinyurl.com/ja4...
    Learn Tableau step by step :- tinyurl.com/kh...
    In this video we will try to understand Why WPF (windows presentation foundation) and How WPF is better than winforms.
    The video explains how WPF is better than winform using ABCDEFG acronym.
    A - Anywhere execution ( Windows or Web)
    B - Bindings ( less coding)
    C - Common look and feel ( resource and styles)
    D - Declarative programming (XAML)
    E - Expression blend animation ( Animation ease)
    F - Fast execution ( Hardware acceleration)
    G - Graphic hardware independent ( resolution independent)
    We are also distributing a 100 page Ebook "Learn ASP.NET MVC 5 Step by Step". If you want this ebook please share this video in your facebook/twitter/linkedin account and email us on
    questpond@questpond.com with the shared link and we will email you the PDF.

Komentáře • 113

  • @dnfvideo
    @dnfvideo  Před 3 lety

    Do not miss our Interview Question video series
    30 Important C# Interview Questions : czcams.com/video/BKynEBPqiIM/video.html
    25 Important ASP.NET Interview Questions : czcams.com/video/pXmMdmJUC0g/video.html
    25 Angular Interview Questions : czcams.com/video/-jeoyDJDsSM/video.html
    5 MSBI Interview Questions : czcams.com/video/5E815aXAwYQ/video.html

  • @guyinazo
    @guyinazo Před 8 lety +3

    I am starting a new Windows form application, but noticed that VS2015 also had the option for WPF. I have seen this for a few years now and didn't know what it was. Did a search on CZcams and this video came up. A great explanation of WPF and now I need to learn more! Thanks for this!

  • @ramyomar
    @ramyomar Před 7 lety +12

    Excellent video!
    26 minutes that are totally well-spent.

  • @robertthurman8412
    @robertthurman8412 Před 8 lety +10

    Best explanation I've heard on WPF... always wanted to know what the major differences were.
    Thanks

  • @sameermohammed5742
    @sameermohammed5742 Před 9 lety +16

    This video is really awesome. Even school going kid could understand this video. Good Job. keep uploading such nice videos. I would never forget A B C D E F G :-)

  • @shrutisharma4975
    @shrutisharma4975 Před 4 lety

    The way you explains in so much depth, its awesome and worthy of the time.

  • @borislavborislav5545
    @borislavborislav5545 Před 4 lety +1

    C --> You can create common look and feel + functionality for Win Forms controls if you inherit them in a new class and customize it to your needs.

  • @thefrogspecialchannel1014

    Great video! Time to make my first WPF program! I need to make a dashboard to display on a few TVs at the office and DIPs instead of pixels seems great!

  • @henklieftink3357
    @henklieftink3357 Před 6 lety

    In one short video are the benefits of WPF clearly explained. Next step is to use it in a real project. Look forward to see more explaining video's.

  • @philipjacob1979
    @philipjacob1979 Před 3 lety

    Excellent and convincing explanation. Thank you. Kindly keep up the good work. Would like to see more such basic videos.

  • @lifeisallabout231
    @lifeisallabout231 Před 2 lety

    Nice explanation on WPF basics with example... Thank You for sharing

  • @mdfaisalkabir7372
    @mdfaisalkabir7372 Před 4 lety

    I love you man for your brilliant explanation, learned so many things in first couple of minutes and all are crystal clear...
    Thanks a lot man...

  • @deepthireddy3267
    @deepthireddy3267 Před 10 lety +2

    Thanks a lot, the steps ABCDEFG are very useful instead of remembering one by one when interviewer ask for the advantages over win forms. Nice video, short and sweet :-)

  • @bartleyjohnson4032
    @bartleyjohnson4032 Před 7 lety

    Agree with the other comments that this is an excellent video. It covers a lot of ground in a well explained and objective manner. Thinking about the features of WPF, I cant help but think that MS (or some forward thinking start-up) could have some sort of conversion tool that would take winform code(VB or C#) and convert it to XAML. Perhaps this already exists? And taking it a step further, why not build in various wizards into VS that would give many of the benefits of WPF to winform code?

  • @GirishDare2Dream
    @GirishDare2Dream Před 9 lety

    Hi your Explanation is so DECENT and CALM ...
    i ENJOY every word you utter
    THANKS ALOT

  • @derloopkat
    @derloopkat Před 7 lety

    there are binding in winforms as well and also you can select multiple controls and assign properties for all of them

  • @DiddleDangle
    @DiddleDangle Před 8 lety

    Really great explanations. This gave a very concise yet informative overview, which is exactly what I was looking for. Thanks!

  • @jeyrithikwin9800
    @jeyrithikwin9800 Před 10 lety

    Super super super .. very nice explanation and clear voice.. please share the other lession ...

  • @JoseLemus68
    @JoseLemus68 Před 6 lety

    Thank You! I have been looking for a simple yet clear explanation and you did it...

  • @neharaghuwanshi4036
    @neharaghuwanshi4036 Před 6 lety

    Hello Your video is really awesome and your voice is also very clear and attractive on hole topics. Even school going kid could understand this video. I have one request to you Please keep uploading such nice videos in Hindi Also Please

  • @RollinShultz
    @RollinShultz Před 9 lety

    Just think of the possibilities for creating desktop applications with realtime multiple GPU rendering via WPF! TThat means instead of faking what buttons look like with photoshop, you could use CAD to develop a UI with real buttons and lighting with lighting changes and real reflections.

  • @Syedshabirtral
    @Syedshabirtral Před 9 lety

    Awesome video regarding WCF , gives broad concept regarding whole WCF.

  • @ledfootdude
    @ledfootdude Před 9 lety

    Thanks for the great information, I was going to learn Win Forms but had heard MicroSoft was no longer supporting it and I should learn WPF instead. Looking forward to your other videos and thanks for taking the time to make them :-)

  • @pawaryogesh97
    @pawaryogesh97 Před 10 lety

    Really nice video... Learn lot off things from this video.....Please share link of next video please....

  • @dmm10000
    @dmm10000 Před 2 lety

    hi - thanks ...good video - please clarify - at about 14 mins you said "declarative" was the term you were describing - yet the video showed the term as being "directive" - so which is it ?

  • @SS-dq6si
    @SS-dq6si Před 5 lety

    One of the best video on WPF. Thank you

  • @larsjensen6707
    @larsjensen6707 Před 10 lety

    Thanks for the video! This is a great explanation on why you should use Wpf instead if WinForms :)

  • @srikanthlingam1738
    @srikanthlingam1738 Před 3 lety

    the explanation is outstanding, really impressive :)

  • @justme-ww4oo
    @justme-ww4oo Před 8 lety

    Thanks for the explaining the differences so well. WPF, here we go.

  •  Před 10 lety

    Very good! Informative, clear and well prepared. THANKS!

  • @simplelife5600
    @simplelife5600 Před 6 lety

    I like ur teaching style#confident n engaging

  • @PhillipMaii
    @PhillipMaii Před 8 lety +3

    Good explanation, will start using WPF ;)

  • @johnny_rain3226
    @johnny_rain3226 Před 9 lety

    articulate a clear explanation - tnx very much!

  • @SaurabhSarang
    @SaurabhSarang Před 10 lety

    Awesome man eagerly waiting for advance WPF videos.

  • @SD-gj2by
    @SD-gj2by Před 10 lety

    Very Clear and concise.. Awesome!!

  • @Lee_Aroor
    @Lee_Aroor Před 10 lety

    useful video...!! thanks a lot. It will be really thankful if you give the next lesson videos also.

  • @raghavaramkoppireddy4358

    Awesome video!! must watch for WPF beginners.

  • @samsum13
    @samsum13 Před 7 lety

    Thank you, very clear and detailed explanation.

  • @TheAbhip3105
    @TheAbhip3105 Před 10 lety

    very good presentation . really worth to see ..

  • @S3Kglitches
    @S3Kglitches Před 3 lety

    Excellent, thank you for this comparison!

  • @manjeetnandal1
    @manjeetnandal1 Před 5 lety

    So nice of u...
    Many many thanks!

  • @aravinds6051
    @aravinds6051 Před 3 lety

    That was gr88. Thank u Sir. Where can I get the videos for the questions given at the end of the video?

    • @dnfvideo
      @dnfvideo  Před 3 lety

      Visit www.questpond.com to get details on the same.

  • @mehmetturan8500
    @mehmetturan8500 Před 6 lety

    thank you so much for helpful knowledge. Can i use photoshop with wpf?

  • @dayalprasad86
    @dayalprasad86 Před 9 lety

    good video. Clear explanation.Thanks

  • @tirubhattacharya
    @tirubhattacharya Před 3 lety

    All addressed Thanx.

  • @lioruzan2048
    @lioruzan2048 Před 9 lety

    Super Lecture!!!
    Thank you

  • @tinzelminzel5480
    @tinzelminzel5480 Před 9 lety

    From my experience I would prefer write code as with code I can apply the same style to all the controls in one function which is prepared once, not just going manually and clicking bindings which is extremely non flexible if you want to change it.
    I started wpf and I can add menu handlers in a few lines in code without going through all xaml declarations and bindings which sometimes throw unhelpful error messages.
    true it is useful for styles, but the function sometimes more important than look.
    window layouting is a nightmare the way it works is counterintuitive, you cannot render anything visible unless background is set to transparent, unassigned widths. And why docking panel works so weird I needed to manipulate setlastchildfill attribute depending on amount of children to make it behave consistently as expected but not in some weird manner.
    Of course when you read a book and present how everything is nice and better, it is different business, although that is disconnected from reality.

  • @4gk449
    @4gk449 Před 5 lety

    I have spent 5 years with Winform, the only reason I like WPF is that there is a smoother animation than Winform.

  • @jiribem9845
    @jiribem9845 Před 9 lety

    I didn´t get difference between point B and D, it is seems to me like one point ? Btw: I just start learning about WPF and I did learn to do binding thru declarative programming in XAML code. And doesn´t know what else can I do in declarat. prog. yet?

  • @RollinShultz
    @RollinShultz Před 9 lety

    It is true xaml is more flexible and adds more value in constructing a UI. One of the best advantages is being able to copy your xaml styles from one project to another and avoid a lot of rework.. However when you stated One must style each textbox or other control singly, that is not quite true. You can set many of the control properties by selecting all of a particular control and changing them in the properties dialog. for example I select all textboxes and change effect to sunken, they all change. I do this often. Not all properties are available to groups of controls, but most of the usual style properties are. You also have the option to plan ahead and style on of each control then make copies of it as you continue your layout, which is my habit of working.
    All that being said, I believe xaml, wpf and expression blend are the best means of creating exciting applications going forward and that is mandatory as customers become more tech savvy. I have created some beautiful forms and controls in winforms, but I can now do even better in half the time in WPF. If you think about it WPF is Microsofts answer to having html type styling options for applications. Thanks for the good video, but always tell the whole truth.

    • @fordfiveohh
      @fordfiveohh Před 9 lety

      Also , can you not create one text box in win forms and copy and paste it 30 times - will it not copy all properties besides name - I haven't checked but it seems like it would.

    • @jayarajlcc
      @jayarajlcc Před 9 lety

      fordfiveohh I guess Rollin's mention is about the styles. What you mentioned is right that you can copy paste controls. But here you can create styles which are independent and then you can apply these styles wherever you want. (I have not explored WPF thats my belief) :)

    • @RollinShultz
      @RollinShultz Před 9 lety

      You are correct JAY, since the style of a control is just a few lines of XAML code, copy and pasting code from one application to another is as simple and effective as dragging a control from the toolbox, except you can do more than one at ta time.
      FIVE O, you can indeed copy a control as you said, but it is a full copy EVEN the name although if you were say too lazy to rename controls, you could write a macro to name them consecutively textbox1,2 etc.
      Also, if you adopt the most popular naming conventions you will be able to copy code behind lines as well with minimal corrections. For example When I use a textbox for a customer form I ALWAYS name my textboxes the same. txtLastName. I never take shortcuts like lname, or lazily textbox1 etc. By adopting these conventions in all your code, I find my self doing very little corrections to get "build succeeded and that in itself is quite productive.

  • @AbdulSamad-hd1sr
    @AbdulSamad-hd1sr Před 6 lety

    great explanation ..great efforts

  • @shazly2013
    @shazly2013 Před 8 lety

    Thanks for the great explanation

  • @MyUTube2312
    @MyUTube2312 Před 8 lety

    Awesome explanation!

  • @user-yg8qd2py2g
    @user-yg8qd2py2g Před 8 lety +1

    There is no "WPF" Option in my Netbeans IDE, please help

  • @goodairin
    @goodairin Před 8 lety +1

    Fantastic! Thank you.

  • @srikrishnakesavulu8138
    @srikrishnakesavulu8138 Před 10 lety

    Great description

  • @nahidsheikh5619
    @nahidsheikh5619 Před 6 lety

    awesome explanation... Thanx alot sir :)

  • @codehungry1564
    @codehungry1564 Před 7 lety

    Is it any way we can convert window form application into WPF ? OR is it possieble we can run windoform application in internet using WPF ?

  • @georgetuccio6053
    @georgetuccio6053 Před 6 lety

    Awesome job. Thank you.

  • @Kathrual
    @Kathrual Před 8 lety

    Very nice explanation, thank you very much. :-)

  • @rhurac5096
    @rhurac5096 Před 7 lety

    Well done, thank you

  • @davidusnazarus1700
    @davidusnazarus1700 Před 3 lety

    one by one blip was epic

  • @kevinflorenzdaus
    @kevinflorenzdaus Před 8 lety

    looks neat ... but why did they drop it

  • @williamsummers7573
    @williamsummers7573 Před 9 lety

    Excellent thanks

  • @vjn1266
    @vjn1266 Před 9 lety

    Nice video. Thanks!

  • @ZenCodeMonkey
    @ZenCodeMonkey Před 9 lety

    Great Explanation! Many Thanks.

  • @madhumitasutradhar12
    @madhumitasutradhar12 Před 9 lety

    Really good video!!!

  • @alanhall3046
    @alanhall3046 Před 9 lety

    Cheers great intro for me.

  • @arjunbollam6653
    @arjunbollam6653 Před 10 lety

    gud one..........

  • @eltrukof
    @eltrukof Před 7 lety

    thanks excelent video

  • @pulinair4u
    @pulinair4u Před 7 lety

    really helpful!

  • @panwaripakora9905
    @panwaripakora9905 Před 5 lety

    Thank you very much but I closed the video at 0:49. Practice first.

  • @sixpetrov
    @sixpetrov Před 10 lety

    great video,tnx man

  • @SimpleKnowledgePSK
    @SimpleKnowledgePSK Před 6 lety

    I have a textbox, a button and a datagrid, so let say when i enter 4 in textbox and hit the button, i need to show 4 buttons on datagrid with names Button1 Button2 Button3 Button4 in wpf can anyone help me.

  • @saikiran4865
    @saikiran4865 Před 10 lety

    superb!!!

  • @maddhalisatish8155
    @maddhalisatish8155 Před 10 lety

    Awesome.

  • @skantpandey
    @skantpandey Před 10 lety

    very nice '

  • @Sevenixzp
    @Sevenixzp Před 10 lety +9

    WPF is NOT superior to Win Forms...
    A. Win Forms is cross platform using mono (Mac, Linux Windows). WPF is Windows only until a cross platform implementation is created.
    B. Binding is easier and faster using events (delegates)... You don't need WPF for this.
    C. This is nothing more than poly-morphism... its not specific to WPF. Just make user controls that inherit others.
    D. This is a personal preference... I HATE when code is created for me. I want to have complete access to everything.
    E. Win Forms has OpenGL using OpenTK, which is again cross platform (Direct X is not).
    F. THIS IS THE MAIN BENEFIT TO WPF OVER WIN FORMS. I can't argue it.
    G. Pixel control is BETTER! Just make you own equations to convert from pixel to relative positioning. Win Forms give you more control.
    I'm not saying WPF is bad... but I Win Forms are overall much better IMO.

    • @Sevenixzp
      @Sevenixzp Před 10 lety

      Aaron Da Dev Win forms ARE cross platform using Mono as I said. You are incorrect.

    • @Sevenixzp
      @Sevenixzp Před 10 lety

      Sure its a different library under the hood, but that's not the point and who cares. Coding a UI using Win Forms is DIRECTLY executable (without changing code or re-compiling) on mac and linux using Mono. As far as I'm aware, there is no cross-platform implementation for the WPF library. Until one is made (which probably won't happen anytime soon because WPF uses Direct3D), project written in WPF will NOT be portable to other operating systems.

    • @Sevenixzp
      @Sevenixzp Před 10 lety

      You are getting off topic. It doesn't matter what is going on under the hood, the fact is: If I code a project using the Win Forms library, it can run on windows, mac, or linux without any modification to my code, because there is a cross platform implementation of Win Forms. Who cares what libraries they use under the hood. Go and try it for yourself. Make a Win Forms application, compile it, install mono on a linux/max environment, and run your Win Forms application on that environment. IT WILL RUN. I'VE DONE IT. You are trying to disprove me without even trying anything for yourself.

    • @Sevenixzp
      @Sevenixzp Před 10 lety

      Aaron Da Dev I'm hope I'm not comming off as rude because I'm not trying to. I'm trying help you and people understand that WPF is a good library, but it is not necessarily better than Win Forms at this time.

    • @Sevenixzp
      @Sevenixzp Před 10 lety

      chalz37 A binding is nothing more than an event handler so that when a value is changed, it will change all binded values. If you can't wrap your head around how simple that is, then feel free to call me a know it all.

  • @arianitonline8748
    @arianitonline8748 Před 9 lety

    visual studio 2012 and 2013 is made with WPF

  • @jamesrockford2626
    @jamesrockford2626 Před 9 lety

    good

  • @sijogeorgeoommen6216
    @sijogeorgeoommen6216 Před 7 lety

    damn good teaching

  • @bezimienny5
    @bezimienny5 Před 9 lety +1

    WPF != Windows Store App, right?

    • @dogacel
      @dogacel Před 9 lety

      MrReynevan2 Yep right

    • @natsudragneel9422
      @natsudragneel9422 Před 9 lety

      MrReynevan2 No it isn't ... WPF is older and Window Store App (Universal App) was released later
      Both use XAML :)

  • @jamesmasonic
    @jamesmasonic Před 3 lety

    9:47 is not true. You can set at once in WinForms

  • @Fenrich2005
    @Fenrich2005 Před 5 lety

    so basically is better because better graphics?, serial port comunication and datagridview work i this forms?, man you only show visual effects

  • @arjunwalmiki1563
    @arjunwalmiki1563 Před 10 lety

    Really dam videos how can get more videos

  • @xelaksal6690
    @xelaksal6690 Před 5 lety

    there was directive programming...

  • @JaymzBond
    @JaymzBond Před 9 lety +21

    chi charp

  • @PoisonCloudBR
    @PoisonCloudBR Před 5 lety +1

    Web application if you cant run it in firefox or google chrome ? lel

  • @hudiemi
    @hudiemi Před 10 lety

    Still cannot see why you need wpf, all the things can be done in web forms.
    The only usage for wpf is to dev pc games.
    All these animations can be done by flash.
    No wonder ms is down the hill

  • @eriklaborda_
    @eriklaborda_ Před rokem

    aaaaaaaaalso 3,200th like

  • @anonymoususer2083
    @anonymoususer2083 Před 10 lety +2

    Too much accent

    • @jayarajlcc
      @jayarajlcc Před 9 lety

      Max Vejay Well said. I do have a lot of accent issues when I talk but my American colleagues use to appreciate me because I am able to communicate what is really required. They dont care about the accent they care about the content :)

    • @johnmellor7120
      @johnmellor7120 Před 7 lety

      totally agree ,we should appreciate the effort and time taken to provide us with a good educational package by the way your english is much better than my attempts at learning german keep it up

  • @SoloKing999
    @SoloKing999 Před 9 lety

    Thanks for the great explanation..