new small web app

jassie

Well-known member
Joined
Nov 13, 2012
Messages
61
Programming Experience
1-3
I need to take the main parts of a C# 2008/2010 console application and turn it into a thin client for the web in visual studio 2010. The only things that need to be displayed on the screen is to enter the customer number and where to obtain a file in a directory path. The user will it the enter button and the application will pass the information to a web service.
Notes about the code that will be used: 1. the application uses linq to sql to point to a sql server 2008 r2 database.all parts of the exisitng code is placed together. there is no separation of data, presentation from business logic.
The simple application will not be part of any other web application.
Can you tell me the following:
1. How will the user start the application? Would it be a url on the web and/or a shortcut on their desktop? How would you setup the code for the user to click on a desktop short and/or point to a url?
2. When you start the code from scratch, what kind of a web application would I use? web forms since that is the easiest.
 

jmcilhinney

C# Forum Moderator
Staff member
Joined
Apr 23, 2011
Messages
3,225
Location
Sydney, Australia
Programming Experience
10+
It seems to me that you would either use a web site or else a Windows app deployed using ClickOnce and backed by a web service. If you want to create a web application then you could use Web Forms, MVC or Web Pages. Personally, I'd use MVC but Web Forms or Web Pages would probably be considered easier for the beginner. Web Pages is specifically designed to be easy for beginners. That said, I'm not sure whether Web Pages can be used outside of WebMatrix.
 

jassie

Well-known member
Joined
Nov 13, 2012
Messages
61
Programming Experience
1-3
Can you tell me how to get started using web forms? Would the web app run on each person's workstation or from the company web server? This web app will be a standalone not used with any other web app.
 

jmcilhinney

C# Forum Moderator
Staff member
Joined
Apr 23, 2011
Messages
3,225
Location
Sydney, Australia
Programming Experience
10+
Can you tell me how to get started using web forms? Would the web app run on each person's workstation or from the company web server? This web app will be a standalone not used with any other web app.
The very definition of a web app is one that runs on a web server and is displayed on the client in a browser. If it runs on the client machine then it's a Windows app, although a thin client would have much or all of the heavy lifting done on a web server via a web service.
 
Top Bottom