Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:629052
More Search Options
RSS Available
Matching Posts
Re: Profile object not available in Session_Start
Your first suggestion is precisely what I did (putting stuff in the Session object which is what I wanted to do in the first place). I now test if the stuff is in the session object. Sometimes though the session object is null in the eventhandler, so I have to test for that first. Your second suggestion sounds interesting. I'll pursue that if I get performance problems. To coin a phrase of old Roman Cicero: I still believe the profile object should be available in Session_Start (any representatiives
Posted to
State Management
(Forum)
by
Birger Niss
on 5/17/2006
Re: Profile object not available in Session_Start
Thanks a lot for the tip, Kevin! I've now placed my code in Application_AcquireRequestState, where the Profile object is available. I'm not very happy with the solution though, as the AcquireRequestState event is fired very often! It's therefore important to get out of Application_AcquireRequestState as soon as possible. I still feel that it's odd that the Profile object is not available during Session_Start - all the other contexts seem in place - including the Request context! Best regards Birger
Posted to
State Management
(Forum)
by
Birger Niss
on 5/17/2006
Profile object not available in Session_Start
Hi All, I would really like to access the Profile object in Session_Start in global.asax to handle personalization data, but alas - the Profile object is null. Referring to HttpContext.Current.Profile gives the same result. Not even in Application_BeginRequest can I get hold of the Profile. Any suggestions would be highly appreciated! Best regards Birger
Posted to
State Management
(Forum)
by
Birger Niss
on 5/16/2006
Re: "The base class includes the field 'WebUserControl1', but its type (common_WebUserControl) is not compatible with the type of control (ASP.common_webusercontrol_ascx)"
Hi everyone, I have precisely the same problem provided that I request the compiled application to be updatable (-u switch on aspnet_compiler). Without the switch, the problem disappears. Best regards Birger
Posted to
Migrating from ASP.NET 1.x to ASP.NET 2.0
(Forum)
by
Birger Niss
on 5/8/2006
Re: Slow loading of Web projects in Visual Studio 2005 RC
Additional info: Placing the new fast-loading web project under source control (as the original slow project) made it just as slow as the original. The other non-web projects, that load very fast are however also under source control, so sourcesafe in itself is not the explanation. So the combination of web project and sourcesafe??? Best regards Birger
Posted to
Visual Studio 2005
(Forum)
by
Birger Niss
on 10/20/2005
Re: Slow loading of Web projects in Visual Studio 2005 RC
Hi Scott, Strange new info coming up: I copied all files from the slow-loading project to another location and created by hand in the iis-manager a new webapplication pointing to the new location. Then I opened this existing website in Visual Studio 2005 RC and added two Server Control projects to the new solution (the same as in the old solution). The good news is that this new solution now opens in a mere 8 cpu-seconds which is highly satisfactory! The bad - and very strange news - is that closing
Posted to
Visual Studio 2005
(Forum)
by
Birger Niss
on 10/19/2005
Re: Slow loading of Web projects in Visual Studio 2005 RC
The site - which is an IIS web - contains one page which is dynamically populated with a host of user controls and a few server controls. Furthermore the site consists of a few simple, fairly static test pages. Below the main site are three virtual directories used for storing configuration info and html-documents (the site is actually a web-based document archive, but only with very few documents at this stage). The CPU really spikes when the project is opened. Inetinfo takes 20-25% and devenv take
Posted to
Visual Studio 2005
(Forum)
by
Birger Niss
on 10/19/2005
Slow loading of Web projects in Visual Studio 2005 RC
Loading a web project in Visual Studio 2005, RC is extremely slow as opposed to loading other project types. On my 2.4 GHz PC with 2 GB RAM it takes 3 to 4 CPU minutes! Upgrading from Windows 2000 Server to Windows 2003 Server made no difference. During loading the CPU load is 100 % split between the devenv and the inetinfo processes. Any suggestions will be highly appreciated.
Posted to
Visual Studio 2005
(Forum)
by
Birger Niss
on 10/18/2005
Page 1 of 1 (8 items)
TechNet Edge:
Windows Firestarter Events (Part 3 of 5): IE8 - Browse the Web in Style!
WindowsClient:
The year ahead, 2010.
TechNet Edge:
FOPE Policies Deep Dive Interview
Silverlight:
Silverlight HVP Design Update
WindowsClient:
Windows Client Developer Roundup for 12/28/2009
WindowsClient:
Snoop with 64 bit support
ASP.NET:
jQuery Hide/Close Link
ASP.NET:
Merry Christmas
TechNet Edge:
FPE Customer Story
Silverlight:
Being a writer, and having an editor. A Short Rant.
Channel 9:
Channel 9 Live at PDC09: Dr Brian Brooks (3M)
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 13 of 13
Silverlight:
Information for Silverlight HVP Developers…
WindowsClient:
Custom Content Loaders in Silverlight 4.0
WindowsClient:
MVVM Links\Info
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 10:
Play the Bing Sherlock Holmes Game
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online