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. General Programming
  3. C#
  4. Converting C# Application to WEB Enabled .

Converting C# Application to WEB Enabled .

Scheduled Pinned Locked Moved C#
csharpasp-netdatabasesql-serversysadmin
4 Posts 4 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.
  • U Offline
    U Offline
    unitecsoft
    wrote on last edited by
    #1

    I have an application written in C# with SQL server Dbase . Would like to convert the same application to Web Enabled as ASP.NET without having to Re-write the code again in ASP.NET . Can anyone help in that ? UnitecSoft We will Either Find A Way , Or We Will Make One .

    C M D 3 Replies Last reply
    0
    • U unitecsoft

      I have an application written in C# with SQL server Dbase . Would like to convert the same application to Web Enabled as ASP.NET without having to Re-write the code again in ASP.NET . Can anyone help in that ? UnitecSoft We will Either Find A Way , Or We Will Make One .

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      If you designed it properly then all you need to to is slap on a different UI - All your business logic and database interaction should be separate from your UI.


      Upcoming Scottish Developers events: * UK Security Evangelists On Tour (2nd November, Edinburgh) * Developer Day Scotland: are you interested in speaking or attending? My: Website | Blog

      1 Reply Last reply
      0
      • U unitecsoft

        I have an application written in C# with SQL server Dbase . Would like to convert the same application to Web Enabled as ASP.NET without having to Re-write the code again in ASP.NET . Can anyone help in that ? UnitecSoft We will Either Find A Way , Or We Will Make One .

        M Offline
        M Offline
        Michael P Butler
        wrote on last edited by
        #3

        unitecsoft wrote:

        I have an application written in C# with SQL server Dbase . Would like to convert the same application to Web Enabled as ASP.NET without having to Re-write the code again in ASP.NET . Can anyone help in that ?

        Your question is a little broad and doesn't provide a lot of information about the design of your current app. As Colin says, if your app has been designed well and seperates UI, Data Access and Business logic then it should be a fairly straight forward job to replace the existing UI with a web front end. (Although that depends on the complexity of the UI as the stateless nature of HTTP can make it hard to convert a WinForm to a WebForm directly)

        Michael CP Blog [^] Development Blog [^]

        1 Reply Last reply
        0
        • U unitecsoft

          I have an application written in C# with SQL server Dbase . Would like to convert the same application to Web Enabled as ASP.NET without having to Re-write the code again in ASP.NET . Can anyone help in that ? UnitecSoft We will Either Find A Way , Or We Will Make One .

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          Basically, there is no tool to convert a Windows Forms app to an ASP.NET app. The ways each work with it's own forms are so different, a direct translation is not possible. You're stuck re-writing your application. But, as Colin said, if your application was written properly, meaning that you kept your business and data logic in classes seperate from your application code, you've minimized the work you have to do rewriting your UI code. Properly written Business Logic and Data Access layers will be completely independant of the User Interface code. This way, you only need to write a new UI layer if you want to support multiple types of clients, like Windows Forms, ASP.NET, Pocket PC's, mini browsers (cell phones), or Embedded systems. Google for "3-Tier" and "n-tier" application development and you'll find TONS of resources on how to properly write applications that support this.

          Dave Kreskowiak Microsoft MVP - Visual Basic

          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