Coffeehouse Thread

8 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

Apparently nobody writes desktop applications any more ...

Back to Forum: Coffeehouse
  • User profile image
    Dr Herbie

    Happened onto the Microsoft .NET Architecture site (https://www.microsoft.com/net/architecture) and there is guidance for mobile, cloud, micro-services, and web applications, but none for desktop software.  Are we not supposed to be writing that any more?

     

  • User profile image
    swheaties

    Microsoft doesn't want to scare the millennials.  If they cant use jquery they hyperventilate and need to take a xannex. 

  • User profile image
    Ian2

    Interesting that Xamarin is the only option for mobile - and that the patterns links to a section that is under a Visual Studio for Mac heading.

    Suspect this might just be a new work in progress?

  • User profile image
    cheong

    I still think that if your application only need to work in intranet, using a webservice to connect in between but not direct database connection is a WTF.

    Also, I'll admit I've been pissed off by some "code wiz that is database genius" that insist they have to use Enitity Framework everywhere just because others told him so, without taking "generate real time report by interop with database of other vendor that we have no idea on the internal database schema before the user start use it because the query will be configured by users in UI" into consideration. I've not been following that project because I left shortly later, but a bit curious on how will they solve that problem without going back to SqlCommand.

    Recent Achievement unlocked: Code Avenger Tier 4/6: You see dead program. A lot!
    Last modified
  • User profile image
    figuerres

    I still think that if your application only need to work in intranet, using a webservice to connect in between but not direct database connection is a WTF.

    Also, I'll admit I've been pissed off by some "code wiz that is database genius" that insist they have to use Enitity Framework everywhere just because others told him so, without taking "generate real time report by interop with database of other vendor that we have no idea on the internal database schema before the user start use it because the query will be configured by users in UI" into consideration. I've not been following that project because I left shortly later, but a bit curious on how will they solve that problem without going back to SqlCommand.

     

    what ?

     

    i think i get part of what you wrote but it's confusing, sounds like a problem you had with some project i guess ??

    "using a webservice to connect in between but not direct database connection is a WTF."

    useing a web service if done right is a good thing.

    i can get data to an app without exposing the database to end users and or hackers ....   a direct connection might be fast yes.

    but it can also open a number of issues with security and how the client app stores login data etc....

    if you do a web service correctly it will be fast and allow me to present that data to the application in a format that is best for the application.

    EF ?  i amy use it or i may not - depends on what needs to happen.

    but yes if someone thinks that they must use EF all the time everywhere i would check on that developers skills or lack of design ....

  • User profile image
    SheldonS

    If a developer feels they must use EF all of the time that sounds more like a training opportunity.  I personally like EF, but I also know it is not the end all be all use everywhere solution.

    "Any sufficiently advanced technology is indistinguishable from magic." - Arthur C. Clarke
    Last modified
  • User profile image
    swheaties

    >> I still think that if your application only need to work in intranet, using a webservice to connect in between but not direct database connection is a WTF.

     

    I've written a few WTF's in my time so I will comment. 

    @cheong - please see this pattern.  You can achieve best of both worlds if you layer your app correctly. 

    Speaking of Xamrin - I wrote AdaptiveClient and I want to make an example using Xamrin.  I hit a road block early on and I have not had time to work on it.  Any Xamrin wiz kids who can help me with this issue will be very much appreciated.  Sorry for contributing to the flagrant hijacking of this thread :).

  • User profile image
    cheong

    @figuerres: but it can also open a number of issues with security and how the client app stores login data etc....

    That's why you need to grant access to user the level of access they absolutely need, and use SPs to do larger scale data manipulations.

    And btw, even with EF, if you don't control the credential level access right, you can still have disasters.

    Regarding using webservice vs direct connection, it depends. If your data size is large and your data access component does not support "infinite-scroll" like continuous partial data loading, it can present huge loading on the hosting server.

    What's more? Lots of people who implement webservice does not have security in mind. They have no idea that SOAP method, when not protected with token or WS-Security based mechanism it's going to be able to be called by anyone. It's not a direct problem of webservice itself, but the wrong way of implementing it is too common that for each and all company I worked on and use webservice, I have to intervene to add appropriate level of security check. I'd rather just see they use direct SQL connection with AD group based security assignment.

    Recent Achievement unlocked: Code Avenger Tier 4/6: You see dead program. A lot!
    Last modified

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.