Encerrado

Azure function with Parameters

I need to have a simple example of a Azure Function that have Setting that changes the behavior.

I actually needs a File and have it included in the project and deployed.

I want to have a more flixible way to add/change certificate.

I want ho upload the [login to view URL] and change the settings (and restart) from Azure Portal.

Because I have a [login to view URL] I also need a password that also is setting that I can change in Azure Portal

This project can be done in 2 ways.

* The total solution with uploadable Certificate storage and Password setting in Azre portal

* Only the password setting in Azure portal

Here is a simple example of a Azure Function

using [login to view URL];

using [login to view URL];

using [login to view URL];

using [login to view URL];

using [login to view URL];

using [login to view URL];

using [login to view URL];

namespace AzureFunctionWithSettings

{

public static class SimpleFunction

{

private static readonly string ThisIsThePasswordString = "secret";

private static readonly string ThisIsTheFilename = "[login to view URL]";

[FunctionName("FunctionWithParameters")]

public static async Task<HttpResponseMessage> Run([HttpTrigger([login to view URL], "get", "post", Route = null)]HttpRequestMessage req, TraceWriter log)

{

[login to view URL]("C# HTTP trigger function processed a request.");

X509Certificate2 certificate = new X509Certificate2(ThisIsTheFilename, ThisIsThePasswordString);

return certificate == null

? [login to view URL]([login to view URL], "Please pass a name on the query string or in the request body")

: [login to view URL]([login to view URL], "Hello " + [login to view URL]);

}

}

}

Habilidades: .NET, Azure, Programação C#

Veja mais: write member function degree wtgraph class given, difference between friend function and friend class, azure function, azure function http trigger with parameters, azure function app, azure functions, azure function write to file, azure function access rights, azure function service bus topic trigger, azure function custom binding, azure function get parameters, azure function app docs, azure function app pricing, php function parameters, c# task async, javascript function parameters, powershell create azure function app, azure function arm template, azure function arm template example, azure function app arm template

Acerca do Empregador:
( 98 comentários ) Västerås, Sweden

ID do Projeto: #19275828

5 freelancers estão ofertando em média $23 para esse trabalho

waseemsaleemg

Hi Dear, Our best concern is to follow your requirement and deadline and we will do our best for the success of your project. Feel free to send message to discuss your project with us. Thank you very much! Surely, we Mais

$25 USD em 1 dia
(6 Comentários)
3.5
shivanimishra19

Hi, I am Shivani Mishra from India and having 10+ years of experience in .Net technology. My skills are .Net, MVC, C#, VB.Net, Azure, Dynamic CRM and many more. Looking forward to hear from you. Thanking yo Mais

$30 USD em 1 dia
(3 Comentários)
3.2
INDOGICSOLUTIONS

***EXPERTISE IN C# PRGRAMMING,ASP.NET,MVC,VB.NET AND READY FOR LIVE INTERVIEW*** With over 12 years of producing corporate marketing projects for some of the most innovative companies in world, I’m here to bring yo Mais

$20 USD em 1 dia
(1 Comentário)
2.2
shubhgenius

Hi There I am professional azure migration & developer . I can definitely help you with the requirements. Please get in touch so that we can discuss the requirements more clearly & proceed with the project implementat Mais

$15 USD em 1 dia
(3 Comentários)
1.6
strangler410

Friend

$25 USD em 1 dia
(0 Comentários)
0.0