473,385 Members | 1,927 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Web site needs some back-end processing, looking for best methods!

I have a VB.NET web application using SQL Server. I need to do weekly and
monthly processing on that database that will probably require a couple
hours to complete, so having this run in the web application is probably not
a good idea.

I'd like to keep this all in the VS.NET environment (VB.NET). Should I be
using a Windows Service, or a Windows Application?

It will be able to run off a config file, changed by a web site admin
interface.
-Max
Nov 18 '05 #1
4 1356
"msnews.microsoft.com" <ma*****@portvista.com> wrote in message
news:uG**************@TK2MSFTNGP09.phx.gbl...
I have a VB.NET web application using SQL Server. I need to do weekly and
monthly processing on that database that will probably require a couple
hours to complete, so having this run in the web application is probably not a good idea.

I'd like to keep this all in the VS.NET environment (VB.NET). Should I be
using a Windows Service, or a Windows Application?

It will be able to run off a config file, changed by a web site admin
interface.


It doesn't really matter how you do this. It depends on your environment and
your comfort levels.

VS.NET makes it easy to create a Windows Service, so you could do it that
way. You could also create a console application and run it as a scheduled
task. I've done both, and they both work well.
--
John Saunders
johnwsaundersiii at hotmail
Nov 18 '05 #2
Why don't you just create a DTS package to do this? I know you want to keep
it in VS.NET environment, but there are a lot of advantages to just using
DTS.

-John Oakes

"msnews.microsoft.com" <ma*****@portvista.com> wrote in message
news:uG**************@TK2MSFTNGP09.phx.gbl...
I have a VB.NET web application using SQL Server. I need to do weekly and
monthly processing on that database that will probably require a couple
hours to complete, so having this run in the web application is probably not a good idea.

I'd like to keep this all in the VS.NET environment (VB.NET). Should I be
using a Windows Service, or a Windows Application?

It will be able to run off a config file, changed by a web site admin
interface.
-Max

Nov 18 '05 #3
Max
Yes I've thought of that, but I'm simply not good at TSQL. I'll most
definately be using stored procedures to break the process down in chunks,
and have some reuse available to me, but there is a lot of intense
calculations with the results (100,000's of records) being stored in several
tables, probably not even a temp tables, because this data needs to be
highly available after the process is done.

Hopefully I'll be able to keep the calls to the database low, as well as the
amount of data being transfered between SQL Server and the Windows service.
Eventually I want this to be running on its own dedicated server perhaps.
Some processes may run on the hour.

I guess I'm asking here to make sure I'm considering all the options.

-Max

"John Oakes" <jo**@nospam.networkproductions.net> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Why don't you just create a DTS package to do this? I know you want to keep it in VS.NET environment, but there are a lot of advantages to just using
DTS.

-John Oakes

Nov 18 '05 #4
What kind of calculations? You would probably be better off doing them all
in TSQL. If you use DTS, a lot of the functionality you need is already
there. You won't have to write code to run on a schedule, notify you of
results, etc. If you put all of your SQL code in stored procedure you can
just call those from the DTS package.

-John Oakes
"Max" <ma*****@portvista.com> wrote in message
news:mZ*******************@twister.tampabay.rr.com ...
Yes I've thought of that, but I'm simply not good at TSQL. I'll most
definately be using stored procedures to break the process down in chunks,
and have some reuse available to me, but there is a lot of intense
calculations with the results (100,000's of records) being stored in several tables, probably not even a temp tables, because this data needs to be
highly available after the process is done.

Hopefully I'll be able to keep the calls to the database low, as well as the amount of data being transfered between SQL Server and the Windows service. Eventually I want this to be running on its own dedicated server perhaps.
Some processes may run on the hour.

I guess I'm asking here to make sure I'm considering all the options.

-Max

"John Oakes" <jo**@nospam.networkproductions.net> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Why don't you just create a DTS package to do this? I know you want to

keep
it in VS.NET environment, but there are a lot of advantages to just using DTS.

-John Oakes


Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: msnews | last post by:
Hi All, We have a requirement to display total number of current users using the site. We want to display only the total no other information. And this value needs to change dynamically. Is it...
21
by: MLH | last post by:
A97 procedure to open http://www.arch.com/message/ enter an 800 number, press "Continue", enter a text msg string from a memo field and press "Send" This is a calendaring and appointment A97...
4
by: Wayne P. | last post by:
I'm working on a shopping cart webapp and I need to perform a form POST of data to a 3rd party site (a payment processor, StormPay). I seem to be having problems doing this. I have an image...
0
by: gabedog | last post by:
What would be a good (and safe) way to enable/disable a web site in a web farm that needs to come down for maintenance? Periodically, we have db folks that run db scripts. I'd like to put a back...
1
by: onceuponapriori | last post by:
Greetings gents. I'm a Railser working on a django app that needs to do some scraping to gather its data. I need to programatically access a site that requires a username and password. Once I...
71
by: Murray R. Van Luyn | last post by:
Hi, Since I have made changes to my website it's been a complete flop. According to the logs, as soon as visitors have downloaded the index page they are off. I can't figure out why? ...
3
by: Jim Hill | last post by:
Well, I've found about a hundred thousand web pages where people have had the same problem I have but nary a page with a solution that works for me. I want to do a simple embed, so I've followed...
16
by: Ben Sehara | last post by:
Is there any way I can limit the access to my website? I have a site "A" and I want to allow access to it only from site "B" login user. If someone try to access site "A" directory, I want it...
0
by: ccrocetti | last post by:
Hello, I am having some trouble with performance issues using ASP.NET. We have a single code-base that is used as a wrapper for multiple sites. The data for the site is populated from the...
5
by: samatair | last post by:
Hi All, My client needs Pay Pal payments to be made within the site. i.e the user should not be send to the Pay Pal site and return back to the client's site. The payment should be done within the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.