This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Webpack version 4^ kullandığınızı varsayıyorum | |
| const UglifyJsPlugin = require('uglifyjs-webpack-plugin'); | |
| const CompressionPlugin = require('compression-webpack-plugin'); | |
| module.export = { | |
| ... | |
| optimization: { | |
| minimizer: [ | |
| new UglifyJSPlugin({ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| . . . | |
| ## | |
| # `gzip` Settings | |
| gzip on; | |
| gzip_static on; | |
| gzip_disable "msie6"; | |
| gzip_vary on; | |
| gzip_proxied any; | |
| gzip_comp_level 6; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public async Task SendAsync(IdentityMessage message) | |
| { | |
| //Enes Ozturk | |
| SmtpClient smtp = new SmtpClient(); | |
| smtp.Port = 587; | |
| smtp.Host = "smtp.gmail.com"; | |
| smtp.DeliveryMethod = SmtpDeliveryMethod.Network; //This two lines important for Azure Web Apps. | |
| smtp.UseDefaultCredentials = false; // ---- | |
| smtp.Credentials = new System.Net.NetworkCredential("your-email@gmail.com", "password"); | |
| smtp.EnableSsl = true; |
NewerOlder