Created
December 28, 2020 08:40
-
-
Save pksorensen/6ecc00e31d901b4b0a12a6f29e3d7ab2 to your computer and use it in GitHub Desktop.
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
using DotNetDevOps.Extensions.AzureFunction; | |
using Microsoft.Azure.WebJobs; | |
using Microsoft.Azure.WebJobs.Extensions.DurableTask; | |
using Microsoft.Azure.WebJobs.Hosting; | |
using Microsoft.Extensions.DependencyInjection; | |
using Microsoft.Extensions.Options; | |
using System.Text; | |
[assembly: WebJobsStartup(typeof(Startup))] | |
namespace DataverseStartup | |
{ | |
public class Startup : IWebJobsStartup | |
{ | |
public void Configure(IWebJobsBuilder builder) | |
{ | |
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance); | |
ConfigureServices(builder.Services); | |
} | |
private void ConfigureServices(IServiceCollection services) | |
{ | |
services.AddPowerPlatform(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment