Files
moadiran/TaxPayerFull/Program.cs

20 lines
660 B
C#
Raw Normal View History

2024-03-29 17:44:38 +03:30
using Microsoft.AspNetCore.Components.Web;
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
using Front;
2024-03-30 15:10:36 +03:30
using System.Globalization;
2024-03-29 17:44:38 +03:30
var builder = WebAssemblyHostBuilder.CreateDefault(args);
builder.RootComponents.Add<App>("#app");
builder.RootComponents.Add<HeadOutlet>("head::after");
2024-04-16 13:15:51 +03:30
builder.Services.AddBlazorBootstrap();
2024-03-29 17:44:38 +03:30
2024-04-16 12:23:29 +03:30
//builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri("https://localhost:7075/api/") });
2024-04-02 17:14:18 +03:30
2024-04-16 12:23:29 +03:30
builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri("http://localhost:5271/api/") });
2024-03-30 15:10:36 +03:30
CultureInfo.DefaultThreadCurrentCulture = new CultureInfo("fa-Ir");
2024-03-29 17:44:38 +03:30
await builder.Build().RunAsync();
2024-03-31 01:33:17 +03:30