Replies: 7 comments 12 replies
-
Running the app it looks like: Uncomment the [StreamRendering] attribute in Routes.razor as shown below: |
Beta Was this translation helpful? Give feedback.
-
dotnet --info .NET SDK: Runtime Environment: .NET workloads installed: [maccatalyst] [ios] [android] Host: .NET SDKs installed: .NET runtimes installed: Other architectures found: Environment variables: global.json file: Learn more: Download .NET: |
Beta Was this translation helpful? Give feedback.
-
Just cloned the repo and launched the project: After uncommenting StreamRendering: Tested both with Debugging and Without Debugging and in Debug and Release mode.
|
Beta Was this translation helpful? Give feedback.
-
Thank you @sundnnstore @krishnavsr @mdmontesinos ... the results are inconsistent... but I think I see a pattern. If you have time could you all do one more experiment... In your Oqtane installation (latest dev branch code), please comment out the StreamRendering attribute in Oqtane.Client\UI\Routes.razor and run the framework to see what result is produced. In my local environment I get: |
Beta Was this translation helpful? Give feedback.
-
More strange behavior... I just updated my local environment to VS 17.8.7 and reinstalled the .NET SDK 8.0.3... and now the Oqtane Framework will not compile:
|
Beta Was this translation helpful? Give feedback.
-
I just tested the lastest dev branch by commenting the StreamRendering in Routes.razor and it works perfectly fine. All the content is displayed without any problem. |
Beta Was this translation helpful? Give feedback.
-
Thank you everyone for your assistance. I believe the differences in behavior are related to the different SDK versions that people have installed. I was told by a source at Microsoft that Blazor in .NET 8 “came in hot” meaning that it had to ship by a certain date even if it wasn’t 100% ready. This means that the patch releases of .NET 8 (8.0.1, 8.0.2, 8.0.3) contain a lot of critical fixes to mainline use cases. Which explains the unexpected behavior we saw early in the Oqtane integration versus now. Also, when the package dependencies are updated in a .NET solution to a newer patch version it does not mean your development environment is going to benefit from them unless you also install the related SDK. In my case I was still developing on an older SDK version even though Oqtane was updated to .NET 8.0.3 packages (and I noticed that many of you are also not fully updated to the 8.0.3 SDK). |
Beta Was this translation helpful? Give feedback.
-
Mackinnon Buck from the Blazor Product Team is investigating the rendering issue in Oqtane 5.1 which currently requires StreamRendering to be included. The discussion related to this item is in this thread:
dotnet/aspnetcore#54157
As per its usual policy, Microsoft requests a "minimal repro" of an issue in order to investigate (as they do not want to have to deal with setting up app/environment dependencies)... so I was able to repro the rendering issue in the Oqtane SSR POC project. However when Mackinnon clones the repo and runs the project he says that he cannot reproduce the problem.
Are any of you able to clone the repo (https://github.com/oqtane/OqtaneSSR) and run the app and let me know if the Home page displays the following content for you:
I need to determine if my local development environment is the exception case, or if others can reproduce the same problem.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions