Search results for query: *

  1. A

    Blazor and Azure HttpTrigger

    Hi Jeremy, did you get chance to take a look at the project.
  2. A

    Blazor and Azure HttpTrigger

    Some one mentioned to me that it is possible to disable CORS with in the code. However I cannot find where,
  3. A

    Blazor and Azure HttpTrigger

    A lot of articles are pointing to a startup class. However, this project does not have a startup class. https://developer.okta.com/blog/2018/10/15/blazor-and-web-assembly services.AddCors(options => { options.AddPolicy("CorsPolicy", builder => { builder...
  4. A

    Blazor and Azure HttpTrigger

    In Azure I have set it to *
  5. A

    Blazor and Azure HttpTrigger

    Hi, as said I think it is to do with cors setup. Apparently there is somewhere in the code that the cors can be disabled. Don't quote me on this as this from my research and I am only beginning with this.
  6. A

    Blazor and Azure HttpTrigger

    Hi, I have been going through the tutorial on How to create serverless websites with Blazor and Azure Functions Part One and https://www.allhandsontech.com/programming/blazor/serverless-websites-blazor-part-2/ I can not get the blazor app to work the second half of the second part of the...
  7. A

    Appropriate resource

    Hi, I am looking for appropriate training resource for frame work basics that will cover DTO's and using them with Azure trigger functions. A resource that is straight to the point and doesn't go off on tangents. Thanks.
  8. A

    Azure Function HTTP trigger

    public static class Function2 { [FunctionName("Function2")] public static async Task<IActionResult> Run( [HttpTrigger(AuthorizationLevel.Function, "get", "post", Route = null)] HttpRequest req, ILogger log) { log.LogInformation("C#...
  9. A

    Azure Function HTTP trigger

    Hi, I'm not sure if this is in the right place. How do I add a body to the HTTP trigger function. Thanks,
  10. A

    MudBlazor Modal

    No, not just copying and pasting code. Just started again from scratch and got it working. Thanks,
  11. A

    MudBlazor Modal

    Hi, I had tried DialogService.Show<TermsOfServiceDialog>("Terms"); with no luck. I have downloaded the contents from GitHub with and I can't get that working either. Severity Code Description Project File Line Suppression State Error MSB3073 The command "dotnet tool...
  12. A

    MudBlazor Modal

    I am not sure what DialogUsageExample_Dialog' is.
  13. A

    MudBlazor Modal

    Severity Code Description Project File Line Suppression State Error CS0246 The type or namespace name 'DialogUsageExample_Dialog' could not be found (are you missing a using directive or an assembly reference?) MudBlazor.Client...
  14. A

    MudBlazor Modal

    Hi, I am going through tutorials and code to get a start with Blazor and MudBlazor. This is the page I am looking at. https://mudblazor.com/components/dialog#api My project even when zipped is too large to upload. Its not my code. It is just code I am trying to trial things out with. Thanks...
  15. A

    List in Class

    Thanks jmcilhinney. I guess once the class has been called and completed the list is no longer.
  16. A

    List in Class

    Hi, how do I populate a list with in a class. So that there elements with in it when it is created. C#: class AClass { private List<ListModel> ListModellist = new List<ListModel>(); } Name = "NameTest", Description = "DescriptionTest", Date = DateTime.Now //etc Thanks,
  17. A

    String to date time

    Hi, I have made small changes. It doesn't through an error nor does it work It did work with the DateTime.Now. Thanks, if (DateTime.TryParseExact(csvList[1], "dd/MM/yyyy HH:mm:ss.fff tt", null, DateTimeStyles.None, out var value)) { // Your...
  18. A

    String to date time

    Hi, I am trying to use His.Interface.LoadDataValue(4, 192, DateTime.Now, csvList[4]); The code above works. Of course the DateTime value is the current date time. Instead of DateTime.Now I want to base the DateTime value from a string, from a column of a csv file csvList[1]. Example...
  19. A

    Resolved SaveAs excel file

    Thanks,
Back
Top Bottom