question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GetContext(siteURL) method need 1-4 seconds, it is too slow

See original GitHub issue

Hi, I use the PnpFramework 1.0.0 version, it run in .net core 3.1 some code below. AuthenticationManager authMgr = new AuthenticationManager("***", userName,password); try { using (var ctx = authMgr.GetContext(siteURL)) { //do something } } I debug the code, the authMgr.GetContext will consume 1-3 seconds every time. Is there some ways to optimizate the performance of GetContext? Thanks for any help.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Tony518commented, Jan 22, 2021

Ok, thanks very much. it did help me.

0reactions
kongmengfeicommented, Oct 19, 2021

oh! can you explain it more? i meet the same question!!! should I make authmanager sington? can you show a demo?

thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

[SOLVED] Loading Hanging on getContext - Help & Support
Hi, we're testing our project and seem to be having an intermittent issue when loading builds. Often we end up with a long...
Read more >
Spring Web MVC huge performance issues when ...
Now everything works fine and runs smooth except for this simple GET page that takes 2 seconds and sometimes more to load on...
Read more >
Huge performance issue due to vSync (option that can't be ...
When I am in fullscreen (4K external screen), I have huge performance issues, the framerate is very low. Here is what I see...
Read more >
14. Integrations
The HttpServletRequest.login(String,String) method can be used to authenticate ... the URL /admin will require the authenticated user to be an admin user.
Read more >
WebView | Android Developers
Build apps that give your users seamless experiences from phones to tablets, watches, and more. ... Learn to build for your use case...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found