Base solution for your next web application

Activities of "kythor"

fixed it. The ASPNETCORE_ENVIRONMENT was set in azure to "Production", which is good. But then i looked at my appsettings.production.json and there seemed to be a } missing...

So make sure the appsettings structure is always correct ;)

its an Azure webapps, so not sure where exactly i should find the IIS logs there. I turned on Diagnostic Logs on the webapp, but the only thing I get when i try to load the API is this:

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>

I manage to run the Web API on my local machine, but when i publish it to Azure I get this error:

in the Chrome developers tool I just see a "500 internal server error" message.

any help is appreciated

its an error after upgrading to the new aspnetzero version.

in Startup.cs I had:

options.SwaggerEndpoint(_appConfiguration["App:SwaggerEndPoint"], "xxxx API V1");
                options.IndexStream = () => Assembly.GetExecutingAssembly()
                    .GetManifestResourceStream("xxxx.xxxx.Web.wwwroot.swagger.ui.index.html");
                options.InjectBaseUrl(_appConfiguration["App:ServerRootAddress"]);

but it should be

options.SwaggerEndpoint("/swagger/v1/swagger.json", "xxxx API V1");
                options.IndexStream = () => Assembly.GetExecutingAssembly()
                    .GetManifestResourceStream("xxxx.xxxx.Web.wwwroot.swagger.ui.index.html");

Hi, I'm getting following error message when running the API on my local machine:

Failed to load API definition: Fetch error, Not Found undefined

in the logs.txt is see this line: Request starting HTTP/1.1 GET http://localhost:22742/swagger/undefined

any help would be appreciated

how do you get the CreatorUser in a DTO?

like i have a list of articles that I want to display, with the name of the creator next to each article.

I have an ArticleDto that is used from the applicationservice:

Article = ObjectMapper.Map<ArticleDto>(o)

it used to be easy (maybe it still is) by adding a common CreatorUserDto to the ArticleDto and the CreatorUserDto looked like this:

[AutoMapFrom(typeof(User))]
    public class CreatorUserDto
    {
        public virtual string UserName { get; set; }
    }
}

but i guess there is a new way of doing this?

Hi,

I want to run a very basic angular app, bought from themeforest. But i want to use the service proxies from my aspnetzero host app. Is there any documentation how to do this? Is adding the "service-proxies" folder enough? Do i have to add "abp-ng2-module": "^3.2.1", "abp-web-resources": "^3.8.4" to package.json ? I tried the above, but throws an error saying it cant find the module "@abp/abpHttpInterceptor"

any help would be appreciated

anyone?

or is it easier, to connect the new aspnetzero version to the old database? all the necessary migrations for abp stuff is in the "migrations" list in code, but can the old database handle those? i dont want to destroy the old db of course

Simple question, but hard answer I imagine:

What is the best way to copy AbpUsers from an old database into a new database (created by latest version of zero)?

Showing 1 to 10 of 129 entries