Click here to Skip to main content
14,603,017 members
   

C#

 
AnswerRe: index was out of bound of the array Pin
Swapnita Dessai19-Jul-20 0:47
MemberSwapnita Dessai19-Jul-20 0:47 
QuestionHow to map excel column value to custom defined object class Pin
Member 148591514-Jul-20 6:56
MemberMember 148591514-Jul-20 6:56 
AnswerRe: How to map excel column value to custom defined object class Pin
Mycroft Holmes4-Jul-20 13:53
professionalMycroft Holmes4-Jul-20 13:53 
GeneralRe: How to map excel column value to custom defined object class Pin
Member 148591515-Jul-20 3:41
MemberMember 148591515-Jul-20 3:41 
GeneralRe: How to map excel column value to custom defined object class Pin
Mycroft Holmes5-Jul-20 12:33
professionalMycroft Holmes5-Jul-20 12:33 
GeneralRe: How to map excel column value to custom defined object class Pin
Member 148591516-Jul-20 1:46
MemberMember 148591516-Jul-20 1:46 
AnswerRe: How to map excel column value to custom defined object class Pin
Mycroft Holmes6-Jul-20 12:49
professionalMycroft Holmes6-Jul-20 12:49 
QuestionHow to get the actual, GENERATED source code from my site? Pin
Member 139493623-Jul-20 10:05
MemberMember 139493623-Jul-20 10:05 
So, if I browse to my site and login, I get a page with my personal images.

For example, I'm on-site with a client, take pictures, login and upload them. I want to retrieve them automatically from my laptop. To do so automatically, I need to login, get the HTML, grab the links then use WebClient.DownloadFile. Problem is, I can't see the HTML without a browser.

SO, more specifically - When I login with a browser and right click and "view HTML" I don't see the images in the markup, just the header and the footer HTML. The ONLY way to see the source is to use the inspector tool by right clicking on one of the images. So this code is generated by the browser, but not part of the original request.

I wrote a C# app that will log into my page and it works. I can login via SSL and my credentials, navigate pages BUT ... I can't see all the HTML.

I added a WebView2 form to my project (new Edge browser plugin for VS) and I can see the page, but I STILL can't get the source to get the path to the image.

So is there a way to get at this generated HTML programatically in C#? I can launch the dev tools (inspector) window with
myWebView2Browser.CoreWebView2.OpenDevToolsWindow();
... but I need a way to view the ELEMENTS tab in that tool where the true HTML is.

I tried
myHTML = await myWebView2Browser.ExecuteScriptAsync("document.documentElement.outerHTML;");
... and it gets the HTML, but NOT the FINAL rendered HTML that I can see in the inspector.

Hope this makes sense, it's making me crazy being so close! Thanks in advance!
AnswerRe: How to get the actual, GENERATED source code from my site? Pin
Mycroft Holmes3-Jul-20 12:30
professionalMycroft Holmes3-Jul-20 12:30 
AnswerRe: How to get the actual, GENERATED source code from my site? Pin
F-ES Sitecore5-Jul-20 5:31
mveF-ES Sitecore5-Jul-20 5:31 
QuestionTask.Run.Wait Pin
Bernhard Hiller3-Jul-20 0:16
MemberBernhard Hiller3-Jul-20 0:16 
AnswerRe: Task.Run.Wait Pin
OriginalGriff3-Jul-20 0:49
mveOriginalGriff3-Jul-20 0:49 
GeneralRe: Task.Run.Wait Pin
Bernhard Hiller3-Jul-20 2:18
MemberBernhard Hiller3-Jul-20 2:18 
GeneralRe: Task.Run.Wait Pin
OriginalGriff3-Jul-20 4:00
mveOriginalGriff3-Jul-20 4:00 
AnswerRe: Task.Run.Wait Pin
jsc423-Jul-20 6:31
professionaljsc423-Jul-20 6:31 
QuestionStrange characters in JSON RPC server response Pin
pkfox1-Jul-20 3:37
professionalpkfox1-Jul-20 3:37 
AnswerRe: Strange characters in JSON RPC server response Pin
Luc Pattyn1-Jul-20 5:33
sitebuilderLuc Pattyn1-Jul-20 5:33 
GeneralRe: Strange characters in JSON RPC server response Pin
pkfox1-Jul-20 6:23
professionalpkfox1-Jul-20 6:23 
GeneralRe: Strange characters in JSON RPC server response Pin
pkfox1-Jul-20 6:46
professionalpkfox1-Jul-20 6:46 
GeneralRe: Strange characters in JSON RPC server response Pin
Luc Pattyn1-Jul-20 9:36
sitebuilderLuc Pattyn1-Jul-20 9:36 
GeneralRe: Strange characters in JSON RPC server response Pin
pkfox1-Jul-20 10:40
professionalpkfox1-Jul-20 10:40 
GeneralRe: Strange characters in JSON RPC server response Pin
Luc Pattyn5-Jul-20 3:27
sitebuilderLuc Pattyn5-Jul-20 3:27 
GeneralRe: Strange characters in JSON RPC server response Pin
pkfox5-Jul-20 5:45
professionalpkfox5-Jul-20 5:45 
GeneralRe: Strange characters in JSON RPC server response Pin
Luc Pattyn5-Jul-20 6:19
sitebuilderLuc Pattyn5-Jul-20 6:19 
GeneralRe: Strange characters in JSON RPC server response Pin
pkfox5-Jul-20 22:15
professionalpkfox5-Jul-20 22:15 

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.