"Get Roslyn API calls to generate this code as LINQPad file!" button doesn't work
See original GitHub issueit just gets redirected to https://roslynquoter.azurewebsites.net/[object%20Object]
which is a blank page
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
"Get Roslyn API calls to generate this code as LINQPad file!" button ...
I've checked sources, this line doesn't make much sense to me function onSubmitLINQPad() { var arguments = generateQuery(); arguments.
Read more >Writing a LINQPad Data Context Driver
Create a new class that subclasses DynamicDataContextDriver or StaticDataContextDriver (or both) as described in the following sections. Create ...
Read more >Explore code with the Roslyn syntax visualizer in ...
The syntax visualizer provides a visual tool to explore the models the .NET Compiler Platform SDK generates for code.
Read more >Referencing other .linq files
LINQPad will automatically correct relative #load references when you save a query to a different folder.
Read more >Support C#8 NRT (Nullable Reference Types ...
The gist contains a linqpad file. Linqpad does not have a project, and the code within this file does not create a project...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes, your proposal won’t work because you can’t cause a file download from an XMLHTTPRequest that is POST. I needed a GET endpoint for the download to work.
You’re right about the duplication, I didn’t care much but I guess I can remove it.
Thanks you fixed it, but it looks like it duplicate an already-present logics, see https://github.com/KirillOsenkov/RoslynQuoter/blob/f3b595a683bda6323c13f407fdde275246fcf9b9/src/Quoter.Web/Controllers/QuoterController.cs#L55 and https://github.com/KirillOsenkov/RoslynQuoter/blob/master/src/Quoter.Web/wwwroot/scripts.js#L23
One of them seems redundant and may be safely removed. I’d expect the fix I proposed to work but if you think another endpoint is required then maybe you could remove this extra logic from the old place