• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

.NET technology stacks for web apps

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    .NET technology stacks for web apps

    I know someone with an old (profit making plan B) VB app which he wants to rewrite it as a web app while self training in .NET.

    Basically he asked how to skin the cat and being a java person I told him I did not know.

    I kind of said well I know there is nHibernate and nSpring which are ports of the standard way of doing it in java but don't really know how you would do the front end but I would imagine it would be an MVC framework.

    Was I talking crap on this subject? What are the most common ways of doing 'standard' DB driven transactional web apps in .NET.

    Cheers

    #2
    Originally posted by minestrone View Post
    I know someone with an old (profit making plan B) VB app which he wants to rewrite it as a web app while self training in .NET.

    Basically he asked how to skin the cat and being a java person I told him I did not know.

    I kind of said well I know there is nHibernate and nSpring which are ports of the standard way of doing it in java but don't really know how you would do the front end but I would imagine it would be an MVC framework.

    Was I talking crap on this subject? What are the most common ways of doing 'standard' DB driven transactional web apps in .NET.

    Cheers
    being no expert myself I would imagine an asp.net/c# code base and LINQ for your DB connections and semantic layer
    sufficiently advanced stupidity is indistinguishable from malice - Asimov (sort of)

    there is no art in a factory, not even in an art factory - Mixerman

    everyone is stupid some of the time - trad.

    Comment


      #3
      Originally posted by 2BIT View Post
      being no expert myself I would imagine an asp.net/c# code base and LINQ for your DB connections and semantic layer
      Current method of choice would be an ORM (entity framework, nhibernate) for persistent storage and MVC for the asp.net level.

      So mvc templates for the frontend
      mvc containers calling business layer objects for the logic layer
      orm for the database

      In an ideal world you then have nunit for test around everything and some mocking system for everything else.

      As its a plan b tho scrap the detailed plan above and use codesmithtools or something to generate a plingo start point CodeSmith Tools and create standard asp.net pages .
      merely at clientco for the entertainment

      Comment


        #4
        These days, ASP.NET MVC front-end;

        C# or VB.NET DLL for the logic (to all intents and purposes there's practically no difference between the capabilities of the two languages, but C# is the most popular)

        Data access - slightly up in the air. NHibernate remains fine. LINQ-to-SQL was once the Microsoft standard, but is now being cold-shouldered. It's the Fredo Corleone of ORM. New Microsoft flavour of the month is Entity Framework.

        Or you could just not bother with a separate data access framework. As an old, heretical but sensible developer fairly recently said, "you know, I don't actually mind writing data access code".

        Comment


          #5
          Originally posted by thunderlizard View Post
          These days, ASP.NET MVC front-end;

          C# or VB.NET DLL for the logic (to all intents and purposes there's practically no difference between the capabilities of the two languages, but C# is the most popular)

          Data access - slightly up in the air. NHibernate remains fine. LINQ-to-SQL was once the Microsoft standard, but is now being cold-shouldered. It's the Fredo Corleone of ORM. New Microsoft flavour of the month is Entity Framework.

          Or you could just not bother with a separate data access framework. As an old, heretical but sensible developer fairly recently said, "you know, I don't actually mind writing data access code".
          ******' microsoft, why do they keep replacing things all the time!

          The Two Forces at Microsoft
          sufficiently advanced stupidity is indistinguishable from malice - Asimov (sort of)

          there is no art in a factory, not even in an art factory - Mixerman

          everyone is stupid some of the time - trad.

          Comment


            #6
            Originally posted by 2BIT View Post
            ******' microsoft, why do they keep replacing things all the time!

            The Two Forces at Microsoft
            Personally I think its because Linq was a crap but quick solution to the problem of database independence.

            I'm sure it was designed by people who wanted to keep inline sql statements inside their code while being able to ignore questions about security issues.
            merely at clientco for the entertainment

            Comment


              #7
              Originally posted by eek View Post
              Personally I think its because Linq was a crap but quick solution to the problem of database independence.

              I'm sure it was designed by people who wanted to keep inline sql statements inside their code while being able to ignore questions about security issues.
              don't know enough but it seemed to me an improvement over ado or dao, never got into it but a guy I knew loved it for his webapps
              sufficiently advanced stupidity is indistinguishable from malice - Asimov (sort of)

              there is no art in a factory, not even in an art factory - Mixerman

              everyone is stupid some of the time - trad.

              Comment


                #8
                It's an ingenious solution to the problem of moving your business logic out of the database and into the business tier, while still writing it in SQL.

                Comment


                  #9
                  Originally posted by thunderlizard View Post
                  It's an ingenious solution to the problem of moving your business logic out of the database and into the business tier, while still writing it in SQL.
                  wasn't that what you did with ADO?
                  sufficiently advanced stupidity is indistinguishable from malice - Asimov (sort of)

                  there is no art in a factory, not even in an art factory - Mixerman

                  everyone is stupid some of the time - trad.

                  Comment


                    #10
                    Originally posted by eek View Post
                    Current method of choice would be an ORM (entity framework, nhibernate) for persistent storage and MVC for the asp.net level.

                    So mvc templates for the frontend
                    mvc containers calling business layer objects for the logic layer
                    orm for the database

                    In an ideal world you then have nunit for test around everything and some mocking system for everything else.

                    As its a plan b tho scrap the detailed plan above and use codesmithtools or something to generate a plingo start point CodeSmith Tools and create standard asp.net pages .
                    MVC or WebForms. Although MVC is very good for test driven application, Web forms are really good for RAD.
                    Vote Corbyn ! Save this country !

                    Comment

                    Working...
                    X