Click here to Skip to main content
15,899,003 members
Home / Discussions / C#
   

C#

 
GeneralRe: Getting the volume names of disks Pin
Heath Stewart15-Feb-05 5:52
protectorHeath Stewart15-Feb-05 5:52 
GeneralSave and Get image data from database Pin
Sasuko13-Feb-05 5:41
Sasuko13-Feb-05 5:41 
GeneralRe: Save and Get image data from database Pin
Heath Stewart13-Feb-05 7:16
protectorHeath Stewart13-Feb-05 7:16 
GeneralRe: Save and Get image data from database Pin
Sasuko13-Feb-05 11:27
Sasuko13-Feb-05 11:27 
Generalwhidbey - where is Global.asax codebehind file Pin
abcxyz8213-Feb-05 2:35
abcxyz8213-Feb-05 2:35 
GeneralRe: whidbey - where is Global.asax codebehind file Pin
Heath Stewart13-Feb-05 7:15
protectorHeath Stewart13-Feb-05 7:15 
GeneralRe: whidbey - where is Global.asax codebehind file Pin
abcxyz8214-Feb-05 3:28
abcxyz8214-Feb-05 3:28 
GeneralRe: whidbey - where is Global.asax codebehind file Pin
Heath Stewart14-Feb-05 8:27
protectorHeath Stewart14-Feb-05 8:27 
You'll need to define a class that extends HttpApplication in your project and set the Inherts attribute to that fully-qualified class name:
<%@ Application Language="C#" Inherits="MySite.Application" %>
You can then code in a separate file, although I wonder why. Whidbey extends IntelliSense to server-side script and the class is still compiled when parsed. You can even pre-compile an entire site, now. See ASP.NET 2.0 Internals[^] for this and more information.

For a look at the differences between tradition "code-behind" and how it will work in Whidbey, see ASP.NET 2.0 Compilation Model Changes[^].

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Sustained Engineering
Microsoft

[My Articles] [My Blog]
GeneralRe: whidbey - where is Global.asax codebehind file Pin
abcxyz8214-Feb-05 21:40
abcxyz8214-Feb-05 21:40 
GeneralRe: whidbey - where is Global.asax codebehind file Pin
Heath Stewart15-Feb-05 5:57
protectorHeath Stewart15-Feb-05 5:57 
GeneralRe: whidbey - where is Global.asax codebehind file Pin
abcxyz8215-Feb-05 6:47
abcxyz8215-Feb-05 6:47 
GeneralRe: whidbey - where is Global.asax codebehind file Pin
abcxyz8215-Feb-05 6:55
abcxyz8215-Feb-05 6:55 
GeneralRe: whidbey - where is Global.asax codebehind file Pin
Heath Stewart15-Feb-05 7:28
protectorHeath Stewart15-Feb-05 7:28 
GeneralMSpaint TextBox.. Pin
jk chan12-Feb-05 20:43
jk chan12-Feb-05 20:43 
GeneralRe: MSpaint TextBox.. Pin
Heath Stewart13-Feb-05 7:09
protectorHeath Stewart13-Feb-05 7:09 
GeneralRe: MSpaint TextBox.. Pin
jk chan13-Feb-05 16:19
jk chan13-Feb-05 16:19 
GeneralRe: MSpaint TextBox.. Pin
Luis Alonso Ramos13-Feb-05 18:56
Luis Alonso Ramos13-Feb-05 18:56 
QuestionBest Practices? Pin
12-Feb-05 19:34
suss12-Feb-05 19:34 
AnswerRe: Best Practices? Pin
jlach0112-Feb-05 19:38
jlach0112-Feb-05 19:38 
AnswerRe: Best Practices? Pin
leppie12-Feb-05 22:02
leppie12-Feb-05 22:02 
AnswerRe: Best Practices? Pin
jlach0113-Feb-05 5:05
jlach0113-Feb-05 5:05 
GeneralRe: Best Practices? Pin
Heath Stewart13-Feb-05 7:00
protectorHeath Stewart13-Feb-05 7:00 
GeneralRe: Best Practices? Pin
jlach0113-Feb-05 7:07
jlach0113-Feb-05 7:07 
GeneralRe: Best Practices? Pin
Heath Stewart13-Feb-05 7:12
protectorHeath Stewart13-Feb-05 7:12 
GeneralRe: Best Practices? Pin
jlach0113-Feb-05 7:22
jlach0113-Feb-05 7:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.