Граф коммитов

136 Коммитов

Автор SHA1 Сообщение Дата
Serge van den Oever 02a2a28ef6
Remove unneeded references, use code for .NET 6 (#1411)
I removed two unneeded references from WeatherClient.cs

The instructions generate code in the new format, which results in only a `Program.cs` file needing the following code:

```

var builder = WebApplication.CreateBuilder(args);

// Add services to the container.
builder.Services.AddRazorPages();

builder.Services.AddHttpClient<frontend.WeatherClient>(client =>
    {
         client.BaseAddress = builder.Configuration.GetServiceUri("backend");
    });

var app = builder.Build();

// Configure the HTTP request pipeline.
if (!app.Environment.IsDevelopment())
{
    app.UseExceptionHandler("/Error");
    // The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts.
    app.UseHsts();
}

app.UseHttpsRedirection();
app.UseStaticFiles();

app.UseRouting();

app.UseAuthorization();

app.MapRazorPages();

app.Run();
```
2022-08-25 23:46:20 -07:00
Phillip Hoff c7bcc18b4d
Update version numbers and installation instructions. (#1309) 2022-02-15 12:48:39 -08:00
James Lloyd f677a157cf
Build queue for --watch (#1189)
* Central build queue, w/ build from solution

* Fix some warnings

* Need to use -target and not -targets

Also needed to update msbuild version past 16.10 because of a bug that
meant that the default targets of projects couldn't be built.

* Remove unnecessary function

* Handle failures building solution better

* Styling updates.

* Scaffold explicit start/stop of builds.

* More styling updates.

* Cleanup working directory.

* Make build result more consistent.

* Tweak logging.

* Update formatting.

* Update more formatting.

* Add locks for critical areas.

* Update schema and reference doc.

* Fix formatting.

* Updates per PR feedback.

* More updates per PR feedback.

Co-authored-by: James Lloyd <james.lloyd@onlineseminar.nl>
Co-authored-by: phoff <phoff@microsoft.com>
2022-02-09 14:24:41 -08:00
ante-maric cad496f2e1
Added support for additional routes on the Dashboard (#1200)
* Add support for additional routes on the Dashboard

* Add deserialization unit tests

* Change routes from semicolon separated list to an array

* Use blocks for bindings.

Co-authored-by: Ante Marić <ante.maric@king-ict.hr>
Co-authored-by: phoff <phoff@microsoft.com>
2022-01-20 10:15:05 -08:00
Phillip Hoff cb6fc57f2e
Tweak confusing directions for Tye installations. (#1221) 2021-11-19 10:42:43 -08:00
Phillip Hoff 1c8577f98f
Move Tye to .NET 6 (#1215)
* Switch to .NET 6 runtimes.

* 1st pass at moving core project target frameworks.

* 2nd pass of nullable updates.

* Use .NET 6 SDK base image for Docker proxies.

* Move test projects to .NET 6.

* Fix formatting.

* Try running tests on MacOS 11 (Big Sur).

* Try disabling HTTPS on watch tests.

* Revert HTTPS changes and just disable E2E tests for now.

* Update docs references to .NET Core.
2021-11-16 09:20:40 -08:00
Phillip Hoff 1f51824cbc
Support additional Dapr configuration properties (#1209)
* Support more Dapr properties.

* Update schema with Dapr extension properties.

* Add more Dapr properties.

* Fix formatting.
2021-11-02 09:38:41 -07:00
Jean Llorca 7ea78aaddd
Specify ingress IP in Debug (#1048)
* Specify ingress IP in Debug

* Quotes yaml values

* Stop auto-defaulting specific looback addresses

* Update tye YAML schema

* Format whitespace
2021-10-08 12:23:57 -07:00
Dan Simpson 2858fce16a
#1158 Feature/dashboard port in tye yaml (#1163)
* Set up tests for new dashboardPort functionality

* Add in new dashboardPort values to test data

* Map from tye.yaml configuration file into Application model

* Core change: apply DashboardPort from configuration (if cli --port argument is not specified)

* Add dashboardPort documentation to the tye schema page

* PR feedback: requested YAML (JSON) schema update
2021-09-29 21:16:57 -07:00
Pratik Sanglikar 1e10f81509 Update for release 0.10.0 2021-09-08 09:52:51 -07:00
Pratik Sanglikar 002e71ed1e 0.9.0 release 2021-08-09 11:01:18 -07:00
Pratik Sanglikar b5838f15af Stage 0.8 release 2021-07-02 10:54:29 -07:00
Daniel Reis c04c84f786
Add dockerfile build args documentation (#1095)
* Add dockerfile args docs

* Add dockerFileArgs to tye-schema.json
2021-06-25 12:13:59 -07:00
Donovan Brown e34a9c57e2
Update 01_deploy.md (#1084)
Fixed several typos in the doc.
2021-06-11 11:45:39 -07:00
Donovan Brown 463afbc509
Update 00_run_locally.md (#1080)
Fixed a couple of typos in 00_run_locally.md.
2021-06-11 00:21:26 -07:00
Phillip Hoff 77fc75bf1c
Add PATH note for Mac. (#1076) 2021-06-04 16:34:56 -07:00
Pratik Sanglikar 9ee6271c47 Next release - 0.7.0 2021-06-01 10:58:20 -07:00
Oleg Karasik 3756e2a60e
Clarification of kubectl involvement in `deploy` command and potential error reason (#986) 2021-03-26 09:19:10 -07:00
William Godbe 98f8d342ff
Replace 'master' with 'main' in various files (#974) 2021-03-11 13:57:55 -08:00
Tomáš Herceg 68f760e5f3
Recipes - fixed invalid port in Dapr sample code (#959) 2021-03-08 12:23:39 -08:00
Niels Swimberghe 3378315a15
Fix some typos in ingress.md (#944) 2021-02-25 12:34:32 -08:00
John Luo eb3b50699b
Update version to 0.7 (#909) 2021-01-20 15:12:42 -08:00
Dasith Wijesiriwardena 1342e86463
Fix dapr recipe documentation and update sample to use latest .Net Dapr sdk (#878) 2021-01-06 10:32:58 -08:00
Dasith Wijesiriwardena 45bf5528b6
[Dapr Extension] Allow defining custom placement container address (#767) 2021-01-05 11:22:41 -08:00
Habib Ahmed Qureshi b9692e574c
reading named binding (#844)
* reading named binding

Reading named binding took me quite some time to actually get it to working, I believe adding this line would help other readers save some time

* Update docs/reference/service_discovery.md

Co-authored-by: John Luo <johluo@microsoft.com>
2020-12-29 09:45:30 -08:00
Justin Kotalik 89148557a7
Fixing documentation for preserving prefixes for ingress. (#870) 2020-12-28 12:11:49 -08:00
Habib Ahmed Qureshi 3321542a97
CONNECTIONSTRING comes as CONNECTIONSTRINGS (#843)
CONNECTIONSTRING comes as CONNECTIONSTRINGS in the environment variable.
(Discovery during debugging tye run --debug (code is .NET 5.0.100) via System.Environment.GetEnvironmentVariable

CONNECTIONSTRING__POSTGRES -> CONNECTIONSTRINGS__POSTGRES
2020-12-04 11:01:40 -08:00
Sumit Ghosh 112857f021
Updated Voting sample deployment steps (#755) 2020-11-23 09:54:44 -08:00
Chris Poole 01bf945a81
Fix dapr docs "Getting started" link (#808) 2020-11-23 09:52:43 -08:00
dawedawe f4a6a7dac3
Fix a small typo (#804) 2020-11-19 09:28:44 -08:00
John Luo 90d3e4e480
Update cli args documentation (#760) 2020-11-06 15:05:03 -08:00
John Luo 01ec0ca7d1
Updating version to 0.6.0 (#757) 2020-11-05 13:21:53 -08:00
areller 7a0b24c9c7
Docker compose environment variable syntax (#669)
* docker-compose like environment variable syntax

* documentation
2020-10-02 11:06:03 -07:00
Justin Kotalik b31204486c
Add more locations to find func (#682) 2020-09-29 14:20:11 -07:00
Beat 6166b2792c
fixed wording in doc (#628) 2020-08-13 15:25:08 -07:00
Sahan Serasinghe 9b51b4bc0e
Fix typos in service discovery document (#617)
Fix a couple of typos and add commas where needed in the service_discovery.md file
2020-08-11 19:51:52 -07:00
Yuta Matsumura 964507a92d
fix header typo (#623) 2020-08-10 07:54:01 -07:00
Alec Papierniak 1e3b3f4bf9
Update service_discovery.md (#613)
* Update service_discovery.md

Minor typo adjustment

* Update service_discovery.md

Updating update of typo
2020-08-01 16:36:56 -07:00
Angelo Luis Rodrigues Da Silva f412dff9d1
Fix of the directory name (#604)
Fix of the default directory name used in the examples
2020-07-22 11:16:05 -07:00
Justin Kotalik d507826059
0.4 -> 0.5 (#603) 2020-07-21 12:27:28 -07:00
Justin Kotalik 14f08ccf05
Add clone directory (#589) 2020-07-16 16:41:46 -07:00
Justin Kotalik 7e0a68326d
Small doc update. 2020-07-16 14:39:06 -07:00
Justin Kotalik f1920e3100
Start finding func rather than downloading it (#587) 2020-07-16 12:07:50 -07:00
Justin Kotalik 379ff07b06
Azure function support (#572) 2020-07-15 13:10:07 -07:00
John Luo 5ebf8f391b Update developer guide
Fix instructions for installing local builds
2020-07-14 14:19:56 -07:00
Laurent Kempé 7508822d36
Update 01_deploy.md (#571) 2020-07-08 14:43:08 -07:00
Shayne Boyer a9c738e01d
Add Recipe in docs for Github Actions (#557)
* docs for specifying base image:tag

* fixup items

* adding recipe for actions

* add intro

* Update docs/recipes/githubactions_aks.md

Co-authored-by: Justin Kotalik <jukotali@microsoft.com>
2020-06-30 22:29:02 -07:00
Ryan Nowak 5a703c57d2 Update CI build instructions to use 0.4
This should be 0.4 since we bumped the version
2020-06-27 11:49:37 -07:00
Justin Kotalik 9113caabac
Updating versions (#554) 2020-06-19 15:56:53 -07:00
Jesus Angulo 91d9b3bc23
Update documentation to fix kubectl apply command (#552)
Fixing pointing to the public github url instead of raw content.
2020-06-19 09:05:40 -07:00