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. Microsoft Samples (useless)

Microsoft Samples (useless)

Scheduled Pinned Locked Moved The Lounge
csharphelpasp-netvisual-studioannouncement
18 Posts 7 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.
  • S Super Lloyd

    Pah, that is nothing! Yesterday I realised I lost the source code for a cool and finished home project I had! :-o

    A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!

    R Offline
    R Offline
    raddevus
    wrote on last edited by
    #8

    That is unfortunate. I hate when that happens.

    S 1 Reply Last reply
    0
    • L Lost User

      Sorry can not confirm that! You found one of thousends which maybe fails. But usually I'm very happy with MSDN examples...

      It does not solve my Problem, but it answers my question

      R Offline
      R Offline
      raddevus
      wrote on last edited by
      #9

      Yes, but the UWP and the dotnet core ones -- the recent ones are problematic. Studio has changed so quickly some project types have come and gone and the samples haven't been updated.

      1 Reply Last reply
      0
      • L Lost User

        Sorry can not confirm that! You found one of thousends which maybe fails. But usually I'm very happy with MSDN examples...

        It does not solve my Problem, but it answers my question

        R Offline
        R Offline
        RichardGrimmer
        wrote on last edited by
        #10

        Well it appears then that I found all of the other ones...seriously - I'm with the OP here, both the docs and the samples are almost all broken for anything outside of the most basic stuff, cos, y'know, make changes quickly and don't document is how we all work now right....right? Bloody kids lol

        C# has already designed away most of the tedium of C++.

        1 Reply Last reply
        0
        • T theoldfool

          Console.WriteLine("Hello World"); Should be enough sample for anyone. :laugh:

          If you can keep your head while those about you are losing theirs, perhaps you don't understand the situation.

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

          What I can't stand is all the needless boiler plate code just to get to that part.

          1 Reply Last reply
          0
          • R raddevus

            That is unfortunate. I hate when that happens.

            S Offline
            S Offline
            Super Lloyd
            wrote on last edited by
            #12

            My latest work is on GitHub and BitBucket, should be fine! :)

            A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!

            R 1 Reply Last reply
            0
            • S Super Lloyd

              My latest work is on GitHub and BitBucket, should be fine! :)

              A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!

              R Offline
              R Offline
              raddevus
              wrote on last edited by
              #13

              Super Lloyd wrote:

              My latest work is on GitHub and BitBucket, should be fine

              I've begun putting stuff up on GitHub for the same reason. :)

              S 1 Reply Last reply
              0
              • R raddevus

                Super Lloyd wrote:

                My latest work is on GitHub and BitBucket, should be fine

                I've begun putting stuff up on GitHub for the same reason. :)

                S Offline
                S Offline
                Super Lloyd
                wrote on last edited by
                #14

                On BitBucket you can have a private repo for free! :)

                A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!

                1 Reply Last reply
                0
                • R raddevus

                  Microsoft samples are basically useless. I've recently attempted to get some UWP samples working which will no longer build in current versions of Visual Studio -- because they change things so quickly. Studio doesn't even recognize the projects properly and things are missing that the project will not download, etc. Now I was attempting to examine a DotNet Core sample. 1. They forced me to download over 500Mb to get to the one sample -- because their github repo is only at the very top of all of the samples, instead of allowing me to download the one sample I wanted. 2. Once I downloaded the sample the App (web app won't start) because the DotNet Core stuff has changes so much that the Program.cs is completely different that the app wouldn't run, just gave me a 502.5 error and said the app can't start. :| As I was writing up this rant I guessed at what the problem might be... I checked the CSPROJ file and found:

                  netcoreapp1.1

                  $(PackageTargetFallback);portable-net45+win8+wp8+wpa81;
                  

                  I copied my working project's CSPROJ over the top of this one to update to dotnetcore 2.0

                  **netcoreapp2.0**
                  

                  After I did that I went to the command-line unde

                  K Offline
                  K Offline
                  Kirk 10389821
                  wrote on last edited by
                  #15

                  THIS is why we can't have nice code! Honestly, it has been my biggest complaint with MSFT since they went 32bit with C++ and refused to support 16bit causing me to write a thunking layer, and ultimately rewrite the code in ANOTHER LANGUAGE. This concept that you never rebuild an old application to fix an issue is insane. ZERO backwards compatibility. If gcc was built like this, we would still be using punch cards!

                  R 1 Reply Last reply
                  0
                  • K Kirk 10389821

                    THIS is why we can't have nice code! Honestly, it has been my biggest complaint with MSFT since they went 32bit with C++ and refused to support 16bit causing me to write a thunking layer, and ultimately rewrite the code in ANOTHER LANGUAGE. This concept that you never rebuild an old application to fix an issue is insane. ZERO backwards compatibility. If gcc was built like this, we would still be using punch cards!

                    R Offline
                    R Offline
                    raddevus
                    wrote on last edited by
                    #16

                    Thank you sincerely for ranting along with me. :thumbsup: :) The zero backwards compatibility is crazy. Or, even with so many hoops to jump thru to get to backwards compat, it is crazy.

                    K 1 Reply Last reply
                    0
                    • R raddevus

                      Thank you sincerely for ranting along with me. :thumbsup: :) The zero backwards compatibility is crazy. Or, even with so many hoops to jump thru to get to backwards compat, it is crazy.

                      K Offline
                      K Offline
                      Kirk 10389821
                      wrote on last edited by
                      #17

                      You hit a nerve. We are having to maintain machines on VMs nowadays as we wrap up projects. We snapshot them, in case we have to go back and make changes in 5 years... We are bidding on a project just completed 4 years ago, and the developer won't support it, because MSFT no longer supports his technology choices, and he can't afford to support that environment. They will pay us to rebuild it... Wow... I came from older technology that ran stable for 30 years. Heck I had an Oracle 6 DB that we have continuously imported straight into a new oracle. Cleanly without having to change our code. All the way to version 12... the biggest impact was that we had to start creating ACLs for security reasons, but all the code still works just fine. Supporting the client was and is quite easy. == And the end result is that it aint worth our time to do anything other than build a VM. to the point that I have started doing ALL development on VMs... Pretty soon I may start putting them in the cloud and snapshotting them up there. Use a VPN + RDP to code against it. == I remember when I couldn't afford a COLOR Graphics card for my first PC... Now I throw SSDs out because they are too small... LOL.

                      R 1 Reply Last reply
                      0
                      • K Kirk 10389821

                        You hit a nerve. We are having to maintain machines on VMs nowadays as we wrap up projects. We snapshot them, in case we have to go back and make changes in 5 years... We are bidding on a project just completed 4 years ago, and the developer won't support it, because MSFT no longer supports his technology choices, and he can't afford to support that environment. They will pay us to rebuild it... Wow... I came from older technology that ran stable for 30 years. Heck I had an Oracle 6 DB that we have continuously imported straight into a new oracle. Cleanly without having to change our code. All the way to version 12... the biggest impact was that we had to start creating ACLs for security reasons, but all the code still works just fine. Supporting the client was and is quite easy. == And the end result is that it aint worth our time to do anything other than build a VM. to the point that I have started doing ALL development on VMs... Pretty soon I may start putting them in the cloud and snapshotting them up there. Use a VPN + RDP to code against it. == I remember when I couldn't afford a COLOR Graphics card for my first PC... Now I throw SSDs out because they are too small... LOL.

                        R Offline
                        R Offline
                        raddevus
                        wrote on last edited by
                        #18

                        Kirk 10389821 wrote:

                        and the developer won't support it, because MSFT no longer supports his technology choices

                        Oh, wow. Really terrible. I am from old school also. Been developing software since Win3.1. Your explanation reminded me of how long we could run a piece of software vs these days. Honestly there are Project Templates in Visual Studio 2015 that are unsupported now that VStudio 2017 is out. They targeted Win8 / Win8.1 and now Microsoft acts like Win8 was never a thing. That is crazy.

                        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