urlactiongenerator's Issues
Generate for Minimal APIs?
Sweet project.
I insisted upon its use at work for a AspNetCore MVC project to eliminate problems due to incorrect URLs and to prevent 404 errors.
Is there a way for this source generator to scan for Minimal Web Apis???
Generate actions for identity ui
It would be nice if we could also generate methods for the identity ui pages. First off we need to check if it is possible to generate those methods and it should be configurable because the dll is included in the framework but has to be explicitly enabled in startup.
Request: Add Support for PageModels, Web Api Controllers and SignalR Hubs
Great tool. A vast improvement over R4MVC.
I would like to make a request... add support for page models, web apis and signalR hubs.
Add doccomment to the generated methods
The generated methods in the IUrlHelper class currently don't have any doccomments on them however they are supposed to be used publicly. We should add doccomments on these methods to explain what they do.
For the method comment it can say something like "Generate a url for ".
We can also try to extract the individual parameter documentation and add that to the generated method so you get to see the same doccomment for the parameter you put on the original method.
Excluding Parameters/Bound Properties and Performance
Is there anyway to have parameters excluded, either via individual attributes per parameter or an assembly level attribute.
I have several page model methods that either have a CancellationToken as a parameter or a custom type (GridParameters used for getting Grid Pagination and Sorting info using a custom ModelBinder). I have run into some issues with the code that is generated for these parameters.
Also, and I think this is more due to the "new-ness" of source generators and interoperability with Razor Pages and not UrlActionGenerator, but editing both the C# code-behind and razor pages becomes dog-slow after installation.
Support for [Route] and Http Methods Attributes.
Hey, that library looks great. I've always wanted something like this!
Does it support [Route]
attribute and [HttpGet("product")]
(and similar) attributes?
Generator Not Running (v4.0-alpha.1)
Hey was checking out version 0.4.0-alpha.1. I added the nuget to my solution. Rebuilt/Cleaned/ closed and restarted visual studio but could not get the generator to generate any paths. The project targets .net5.0. I also tried adding the attributes OutputItemType="Analyzer" ReferenceOutputAssembly="false"
to the reference in case that would make a difference, but it did not. I can see it shows up under the Analyzer root in Visual Studio
But appears to not have any generated files under it.
Any suggestions? Thanks
Feature Request: JavaScript Replaceable URLs
T4MVC had a neat feature that would generate URLs that could be used in JavaScript.
I don't think they ever got it to work for R4MVC.
Would something like this be possible for the UrlActionGenerator?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.