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

VisualStudio 2003 question

Hi everyone,

I'm relatively new to VisualStudio 2003 and have to create an application
that uses Web Services to authenticate a user. Once that user is
authenticated I use the Web services object and store it in a session to use
it in the following pages. However, every time I stop VisualStudio to
modify my code and start it again I have to start the whole process all over
again and it becomes really time consuming. Is there an easier way to modify
your code and compile it without having to start your application from the
beginning?

For ex.
1. Login page instantiates an object which can also be used to authenticate
my user (Store the object in Session)
2. The user get redirected to their particular section of the site (Grab it
from the session object)
3. Rest of the site grabs my object from the session
4. Stopping/Starting the VS causes me to start from the beginning of the
application and if I open another browser window it says my object reference
is null.

Can someone please help me with this? It's so frustrating.

Thank you
Maz
Nov 19 '05 #1
1 991
Hi Maziar,

I'm afraid you're pretty much stuck. When you are debugging in Visual
Studio, and you run your app, you are re-compiling it. As Visual Studio is
not savvy enough to be able to parse and understand all your code, and
figure out somehow that in one particular case the app doesn't need to be
restarted, it always restarts it, "cleaning the slate" as it were for the
current debug run.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"Maziar Aflatoun" <ma***@rogers.com> wrote in message
news:xI********************@rogers.com...
Hi everyone,

I'm relatively new to VisualStudio 2003 and have to create an application
that uses Web Services to authenticate a user. Once that user is
authenticated I use the Web services object and store it in a session to
use it in the following pages. However, every time I stop VisualStudio to
modify my code and start it again I have to start the whole process all
over again and it becomes really time consuming. Is there an easier way to
modify your code and compile it without having to start your application
from the beginning?

For ex.
1. Login page instantiates an object which can also be used to
authenticate my user (Store the object in Session)
2. The user get redirected to their particular section of the site (Grab
it from the session object)
3. Rest of the site grabs my object from the session
4. Stopping/Starting the VS causes me to start from the beginning of the
application and if I open another browser window it says my object
reference is null.

Can someone please help me with this? It's so frustrating.

Thank you
Maz

Nov 19 '05 #2

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

Similar topics

2
by: Assaf | last post by:
Hi, I added to my setup project TextBox dialog control which contains two textbox. I want to add the ability to disable the next button until the user enter some text in the textbox (let's say...
1
by: Jerry | last post by:
Hi, I want to create a compound field i.e. CityStateZip and then build a formula that is composed of the 3 data elements .City, .State and .ZIP. I've done this before creating a formula in...
1
by: TIBM | last post by:
Hi. I have a VisualStudio.NET solution composed of multiple projects. Each project gets compiled into its own dll. How can I compile 2 or more projects into a single dll I don't want to do a manual...
7
by: Peter Smirnov | last post by:
Sorry for this newbie question but as far as I heard one need at least VisualStudio to develop CSharp applications. Is this correct? Are there otherwise some command line tools like javac.exe and...
1
by: Anthony DePinto | last post by:
Is there any way to have VisualStudio stop modifying code behind files automatically? I'm trying to change the base case and add a handler in the InitializeComponent Sub and VS keeps wiping out...
1
by: Raterus | last post by:
Hello, I'm using Firefox now as my VisualStudio 2003 browser for debugging my asp.net applications. It's great, when I debug, a new tab is opened into Firefox, and I can debug normally. My only...
6
by: Kurt Schroeder | last post by:
can anyone out there give me a little advice concerning the common way to add database queries to a form? I'm doing it manually now, but it appears that it can be done /w drag and drop. So far the...
1
by: Robert Rotstein | last post by:
I have a "Microsoft Visual Studio 2005 Team System Beta 2" disk, along with Visual C#, Visual Basic, and Visual Web Developer 2005 disks. Also VS 2005 Team Foundation Server, SQL Server 2005...
6
by: alf | last post by:
Hi, I want to add some library but it can not be comipled? Here is an output: D:\>cl Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 for 80x86 Copyright (C) Microsoft...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.