-
RSGC-Enum-part 3
name Enum nuget https://www.nuget.org/packages/AOPMethodsCommon/ https://www.nuget.org/packages/AOPMethodsGenerator/ link http://msprogrammer.serviciipeweb.ro/category/roslyn/ author Andrei Ignat This will generate code to fast parsing a int or a string to an enum The code that you start with is The code that you will use is The code that is generated is Example Code: https://github.com/ignatandrei/RSCG_Examples/tree/main/Enum
-
RSCG- AppVersion–part 2
name ThisAssembly nuget https://www.nuget.org/packages/ThisAssembly link https://www.clarius.org/ThisAssembly/ author Daniel Cazzulino The ThisAssembly.Info allows you access to the Assembly Information as constants,instead of going to reflection each time. I found useful to see the assembly version right away in any project that I have. The code that you start with is in .csproj <PropertyGroup>…
-
RSCG–part 1
Roslyn Source Code Generators are a easy way to generate automatically code that can be injected at compile time. This code can be generated on some template file or based on existing code or both . It works by intercepting at compile time the result of compilation of the existing source code and adding to…
-
Friday Links 410
Introduction to PayPal for C# – ASP.NET developers – CodeProject Serverless HTML5 Chat with Emitter,Vue and Bootstrap – CodeProject C#.NET: Implementing SVD++ AI Data Mining Algorithm To Produce Recommendations Based On Ratings Prediction – CodeProject Mobile-Friendly Test – Google Search Console Custom Tag Helper: Toggling Visibility On Existing HTML elements | Scott Sauber Publishing your…
-
[ADCES]Programmer2Head & DataPreparation with JupyterNotebooks
Prezentare 1:Titlu: De la “just a programmer” la “head of his software company”Descriere : Despre o calatorie care a inceput,nu intr-un garaj american,ci la Automatica,si care a continuat pe 3 continentePrezentator: Radu Iovescu,https://www.linkedin.com/in/riovescu/Prezentare 2:Titlu: Data Preparation with Jupyter Notebook and DataFrameDescriere::Prezentator: Daniel Costea,MVP,https://mvp.microsoft.com/en-us/PublicProfile/5003534 Va astept miine,9 februarie,la https://www.meetup.com/Bucharest-A-D-C-E-S-Meetup/events/275609419/
-
Friday Links 409
telerik/UI-For-UWP: This repo contains the source code for Telerik UI for Universal Windows Platform (UWP),which includes 20+ UI controls for developers building UWP applications. New Year,New Devs: Sharpen your C# Skills – Building Apps for WindowsBuilding Apps for Windows How algorithms (secretly) run the world Surprise! You don’t own the digital devices you paid for…
-
AOPMethods–dogfooding
I was trying to apply AOPMethods to – surprise! – AOPMethods project itself. And I have discovered a new reason: I do not want to make the methods public. I just want to put try/catch around them to know what is wrong. The fast – and not so good – idea was to transform MethodPrefix…
-
Friday Links 408
The Scientific Reasoning Behind Our Strange Sex Practices Microsoft/TechnicalCommunityContent: includes technical content about Cloud and other technologies,optimized for use within Technical Community Events openstf/stf: Control and manage Android devices from your browser. The 2017 Guide to Polyfills How I improved my chatbot – benjamin perkins Storyteller 4.0 is Out! | The Shade Tree Developer Interactive…
-
AOPMethods–adding partial functions and enums
I was finishing the AOPMethods – and what I have been thinking is – why not add partial functions ? I have added Console.Write,but … this seems more general… So,now,this is the Person class definition with the partial function definition [AutoMethods(template = TemplateMethod.MethodWithPartial,MethodPrefix =”pub”,MethodSuffix =”bup”)] partial class Person { partial void Method_Start(string methodName) { Console.WriteLine($”start…
-
AOP Methods–Problems in running and solving
The problems that I have encountered were: 1. The ThisAssembly RoslynGenerator that I use should not be put as reference in the nuget. I have fixed this by adding <PackageReference Include=”ThisAssembly.AssemblyInfo” Version=”1.0.0″ ReferenceOutputAssembly=”false” /> 2. I have problems generating code to async code with Task . The problem was that I have added logging (…
I am ok , you are ok