-
AOP with Roslyn–part 3–custom code at beginning of each method
Last time(http://msprogrammer.serviciipeweb.ro/2017/11/27/aop-with-roslynpart-2/) we have injected a new code into each method . However,this code was pretty much hardcoded into the MethodRewriter class – it was a simple Console.WriteLine(\”{nameClass}_{nameMethod}_{lineStartNumber}\”); Now we want to can customize this code at the will of the programmer. For this,I have modified classes RewriteCode and MethodRewriter to accept a parameter…
-
Friday links 245
High performance web user interfaces – Google I/O 2016 – YouTube 6 Stupid Mistakes Smart Developers Should Make Creating an EPUB for Workshop Notes Why I switched to making products | A geek with a hat The Hidden Time-Saving Benefits of Code Reviews – DZone Agile The curse of staying up to date with new…
-
AOP with Roslyn–part 2
I want to transform code by injecting some simple code,like “Console.WriteLine(“method”) So this code: should be modified to this code: How I do the code: I derive from CSharpSyntaxRewriter and override the VisitMethodDeclaration . I will construct a new node with the Console.WriteLine statement inserted As test,I have created…
-
Friday links 244
The Quiet Crisis unfolding in Software Development — Medium Microsoft meets Open Source · Ted Neward’s Blog Your Software is Never Perfect Docker: Windows containers on Windows host – step by step in Stapp.space 5 Ways Remote Teams Can Create a Culture of Accountability How to Build a Search Page with Elasticsearch and .NET Sayed…
-
AOP with Roslyn
What I am interested in is to make a tool that logs in when the program comes in and out of a method. It’s good for identifying problems in code and for logging. What already exists on the market: PostSharp – one of the best – see https://www.postsharp.net/alternatives Cecil http://www.mono-project.com/docs/tools+libraries/libraries/Mono.Cecil/ Fody https://github.com/Fody NConcern: https://github.com/Virtuoze/NConcern What…
-
Friday Links 243
In-Memory OLTP – Understanding Memory-Optimized Tables Automatically Creating UML Database Diagrams for SQL Server Eight Anti-Patterns for Optimization Projects – Time Cockpit Don’t Call Yourself A Programmer,And Other Career Advice | Kalzumeus Software WPF Diagram Designer – Part 4 – CodeProject 6 Signs That You Are Not Meant To Be A Programmer Dialog | jQuery…
-
Crossover tournament
This Saturday I have taken “Java,.NET,Ruby on Rails Chief Software Architects Hiring Tournament(https://www.eventbrite.com/e/bucharest-java-net-ruby-on-rails-chief-software-architects-hiring-tournament-tickets-38534409456 )” It was an occasion for me to see how sharp are my (old ) programming skills and ( rather new,compare with programming) architecture skills. For the record,I have finished the 4th from > 30 participants– that ‘s awesome for me. Here…
-
Friday links 242
( Experiment without title) http://brightside.me/creativity-art/24-hilarious-cartoons-by-an-illustrator-for-the-simpsons-that-will-definitely-make-you-smile-158755/ http://research.microsoft.com/en-us/people/mbarnett/ilmerge.aspx https://blogs.msdn.microsoft.com/kirillosenkov/2016/05/13/announcing-msbuild-structured-log-record-and-visualize-your-builds/ https://cloud.google.com/dotnet/getting-started/hello-world http://www.codeproject.com/Articles/1040107/Configuring-Visual-Studio-for-Obfuscation https://moz.com/blog/create-crawlable-link-friendly-ajax-websites-using-pushstate http://www.certwise.com/blog/would-you-fire-this-person/ https://jeremydmiller.com/2016/05/05/using-mocks-or-stubs-revisited/ http://www.dotnetfoundation.org/blog/wix-toolset-welcome https://visualstudiogallery.msdn.microsoft.com/cf49cf30-2ca6-4ea0-b7cc-6a8e0dadc1a8 http://www.fastcompany.com/3059634/your-most-productive-self/your-brain-has-a-delete-button-heres-how-to-use-it http://msraynsford.blogspot.ro/2016/05/drawing-to-engraving.html https://siderite.dev/blog/unit-testing-javascript-qunit.html http://jaliyaudagedara.blogspot.ro/2016/05/aspnet-5-aspnet-core-10-middleware-use.html
-
Friday links 241
Database Version Control Free Unit Testing Code Coverage with OpenCover and ReportGenerator Roslynator Autocomplete from Stack Overflow esprima Working with multiple environments
-
Agile Principles,Patterns,and Practices in C#
A good book about Agile,Design Patterns and UML: and others. A little bit too dense – but,if you are a beginner programmer,please be sure to understand the concepts. If you are a good programmer,just remember ideas.
I am ok , you are ok