Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. What is everyone using for thier presentation layer?

What is everyone using for thier presentation layer?

Scheduled Pinned Locked Moved The Lounge
csharpquestionasp-netwpfwcf
48 Posts 30 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W wout de zeeuw

    The one thing that I've found cumbersome with the standard quick and dirty web services tools is that they don't really support object graphs, but just straight object trees. Are you running into these kinds of issues too?

    Wout

    B Offline
    B Offline
    Brent Lamborn
    wrote on last edited by
    #15

    No, no issues of that sort. I guess I'm not familiar with the terms object graphs and object trees either. Our WCF service just gets LINQ objects, serializes them to an xml string, and hands them to Flex, and then the reverse. It works tremendously well.

    Brent

    W B 2 Replies Last reply
    0
    • B Brent Lamborn

      No, no issues of that sort. I guess I'm not familiar with the terms object graphs and object trees either. Our WCF service just gets LINQ objects, serializes them to an xml string, and hands them to Flex, and then the reverse. It works tremendously well.

      Brent

      W Offline
      W Offline
      wout de zeeuw
      wrote on last edited by
      #16

      Yeah, once you run into it you'll know! An object graph is e.g. this: instance A references instance B, but instance C also references instance B. So B is shared by A and C. So now it's not a nice tree anymore, and XML is suited best for trees. So to handle graphs, you need to give an ID to each object so you can reference them from other places.

      Wout

      B 1 Reply Last reply
      0
      • W wout de zeeuw

        Yeah, once you run into it you'll know! An object graph is e.g. this: instance A references instance B, but instance C also references instance B. So B is shared by A and C. So now it's not a nice tree anymore, and XML is suited best for trees. So to handle graphs, you need to give an ID to each object so you can reference them from other places.

        Wout

        B Offline
        B Offline
        Brent Lamborn
        wrote on last edited by
        #17

        I see. :wtf: That does sound like a bitch. Oh wait a minute, yeah I guess there is a similar issue with serializing LINQ objects to xml. In order for it to work right, you have to set up your associations between your LINQ objects correctly, otherwise you get circular references and the object's can't be serialized. It's easy to set up though.

        Brent

        W 1 Reply Last reply
        0
        • B Brent Lamborn

          I see. :wtf: That does sound like a bitch. Oh wait a minute, yeah I guess there is a similar issue with serializing LINQ objects to xml. In order for it to work right, you have to set up your associations between your LINQ objects correctly, otherwise you get circular references and the object's can't be serialized. It's easy to set up though.

          Brent

          W Offline
          W Offline
          wout de zeeuw
          wrote on last edited by
          #18

          Yeah, to do any kind of object graphs, also circular references should be possible. The neatest thing that just works without any issues: plain old .NET serialization. I was just curious how to handle it properly in the web services world.

          Wout

          B A 2 Replies Last reply
          0
          • E Ennis Ray Lynch Jr

            Winforms, ASP.NET, and PHP. Of course I find the other layers more important than presentation so I spend most of my time there, making sure they are right and treat the presentation as interchangeable and unimportant.

            Need software developed? Offering C# development all over the United States, ERL GLOBAL, Inc is the only call you will have to make.
            Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway
            Most of this sig is for Google, not ego.

            P Offline
            P Offline
            PIEBALDconsult
            wrote on last edited by
            #19

            Hear hear.

            1 Reply Last reply
            0
            • W wout de zeeuw

              Yeah, to do any kind of object graphs, also circular references should be possible. The neatest thing that just works without any issues: plain old .NET serialization. I was just curious how to handle it properly in the web services world.

              Wout

              B Offline
              B Offline
              Brent Lamborn
              wrote on last edited by
              #20

              Yeah you're right. That is what we are using .NET Serialization. Particularly the XmlSerializer object. LINQ and WCF are both .NET 3.x technologies.

              Brent

              1 Reply Last reply
              0
              • R realJSOP

                The DOS command prompt.

                "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                -----
                "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                T Offline
                T Offline
                Tom Delany
                wrote on last edited by
                #21

                God bless ya John. You're one of the unchanging constants in the universe. That got a 5 from me! :laugh:

                WE ARE DYSLEXIC OF BORG. Refutance is systile. Your a$$ will be laminated. There are 10 kinds of people in the world: People who know binary and people who don't.

                1 Reply Last reply
                0
                • T ToddHileHoffer

                  I have been doing asp.net (and ajax) for a while. While I have taken the time to learn 3.5, WCF and LINQ. I have not invested any energy in learning the new presentation tools. I am just curious if the rest of you have and if so what you are using. Anyone think I am missing out and that I should move away from ASP.Net? Do you use any of the following? ASP.Net (including AJAX) Win Forms WPF SilverLight Other.

                  I didn't get any requirements for the signature

                  M Offline
                  M Offline
                  Marc Clifton
                  wrote on last edited by
                  #22

                  I recently did a quick foray into Silverlight because I want to write a web front-end to Interacx. I guess I found it frustrating, but I didn't spend a lot of time on it. Instead, I ended up opting to use Telerik's Ajax ASP.NET controls. Telerik also has a pre-release available of some Silverlight stuff, but it's too early still, though I will look at it later when it (and Silverlight) matures more. I guess part of my decision to stick with ASP.NET is that it's a lot more comprehensive. Otherwise, for WinForm stuff, I typically use MyXaml and standard WinForm controls, although I have licenses for both DevExpress and Infragistics if I need something truly fancy. Marc

                  Thyme In The Country Interacx My Blog

                  T 1 Reply Last reply
                  0
                  • T ToddHileHoffer

                    I have been doing asp.net (and ajax) for a while. While I have taken the time to learn 3.5, WCF and LINQ. I have not invested any energy in learning the new presentation tools. I am just curious if the rest of you have and if so what you are using. Anyone think I am missing out and that I should move away from ASP.Net? Do you use any of the following? ASP.Net (including AJAX) Win Forms WPF SilverLight Other.

                    I didn't get any requirements for the signature

                    I Offline
                    I Offline
                    ian dennis 0
                    wrote on last edited by
                    #23

                    I played with ColdFusion for the first time this week. A reasonable alternative to php. Other than those, ASP.Net(VB.Net) and WinForms(VB.Net)

                    1 Reply Last reply
                    0
                    • T ToddHileHoffer

                      I have been doing asp.net (and ajax) for a while. While I have taken the time to learn 3.5, WCF and LINQ. I have not invested any energy in learning the new presentation tools. I am just curious if the rest of you have and if so what you are using. Anyone think I am missing out and that I should move away from ASP.Net? Do you use any of the following? ASP.Net (including AJAX) Win Forms WPF SilverLight Other.

                      I didn't get any requirements for the signature

                      I Offline
                      I Offline
                      ian dennis 0
                      wrote on last edited by
                      #24

                      Oh ... and I forgot ... RFGen :)

                      M 1 Reply Last reply
                      0
                      • R realJSOP

                        The DOS command prompt.

                        "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                        -----
                        "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                        M Offline
                        M Offline
                        Mladen Jankovic
                        wrote on last edited by
                        #25

                        Command prompt is for girls! Keypunch rocks! ;P

                        [Genetic Algorithm Library]

                        1 Reply Last reply
                        0
                        • I ian dennis 0

                          Oh ... and I forgot ... RFGen :)

                          M Offline
                          M Offline
                          mr_lasseter
                          wrote on last edited by
                          #26

                          I feel sorry for you. The last time I had to work with that I wanted to quit my job.

                          Mike Lasseter

                          I 1 Reply Last reply
                          0
                          • P Pete OHanlon

                            ToddHileHoffer wrote:

                            ASP.Net (including AJAX)

                            Yes.

                            ToddHileHoffer wrote:

                            Win Forms

                            Yes.

                            ToddHileHoffer wrote:

                            WPF

                            Yes.

                            ToddHileHoffer wrote:

                            SilverLight

                            Investigating.

                            Deja View - the feeling that you've seen this post before.

                            My blog | My articles | MoXAML PowerToys

                            P Offline
                            P Offline
                            Paul Conrad
                            wrote on last edited by
                            #27

                            Pete O'Hanlon wrote:

                            SilverLight Investigating.

                            Same here.

                            "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

                            1 Reply Last reply
                            0
                            • T ToddHileHoffer

                              I have been doing asp.net (and ajax) for a while. While I have taken the time to learn 3.5, WCF and LINQ. I have not invested any energy in learning the new presentation tools. I am just curious if the rest of you have and if so what you are using. Anyone think I am missing out and that I should move away from ASP.Net? Do you use any of the following? ASP.Net (including AJAX) Win Forms WPF SilverLight Other.

                              I didn't get any requirements for the signature

                              J Offline
                              J Offline
                              Joe Woodbury
                              wrote on last edited by
                              #28

                              Today, I used the Console and MFC. The several daysy, I used nothing--the app had no presentation layer (unless you count the log file) and I was working on library code.

                              Anyone who thinks he has a better idea of what's good for people than people do is a swine. - P.J. O'Rourke

                              1 Reply Last reply
                              0
                              • M Marc Clifton

                                I recently did a quick foray into Silverlight because I want to write a web front-end to Interacx. I guess I found it frustrating, but I didn't spend a lot of time on it. Instead, I ended up opting to use Telerik's Ajax ASP.NET controls. Telerik also has a pre-release available of some Silverlight stuff, but it's too early still, though I will look at it later when it (and Silverlight) matures more. I guess part of my decision to stick with ASP.NET is that it's a lot more comprehensive. Otherwise, for WinForm stuff, I typically use MyXaml and standard WinForm controls, although I have licenses for both DevExpress and Infragistics if I need something truly fancy. Marc

                                Thyme In The Country Interacx My Blog

                                T Offline
                                T Offline
                                ToddHileHoffer
                                wrote on last edited by
                                #29

                                I have been bugging my boss to get me the Telerik AJAX controls and they finally agreed. They are just super. I can't even describe how good they are compared to the ajax toolkit that I was using...

                                I didn't get any requirements for the signature

                                1 Reply Last reply
                                0
                                • R realJSOP

                                  The DOS command prompt.

                                  "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                                  -----
                                  "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                                  T Offline
                                  T Offline
                                  ToddHileHoffer
                                  wrote on last edited by
                                  #30

                                  funny

                                  I didn't get any requirements for the signature

                                  1 Reply Last reply
                                  0
                                  • T ToddHileHoffer

                                    I have been doing asp.net (and ajax) for a while. While I have taken the time to learn 3.5, WCF and LINQ. I have not invested any energy in learning the new presentation tools. I am just curious if the rest of you have and if so what you are using. Anyone think I am missing out and that I should move away from ASP.Net? Do you use any of the following? ASP.Net (including AJAX) Win Forms WPF SilverLight Other.

                                    I didn't get any requirements for the signature

                                    W Offline
                                    W Offline
                                    werD
                                    wrote on last edited by
                                    #31

                                    asp.net 2.0, ajax, and xsl are my daily grind. I like to do some WinMobile and Win Forms in my "free" time though. Ive played around with wpf(gesture recognition and the likes) and it was pretty impressively easy to get going. I've recently installed Blend and Ive been playing around with the storyboard recording and it's a lot of fun. I haven't found the best way to have the same project open in VS and blend w/o minor issues.. but it's nice to be able to quickly make a snazzy ui with animations/transformations and then be able write the backend very similar to how I would a winform/asp.net app. You just cant beat code reusability!

                                    DrewG, MCSD .Net

                                    1 Reply Last reply
                                    0
                                    • T ToddHileHoffer

                                      I have been doing asp.net (and ajax) for a while. While I have taken the time to learn 3.5, WCF and LINQ. I have not invested any energy in learning the new presentation tools. I am just curious if the rest of you have and if so what you are using. Anyone think I am missing out and that I should move away from ASP.Net? Do you use any of the following? ASP.Net (including AJAX) Win Forms WPF SilverLight Other.

                                      I didn't get any requirements for the signature

                                      R Offline
                                      R Offline
                                      rjempo
                                      wrote on last edited by
                                      #32

                                      http://www.hanselman.com/blog/SurveyRESULTSWhatNETFrameworkFeaturesDoYouUse.aspx This was an interesting, fairly big survey of the .NET space at least.

                                      rjempo

                                      T 1 Reply Last reply
                                      0
                                      • B Brent Lamborn

                                        oh man I love it. It's definately a breath of fresh air. Yeah, it's very easy to integrate. What we are doing it hosting WCF services in IIS that return strings to Flex. The strings are XML serialized LINQ objects. So we just use LINQ to query SQL Server, serialize the LINQ object to an xml string, modify the xml with Flex, pass the xml back to WCF where it gets deserialized back to a LINQ object, then update the db. It's awesome. With Flex Builder 3 you just import the WSDL generated by WCF, and FB 3 creates the required Actionscript classes you need to call the WCF service. There is a special thing you have to do to "flatten" the generated WSDL so Flex can understand it, but it's worth it for the killer UI you get with Flex. ok, boy I'm getting winded, you can see my excitement...

                                        Brent

                                        Z Offline
                                        Z Offline
                                        Zibusiso
                                        wrote on last edited by
                                        #33

                                        Flex is the way to GO. am trying it out ...and yes great WOW factor indeed...thousand pounds of respect :)

                                        B J 2 Replies Last reply
                                        0
                                        • T ToddHileHoffer

                                          I have been doing asp.net (and ajax) for a while. While I have taken the time to learn 3.5, WCF and LINQ. I have not invested any energy in learning the new presentation tools. I am just curious if the rest of you have and if so what you are using. Anyone think I am missing out and that I should move away from ASP.Net? Do you use any of the following? ASP.Net (including AJAX) Win Forms WPF SilverLight Other.

                                          I didn't get any requirements for the signature

                                          C Offline
                                          C Offline
                                          cecildt
                                          wrote on last edited by
                                          #34

                                          All depends on your requirements! Currently using Silverlight for future proofing UI. Silverligth is going to support mobile and offline. Great combination is Silverlight, WCF and Linq.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups