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

Activities of "Ricavir"

Ok, tks for your clarification @aaron

thank you for clarification @ismcagdas

Hi @ismcagdas,

I just saw that github issue 945 has been closed. In fact, I just deactivate IdentityServer from my appseetings file and this solve my problem.

But, I have to ask something that I didn't catch : how aspnetzero can authenticate users without IdentityServer ? I was thinking that it was a must have... Right now, in my current project, JwtBearer is the only authentication setting that is enable... If IdentityServer is not in charge of that, who is doing it ? an ASP.NET CORE package ?

That said, what is the benefit to add IdentityServer4 if we already have somehow an authentication module that is also able to authenticate angular client and third party application (like mobile apps) ?

Thanks @ismcagdas

Coming back from the field : After publishing application in FDD way, I tranfered it in FTP to the hosting provider. The library is then runned by ASP.NET CORE installed on shared server.

Unfortunately, we had some errors :

  • "ErrorCode = 0x80004005 : 80008083."
  • "A fatal error was encountered. The library 'hostpolicy.dll' required to execute the application was not found"

I didn't found the way to generate hostpolicy.dll.

This was the main issues but other ones must be managed when hosting on a shared server (file access, some appservices not working...)

As we want to go fast and don't have more time to spend on it right now, we decided to switch to an Azure plan. The App is now running on Azure like a charm.

We put this task in our backlog for now and will update this post when we'll have more time. If anyone using aspnetzero have more information on FDD, feel free to share here ;)

Hi,

thanks for your answer. I've been hardly working on this issue.

Actually, you can build a dll as output file instead of EXE (in this case, it is a FDD : framework dependent deployment) You just need to change OutputType from "EXE" to "LIBRARY". All hosting provides will request this kind of deployment for security reasons.

Right now, I'm trying to find the right config to tell IIS to launch this library instead of old EXE file.

I'll keep you informed when I will reach my goal ;)

Cheers

I'll do it this way then. Thank you @ismcagdas

tks @ismcagdas

To be clear, do you mean that I need to add

CurrentUnitOfWork.Options.IsolationLevel = System.Transactions.IsolationLevel.ReadUncommitted;

in each appservice method where I generate the ID ?

Thks for quick answer.

You mentioned to lock the process ; I totaly agree. As the process operation is being done in AppService, this should be safe by Unit Of Work concept no ?

Tks, I will use directly smtpclient then.

Showing 191 to 200 of 232 entries