-
AutoActions for Skinny controllers–deploying at NuGet
First time I was thinking that is enough to do dotnet pack to make a Nuget package to deploy on NUGET. It was not. I realized that the generator was not starting at all! And it was not in the project Dependencies=>Analyzers . Time to read more from https://github.com/dotnet/roslyn/blob/master/docs/features/source-generators.cookbook.md,I realized that I was wrong –…
-
AutoActions for Skinny controllers–first implementation
Now with the implementation. First,I find all the fields declarations that had the Autonotify if (syntaxNode is FieldDeclarationSyntax fieldDeclarationSyntax && fieldDeclarationSyntax.AttributeLists.Count > 0) { foreach(var al in fieldDeclarationSyntax.AttributeLists) { var att = al.Attributes; foreach(var at in att) { var x = at.Name as IdentifierNameSyntax; if(autoActions.Contains(x.Identifier.Text)) { CandidateFields.Add(fieldDeclarationSyntax); return; } } } } Second,I must…
-
AutoActions for Skinny controllers–idea
How you generate actions in controllers ? Usually,you create a Business Logic class and then you expose via a controller in a WebAPI . And,if you are very careful,then you use the Skinny controllers concept ( read more about it at 3 ways to keep your asp.net mvc controllers thin (jonhilton.net) ). So this implies…
-
Friday Links 401
dotnet/dotnet-developer-projects.md at master · Microsoft/dotnet Irony – .NET Language Implementation Kit. – Home daveaglick/Scripty: Tools to let you use Roslyn-powered C# scripts for code generation ivaylokenov/AspNet.Mvc.TypedRouting: A collection of extension methods providing strongly typed routing and link generation for ASP.NET Core MVC projects. Eight Tips For Your Programming Team’s Standup Meetings Build and run your…
-
[Video] 5 minutes about Click Once
Video 5 minutes about Click Once
-
[ADCES] Presentation about .NET 5
My presentation were about EFCore,RoslynGenerators,Breaking Changes and ClickOnce. Code and presentation at https://ignatandrei.github.io/Presentations/NET5prez.html . Next presentation will be https://www.meetup.com/Bucharest-A-D-C-E-S-Meetup/events/274737653/
-
[ADCES].NET 5 What’s new and awesome
Daniel Costea,Andrei Ignat si Dan Patrascu-Baba si o sa faca demo practice despre 1. C# – What’s new 2. ASP.NET Core – What’s new 3. EF Core – What’s new 4. Auto-Update de aplicatii Asp.NET Core si WPF prin ClickOnce 5. Roslyn Generators pentru code 6. Breaking changes 7 What’s new in Blazor on .NET…
-
Friday Links 400
DotNet Core Version Confusion | The Data Farm Options for CSS and JS Bundling and Minification with ASP.NET Core – Scott Hanselman HttpModule for query string encryption Overview of Hosting Your Own NuGet Feeds | Microsoft Docs NuGet.Server to Host NuGet Feeds | Microsoft Docs 97 Things Every Programmer Should Know – Programmer 97-things Contributions…
-
[Video] 5 Minutes Roslyn Code Generators
[Video] 5 Minutes Roslyn Code Generators
-
Console2SAAS- post mortem
It was interesting to wrote the mini e-book Console2SAAS with Daniel Tila. We have meet,at non-COVID time,at coffee shops and hubs and discussing about what each chapter should contain,why,and how to make more easy to read. In COVID times we met over Skype – it was slightly more difficult than meet in person. We have…
I am ok , you are ok