473,245 Members | 1,406 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,245 software developers and data experts.

Move the processing on to the server?

Windows Visual C# / SQL Server 2000

I am new ish to the .Net world of development, and am sure this is a pretty
basic question, but I'll ask anyway.

In my past development experience (Progress) we had a technology called
AppServer. Basically all the business logic runs on the server where the
database is, and the screens on the client have no references to the DB at
all, but instead run code on the server, which returns the data for the
screen.

What is the .Net world equivalent to this?

Thanks

Steve
Jun 15 '06 #1
4 1176
The thing you referred to might be COM+, which can still be used in .NET
app. In pure .NET world, though, the equivalent would be Remoting and Web
Services, or Window Communication Foundation (WCF) in upcoming .NET3.0

"Steve" <St***@discussions.microsoft.com> wrote in message
news:68**********************************@microsof t.com...
Windows Visual C# / SQL Server 2000

I am new ish to the .Net world of development, and am sure this is a
pretty
basic question, but I'll ask anyway.

In my past development experience (Progress) we had a technology called
AppServer. Basically all the business logic runs on the server where the
database is, and the screens on the client have no references to the DB at
all, but instead run code on the server, which returns the data for the
screen.

What is the .Net world equivalent to this?

Thanks

Steve

Jun 15 '06 #2

The problem I am having is when my app is run at remote sites. The DB is on
a server here at our main office, but the app is out at various sites and the
performance out at these sites is very poor. A search that takes 8 seconds
here is taking 1min 5seconds out at site! Some of this could be the line we
have between the site and here, so I am thinking that if all the processing
was done here on the server, then I could just spit back the dataset. Is
this what remoting is for?

Thanks

Steve

"Norman Yuan" wrote:
The thing you referred to might be COM+, which can still be used in .NET
app. In pure .NET world, though, the equivalent would be Remoting and Web
Services, or Window Communication Foundation (WCF) in upcoming .NET3.0

"Steve" <St***@discussions.microsoft.com> wrote in message
news:68**********************************@microsof t.com...
Windows Visual C# / SQL Server 2000

I am new ish to the .Net world of development, and am sure this is a
pretty
basic question, but I'll ask anyway.

In my past development experience (Progress) we had a technology called
AppServer. Basically all the business logic runs on the server where the
database is, and the screens on the client have no references to the DB at
all, but instead run code on the server, which returns the data for the
screen.

What is the .Net world equivalent to this?

Thanks

Steve


Jun 16 '06 #3
IMO the first step is to see exactly what the application does. For example
if the DB is a file server or client server, if all records are retrieved
and then filtered client side or if the server is doing the filtering etc to
see what causes this additional delay...

--
Patrice

"Steve" <St***@discussions.microsoft.com> a écrit dans le message de news:
FB**********************************@microsoft.com...

The problem I am having is when my app is run at remote sites. The DB is
on
a server here at our main office, but the app is out at various sites and
the
performance out at these sites is very poor. A search that takes 8
seconds
here is taking 1min 5seconds out at site! Some of this could be the line
we
have between the site and here, so I am thinking that if all the
processing
was done here on the server, then I could just spit back the dataset. Is
this what remoting is for?

Thanks

Steve

"Norman Yuan" wrote:
The thing you referred to might be COM+, which can still be used in .NET
app. In pure .NET world, though, the equivalent would be Remoting and Web
Services, or Window Communication Foundation (WCF) in upcoming .NET3.0

"Steve" <St***@discussions.microsoft.com> wrote in message
news:68**********************************@microsof t.com...
> Windows Visual C# / SQL Server 2000
>
> I am new ish to the .Net world of development, and am sure this is a
> pretty
> basic question, but I'll ask anyway.
>
> In my past development experience (Progress) we had a technology called
> AppServer. Basically all the business logic runs on the server where
> the
> database is, and the screens on the client have no references to the DB
> at
> all, but instead run code on the server, which returns the data for the
> screen.
>
> What is the .Net world equivalent to this?
>
> Thanks
>
> Steve


Jun 16 '06 #4

I have some code, which is running on the client, which basically creates a
SQL connection object, which is a call to a stored procedure, passing in some
parameters. I then use a SQLDataReader to run through these records to do
some further processing. Something like this:

SqlConnection conSQL = new SqlConnection(GetConnectionString());
conSQL.Open();
SQLCommand comSQL = new SqlCommand("FetchWorkRequests",conSQL);

SqlDataAdapter daWork = new SqlDataAdapter(connect.comSQL);

try
{
daWork.Fill(dsReturn.WorkRequest);
}
catch(Exception exp)
{
string s = exp.Message.ToString();
}

foreach(dsWorkSchedule.WorkRequestRow wrow in dsReturn.WorkRequest.Rows)
{
wrow.zAsset = AssetFunc.GetAssetName(wrow.AssetObj);
wrow.zCoordinator = EmployeeFunc.GetEmployee(wrow.CoordinatorObj);
wrow.zCraft = CraftFunc.GetCraftName(wrow.CraftObj);
.......
}
Jun 16 '06 #5

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

Similar topics

2
by: Luiz Vianna | last post by:
Hi folks, I got a problem that certainly someone had too. After a user request, I (my server) must process a lot of data that will expend some time. During this process I must inform the user...
6
by: James Radke | last post by:
Hello, I have a multithreaded windows NT service application (vb.net 2003) that I am working on (my first one), which reads a message queue and creates multiple threads to perform the processing...
2
by: domtam | last post by:
Hi all, Here is what I want: when a user clicks a <asp:button>, its event handler will do some server-side processing and then pop up a windows of another page. As far as I know, if no pop-up...
0
by: =?Utf-8?B?Um95?= | last post by:
Hi I am trying to move a directory to a done folder after my processing is over. I am using Directory.Move which doesn't seem to work for already existing destination folder c:\<application...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

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.