Azure Application Gateway is a web traffic load balancer that enables you to manage traffic to your web applications

This is very good overview of application gateway
for more details view this video:
Software development, cloud and practical coding notes
usually, when you buy a domain you need to buy anothr smtp provider to send email. gmail business has a packet for 5$ per user.
If you want to use free email forwarding tool i suggest https://improvmx.com/
just set your mx record
| |||||||||||
<add name="X-Frame-Options" value="SAMEORIGIN" />




using (var client = new WebClient()) { var values = "{\"to\" : \"toekn",\"notification\" : {\"body\" : \"test\",\"title\" : \"title\",\"icon\" : \"myicon\"}}"; client.Headers.Set("Content-Type", "application/json"); client.Headers.Set("Authorization", "key=serverkey"); var response = client.UploadString("https://fcm.googleapis.com/fcm/send", values); }
using System; using Microsoft.Azure.NotificationHubs; namespace SendToNotificationHub { class Program { public static string connectionString = "Endpoint=sb://app.servicebus.windows.net/;SharedAccessKeyName=DefaultFullSharedAccessSignature;SharedAccessKey=yourkey"; public static string NotificationHubPath = "your-hub"; static void Main(string[] args) { SendNotificationAsync(); Console.ReadLine(); } private static async void SendNotificationAsync() { NotificationHubClient hub = NotificationHubClient.CreateClientFromConnectionString (connectionString, NotificationHubPath); var alert = "{\"aps\":{\"alert\":\"Hi!\"}}"; await hub.SendAppleNativeNotificationAsync(alert); } } }
1
|
zipalign.exe -f -v 4 mono.samples.helloworld-Signed.apk helloworld.apk
|
DECLARE @DBName varchar(255) DECLARE @LogName varchar(255) DECLARE @DATABASES_Fetch int DECLARE DATABASES_CURSOR CURSOR FOR select distinct name, db_name(s_mf.database_id) dbName from sys.master_files s_mf where s_mf.state = 0 and -- ONLINE has_dbaccess(db_name(s_mf.database_id)) = 1 -- Only look at databases to which we have access and db_name(s_mf.database_id) not in ('Master','tempdb','model') and db_name(s_mf.database_id) not like 'MSDB%' and db_name(s_mf.database_id) not like 'Report%' and type=1 order by db_name(s_mf.database_id) OPEN DATABASES_CURSOR FETCH NEXT FROM DATABASES_CURSOR INTO @LogName, @DBName WHILE @@FETCH_STATUS = 0 BEGIN exec ('USE [' + @DBName + '] ; DBCC SHRINKFILE (N''' + @LogName + ''' , 0, TRUNCATEONLY)') FETCH NEXT FROM DATABASES_CURSOR INTO @LogName, @DBName END CLOSE DATABASES_CURSOR DEALLOCATE DATABASES_CURSOR