Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "cmthomps"

Thanks @ismcagdas,

Can I send you my source code to take a look at? I've set-up the cors stuff. It's literally driving me crazy. I have a test project that I am trying to use as a proof of concept. What is the best way to do that?

'm running it locally through the visual studio. In the output window, I see the following. Not sure why the user is "null".

Microsoft.AspNetCore.Hosting.Internal.WebHost:Information: Request starting HTTP/1.1 GET http://localhost:44077/Home/Secure Application Insights Telemetry (unconfigured): {"name":"Microsoft.ApplicationInsights.Dev.Message","time":"2018-09-24T12:46:38.6354277Z","tags":{"ai.operation.parentId":"|1cf896f5-44eb375068b6ca69.","ai.operation.name":"GET /Home/Secure","ai.operation.id":"1cf896f5-44eb375068b6ca69","ai.internal.nodeName":"CTHOMPSON0C3C","ai.internal.sdkVersion":"aspnet5c:2.1.1","ai.application.ver":"1.0.0.0","ai.location.ip":"127.0.0.1","ai.cloud.roleInstance":"CTHOMPSON0C3C"},"data":{"baseType":"MessageData","baseData":{"ver":2,"message":"Request starting HTTP/1.1 GET http://localhost:44077/Home/Secure","severityLevel":"Information","properties":{"AspNetCoreEnvironment":"Production","DeveloperMode":"true","Method":"GET","Path":"/Home/Secure","Protocol":"HTTP/1.1","Scheme":"http","Host":"localhost:44077","CategoryName":"Microsoft.AspNetCore.Hosting.Internal.WebHost"}}}} Microsoft.AspNetCore.Authorization.DefaultAuthorizationService:Information: Authorization failed for user: (null).

I didn't work for me, but I honestly haven't had a ton of time to keep researching. The problem that I've got is that I want to add an ActionFilter that will use eTags so that clients will cache some API results and those components have dependencies on the MVC dlls. As an example, this is one that I was going to try.

https://gist.github.com/madskristensen/36357b1df9ddbfd123162cd4201124c4

Is there anything built into ABP that would accomplish the same thing? Any advice?

Thanks, Craig

Thanks!

I got it to work. My issue was that the walkthrough instructions were a little confusing. [https://aspnetzero.com/Documents/Development-Guide-Xamarin])

The walkthrough says that "You can use either Web.Mvc or Web.Host to feed the Xamarin app." My issue was that the Web.Mvc app is configured to run on 62114 (host is 22742). I thought I'd be smart and switch the DefaultHostUrl to use 62114 as well and I'd be set. That worked for the host but for the tenants it makes a call back to the server to get the url for the tenant and comes back with port 22742. Hence my error.

Long story short. To avoid this, leave all the ports alone but run from the Host directory and not the Mvc directory.

What ultimately worked for me was to add this to my application.exe.config file.

<runtime>
    <enforceFIPSPolicy enabled="false" />
   </runtime>

It seems like changing MD5 to another algorithm should be considered for a future release. Here is some documentation from Microsoft on using a FIPS compliant algorithm.

[https://technet.microsoft.com/en-us/library/hh914094(v=sc.12).aspx])

That fixed it for me. Thank you very much.

It's clean, no errors are thrown. Which makes me think it's some sort of css issue.

@ismcagdas any additional ideas on my navigation issue? I've attached a video of what I'm seeing. You'll see that I'm hovering over the Users link and clicking but the browser does not navigate.

[https://youtu.be/hdbfkvepGbQ])

Just to clarify, it's the sub-items under administration that are not working for me.

Showing 31 to 40 of 59 entries