Click here to Skip to main content
15,886,720 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Converting Excel application into a Web Service Pin
Gerry Schmitz13-Oct-14 11:14
mveGerry Schmitz13-Oct-14 11:14 
GeneralRe: Converting Excel application into a Web Service Pin
Sujana Alluru13-Oct-14 21:09
professionalSujana Alluru13-Oct-14 21:09 
GeneralRe: Converting Excel application into a Web Service Pin
Gerry Schmitz13-Oct-14 21:49
mveGerry Schmitz13-Oct-14 21:49 
GeneralRe: Converting Excel application into a Web Service Pin
Sujana Alluru14-Oct-14 0:10
professionalSujana Alluru14-Oct-14 0:10 
GeneralRe: Converting Excel application into a Web Service Pin
Gerry Schmitz14-Oct-14 11:29
mveGerry Schmitz14-Oct-14 11:29 
AnswerRe: Converting Excel application into a Web Service Pin
Pete O'Hanlon13-Oct-14 21:21
mvePete O'Hanlon13-Oct-14 21:21 
GeneralRe: Converting Excel application into a Web Service Pin
Sujana Alluru14-Oct-14 19:56
professionalSujana Alluru14-Oct-14 19:56 
GeneralRe: Converting Excel application into a Web Service Pin
Jose Segarra21-Oct-14 3:25
Jose Segarra21-Oct-14 3:25 
Another possibility:

1. Keep in the backend "Your Excel Sheet based service". This can be implemented in you web server as a singleton (for perfomance) object that uses Interop for interacting with you Excel sheet.

2. Your web app, queries "Your Excel Sheet based service" to get the grid data to send to the browser

3. The browser displays your data using one of the Javascript grids.

4. The user modifies the data using the Javascript grid editor.

5. Any change is sent as a browser request to your web app (via Ajax or page reload)

6. Your web app, updates "Your Excel Sheet based service", so Excel applies the macros and calculations, and the new values are sent to the web browser on the request response (Ajax or page content)


Conceptually you get everything, and the best of both worlds. The good part is that you do not need to reimplement all your Excel logic (macros, formulas,...), the bad part is that you need to reimplement all the interface to reach this logic (grid cells paradigm, REPL cycle, ...)

Although it can be done, in practice this is far from an ideal solution as:

- An strategy is needed to avoid multiple users locking your Excel resource
- Using interop in the server might lead to memory leaks and stability issues. Also it can easily become a CPU resource hog.
- User interface and usability is greatly dependant on the chosen grid, and might depart greatly from Excel look and feel

Although the cons can easily overweigth the pros, depending on your requirements (number of users, complexity of Excel logic..), budget, resources and available time can be a way to go.
GeneralRe: Converting Excel application into a Web Service Pin
Sujana Alluru2-Dec-14 19:42
professionalSujana Alluru2-Dec-14 19:42 
QuestionMessage Closed Pin
11-Oct-14 4:15
Member 1098252111-Oct-14 4:15 
Questiontable compare Pin
byka9-Oct-14 3:48
byka9-Oct-14 3:48 
AnswerRe: table compare Pin
Eddy Vluggen9-Oct-14 9:25
professionalEddy Vluggen9-Oct-14 9:25 
Questionweb development Pin
Member 111411249-Oct-14 3:47
Member 111411249-Oct-14 3:47 
AnswerRe: web development Pin
Eddy Vluggen9-Oct-14 9:21
professionalEddy Vluggen9-Oct-14 9:21 
QuestionWindows application certain GUI elements do not work / display as expected Pin
Johan Hakkesteegt8-Oct-14 3:21
Johan Hakkesteegt8-Oct-14 3:21 
AnswerRe: Windows application certain GUI elements do not work / display as expected Pin
Eddy Vluggen8-Oct-14 7:59
professionalEddy Vluggen8-Oct-14 7:59 
GeneralRe: Windows application certain GUI elements do not work / display as expected Pin
Johan Hakkesteegt8-Oct-14 20:56
Johan Hakkesteegt8-Oct-14 20:56 
GeneralRe: Windows application certain GUI elements do not work / display as expected Pin
Eddy Vluggen9-Oct-14 0:29
professionalEddy Vluggen9-Oct-14 0:29 
QuestionAjax call with RadioButtonList Pin
byka6-Oct-14 6:52
byka6-Oct-14 6:52 
SuggestionRe: Ajax call with RadioButtonList Pin
Eddy Vluggen6-Oct-14 8:18
professionalEddy Vluggen6-Oct-14 8:18 
AnswerRe: Ajax call with RadioButtonList Pin
sankarsan parida7-Oct-14 18:11
professionalsankarsan parida7-Oct-14 18:11 
QuestionWindows Service, design question, threading, how to write a delegate Pin
jkirkerx5-Oct-14 12:26
professionaljkirkerx5-Oct-14 12:26 
AnswerRe: Windows Service, design question, threading, how to write a delegate Pin
Kornfeld Eliyahu Peter6-Oct-14 1:03
professionalKornfeld Eliyahu Peter6-Oct-14 1:03 
QuestionRe: Windows Service, design question, threading, how to write a delegate Pin
Richard Deeming6-Oct-14 1:24
mveRichard Deeming6-Oct-14 1:24 
GeneralRe: Windows Service, design question, threading, how to write a delegate Pin
jkirkerx6-Oct-14 6:39
professionaljkirkerx6-Oct-14 6:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.