Base solution for your next web application

Activities of "naurinrr"

I was able to use dotnet ef migrations script --idempotent --output "script.sql" to generate a script to run on my database. The problem now is that several of the jquery libraries are not working after publishing!!

See errors [https://1drv.ms/u/s!ArBRDfNptp88hh51SqbXzkua_Zte])

The link to the live site is <a class="postlink" href="https://progentestwebmvc20180824015653.azurewebsites.net">https://progentestwebmvc20180824015653. ... bsites.net</a>

You can login to default tenancy using username admin and default password: 123qwe. I have not changed that yet.

Thanks in advance.

Hmm what is the recommended way to create the database in cloud? I created a db and then imported data from a local db which was created by the Migrator project.

Thanks for the hint! I am just posting the solution here in case anyone needs it. It is the style sheet reference in _Layout.cshtml under TenantRegistration that is the problem.

<link rel="stylesheet" href="@ApplicationPath/metronic/dist/html/@theme/assets/demo/@theme/base/style.bundle@(CultureHelper.IsRtl ? ".rtl":"").css" asp-append-version="true" />

I fixed it by trimming the slash at the end of

@ApplicationPath

The final code looks like below,

<link rel="stylesheet" href="@ApplicationPath.TrimEnd('/')/metronic/dist/html/@theme/assets/demo/@theme/base/style.bundle@(CultureHelper.IsRtl ? ".rtl":"").css" asp-append-version="true" />

You can see the screehshot here [https://1drv.ms/u/s!AipZ--KcXtD_smU7xwpjUg3l3qV0])

It is getting response "failed" because it is going to a web address. Why is not looking under localhost? The metronic styles are loading correctly for other pages like dashboard and such so what is different about this one?

<a class="postlink" href="http://metronic/dist/html/default/assets/demo/default/base/style.bundle.css?v=I6VCJPzgx8kEu1QQkEPCpevlxGZKqy9bnzUxzUu6apg&v=I6VCJPzgx8kEu1QQkEPCpevlxGZKqy9bnzUxzUu6apg">http://metronic/dist/html/default/asset ... zUxzUu6apg</a>

You can view the image here,

[https://1drv.ms/u/s!AipZ--KcXtD_smTx0T4v7b6kMv3-])

Not related to Tenant Modal but still front end issue so asking here, the metronic styles are not loading for selecting an edition. It gives failed to load resource error. I have checked that the styles are present under the path it is looking so I am not sure what is happening.

<link rel="stylesheet" href="//metronic/dist/html/default/assets/demo/default/base/style.bundle.css?v=I6VCJPzgx8kEu1QQkEPCpevlxGZKqy9bnzUxzUu6apg&amp;v=I6VCJPzgx8kEu1QQkEPCpevlxGZKqy9bnzUxzUu6apg" />

Thanks so much! I feel like an idiot of course.

Showing 11 to 17 of 17 entries