TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Robson Amaral
NA
132
17.3k
Performance problem - Critical points in the system.
Jul 27 2018 12:24 PM
I discovered that in the visual studio tool, has Analyze, which shows the critical points in the code, and it was verified that the time consumption is in those queries referring to the dll of the code below, how could I improve that part in my code?
Name
| + SDPJView.Global.Application_BeginRequest(object,class System.EventArgs)
Inclusive Allocations
79.667
Exclusive Allocations
0
Inclusive Bytes
4.262.010
Exclusive Bytes
0
Inclusive Allocations %
5,96%
code:
These are my 3 critical points.
protected
void
Application_BeginRequest(
object
sender, EventArgs e)
{
WebSessionContext.Bind(NhibernateHelper.SessionFactory.OpenSession());
}
public
static
ISessionFactory SessionFactory
{
get
{
return
Instance.sessionFactory; }
}
class
CreateSessionManager
{
internal
static
readonly
NhibernateHelper createsessionmanager =
new
NhibernateHelper();
}
Is there a way to improve?
Reply
Answers (
1
)
Error detected by Application Firewall. Plz contact support,
Set 4 DIV OR PANEL Elements in Center In html or css