Base solution for your next web application

Activities of "godrunner"

Greetings! I was a developer for many years and just getting back into it, so I have some catching up to do, so do forgive me if this is something obvious I am missing.

I have been using Visual Studio 15.2 with ASP.Net Zero Core/MVC/Jquery and everything was going well. I upgraded to VS 15.3 and now I get several "Hangfire.Core" errors such as this when I compile. So, I guess there is obviously a dependency change/conflict. I need a bit more practice at resolving something like this. My guess is VS 15.3 updated some things that would have been best left alone for now.

That is one thing that makes me nervous seeing how everything now generally speaking with web applications is SO dependent on so many other technologies, it makes on wonder how easy it would be to break a production application, or should I say, how hard it would be to end up with an unstable app that is not easily upgradeable.

Greg

Warning NU1603 Hangfire.Core 1.6.14 depends on Newtonsoft.Json (>= 5.0.0) but Newtonsoft.Json 5.0.0 was not found. An approximate best match of Newtonsoft.Json 5.0.1 was resolved. Sys7.CharityCore.Web.Core D:...\4.3.1...\src\Sys7.CharityCore.Web.Core\Sys7.CharityCore.Web.Core.csproj 1

BTW, that same thing happens with any version I have of .NetZero.

Thank you. That makes sense.

Are you refering to actual .JSON file that is missing or the entire package? It seems the package is installed, however I do not see a newtonsoft.json file anywhere or an example of what should actually be in one on the net. If this is what is needed, could someone copy and paste the contents here please? Thanks!

Hey, thanks ervingayle. I will give that a shot!!!

I am evaluating which technologies to use for a new project and I am leaning towards the angular 2 version, HOWEVER, now we have ASP.NET Core 2 and Razor Pages. I assume there be a version implementing all of this, and if so what would be an ETA for that? So many options.

Thanks. Great work you guys!

I must be missing something. I am confused. There is an Angular version of the public website? I have not seen that....

Sounds interesting! I sure do wish there was a better way to upgrade to a new release somehow going forward. That is my vote at least!

Ok, can't wait to see it!

Using Angular-CLI on Azure version 4.5.1 All it is the basic app with the phonebook implemented. I want to do a proof of concept of everything before I start building the main app, so hosting successfully with a real domain name on Azure is the next step for us. I have the API backend and the angular client app on Azure. (did not bother with the public site for now.)

Everything works very well in testing locally and on Azure, EXCEPT, there is a problem with multitenancy / domain / tenancy logins.

  • If I create a tenant called "test" I can impersonate that tenant from the host account and it appears that everything works as it should from test.mysite.com
  • If go to test.mysite.com I cannot login with the test user, however, I CAN login right there with the host admin account. (which is strange isn’t it?) The test user is activated.
  • I can go to fakesite.mysite.com which has never been created and I can login with the main host password.
  • If I login from these different hostnames, I get the full host account with tenants.

I have checked and double checked. Any ideas??

Thanks!!

Thanks @XugoWebTeam. From what you are saying it sounds like a known issue.

@smcagdas, if this is so, is it fixed in 4.6.1?

From .core project I have: public const bool MultiTenancyEnabled = true;

From appsettings.json in .host

"ServerRootAddress": "http://api.azurewebsites.net", "ClientRootAddress": "http://mysite.com",

"CorsOrigins": "http://mysite.com"

From appconfig.json in Angular project

"remoteServiceBaseUrl": "http://api.azurewebsites.net", "appBaseUrl": "http://{TENANCY_NAME}.mysite.com"

Thanks!

Showing 1 to 10 of 46 entries