Click here to Skip to main content
15,903,175 members
Home / Discussions / C#
   

C#

 
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 
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 
Thanks again Heath,

well "MySite" is the dummy website I have created and I dont see the namespace keyword in newly created website - "MySite"...What I have is one default page with declaration like "public partial class" enclosed by no namespace declaration thats why I have tried applying "Application" and "MySite.Application"...

Its great to hear security stuff and vulnerability of .NET from ildasm. Anyways let me cleary stat the problem.

problem:
Presently I have full fledged portal based web application running up and fine in VS2003. There I have my global.asax.cs which does some processing in global events and sets few variables of this class to name, "ConnectionString", "hostpath" and many more, so can easily be accessed in all pages by Classname.VariableName (global.ConnectionString)...And this application also does initliazation of 2-3 classes in global events..

So, I need to have 2 things in inline scripting i.e. writing all code in global.asax),

1) Setting public variables as I said for Connectionstring, so I don need to change code in all my pages which currently references them with "global.Variable" way

2) Inititalizing other classes from global events..

I think main problem is "Codebehind" attribute which is taken away in Whidbey, And I think what you are saying could be an workaround to my problem. If it works then my last question would be "Is it true that you cant have codebehind feature with global.asax which's being considered a great boon to ASP.NET against ASP?"

Look forward to hearing from you.

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 
GeneralRe: Best Practices? Pin
Heath Stewart13-Feb-05 21:37
protectorHeath Stewart13-Feb-05 21:37 
QuestionHow to assign an icon to a file format Pin
oohungoo12-Feb-05 16:49
oohungoo12-Feb-05 16:49 
AnswerRe: How to assign an icon to a file format Pin
Heath Stewart13-Feb-05 7:05
protectorHeath Stewart13-Feb-05 7:05 

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.