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

No Intellisense in VS.NET 2005's global.asax

In Visual Studio.NET 2005, I've created a new website ("New Web
Site...") and added global.asax to the root directory by right-clicking
on the top-level object and selecting "Add New Item... Global
Application Class". Here's what I see:

===============================================
<%@ Application Language="C#" %>

<script runat="server">
void Application_Start(object sender, EventArgs e)
{
// <...>
}

void Application_End(object sender, EventArgs e)
{
// <...>
}

void Application_Error(object sender, EventArgs e)
{
// <...>
}

void Session_Start(object sender, EventArgs e)
{
// <...>
}

void Session_End(object sender, EventArgs e)
{
// <...>
}
</script>
===============================================

When I mouse-over the method names (e.g. Application_Start), or when I
try to add new methods, I don't get any help from Intellisense. Am I
doing something wrong, or is this by design?
-= Tek Boy =-

Oct 16 '06 #1
1 1368
If you build your web project, the Intellisense will appear. I'm not sure
if this is a bug or an intended effect, it's just something I've gotten used
to.

Though, googling, I found an older blog entry that mentions dropping it from
your root directory into the App_Code directory.
http://community.ktsc.com/blogs/kesl.../01/24/81.aspx

Something to try.

-dl

--
David Longnecker
Web Developer
http://blog.tiredstudent.com
In Visual Studio.NET 2005, I've created a new website ("New Web
Site...") and added global.asax to the root directory by
right-clicking on the top-level object and selecting "Add New Item...
Global Application Class". Here's what I see:

===============================================
<%@ Application Language="C#" %>
<script runat="server">
void Application_Start(object sender, EventArgs e)
{
// <...>
}
void Application_End(object sender, EventArgs e)
{
// <...>
}
void Application_Error(object sender, EventArgs e)
{
// <...>
}
void Session_Start(object sender, EventArgs e)
{
// <...>
}
void Session_End(object sender, EventArgs e)
{
// <...>
}
</script>
===============================================

When I mouse-over the method names (e.g. Application_Start), or when I
try to add new methods, I don't get any help from Intellisense. Am I
doing something wrong, or is this by design?

-= Tek Boy =-

Oct 16 '06 #2

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

Similar topics

5
by: Mike Owen | last post by:
Hi, I have just used the import Wizard to import a VS 2003 app to VS 2005. I have a lot of work to do to enable it to compile successfully with all the errors and warnings it gave me, but as a...
5
by: Chris | last post by:
Hi, When creating an ASP.NET project in VisualStudio 2005 : where have web.config, global.asax, ... gone ? as well the declaration of the datamembers in the WebForm1-class ? where is the...
4
by: John A Grandy | last post by:
I installed VS05 RC , created a new Web Site , but I do not see Global.asax , and I do not see Global.asax.cs in the App_Code dir ......
1
by: Blasting Cap | last post by:
I had a copy of a project that was working in Visual Studio 2003 and Framework 1.1. After a computer crash, I was given VS 2005 and am having more than a little difficulty getting things to open...
5
by: Nathan Sokalski | last post by:
I recently upgraded from Visual Studio .NET 2003 to Visual Studio .NET 2005. Visual Studio .NET 2005 does not create the Global.asax files that Visual Studio .NET 2003 did, which I used for...
29
by: Mark Rae | last post by:
http://msdn.microsoft.com:80/vstudio/support/vs2005sp1/default.aspx 1) This is big - nearly 500Mb 2) If you have WAP installed, you must uninstall it first - WDP doesn't need to be uninstalled...
4
by: Al Santino | last post by:
Hello, I've created a simple C# web services project using Visual Studio 2005. My service compiles and runs correctly when called by remote clients. I'm able to step through the service in the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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...

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.