Hi,
how / is it possible in IIS to run Angular UI and ASP.NET CORE Backend under one Domain?
Additional info 2: ASP.NET CORE runs in Application with own Application Pool
Additional info: I had to remove folowing line due to erro:
HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid.
Detailed Error Information: Module RequestFilteringModule Notification BeginRequest Handler aspNetCore Error Code 0x800700b7 Config Error Cannot add duplicate collection entry of type 'add' with unique key attribute 'verb' set to 'POST'
Hi,
we have a problem on customer server that in ASP.NET CORE API POST and PUT method not working.
See below my web.config - WebDAVModule on IIS not installed - any hints what to check further?
<?xml version="1.0" encoding="utf-8"?> <configuration> <system.web> <httpRuntime maxRequestLength="1048576" maxQueryStringLength="2097151" /> </system.web> <system.webServer> <modules> <remove name="WebDAVModule" /> </modules> <handlers> <remove name="WebDAV" /> <add name="aspNetCore" path="" verb="" modules="AspNetCoreModuleV2" resourceType="Unspecified" /> </handlers> <security> <requestFiltering> <requestLimits maxAllowedContentLength="1073741824" maxQueryString="2097151" /> <fileExtensions> <add fileExtension=".html" allowed="true" /> </fileExtensions> </requestFiltering> </security> <aspNetCore processPath="dotnet" arguments=".\WFMOne.Web.Host.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" forwardWindowsAuthToken="false" startupTimeLimit="3600" requestTimeout="23:00:00" hostingModel="InProcess"> <environmentVariables> <environmentVariable name="ASPNETCORE_ENVIRONMENT" value="Production" /> <environmentVariable name="COMPLUS_ForceENC" value="1" /> <environmentVariable name="ASPNETCORE_HTTPS_PORT" value="44338" /> </environmentVariables> </aspNetCore> <httpProtocol> <customHeaders> <remove name="X-Powered-By" /> </customHeaders> </httpProtocol> </system.webServer> </configuration> <!--ProjectGuid: 9fc37c62-2105-4d32-9724-7323b959504b-->
Hi, is it possible to run Angular UI App and ASP.NET core API in IIS in one sub domain? What needs to be done / cheked for that?
Hi,
Web Server Depolyment on IIS - 2 separate Sub-Domains + https:
I've an issue when depoying Angular + ASP .net core PI on customer server, angluar App do not connect to API. I get below error.
Cross-source (cross-origin) request blocked: The same-source rule prohibits reading the external resource on https://.../AbpUserConfiguration/GetAll?d=1684162718425. (Reason: CORS header 'Access-Control-Allow-Origin' is missing). Status code: 404
Any hint for me how to fix that - I searched already for several hours to fix that.
Dear Support Team,
We are currently working on an ASPZERO project using Angular and .NET Core.
We are planning to do a Copy&Paste deployment and we are wondering if it is necessary to execute the Migrator.EXE after the deployment in order to patch the database, or if it happens automatically when the WebApi is restarted.
If the database patching does not occur automatically with a WebApi restart, is it possible to call and execute the Migrator.EXE through a WebApi?
Thank you in advance for your assistance.
Hi, I'm hosted Anglaur App and ASP WebAPI under 2 separate Sub Domains. After upgrade from q10.2 to 12.0.1 I get in my live server origin-when-cross-origin error. I've seen a new file in Angular App - appconfig.k8s.json - maybe has to do with it?
GET myURL/AbpUserConfiguration/GetAll?d=1676459731189 Status 500 Internal Server Error VersionHTTP/2 Übertragen580 B (179 B Größe) Referrer Policystrict-origin-when-cross-origin
I've updated reference in .Core.csproj to this - but still not working - same error
<PackageReference Include="Abp.AutoMapper" Version="7.4.0" />
Hi @ismcagdas,
I think this could be the problem - I didn't update that - how to do that / what needs to be done? Thanks in advance!