We have an ASP.NET 2.0 applicaion [C# and oracle 10g]. We are facing the issue with the site slowness. This happens in a random manner. How can we check which methods might be causing this issue. Like : Database connection, Insertion in database or the actual code.
Can we set up some logs hence we can check the time consumed by each method on a page? Some thing like this
#1. Insertion in db method called : 11.45
#2. Insertion in db over called: 11:46
#3. Logic for ...caled: 11:55
This way we can find which peace is actually causing the issue. Please suggest.
var temp = "hi.. testing";
We have an existing web app 2.0 using AD right now for authentication. The app is used at the moment as a intranet app but now we want users from the net to use it.
What is the best and easiest way to change our app to allow for this?
From the looks of my reading online so far you can't use both forms and windows authentication, correct?
Since we would be moving the app to our DMZ I guess forms authentication would be the ticket but I am sure I will be asked if I could code a way that intranet users won't have to sign in
they could just be recognized. I'm thinking that after they sign in once I could encrypt a cookie on there machine to have them gain access. What do you think of this possibility? Please recommend other solutions.
One more thing to note when you mention your ideas, we already have a users profile setup in our database. So if membership provider pops up then I would have to extend one. Please mention which one you would use: SqlMembershipProvider, ActiveDirectoryMembershipProvider etc.