6

In a Blazor clientside ASp.Core webapp in VS2019 preview there is a script-reference in index.thml file, ie:

<script src="_framework/blazor.webassembly.js"></script>

where can I find the blazor.webassembly.js file reference?

The index.html page contains:

<body>
    <app>Loading...</app>
    <script src="_framework/blazor.webassembly.js"></script>
</body>

2 Answers 2

10

This file is located as the resource in the Microsoft.AspNetCore.Blazor.Build nuget package. It is copied during build from that Nuget package to final location.

Source code for that files located https://github.com/dotnet/aspnetcore/tree/main/src/Components/Web.JS/src

Sign up to request clarification or add additional context in comments.

4 Comments

That link is not valid anymore (404 Not Found)
That link is not valid anymore (404 Not Found) +1
Update the link guys.
let me get it breh
3

The minified version can be found in your project, after building:

 ...\bin\Debug\netstandard2.0\dist\_framework\

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.