GithubHelp home page GithubHelp logo

stevesandersonms / greenhousemonitor Goto Github PK

View Code? Open in Web Editor NEW
21.0 3.0 7.0 14.64 MB

Sample application for ASP.NET Core on WASI

License: MIT License

C# 43.85% JavaScript 15.21% Svelte 38.97% CSS 0.95% HTML 1.01%

greenhousemonitor's Introduction

GreenhouseMonitor: an ASP.NET Core on WASI sample

This is a sample application showing that typical ASP.NET Core code, including nontrivial features like WebSockets (via SignalR) and gRPC-Web can work unmodified when built as a WASI-compliant .wasm file and run inside wasmtime.

How to build

First make sure you have the prerequisites:

  • To build the .NET app: .NET 7, preview 4 or later
    • Make sure that you can run dotnet --version and it says 7.0.100-preview.4 or later
  • To build the Svelte UI: Node.js
  • To run the app: Wasmtime version 0.35.2 or later

Then:

  • Build the Svelte UI
    • cd src/GreenhouseMonitor/UI
    • npm install
    • npm run build
    • cd ../../..
  • Build the .NET application
    • cd src/GreenhouseMonitor
    • dotnet build

How to run

  • cd src/GreenhouseMonitor (unless you're already there)
  • Now, do any one of the following:
    • dotnet run
    • Or, if you're using Visual Studio, press Ctrl+F5
    • Or, if you prefer to invoke wasmtime manually:
      • wasmtime bin/Debug/net7.0/GreenhouseMonitor.wasm --tcplisten 0.0.0.0:5000
      • Note that if you use this mechanism, it's your job to remember to do a dotnet build each time you make further code changes.
  • Browse to http://localhost:5000

This assumes wasmtime is available on your system PATH.

Now, if you want to send some simulated sensor data via gRPC-Web,

  • Leave the GreenhouseMonitor app running, and open a new terminal window
  • cd src/SensorSimulator
  • dotnet run

How to attach a debugger

  • Start the application using this command:
    • wasmtime bin/Debug/net7.0/GreenhouseMonitor.wasm --tcplisten 0.0.0.0:8001 --tcplisten 0.0.0.0:5000 --env DEBUGGER_FD=3
    • Open VS Code inside the src/GreenhouseMonitor directory (e.g., run code . from there)
    • Ensure you have the Mono Debugger extension installed
    • Set a breakpoint somewhere in the .NET code
    • Go into VS Code's "Run and debug" tool and click Attach
    • You should see the console output Accepted connection from client, socket fd=5 and then, shortly after, Now listening on...
    • At this point, if you do something to cause the breakpoint to be hit, you should see it in VS Code

Caveats

The Wasi.Sdk is a very early experimental preview, and many things aren't yet implemented. In particular, .NET's garbage collection is not enabled at all, so over time the memory usage will grow indefinitely until the application terminates. This happens after handling several hundred HTTP requests. This is obviously something we intend to fix soon.

Another issue you may encounter is that wasmtime's sock_accept support has some bugs. For example if a client disconnects ungracefully while a TCP connection is open, then the wasmtime process will terminate (this is particularly the case on Windows).

About the included package binaries

Normally people don't bundle the .nupkg package binaries with their application sources, so you may be wondering why there are ~15 MB of binaries in the packages/ directory in this repo. It's simply because the version of Wasi.Sdk that supports debugging isn't yet published to the public NuGet feed. Once the latest package builds are published, it would not be necessary to have the packages/ directory in this repo at all.

greenhousemonitor's People

Contributors

stevesandersonms avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

greenhousemonitor's Issues

`dotnet build` failed to compile

with:

> dotnet --version
7.0.100-preview.4.22252.9

I get:

> dotnet build
[…]
  189/190 Bundling Grpc.AspNetCore.Server.pdb...
  190/190 Bundling Grpc.Net.Common.pdb...
C:\Users\harald\.nuget\packages\wasi.sdk\0.2.0-preview.10027\build\Wasi.Sdk.targets(220,3): error MSB3073: The command ""C:\Users\harald\.wasi-sdk\wasi-sdk-12.0\bin\clang.ex
e" C:\Users\harald\.nuget\packages\wasi.sdk\0.2.0-preview.10027\build\..\native\main.c C:\Users\harald\.nuget\packages\wasi.sdk\0.2.0-preview.10027\build\..\packs\wasi-wasm\
native\libmono-ee-interp.a C:\Users\harald\.nuget\packages\wasi.sdk\0.2.0-preview.10027\build\..\packs\wasi-wasm\native\libmono-ilgen.a C:\Users\harald\.nuget\packages\wasi. 
sdk\0.2.0-preview.10027\build\..\packs\wasi-wasm\native\libmono-component-debugger-static.a C:\Users\harald\.nuget\packages\wasi.sdk\0.2.0-preview.10027\build\..\packs\wasi- 
wasm\native\libmono-component-hot_reload-stub-static.a C:\Users\harald\.nuget\packages\wasi.sdk\0.2.0-preview.10027\build\..\packs\wasi-wasm\native\libmono-component-diagnos 
tics_tracing-stub-static.a C:\Users\harald\.nuget\packages\wasi.sdk\0.2.0-preview.10027\build\..\packs\wasi-wasm\native\libmono-wasi-driver.a C:\Users\harald\.nuget\packages 
\wasi.sdk\0.2.0-preview.10027\build\..\packs\wasi-wasm\native\libmonosgen-2.0.a C:\Users\harald\.nuget\packages\wasi.sdk\0.2.0-preview.10027\build\..\packs\wasi-wasm\native\ 
libSystem.Native.a C:\Users\harald\.nuget\packages\wasi.aspnetcore.bundledfiles\0.2.0-preview.10027\build\..\native\interop.c C:\Users\harald\.nuget\packages\wasi.aspnetcore 
.server.native\0.2.0-preview.10027\build\..\native\interop.c C:\Users\harald\.nuget\packages\wasi.aspnetcore.server.native\0.2.0-preview.10027\build\..\native\tcp_listener_l 
oop.c obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\dotnet_wasi_getbundledfile.c obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\ui.css.09D86999.o obj\Debug\net7.0\dotnet- 
wasi-sdk\bundle-objects\ui.js.A9899296.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\index.html.F4B53A71.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\greenhouse-doo 
r.png.CEEC7906.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\greenhouse-segment.png.DE526333.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\greenhouse-separator.png.F 
8A95E7F.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\GreenhouseMonitor.dll.A6C8E6B4.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Memory.dll.E8C66B0C.o obj\D 
ebug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Private.CoreLib.dll.9B5BB217.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Grpc.AspNetCore.Web.dll.5293F611.o obj\Debug 
\net7.0\dotnet-wasi-sdk\bundle-objects\System.Collections.dll.1114F030.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.AspNetCore.Http.dll.C22B1EFC.o obj\Debug\n 
et7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.Extensions.ObjectPool.dll.31CF911F.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Threading.dll.78B2156A.o obj\Debug 
\net7.0\dotnet-wasi-sdk\bundle-objects\System.Runtime.dll.90C59623.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Private.Uri.dll.0ABA0EA6.o obj\Debug\net7.0\dotne 
t-wasi-sdk\bundle-objects\System.Diagnostics.DiagnosticSource.dll.FED39DEB.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Threading.Thread.dll.38853DDC.o obj\Debug 
\net7.0\dotnet-wasi-sdk\bundle-objects\System.Collections.Concurrent.dll.EFE7F2DC.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Diagnostics.Tracing.dll.3A763F06.o 
 obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Runtime.InteropServices.dll.0B6CC23B.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.Net.Http.Headers.dll 
.2F376D8A.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Linq.dll.6091E9F7.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Numerics.Vectors.dll.1E51E264.o 
 obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.Extensions.Primitives.dll.8C458680.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.Extensions.Logging.
Abstractions.dll.3B34B7A2.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Net.WebSockets.dll.B53D0EFA.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.Wi 
n32.Primitives.dll.C56C6D42.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Net.Primitives.dll.49F4A43C.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Col 
lections.NonGeneric.dll.567C08DA.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Collections.Specialized.dll.FBAA3562.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-obje 
cts\System.ComponentModel.Primitives.dll.16979B57.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.ObjectModel.dll.0485AC7C.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle 
-objects\System.ComponentModel.dll.6EB95FF6.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Security.Cryptography.dll.410A94EC.o obj\Debug\net7.0\dotnet-wasi-sdk\bu 
ndle-objects\System.Text.Encoding.Extensions.dll.41EDF22A.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Runtime.Numerics.dll.580DA552.o obj\Debug\net7.0\dotnet-wa 
si-sdk\bundle-objects\System.Formats.Asn1.dll.63D963F2.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.AspNetCore.Connections.Abstractions.dll.6BFBD1B7.o obj\Deb 
ug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Net.Sockets.dll.B7D55AEB.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Threading.ThreadPool.dll.AD99514B.o obj\Deb 
ug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Security.Claims.dll.0F0794BE.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.IO.Pipelines.dll.D597C780.o obj\Debug\n 
et7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.Extensions.Features.dll.88153E3E.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.AspNetCore.WebUtilities.dll.43979 
A5C.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Text.Encodings.Web.dll.927312E9.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Runtime.Intrinsics.dll. 
2258060A.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.AspNetCore.Http.Features.dll.56E431C4.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.AspNet 
Core.Http.Abstractions.dll.602FE3CA.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.ComponentModel.TypeConverter.dll.191396A0.o obj\Debug\net7.0\dotnet-wasi-sdk\bun 
dle-objects\System.Xml.XDocument.dll.D119974C.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Private.Xml.Linq.dll.6DE0C1C9.o obj\Debug\net7.0\dotnet-wasi-sdk\bundl 
e-objects\System.Private.Xml.dll.3633B0E9.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Linq.Expressions.dll.87D047E1.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-ob 
jects\System.Reflection.Emit.Lightweight.dll.089D5D38.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Reflection.Primitives.dll.2CAFD417.o obj\Debug\net7.0\dotnet-w 
asi-sdk\bundle-objects\System.Reflection.Emit.ILGeneration.dll.197AE634.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Reflection.Emit.dll.8F4E7AFF.o obj\Debug\net 
7.0\dotnet-wasi-sdk\bundle-objects\System.Runtime.Loader.dll.EDB8D3FA.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Net.Http.dll.F71A9EBA.o obj\Debug\net7.0\dotne 
t-wasi-sdk\bundle-objects\System.Private.Runtime.InteropServices.JavaScript.dll.6FBFCFF1.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Net.Security.dll.7F9BADDE.o 
 obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Text.RegularExpressions.dll.D3133663.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Diagnostics.TraceSource 
.dll.746EFE2B.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Resources.Writer.dll.64A05175.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Runtime.Seriali 
zation.Formatters.dll.00C3219D.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Drawing.Primitives.dll.48D4C48B.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Mic 
rosoft.Extensions.DependencyInjection.Abstractions.dll.B8677483.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.Extensions.Options.dll.AF8193F5.o obj\Debug\net7. 
0\dotnet-wasi-sdk\bundle-objects\Microsoft.AspNetCore.Routing.dll.6694598F.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.AspNetCore.Metadata.dll.096AB93A.o obj 
\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.Extensions.FileProviders.Abstractions.dll.7E6A22F4.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.Extensi 
ons.Hosting.Abstractions.dll.A752826A.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.Extensions.Configuration.Abstractions.dll.A3C44633.o obj\Debug\net7.0\dotne 
t-wasi-sdk\bundle-objects\Microsoft.AspNetCore.Routing.Abstractions.dll.AC09C1C4.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.AspNetCore.Http.Extensions.dll.5 
DA06D5D.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Text.Json.dll.CF2E7192.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Wasi.AspNetCore.BundledFiles.dll.18 
89F7E2.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.AspNetCore.Hosting.Abstractions.dll.8FC05620.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.A 
spNetCore.Hosting.Server.Abstractions.dll.1F6B0F8B.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.AspNetCore.StaticFiles.dll.65936CC1.o obj\Debug\net7.0\dotnet- 
wasi-sdk\bundle-objects\Microsoft.Extensions.WebEncoders.dll.B22D4905.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.AspNetCore.SignalR.dll.9D75F0A8.o obj\Debug 
\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.AspNetCore.SignalR.Common.dll.1CFBE963.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.AspNetCore.Http.Connectio 
ns.dll.A21F7A79.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.AspNetCore.WebSockets.dll.0A9E868C.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.As 
pNetCore.Authorization.Policy.dll.90AAC570.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.AspNetCore.Authentication.Abstractions.dll.92070E6C.o obj\Debug\net7.0 
\dotnet-wasi-sdk\bundle-objects\Microsoft.AspNetCore.Authorization.dll.CCCD82C5.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Security.Principal.Windows.dll.B93B8 
66A.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.AspNetCore.Http.Connections.Common.dll.6FE23ED2.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.A 
spNetCore.SignalR.Core.dll.5844DBBA.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.AspNetCore.SignalR.Protocols.Json.dll.098CD1A9.o obj\Debug\net7.0\dotnet-wasi 
-sdk\bundle-objects\System.Threading.Channels.dll.95770468.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Grpc.AspNetCore.Server.dll.AAC35FD1.o obj\Debug\net7.0\dotnet-wa 
si-sdk\bundle-objects\System.Security.Cryptography.Encoding.dll.8257BD5B.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.AspNetCore.Server.Kestrel.Core.dll.2886D 
E5A.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.Extensions.Configuration.dll.3B0B263B.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Diagnostics.Pr 
ocess.dll.A1D8CD78.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Diagnostics.FileVersionInfo.dll.4B7C2372.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System 
.Security.Cryptography.X509Certificates.dll.881B16BF.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.IO.Compression.dll.A76B8628.o obj\Debug\net7.0\dotnet-wasi-sdk\ 
bundle-objects\Grpc.Net.Common.dll.63C95CBF.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Grpc.Core.Api.dll.007400FE.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\ne 
tstandard.dll.EEBC0362.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Xml.XPath.dll.857DA58D.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Xml.XPath.XDo 
cument.dll.3E6DC7F0.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Xml.XmlSerializer.dll.F8983440.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Xml.Read 
erWriter.dll.A2865771.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Web.HttpUtility.dll.0CEFDAF9.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Transact 
ions.Local.dll.8064C745.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Threading.Tasks.Parallel.dll.6B22EC61.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Syst 
em.Threading.Overlapped.dll.4F3823BF.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Runtime.Serialization.Json.dll.557AAEA0.o obj\Debug\net7.0\dotnet-wasi-sdk\bund 
le-objects\System.Private.DataContractSerialization.dll.7345DFF7.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Runtime.Serialization.Primitives.dll.959595E9.o obj 
\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Runtime.Serialization.Xml.dll.C1D3772D.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Runtime.CompilerServices. 
VisualC.dll.15164950.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Reflection.DispatchProxy.dll.3CC36DEB.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System. 
Net.WebSockets.Client.dll.625B5A50.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Net.Ping.dll.DDA1A57F.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Co 
mponentModel.EventBasedAsync.dll.0D65DC54.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Net.NetworkInformation.dll.6720AD99.o obj\Debug\net7.0\dotnet-wasi-sdk\bun 
dle-objects\System.Net.Mail.dll.2BA3D90D.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Net.ServicePoint.dll.E59C5EBE.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-obj 
ects\System.Net.WebProxy.dll.B8E09B3D.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Net.WebHeaderCollection.dll.7633A7B3.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle 
-objects\System.Net.WebClient.dll.EB3243FD.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Net.Requests.dll.9E09E8BF.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objec 
ts\System.Net.NameResolution.dll.2935D7F2.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Net.HttpListener.dll.877D19CA.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-ob 
jects\System.Linq.Parallel.dll.3667BDFD.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Linq.Queryable.dll.D1134110.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-object 
s\System.IO.IsolatedStorage.dll.594CA967.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.IO.FileSystem.Watcher.dll.B55F20B4.o obj\Debug\net7.0\dotnet-wasi-sdk\bundl
e-objects\System.IO.FileSystem.DriveInfo.dll.241DF23F.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.IO.Compression.ZipFile.dll.9040DB5A.o obj\Debug\net7.0\dotnet- 
wasi-sdk\bundle-objects\System.IO.Compression.Brotli.dll.83E51F38.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Diagnostics.StackTrace.dll.262D659C.o obj\Debug\ne 
t7.0\dotnet-wasi-sdk\bundle-objects\System.Reflection.Metadata.dll.C51947B8.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.IO.MemoryMappedFiles.dll.C623A104.o obj\ 
Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Collections.Immutable.dll.FA58CC69.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Diagnostics.TextWriterTraceLis
tener.dll.D8E977FF.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Console.dll.AA77B8DD.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Diagnostics.Contrac 
ts.dll.9BCA1A4C.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Data.Common.dll.2CA76AC8.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.IO.Pipes.dll.FEB35 
10F.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Wasi.AspNetCore.Server.Native.dll.EA09C400.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.Extensions.Loggi
ng.dll.7BE6A945.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.Extensions.DependencyInjection.dll.292B3E81.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Mic 
rosoft.AspNetCore.dll.9D165F22.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.Extensions.Configuration.UserSecrets.dll.DEABCF7B.o obj\Debug\net7.0\dotnet-wasi-s 
dk\bundle-objects\Microsoft.Extensions.Configuration.Json.dll.1AB7D7C4.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.Extensions.Configuration.FileExtensions.dl
l.C32B74F1.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.Extensions.FileProviders.Physical.dll.54B80B17.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Micro 
soft.Extensions.FileSystemGlobbing.dll.D329EAB5.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.Extensions.Options.ConfigurationExtensions.dll.7D6CC0AA.o obj\Deb 
ug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.Extensions.Configuration.Binder.dll.AB280084.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.Extensions.Loggin
g.EventSource.dll.53BA3560.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.Extensions.Logging.Debug.dll.66135532.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-object 
s\Microsoft.Extensions.Logging.Console.dll.68394D30.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.Extensions.Logging.Configuration.dll.4DFE8183.o obj\Debug\net
7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.AspNetCore.Diagnostics.dll.13C4C1F0.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.AspNetCore.Diagnostics.Abstracti 
ons.dll.49CD95EA.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.Extensions.Configuration.EnvironmentVariables.dll.193F27F4.o obj\Debug\net7.0\dotnet-wasi-sdk\bu 
ndle-objects\Microsoft.AspNetCore.Server.IISIntegration.dll.08C782C3.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.AspNetCore.Authentication.Core.dll.A217FD7C. 
o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.AspNetCore.HttpOverrides.dll.B5D0E9E8.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.AspNetCore.Serv 
er.IIS.dll.6E344EFD.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.AspNetCore.Server.Kestrel.dll.C7D3F375.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Micr 
osoft.AspNetCore.Server.Kestrel.Transport.Sockets.dll.6ECFCD08.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.dll.11B71 
D9E.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Net.Quic.dll.7F25973B.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.Extensions.Configuration.Comma
ndLine.dll.2FE1A049.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.Extensions.Hosting.dll.4D8E99D9.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.E 
xtensions.Logging.EventLog.dll.62E96A0A.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Diagnostics.EventLog.dll.2D951323.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle- 
objects\Microsoft.Win32.Registry.dll.CCF7A9F1.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Security.AccessControl.dll.865F95F5.o obj\Debug\net7.0\dotnet-wasi-sdk 
\bundle-objects\Microsoft.AspNetCore.HostFiltering.dll.A78ED420.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Microsoft.AspNetCore.Hosting.dll.61FA5387.o obj\Debug\net7. 
0\dotnet-wasi-sdk\bundle-objects\Microsoft.Extensions.FileProviders.Composite.dll.A01928BE.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Google.Protobuf.dll.E2336F14.o o 
bj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\System.Runtime.CompilerServices.Unsafe.dll.56BCBEE5.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\GreenhouseMonitor.pdb.EB 
8F3FA6.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Grpc.AspNetCore.Web.pdb.EDC3AC92.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Grpc.AspNetCore.Server.pdb.8C956F
89.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Grpc.Net.Common.pdb.FE99737A.o obj\Debug\net7.0\dotnet-wasi-sdk\bundle-objects\Grpc.Core.Api.pdb.76A92865.o obj\Debug\ne 
t7.0\dotnet-wasi-sdk\bundle-objects\Google.Protobuf.pdb.F6BF409C.o obj\Debug\net7.0\dotnet-wasi-sdk\entrypoint_GreenhouseMonitor.c --sysroot=C:\Users\harald\.wasi-sdk\wasi-s
dk-12.0\share\wasi-sysroot -IC:\Users\harald\.nuget\packages\wasi.sdk\0.2.0-preview.10027\build\..\packs\wasi-wasm\native\include -Wl,--export=malloc,--export=free,--export=
__heap_base,--export=__data_end -Wl,-z,stack-size=1048576,--initial-memory=524288000,--max-memory=524288000,-lwasi-emulated-mman -D WASI_AFTER_RUNTIME_LOADED_DECLARATIONS="v 
oid bundled_files_attach_internal_calls(); void native_networking_attach_internal_calls();" -D WASI_AFTER_RUNTIME_LOADED_CALLS="bundled_files_attach_internal_calls(); native
_networking_attach_internal_calls();" -o "obj\Debug\net7.0\dotnet-wasi-sdk\GreenhouseMonitor.wasm"" exited with code -1073741515. [F:\msys64\home\harald\git\GreenhouseMonito
r\src\GreenhouseMonitor\GreenhouseMonitor.csproj]
The terminal process "C:\Program Files\dotnet\dotnet.exe 'build', 'F:\msys64\home\harald\git\GreenhouseMonitor\src\GreenhouseMonitor/GreenhouseMonitor.csproj', '/property:GenerateFullPaths=true', '/consoleloggerparameters:NoSummary'" terminated with exit code: 1.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.