Base solution for your next web application

Activities of "luckyduck"

Answer

Correct, you don't need Https during development and theoretically you don't need it in production if your site is purely read only (static). But once you start collecting information from visitors, and definitely if you are doing ecommerce, you should implement Https.

Not also that NOT having https could impact your SEO ranking. See for example [https://www.bluecorona.com/blog/https-and-seo]).

Greg

  1. I was able to use the Visual Studio Publish feature on the Web project to automatically copy across all the necessary folders. In my prod environment there are 15 folders besides bin so its not just as simple as copy bin alone. It took some work to set it up on your production server (may vary depending on who your hosting provider is) but was well worth it and made the process very easy.

  2. One topic that I found was not clearly explained in the deployment doc was how to create your database (in production) the first time. In development you use the NuGet Package Manager Console which is obviously not available in production so you will need to copy the *.migrator.exe and *.migrator.exe.config files from your Tools*.Migrator\bin\Release folder to your Web\bin\Release folder. Edit the connectionString in the .config file to point to your prod database. After you copy your new web app to prod, run the *.migrator.exe command from the command line to create your production database. You can also use this tool when you make subsequent changes to your database. See [https://aspnetzero.com/Documents/Development-Guide-Core#migrator-console-application]) for more details.

** Note that I am using MVC/jQuery which uses .config files so you may need to specify your DB settings elsewhere in a Core/Angular environment **

Good luck!

Greg

Answer

Have you sent this post [https://forum.aspnetboilerplate.com/viewtopic.php?f=5&t=6830&p=15927&hilit=office365+ab#p22321])?

Based on this, I went direct using this article as a guide - [https://weblogs.asp.net/sreejukg/send-email-using-office-365-account-and-c]). Also refer to [https://stackoverflow.com/questions/30342884/the-server-response-was-5-7-57-smtp-client-was-not-authenticated-to-send-anony]) in case you run into authentication issues (which I did).

I still intend to use ABP SettingManager to store the config settings.

For the benefit of the group:

  • I did upgrade system.net.http from 4.0.0 to 4.3.3 and while it eliminated the reflection exception it did not fix the issue of the backend app just clocking

  • this evening, though, I realized that about two-thirds of the angular js files in the web\scripts directory were missing compared to the original downloaded project. Not sure how that happened, but I reinstalled AngularJS nuget pkg and now I can get into the backend app with no problems :D

Thanks!!

Showing 1 to 4 of 4 entries