FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
allReady/AllReadyApp/NotificationsProcessor/Program.cs at master · HashString/allReady · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
HashString
/
allReady
Public
forked from
HTBox/allReady
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
allReady
/
AllReadyApp
/
NotificationsProcessor
/
Program.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
29 lines (26 loc) · 988 Bytes
Breadcrumbs
allReady
/
AllReadyApp
/
NotificationsProcessor
/
Program.cs
Copy path
File metadata and controls
29 lines (26 loc) · 988 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using
System
.
Collections
.
Generic
;
using
System
.
Linq
;
using
System
.
Text
;
using
System
.
Threading
.
Tasks
;
using
Microsoft
.
Azure
.
WebJobs
;
namespace
NotificationsProcessor
{
// To learn more about Microsoft Azure WebJobs SDK, please see http://go.microsoft.com/fwlink/?LinkID=320976
class
Program
{
// Please set the following connection strings in app.config for this WebJob to run:
// AzureWebJobsDashboard and AzureWebJobsStorage
static
void
Main
(
)
{
var
connectionString
=
EnvironmentHelper
.
TryGetEnvironmentVariable
(
"Data:Storage:AzureStorage"
)
;
var
config
=
new
JobHostConfiguration
{
StorageConnectionString
=
connectionString
,
DashboardConnectionString
=
connectionString
}
;
var
host
=
new
JobHost
(
config
)
;
// The following code ensures that the WebJob will be running continuously
host
.
RunAndBlock
(
)
;
}
}
}
Back
|
FazBrowse Home
|
New Git URL