Category: .NET

  • AutoActions for Skinny controllers–custom template

    Now I want to let the user make his own template. For this,I have enriched the attribute AutoActionsAttribute with a public string CustomTemplateFileName { get; set; }   The code was pretty easy,just reading from GeneratorExecutionContext . AdditionalFiles instead of reading from the template in the dll     There are 2 small catches 1…

  • [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…

  • SideCarCLI–looking at past and at future

    It was interesting to develop the project for command line same as for cloud design pattern,https://docs.microsoft.com/en-us/azure/architecture/patterns/sidecar . The problem were more about architecture organizing features to be easy understandable ,testing the application writing about   rather than  technical,about how to make the application. Other,it was a pretty simple project,that can be useful in  CI /…

  • Fun with Moniker- naming assembly versions

    I liked the way docker generates names for every container instance – it was a funny way to differentiate them. I was thinking  – what about nuget packages – or any other release  ? I have discovered Moniker – https://github.com/alexmg/Moniker . Can be used as in docker – to generate different names at various runs.…

  • Exchange rates–what I have done in 37 hours–part 38

    What I have create for now in 37 hours : A source control – https://github.com/ignatandrei/InfoValutar A plugin based software – you can use to load any kind of exchange rates,for anywhere,provided that you implement the interface – see implementation Tests for some of the code Deployment: An Azure WebAPP  WebAPI deployment  – https://infovalutar.azurewebsites.net/swagger/index.html A Docker…

  • C# WebAPI and NotFound with message in MVC .NET 4.5

    Usually,WEBAPI should return correct HTML status code ( read also https://damienfremont.com/2017/11/23/rest-api-maturity-levels-from-0-to-5/ ) . Let’s say we are saving an entity  – the OK result could return a meaningful message. How about querying for an id that you cannot find ? Easy: NotFound :  .But –the NotFound does NOT show an message. How a client can make…

  • Use the right language for the job–if you know

    Many years ago I have done a site that lists the exchange rates from BNR and BCE ( www.infovalutar.ro ). It reads the exchanges from BNR html page and then put into a database. The use is for programmers – there are many methods to find latest exchange rates ( RSS,SOAP,url,by MVC,JSON… –  see  all…

  • Dotnet Try

    I have wrote a blog post about DotNet CLI Tools I did not mention one that is super important: DotNet Try : https://github.com/dotnet/try You can see at https://github.com/dotnet/try how to install it . Or,to use in Docker,check my files to install in Docker https://github.com/ignatandrei/Presentations/tree/master/2019/shorts/NetCoreGlobalTools/dotnetTry   . To edit files in Docker,use Visual Studio Code with Docker and Remote Development and Docker extension.…

  • [PostEvent] Talks by Softbinator

    The organizers from Talk from Softbinator were kind enough to select me for a presentation. Again,my presentation about .NET Core and Angular Everywhere. Source Code at https://github.com/ignatandrei/angNetCoreDemo/  The presentation was supposed to take 1/2 hour – and it took 1 hour with all the explanations. Video at https://www.facebook.com/softbinator/videos/459024768242391