Search found 15 matches

Go to advanced search

by TooTallTommyT
Fri Sep 14, 2018 4:25 pm
Forum: General Discussion and Other
Topic: Capture HttpRequestMessage data
Replies: 3
Views: 246

Re: Capture HttpRequestMessage data

Just found the:

Code: Select all

HtmlPage.Document.DocumentUri
...and the...

Code: Select all

HtmlPage.Document.QueryString
...with a trove of information!!!!

Yay!! :mrgreen:
by TooTallTommyT
Thu Sep 13, 2018 1:38 pm
Forum: General Discussion and Other
Topic: Load dll in domain and CreateInstance
Replies: 2
Views: 138

Re: Load dll in domain and CreateInstance

Hey Tater!! I appreciate the response. I was hoping that since both the "AppDomain.CurrentDomain.Load( )" and the "Activator.CreateInstanceFrom()" methods were available in my project that they had figured out a way to do it already. Since it takes a fair amount of time to load m...
by TooTallTommyT
Wed Sep 12, 2018 7:19 pm
Forum: General Discussion and Other
Topic: Load dll in domain and CreateInstance
Replies: 2
Views: 138

Load dll in domain and CreateInstance

If a .dll was compiled based on the CSHTML5 references, could a person theoretically do something like this? var byte[] asmBytes = GetBytesFromAssemblyFile(); var asm = AppDomain.CurrentDomain.Load( asmBytes ); var pluginType = ( IPluginInterface ) Activator.CreateInstanceFrom( asm.FullName, "N...
by TooTallTommyT
Wed Sep 12, 2018 5:05 pm
Forum: Extensions and Plugins for CSHTML5
Topic: jQuery.ajax Extension for CSHTML5
Replies: 6
Views: 3164

Re: jQuery.ajax Extension for CSHTML5

I found the way to compile the js without the simulator, and running it in the browser seems to work okay. At least, I am getting data back now, though I have yet to verify the contents. But, it's a step in the right direction.
by TooTallTommyT
Wed Sep 12, 2018 3:05 pm
Forum: Extensions and Plugins for CSHTML5
Topic: jQuery.ajax Extension for CSHTML5
Replies: 6
Views: 3164

Re: jQuery.ajax Extension for CSHTML5

I can never get passed the simulator, so it won’t build the js files, and consequently I never get a chance to run it in a browser.
by TooTallTommyT
Wed Sep 12, 2018 2:42 pm
Forum: Extensions and Plugins for CSHTML5
Topic: jQuery.ajax Extension for CSHTML5
Replies: 6
Views: 3164

Re: jQuery.ajax Extension for CSHTML5

I've tried modifying this extension to download various binary files: images, .obj fiiles, and other binary files. I've tried setting a responseType on the ajax call to 'arraybuffer', and to 'blob', and setting the Action to 'Action<byte[]>, but the method keeps erring out saying "CSHTML5.Types...
by TooTallTommyT
Tue Sep 11, 2018 10:29 am
Forum: General Discussion and Other
Topic: Capture HttpRequestMessage data
Replies: 3
Views: 246

Re: Capture HttpRequestMessage data

That turned out to be the way after all. My trouble was that I had set the localstorage while on one tab and tried retrieving it from the app while it was on another tab. So, I modified my Landing page ( as a proof of concept ) to add localstorage info, then redirect to the app. Since it was in the ...
by TooTallTommyT
Tue Sep 11, 2018 9:52 am
Forum: General Discussion and Other
Topic: Capture HttpRequestMessage data
Replies: 3
Views: 246

Re: Capture HttpRequestMessage data

After doing more research, it would appear that using 'localStorage' would be a great way to go, but I am having trouble getting it to work. I thought it would be as simple as: var user = Interop.ExecuteJavaScript( "localStorage.getItem('User')" ); var roles = Interop.ExecuteJavaScript( &q...
by TooTallTommyT
Tue Sep 11, 2018 9:06 am
Forum: General Discussion and Other
Topic: Capture HttpRequestMessage data
Replies: 3
Views: 246

Capture HttpRequestMessage data

Since my page is going to be launched from a website after user login, I need to be able to pass along credentials, headers, user info and other relevant data to the app. Is there a way to capture HttpRequestMessage data inside my app? Is this something I can pull out using javascript?
by TooTallTommyT
Sun Sep 09, 2018 5:07 pm
Forum: Technical Support
Topic: Type resolve error
Replies: 2
Views: 159

Re: Type resolve error

I am sending a basic project now.

Thanks,
T
by TooTallTommyT
Thu Sep 06, 2018 4:29 pm
Forum: Technical Support
Topic: Type resolve error
Replies: 2
Views: 159

Type resolve error

For some reason I cannot explain, my app is now throw an error: Could not find the name 'CriterionSystems' in the namespace '<CriterionSystems.Html5.Extensions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null Public Interface>' This is a referenced assembly. It had been working okay, but for s...
by TooTallTommyT
Thu Aug 30, 2018 7:02 am
Forum: Technical Support
Topic: [SOLVED] External ResourceDictionary not being accessible in web browser
Replies: 1
Views: 142

[SOLVED] External ResourceDictionary not being accessible in web browser

The JSIL is not able to Memoize my external ResourceDictionary. The reference works fine when building the app, and it shows fine in the emulator, but when I open the app in a browser it throws a "Memoized value is undefined" exception. When I trace it down, the attempt to memoize occurs i...
by TooTallTommyT
Wed Aug 29, 2018 11:29 am
Forum: General Discussion and Other
Topic: [SOLVED] Reference external ResourceDictionary
Replies: 3
Views: 282

Re: Reference external ResourceDictionary

That mostly did the trick.... I did have to add forward slash ( / ) preceding the assemblyname, but once done, it worked perfectly! Thanks! <ResourceDictionary Source=ASSEMBLYNAME;component/FOLDERNAME/FILENAME.xaml/> to: <ResourceDictionary Source= / ASSEMBLYNAME;component/FOLDERNAME/FILENAME.xaml/>
by TooTallTommyT
Tue Aug 28, 2018 7:49 am
Forum: General Discussion and Other
Topic: [SOLVED] Reference external ResourceDictionary
Replies: 3
Views: 282

[SOLVED] Reference external ResourceDictionary

I have a ResourceDictionary that I've moved to an external assembly, so that I can use it across all my apps, but I cannot seem to find the right approach to make it visible/usable in my projects. I've tried a variety of methods of setting Source attribute to no avail. Any suggestions?

Go to advanced search