|
Hi Guffa
Good idea. Just one question. When the Web service is in the IIS environment will the werb service store the incomming info in memory and if so how do a separate thread or application retrive this data?
Regards
|
|
|
|
|
I used a static variable to hold the reference to the list where I stored the data. As it is static, all different threads that handle requests can reach it, but you have to use locking to prevent more than one thread to access it at once.
When the list was "full", I copied the reference to the list into an object that I later used to start a new thread, and created a new list and put the reference to it in the static variable.
So, as the new thread was started from the thread handling the request, there was no problem sending the data to it.
---
b { font-weight: normal; }
|
|
|
|
|
Ok Thanx
Ill try that. Im used to straight C++ and VB6 so this .Net thing and ADO.net is new to me. I'm busy to see if the DataSet and DataAdapter object will be fast enough for my requirement. But It takes a bit time as I'm used to Recordsets and ODBC.
Another question is, if a Web service "fires" on an incoming event and it executes and during execution another event comes in will the web service "fire" again on a different thread, or will IIS buffer this new incomming event?
|
|
|
|
|
BLOEDHOND wrote: I'm busy to see if the DataSet and DataAdapter object will be fast enough for my requirement.
You can use the Execute methods of the connection object if you want less overhead. If you don't use the DataSet to feed a user interface, there is not really any reason to have it.
BLOEDHOND wrote: Another question is, if a Web service "fires" on an incoming event and it executes and during execution another event comes in will the web service "fire" again on a different thread, or will IIS buffer this new incomming event?
Each request will run in a separate thread, so you can have a number of requests executing at the same time. The web server limits (buffers) the requests per user (session), though, so you will not have more than one request running at a time for each user.
---
b { font-weight: normal; }
|
|
|
|
|
Hi All,
I am developing ecommerce site using asp.net1.1 .In this site I need to integrate paypal controls for secure payment transactions.I have installed paypal webcontrol's setup now paypal controls are available in my toolbox..but dont know what to do ?
Can any one help me ?
Thanks in advance
Aavesh
|
|
|
|
|
Paypal must have provided you with documentation and sample code.
They must have provided you with dummy account with which you can test your system.
- ashish
|
|
|
|
|
hi aashish
Thanks For reply
But i Dont know anything abut paypal can u guide me i have got paypal controls but i dont know what to do..i have also got some code but i m geeting that code can u help me how can i integrate the paypal webcontrols in my website..
its urgent
thanks
Aavesh
|
|
|
|
|
Here are some of the links I used to find out how to do it.
http://www.devsource.com/article2/0,1759,1766266,00.asp
http://paypaltech.com/PDTGen/
http://www.paypaldev.org/default.asp?CAT_ID=3
|
|
|
|
|
Friends,
I have created one web application in asp.net 2.0. That application working perfectly in the system where i am working and also working in Testing team system. But while v installed the setup in US server it gives problem while in the registering page of that application. Can tell me please why this happends.
Thanks & Regards
Prya
|
|
|
|
|
What do you mean when you say while v installed the setup in US server?
On the destination server have you checked on which version of .NET IIS is running.
Check the site you created is running on .NET 2.0 or not.
If it is IIS 6 - you can create new application pool also.
Hope this helps
- ashish
|
|
|
|
|
for develop tab control using javasript is required.
omi
|
|
|
|
|
|
that coding is not working
omi
|
|
|
|
|
1. How to check (on WinXP) whether current connection to internet has a public IP address (is NOT behind NAT)?
2.What cheap hosting sites that have appriopriate IIS for ASP.NET 2.0 could you recommend me? (I live in middle Europe)
thank you in advance
|
|
|
|
|
To get the IP use something like
public string getClientIPaddress()
{
string IPAddress = HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
if (IPAddress == null)
{
IPAddress = HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"];
}
return IPAddress;
}
As for the host i'm not really the best to answer that, we have our own servers in a datacentre, I know there are good sites out there to show and compare them
|
|
|
|
|
And suppose I would like to check whether this connection on THIS computer to Internet has its own public IP address, but not neccessarly using ASP. Just having a typical WinXP command prompt. How to do that?
|
|
|
|
|
--------------------------------------------------------------------------------
How to simulate a frameset under ASP.NET 2.0?
I mean:
suppose that our site should be divided into 4 parts, like that:
1 | 2
--|--
3 | 4
Site number 1 would be a classic "menu". When user selects an option from this menu, some page should be loaded into section number 2, other page into section 3, and other in section 4.
How to achieve that?
I suppose that could be done using master pages and "menu" or "treeview" navigation controls, but I tryed and I wasn`t succesfull
thank you in advance for help
|
|
|
|
|
You could use <iframe> tags in your sections 2,3,4 and have your menu items in 1 be LinkButtons, with event handlers that set the src attributes of the iframes accordingly.
|
|
|
|
|
Hello,
I am using Forms Authentication in ASP.NET 2.0 website. I have also implemented UIP Application Blocks.
On one page I have used ATLAS Cascading Dropdown. The page looses session and redirects to login page on click of any link on the page. As soon as I replace cascading dropdown with dropdown control, it starts behaving correctly.
Any clue why this is happening? Why page looses session and redirects to login page. It even does not execute Page Load of the same page.
I appreciate any help regarding this.
Thanks in advance,
Ashish Basran
|
|
|
|
|
Hi!
I retrieve a value from db in a textbox.,
That value has to go across.,
I tried that marquee in HTML I use this tag in that text box i couldn't get.,
How can we do this one..?
T.Prabu
|
|
|
|
|
have you tried it by putting the textbox inside the marquee tag.
Best Regards,
Apurva Kaushal
|
|
|
|
|
hi Apurva Sir,
I am developing ecommerce site using asp.net1.1 .In this site I need to integrate paypal controls for secure payment transactions.I have installed paypal webcontrol's setup now paypal controls are available in my toolbox..but dont know what to do ?
Can any one help me ?
Thanks in advance
Aavesh
|
|
|
|
|
Hey
You could just place the marquee tag and add Response.Write(DBFuntion()); in the text place and it will work with u fine
Mohamed El Gohary
|
|
|
|
|
Hello, everyone:
I am a newbie of asp.net. Now i am trying to use a datagrid to show a table with more than 2000 records to the web viewer with asp.net1.1. However, when displaying, it tells me that the process has taken more than 60% of the memory, the system calls back the resouce automatically. Finally the pages goes wrong.
In one word, What i am asking is whether there is a good approach to displaying a large table to the user? Is there anyone could help me? Thanks in advance!
|
|
|
|
|
You can use paging concept. There you will just show 25 or 50 records initially and then next set of records depending upon the requirement.
Best Regards,
Apurva Kaushal
|
|
|
|