I see this message when I inspect.
"Angular is running in the development mode. Call enableProdMode() to enable the production mode."
How do I set the system to production?
Hi there
my site is set to use https://, but when I look at the log under "\App_Data\Logs" it shows http:// why is this and what should I do to correct this? Whenever you browse the site it only shows https://...
INFO 2020-04-05 09:58:31,869 [22 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://mis.chieta.co.za:22742/api/services/app/CBiodatas/Delete?Id=28401
INFO 2020-04-05 09:58:31,832 [50 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://mis.chieta.co.za:22742/api/services/app/CBiodatas/Delete?Id=27226
INFO 2020-04-05 09:58:31,871 [54 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://mis.chieta.co.za:22742/api/services/app/CBiodatas/Delete?Id=28400
INFO 2020-04-05 09:58:31,873 [67 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 OPTIONS http://mis.chieta.co.za:22742/api/services/app/CBiodatas/Delete?Id=27327
INFO 2020-04-05 09:58:31,873 [75 ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
INFO 2020-04-05 09:58:31,874 [14 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/1.1 DELETE http://mis.chieta.co.za:22742/api/services/app/CBiodatas/Delete?Id=28218
INFO 2020-04-05 09:58:31,902 [67 ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO 2020-04-05 09:58:31,877 [5 ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
These are the values that worked for me.
<?xml version="1.0" encoding="utf-8"?> <configuration>
<system.webServer> <rewrite> <rules> <rule name="Angular Routes" stopProcessing="true"> <match url=".*" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="./index.html" /> </rule> </rules> </rewrite> </system.webServer>
</configuration>
Where can i find that file on the server side
Hi i manage to get the image upload to work using the demoUI example in asp.net core and anguler but m having but m having a problem to retrieve the uploaded image
Good day
Another application we have used has a nice feature to Scaffold databases to CRUD pages.
How can we build an app from preexisitng data using asp.net zero?
Thanks for your response, but that is not what I meant.
I am working on a project where a client needs to upload an excel sheet with a lot of information and it must update a database.
I want to know how this can be achieved.
Good day
How can I populate a db by uploading an Excel file using ASP.NET Zero.