|
i have a web service which transfer data from server to client and back and forth.
The performance is reasonable but i wan to increase the performance by sending data more efficently and speedily.
How can i achiecve that?
|
|
|
|
|
With Web Services, you don't have much of a choice. Since everything needs to be encoded into an XML format, essentially a text file, your only options are to not send as much data or send it acrossed a faster network connection.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
But i have read that creating web service with SOAP extension can improve performance.
|
|
|
|
|
How much data are you sending back to the caller?
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Data size can vary from few kb's to mb's
|
|
|
|
|
Well, you could try to compress the data comming back. I don't know how you're going to do it over the entire SOAP message though. My first guess would be to compress the data before it gets into the message.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
you can also compress the stream which will give you a performance boost if it's a large amount of data...
|
|
|
|
|
Can you give me an example.
|
|
|
|
|
google it or
http://weblogs.asp.net/pglavich/archive/2004/01/24/62475.aspx
|
|
|
|
|
I want to store the MSAccessDatabase from ListBox's contains
Actually fileName is displaying in ListBox1 contains that is
FileName is Displayed in ListBox1 :Sundar-.Net-Bangalore-3yrs-sundar@yahoo.com
and parsed the fileName in Listbox2 contains:
sundar
.Net
Bangalore
3yrs
sundar@yahoo.com
i've parsed the fileName.and also displayed in the Listbox2.but i want to store in MS AccessDataBase.so how to store the Seperate field in DataBase MS Access.. Using VB.Net...
Pls Very Urgent Pls someone Help me..
Thanking You,
somasundaram
-- modified at 5:08 Thursday 28th December, 2006
|
|
|
|
|
Don't say "urgent". It's just plain rude. Notice how no one replied for almost a year. Urgent doesn't work well around here.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
|
|
|
|
|
I have created an mdi form .I want to resize the form and align the image to the center so that it should not disturb the other forms displaying from the mainmenu.
Thankyou
|
|
|
|
|
I've created the MDI Form.But I not able to align the Picture in the MDI form Using VB.Net
Thanking you
Somasundaram G
|
|
|
|
|
That's nowhere near enough information to tell you anything useful.
What picture? How are you using it? Align it with what? What control are you putting this picture in? Is is the background image for a control? ....?
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
i've put in Picture Control on MDI form. But If i click the Menu File and select the form.But before Displaying the Picture.But i want to displaying the From and i've to set the picture on MDI form Background......
thanking you
Somasundaram G
-- modified at 2:09 Friday 29th December, 2006
|
|
|
|
|
That makes absolutely no sense.
Your setting the Image property of a Picturebox control, right? Is this PictureBox control on the MDI Parent form or a Child form?
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hi ..
Can any one tell me how to make a exe of vb.net application available locally...
My exact doubt is ..
I have a developed a VB.Net application its working fine in all system.But whenever i updated it i have to run the Exe file in all local machine again .Which is consuming lot of time..
Is there any way to make a vb.net application locally available in all machine.(i.e)if i run my exe in server alone and paste the shortcut in other local machine it should work with the updated exe..(I know this is possible in VB application)..
Thanx in advance
Regards
Bino Varghese.V
|
|
|
|
|
Compileyour program. Once you have done this go to the Visual Studio Project folder(usally in my documents), find your project, go into the project's folder, go into the Bin folder and then the release or debug folder, here you will find a compiled executable of your apllication.
Posted by The ANZAC
|
|
|
|
|
sorry tat is not my doubt.. i know how to create EXE and all..my problem is how do i make the Exe available in other system????
|
|
|
|
|
You either have to copy it to the other machines that are going to use it or copy it to a share on a server. But, in the later case, you MUST be aware of Code Access Security and how it affects your code. Code running from ANY network resource, trusted or otherwise, is NOT trusted code as far as the local machine is concerned. Your application will be running, by default, in a heavily restricted sandbox. What works fine is launched from on the local machine can quite easily fail if run from a server because of CAS. You can read about it here[^].
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hi Dave Kreskowiak,]
Thank u very much for ur reply .
I have tried wat u said.
I have many forms in my apllication.The first form is working fine which is the Login form .But when i click login button its not getting redirected to the next form .
Iam using a third party control in the second form..
Iam getting the error as
Unhandled exception has occured in your application.An error occured creating the form.See Exception.Innerexception for details.The error is:That assembly does not allow partially trusted callers.
Awaiting for your Reply
Regards
Bino Varghese.V
|
|
|
|
|
Read up on Code Access Security. There's a link in my previous post.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
ok give me some time will read and reply u
Thank u very much 4 ur guidence n speedy reply..
Regards
Bino Varghese.V
|
|
|
|
|
Here's a small thought, perphaps it can be of use.
Try making (instead of a shortcut) an actual application that
when run, locates the exe in question from the server, and copies it over and then executes it
locally.
I do that with some simple programs, and i also add a simple "version" check to see if the
exe is newer than the one on the local machine. (by checking creation date of the exe)
the program could have something like:
<br />
Public Class Form1<br />
<br />
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load<br />
<br />
Dim remoteEXE As String = "\\server\C\Folder\myExe.exe"<br />
Dim localEXE As String = "C:\Folder\MyExe.exe"<br />
<br />
If My.Computer.FileSystem.FileExists(remoteEXE) Then<br />
If My.Computer.FileSystem.FileExists(localEXE) Then<br />
If My.Computer.FileSystem.GetFileInfo(remoteEXE).CreationTime > My.Computer.FileSystem.GetFileInfo(localEXE).CreationTime Then<br />
My.Computer.FileSystem.CopyFile(remoteEXE, localEXE, True)<br />
End If<br />
Else<br />
My.Computer.FileSystem.CopyFile(remoteEXE, localEXE)<br />
End If<br />
End If<br />
<br />
Shell(localEXE, AppWinStyle.NormalFocus)<br />
End Sub<br />
<br />
End Class<br />
<br />
|
|
|
|
|
Hi ad3z ,
Happy New year.Thanks 4 ur reply ..vl check this one.
my actual problem is with security issues can u plz gudie me in that..
Regards
Bino Varghese.V
|
|
|
|