Re: Switching Forms

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance





Hi Mark,
Thank you.
I was wondering if you could comment on my overall approach as the
project is on a tight time table and I don't really have time to
blunder off down the wrong path.

It is a job sheet issuing application.
the default.aspx consumes a Logon Webservice over Https.
This web service passes back a random number as a key and also writes
the key and a 1 hour expiry date to the database via a SPROC

Default.aspx saves the key to the session collection.
I propose that the second page 'main.aspx' will grab the key from the
Session collection and use it as a parameter when it is consuming the
functions of the main webservice over http.
i.e. Getting a list of jobs and posting back progress.

The https / http split is because I have read that Https has
significant performance degradation compared to http. The 'customers'
(employees) will be using the website from remote areas with minimal
bandwidth.
So...
1) They logon.
2) Printout job sheet(s) from Data provided by Main Webservice.
3) Do work and at End of Day logon and update data via Main
webservice.

The 'Data' has yet to be decided. I realise it has to be serializable
but any thoughts on this would be appreciated. i.e. Dataset, XMLDoc,..
I need to balance ease of implementation against performance.

If you think the data aspects make it unsuitable for a thin client I
have the option of writing a thick client. But this ties the app down
to particular PC's. Not a huge problem, but a consideration that is
causing me to go down the thin client path.
Thanks again
Bob.
P.S. I will be away for a couple of days with no NewsGroup access.
Shall catch up when I get back.






On Wed, 27 Aug 2008 08:40:59 +0100, "Mark Rae [MVP]"
<mark@xxxxxxxxxxxxxxxxx> wrote:

"bob" <startatbob_clegg@xxxxxxxxxxxxxxxxxxxxx> wrote in message
news:cmo9b4pknqndlehq6pap8cl3aaijdnshmp@xxxxxxxxxx

Newbie question.
Can I do the equivalent with web forms? If so, how?

I appreciate that you are a newbie, but approaching ASP.NET with the mindset
of WinForms is (possibly) the worst approach you could take. The
architectures are *totally* different. I would advise you to get a copy of
this:
http://www.amazon.com/Beginning-ASP-NET-3-5-2008-Professional/dp/1590598911/ref=pd_bbs_1?ie=UTF8&s=books&qid=1219407696&sr=8-1
and work your wat through it from cover to cover.

However, to answer your question, you could write something like:

if (logon)
{
Response.Redirect("main.aspx", false);
}
.



Relevant Pages

  • RE: webReference.SetURL method with https connections
    ... \par Welcome to webservice newsgroup. ... you've creating webservice proxy in C++ application to consume a certain webservice. ... we can try hard coding the https url in the proxy and compiled it and test again. ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Webservice package over https with authorization
    ... I try to access a sample webservice provided for me via https. ... Is there any way to use the Webservice package over https? ... package require tls ...
    (comp.lang.tcl)
  • Re: Mystery Logins
    ... Just make sure that only the following ports are open to your server ... 443 - https for OWA and RWW ... Logon Failure: ... Caller Domain: ...
    (microsoft.public.windows.server.sbs)
  • Webservice package over https with authorization
    ... I try to access a sample webservice provided for me via https. ... My guess would be, that I need to establish a connection over https to the server, and authorize myself before I invoke the GetAndParseWsdl command. ...
    (comp.lang.tcl)
  • ServicePointManager does not support proxies of HTTPS scheme
    ... I have a VB.Net application that consumes an WebService. ... to consume the WebService I get the following error message: ... ServicePointManager does not support proxies of https scheme." ... Why I can add the WebReference and cannot consume the WebService? ...
    (microsoft.public.dotnet.framework.webservices)