Base solution for your next web application

Activities of "pkouame"

Hi - a very basic question (but this is the first time we deploy a fully multi-tenant solution in azure production)

So we have tenants A, B, C (and host) in production and we want to publish client links to bypass the standard (multi-tenant) login (so they can't change tenants)

Do we configure sub-domains for each ? a.xyz.com b.xyz.com c.xyz.com Does each point to an appBaseUrl based login link with a tenant id as a parameter?

Does that seem about right? Will the appBaseUrl be sufficiently hidden (within the solution) so they can't "figure out" the main url and attempt to change tenants? How do the new tenant resolvers factor into this?

We need some urgent guidance on how to set this up correctly in Azure. Any concrete example and/or documentation is greatly appreciated

Thank you

framework : zero 12.1

Hi we are implementing a survey like function but it needs to support known and anonymous users. The feature in our solution should email an anonymous encrypted link to "other" users. This link should allow limited access to our solution (e.g. only the survey page) and expire after a system limit.

Does multi tenant zero support this configuration? Can you give us guidance on how to approach this.

Regards, github:Spiramira

Hi - sample application modules like you are starting to provide for abp.io have always been sorely needed for Zero commercial customers.

Can you craft a Zero compatible version (latest 8.8.x) for all of us old zero customers? If not, should adapting the CRM module to zero ourselves be relatively straightforward? what are some gotchas?

I have just applied for my free abp.io commerc license.

Has anyone successfully deployed an aspnet-core solution to an Azure web app from VS Code macOS with the Azure extension?

I am strictly on VS Code macOS for over a year with this angular/aspnet-core solution. Deploying the angular component (to Azure) is as easy as FTPing the zipped dist folder, but the core side does not deploy well from VS Code with the official Azure extension. No matter what I try, it deploys the published project but the server side stalls with an ugly 502.5 HTTP Error instead of the lovely swagger UI. My solution has been to publish from Visual Studio (Enterprise in Windows) - pretty smooth there...

Just thought I would ask before delving into the gory details. I have lived through all of the angular/aspnet-core macOS growing pains and would like to totally eliminate Windows from my workflow.

By the way, my web app setup is pretty vanilla standard as descibed in the Step-by-Step here

Hi - I'm getting a repository disabled message from github. (for all private zero repositories)

Just a heads up.

Spiramira

Hi I'm attempting to use the latest Migrator to create some new MySQL migrations on macOS Sierra. I have a plain vanilla (just downloaded yesterday) project core+angular2+netcore Mac project. Have all the necessary MySQL dependencies, connection string and DbContextConfigurer wired. Builds fine. But... I get the following when attempting a run after cleaning all of my EntityFramework migrations:

2017-04-27 15:08:59 | System.InvalidOperationException: The entity type 'EditionFeatureSetting' is part of a hierarchy, but does not have a discriminator property configured.
   at Microsoft.EntityFrameworkCore.Internal.ModelValidator.ShowError(String message)
   at Microsoft.EntityFrameworkCore.Internal.RelationalModelValidator.ValidateDiscriminator(IEntityType entityType)
   at Microsoft.EntityFrameworkCore.Internal.RelationalModelValidator.ValidateDiscriminatorValues(IEntityType rootEntityType)
   at Microsoft.EntityFrameworkCore.Internal.RelationalModelValidator.ValidateInheritanceMapping(IModel model)
   at Microsoft.EntityFrameworkCore.Internal.RelationalModelValidator.Validate(IModel model)
   at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.CreateModel(DbContext context, IConventionSetBuilder conventionSetBuilder, IModelValidator validator)
   at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
   at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel()
   at Microsoft.EntityFrameworkCore.Internal.LazyRef`1.get_Value()

...fault from AbpZeroMigrator.CreateOrMigrate(AbpTenantBase tenant, Action seedAction)

Looks like its expecting someone to have a discriminator property defined.

Has anyone experienced this before? I haven't tried the out-of-the-box SqlServer provider. But I'm assuming it works. Maybe not on macOS :-(

Also, from my research the MySQL dataprovider may have some issues with this see [https://www.bountysource.com/issues/42692842-the-entity-type-is-part-of-a-hierarchy-but-with-no-discriminator-property-configured])

Lastly, what is the exact purpose of the ...ModelSnapshotClass in the Migrator project?

Regards, P

Hi -

Excited about your new Ang+Core support! Thanks.

So I downloaded some new projects a few hours ago and decided to bleeding edge test them on Mac Sierra with latest and greatest npm+node+yarn+ng+dotnet+typescript+vscode. So far so good. I did run up against a few simple issues (as a heads up):

ng server only recognizes the --live-reload-client nuget package incompatibilities for netcoreapi1.1 like Microsoft.Composition vs. System.Composition etc...

I solved both, but noticed you (almost concurrently) did the same in the github template. Hence, my issue about long term maintenace.

We have templated projects that are hard to sync with your template development and hot fixes. I can obviously fork/sync and monitor your template repo and manually update our projects. Is there a better (painless) way you recommend? Diff tools are interesting but since we have templated namespaces....

Regards, P

Hi

After deploying the PhoneBook sample to Azure, I get many internal 500 errors and some functions such as modals for Create Person no longer work. The app doesn't crash and no exceptions are thrown. In fact one can still navigate around. I just got a little suspicious when tapping the button to create a new record did nothing. So I dove into the logs and discovered these repeating errors. In fact I think the whole web api side is down given the references to signalR. Note that it all runs fine locally using IIS Express, so I'm pretty sure this has something to do with the deployment to Azure.

Here's a sample of the Chrome developer console :

Resource interpreted as Stylesheet but transferred with MIME type text/html: "http://harmonyweb20161030022755.azurewebsites.net/Error?statusCode=404".
Resource interpreted as Stylesheet but transferred with MIME type text/html: "http://harmonyweb20161030022755.azurewebsites.net/Error?statusCode=404".
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
GET http://harmonyweb20161030022755.azurewebsites.net/signalr/negotiate?clientP…22abpcommonhub%22%7D%2C%7B%22name%22%3A%22chathub%22%7D%5D&_=1478055150308 500 (Internal Server Error)
GET http://harmonyweb20161030022755.azurewebsites.net/signalr/negotiate?clientP…22abpcommonhub%22%7D%2C%7B%22name%22%3A%22chathub%22%7D%5D&_=1478055150309 500 (Internal Server Error)
GET http://harmonyweb20161030022755.azurewebsites.net/signalr/negotiate?clientP…22abpcommonhub%22%7D%2C%7B%22name%22%3A%22chathub%22%7D%5D&_=1478055150310 500 (Internal Server Error)
GET http://harmonyweb20161030022755.azurewebsites.net/signalr/negotiate?clientP…22abpcommonhub%22%7D%2C%7B%22name%22%3A%22chathub%22%7D%5D&_=1478055150311 500 (Internal Server Error)
GET http://harmonyweb20161030022755.azurewebsites.net/signalr/negotiate?clientP…22abpcommonhub%22%7D%2C%7B%22name%22%3A%22chathub%22%7D%5D&_=1478055150312 500 (Internal Server Error)
GET http://harmonyweb20161030022755.azurewebsites.net/signalr/negotiate?clientP…22abpcommonhub%22%7D%2C%7B%22name%22%3A%22chathub%22%7D%5D&_=1478055150313 500 (Internal Server Error)
...
... repeated
...

The following is an excerpt of the Azure Application Server log:

2016-11-02T02:45:37  Welcome, you are now connected to log-streaming service.
2016-11-02 02:45:03 HARMONYWEB20161030022755 GET /signalr/negotiate clientProtocol=1.5&connectionData=%5B%7B%22name%22%3A%22abpcommonhub%22%7D%2C%7B%22name%22%3A%22chathub%22%7D%5D&_=1478054103265&X-ARR-LOG-ID=c0142ec0-ef71-4ade-a526-1bf3925a6b8c 80 - 72.83.26.182 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/54.0.2840.71+Safari/537.36 .AspNetCore.Antiforgery.w5W7x28NAIs=CfDJ8Be1BwYjNQtCiYFFbuqOLprlhQrNLWoUIMfh78fGnSa4ZLDjYDwd-JiWkuZ8gdbJLXR5Iek8aZ_bW6J31485C3V2qvp9kmMbPY_cO7RZj2yutx0e4pfPsY-ylvbc_5fp7u9no_C-8fcWTh1pzxDM8cA;+ARRAffinity=24b7b35440fc494e78822dd855542086bd785855279d05c8ccecfde1728d7fe1;+.AspNetCore.HarmonyAuthSchema=CfDJ8Be1BwYjNQtCiYFFbuqOLpruHjI2H7rY6_luc0Ugi-lrQQGpKCRsmJJM9-UdhgDxB9AM0ooOgj1euPS3MPmPFHW7BKCxfbOOBXNBqvmOJ-pOHw8q3CajXRekQtkcL7qkoMaaF0tQLiNQxSGq3BRQLfxau9M49kxadLU1bWQ8Vo7su5Zpkj5JzMPYbLnVdjEGaLimxTued6CGqqSuXaeK55w8lmRlV6MG2s9tQCkIUWBuEkJR19vgfZ9cQzH0V-ITGF570MGbjnllmWgceQ8nfgMiPF1fIBirRGWpJjb3PakcpKXphWcxnmgUiOi9Rg74fjGixGoMsRrYeN53FzyeLc7ZVDuUM7Z2Ghc-gEzFUfOwz1BjzcLIt8kkoeofl6jrC5ff8hKTJKlf1dS5_09h-JJNUDN6vgf15lLm-RLZ5PF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jD-eSumBaA3sRkpWLDr_2fpKdXTwiQa0zI48hWMPFxBcpc5A73NOZ5npHuwWQJbrlUOQ_j8Mh6tAGouh-7OgZ2FeWOTfp7sisUcM1L61z8nizNMoG-qH8ENPNXvt16goae2FCfgptyjshB60g http://harmonyweb20161030022755.azurewebsites.net/App/PhoneBook harmonyweb20161030022755.azurewebsites.net 500 0 0 3137 3289 62
2016-11-02 02:45:08 HARMONYWEB20161030022755 GET /signalr/negotiate clientProtocol=1.5&connectionData=%5B%7B%22name%22%3A%22abpcommonhub%22%7D%2C%7B%22name%22%3A%22chathub%22%7D%5D&_=1478054103266&X-ARR-LOG-ID=e4dffd6d-3cba-4948-8c34-389b79279e57 80 - 72.83.26.182 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/54.0.2840.71+Safari/537.36 .AspNetCore.Antiforgery.w5W7x28NAIs=CfDJ8Be1BwYjNQtCiYFFbuqOLprlhQrNLWoUIMfh78fGnSa4ZLDjYDwd-JiWkuZ8gdbJLXR5Iek8aZ_bW6J31485C3V2qvp9kmMbPY_cO7RZj2yutx0e4pfPsY-ylvbc_5fp7u9no_C-8fcWTh1pzxDM8cA;+ARRAffinity=24b7b35440fc494e78822dd855542086bd785855279d05c8ccecfde1728d7fe1;+.AspNetCore.HarmonyAuthSchema=CfDJ8Be1BwYjNQtCiYFFbuqOLpruHjI2H7rY6_luc0Ugi-lrQQGpKCRsmJJM9-UdhgDxB9AM0ooOgj1euPS3MPmPFHW7BKCxfbOOBXNBqvmOJ-pOHw8q3CajXRekQtkcL7qkoMaaF0tQLiNQxSGq3BRQLfxau9M49kxadLU1bWQ8Vo7su5Zpkj5JzMPYbLnVdjEGaLimxTued6CGqqSuXaeK55w8lmRlV6MG2s9tQCkIUWBuEkJR19vgfZ9cQzH0V-ITGF570MGbjnllmWgceQ8nfgMiPF1fIBirRGWpJjb3PakcpKXphWcxnmgUiOi9Rg74fjGixGoMsRrYeN53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0Rtv999Kc_FLH9TJX9LWEvn_GQ;+XSRF-TOKEN=CfDJ8Be1BwYjNQtCiYFFbuqOLppjRrgfHPhQArzfX7DTS7V7czQ6yjD-eSumBaA3sRkpWLDr_2fpKdXTwiQa0zI48hWMPFxBcpc5A73NOZ5npHuwWQJbrlUOQ_j8Mh6tAGouh-7OgZ2FeWOTfp7sisUcM1L61z8nizNMoG-qH8ENPNXvt16goae2FCfgptyjshB60g http://harmonyweb20161030022755.azurewebsites.net/App/PhoneBook harmonyweb20161030022755.azurewebsites.net 500 0 0 3143 3289 46

...
... repeated
...

There are obviously differences between the local stack (iisexpress sqlserver etc...) and the Azure stack, but the aspnetzero features state compatibility with Azure and AWS.

I'm still delving into the logs, but am posting this now just in case someone has encountered similar problems before.

Can anyone help?

EDIT: Just attached (see below) the Azure webserver log, which points to signalr\negotiate in aspnetcoremodule...strange that this page isn't displayed.

Thanks, P.

(why can't I attach html and txt files on this forum?)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head> 
<title>IIS Detailed Error - 500.0 - Internal Server Error</title> 
<style type="text/css"> 
 
</style> 
 
</head> 
<body> 
<div id="content"> 
<div class="content-container"> 
<h3>HTTP Error 500.0 - Internal Server Error</h3> 
<h4>The page cannot be displayed because an internal server error has occurred.</h4> 
</div> 
<div class="content-container"> 
<fieldset><h4>Most likely causes:</h4> 
<ul> 	<li>IIS received the request; however, an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred.</li> 	<li>IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly.</li> 	<li>IIS was not able to process configuration for the Web site or application.</li> 	<li>The authenticated user does not have permission to use this DLL.</li> 	<li>The request is mapped to a managed handler but the .NET Extensibility Feature is not installed.</li> </ul> 
</fieldset> 
</div> 
<div class="content-container"> 
<fieldset><h4>Things you can try:</h4> 
<ul> 	<li>Ensure that the NTFS permissions for the web.config file are correct and allow access to the Web server's machine account.</li> 	<li>Check the event logs to see if any additional information was logged.</li> 	<li>Verify the permissions for the DLL.</li> 	<li>Install the .NET Extensibility feature if the request is mapped to a managed handler.</li> 	<li>Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, click <a href="http://go.microsoft.com/fwlink/?LinkID=66439">here</a>. </li> </ul> 
</fieldset> 
</div> 
 
<div class="content-container"> 
<fieldset><h4>Detailed Error Information:</h4> 
<div id="details-left"> 
<table border="0" cellpadding="0" cellspacing="0"> 
<tr class="alt"><th>Module</th><td>&nbsp;&nbsp;&nbsp;AspNetCoreModule</td></tr> 
<tr><th>Notification</th><td>&nbsp;&nbsp;&nbsp;ExecuteRequestHandler</td></tr> 
<tr class="alt"><th>Handler</th><td>&nbsp;&nbsp;&nbsp;aspNetCore</td></tr> 
<tr><th>Error Code</th><td>&nbsp;&nbsp;&nbsp;0x00000000</td></tr> 
 
</table> 
</div> 
<div id="details-right"> 
<table border="0" cellpadding="0" cellspacing="0"> 
<tr class="alt"><th>Requested URL</th><td>&nbsp;&nbsp;&nbsp;http://HarmonyWeb20161030022755:80/signalr/negotiate?clientProtocol=1.5&amp;connectionData=%5B%7B%22name%22%3A%22abpcommonhub%22%7D%2C%7B%22name%22%3A%22chathub%22%7D%5D&amp;_=1478054103313</td></tr> 
<tr><th>Physical Path</th><td>&nbsp;&nbsp;&nbsp;D:\home\site\wwwroot\signalr\negotiate</td></tr> 
<tr class="alt"><th>Logon Method</th><td>&nbsp;&nbsp;&nbsp;Anonymous</td></tr> 
<tr><th>Logon User</th><td>&nbsp;&nbsp;&nbsp;Anonymous</td></tr> 
 
</table> 
<div class="clear"></div> 
</div> 
</fieldset> 
</div> 
 
<div class="content-container"> 
<fieldset><h4>More Information:</h4> 
This error means that there was a problem while processing the request. The request was received by the Web server, but during processing a fatal error occurred, causing the 500 error. 
<p><a href="http://go.microsoft.com/fwlink/?LinkID=62293&amp;IIS70Error=500,0,0x00000000,9200">View more information &raquo;</a></p> 
<p>Microsoft Knowledge Base Articles:</p> 
  
 
</fieldset> 
</div> 
</div> 
</body> 
</html> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head> 
<title>IIS Detailed Error - 500.0 - Internal Server Error</title> 
<style type="text/css"> 
 
</style> 
 
</head> 
<body> 
<div id="content"> 
<div class="content-container"> 
<h3>HTTP Error 500.0 - Internal Server Error</h3> 
<h4>The page cannot be displayed because an internal server error has occurred.</h4> 
</div> 
<div class="content-container"> 
<fieldset><h4>Most likely causes:</h4> 
<ul> 	<li>IIS received the request; however, an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred.</li> 	<li>IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly.</li> 	<li>IIS was not able to process configuration for the Web site or application.</li> 	<li>The authenticated user does not have permission to use this DLL.</li> 	<li>The request is mapped to a managed handler but the .NET Extensibility Feature is not installed.</li> </ul> 
</fieldset> 
</div> 
<div class="content-container"> 
<fieldset><h4>Things you can try:</h4> 
<ul> 	<li>Ensure that the NTFS permissions for the web.config file are correct and allow access to the Web server's machine account.</li> 	<li>Check the event logs to see if any additional information was logged.</li> 	<li>Verify the permissions for the DLL.</li> 	<li>Install the .NET Extensibility feature if the request is mapped to a managed handler.</li> 	<li>Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, click <a href="http://go.microsoft.com/fwlink/?LinkID=66439">here</a>. </li> </ul> 
</fieldset> 
</div> 
 
<div class="content-container"> 
<fieldset><h4>Detailed Error Information:</h4> 
<div id="details-left"> 
<table border="0" cellpadding="0" cellspacing="0"> 
<tr class="alt"><th>Module</th><td>&nbsp;&nbsp;&nbsp;AspNetCoreModule</td></tr> 
<tr><th>Notification</th><td>&nbsp;&nbsp;&nbsp;ExecuteRequestHandler</td></tr> 
<tr class="alt"><th>Handler</th><td>&nbsp;&nbsp;&nbsp;aspNetCore</td></tr> 
<tr><th>Error Code</th><td>&nbsp;&nbsp;&nbsp;0x00000000</td></tr> 
 
</table> 
</div> 
<div id="details-right"> 
<table border="0" cellpadding="0" cellspacing="0"> 
<tr class="alt"><th>Requested URL</th><td>&nbsp;&nbsp;&nbsp;http://HarmonyWeb20161030022755:80/signalr/negotiate?clientProtocol=1.5&amp;connectionData=%5B%7B%22name%22%3A%22abpcommonhub%22%7D%2C%7B%22name%22%3A%22chathub%22%7D%5D&amp;_=1478054103314</td></tr> 
<tr><th>Physical Path</th><td>&nbsp;&nbsp;&nbsp;D:\home\site\wwwroot\signalr\negotiate</td></tr> 
<tr class="alt"><th>Logon Method</th><td>&nbsp;&nbsp;&nbsp;Anonymous</td></tr> 
<tr><th>Logon User</th><td>&nbsp;&nbsp;&nbsp;Anonymous</td></tr> 
 
</table> 
<div class="clear"></div> 
</div> 
</fieldset> 
</div> 
 
<div class="content-container"> 
<fieldset><h4>More Information:</h4> 
This error means that there was a problem while processing the request. The request was received by the Web server, but during processing a fatal error occurred, causing the 500 error. 
<p><a href="http://go.microsoft.com/fwlink/?LinkID=62293&amp;IIS70Error=500,0,0x00000000,9200">View more information &raquo;</a></p> 
<p>Microsoft Knowledge Base Articles:</p> 
  
 
</fieldset> 
</div> 
</div> 
</body> 
</html>

Hi -

1 - working through the aspnetzero mpa core phonebook sample, I don't get the formatted error message in the guide. Rather I get this:

An unhandled exception occurred while processing the request.

AbpAuthorizationException: Required permissions are not granted. At least one of these permissions must be granted: Pages.Tenant.PhoneBook
MoveNext

Stack Query Cookies Headers
AbpAuthorizationException: Required permissions are not granted. At least one of these permissions must be granted: Pages.Tenant.PhoneBook
MoveNext
ThrowForNonSuccess

GetResult

...
...

MoveNext

Show raw exception details
Abp.Authorization.AbpAuthorizationException: Required permissions are not granted. At least one of these permissions must be granted: Pages.Tenant.PhoneBook
   at Abp.Authorization.PermissionCheckerExtensions.<AuthorizeAsync>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at Abp.Authorization.AuthorizationHelper.<AuthorizeAsync>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

How do I configure my project to handle this exception correctly?

2 - How can I customize these error messages and pages?

Thanks in advance, Patrice

Hi -

While going through the aspnetzero "developing an application step by step" phonebook example, it's become quickly obvious that a deeper knowledge of the boilerplate and module zero is a plus. I would like to setup an environment where one can freely browse the source of all relevant modules from within Studio. How are you guys setup? Do you recommend importing the entire boiler and zero projects within our local template solution? There are pros and cons for a variety of different approaches here, so I'm just wondering how you guys are setup internally to develop and release templates and frameworks.

Also, what is the preferred way to present issues and file bugs. In github issues and/or here on the forum? Especially for paid up commercial developers like us.

Example

1 - I found that the phonebook example references a dto helper "ListResultOuput" that has been deprecated (I think?) for ListResultDto. Where best to file and issue like that?

2- I don't get the pretty error 500 exception page like the example. Rather, mine is a normal trace. Code like that is obviously buried in boilerplate exception handling. Where best to file an issue like that?

Thanks in advance.

Showing 1 to 10 of 10 entries