• Deploy .NET Core +SqlServer application to Ubuntu

    Tools used: SSH –  Windows Native DOS – Windows Native SSMS – download https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-ver15 FileZilla – download https://filezilla-project.org/download.php?platform=win64 How I did : SSH : Install SqlServer: https://docs.microsoft.com/en-us/sql/linux/quickstart-install-connect-ubuntu?view=sql-server-ver15 SSMS: Copy database with SSMS export data DOS : Windows Compile application for Linux: dotnet publish -r linux-x64 Filezilla: Transfer with FileZilla all files: manual SSH -Change permission…

  • Friday Links 392

    Covariant and Contravariant Casting is 3x Slower than Dynamic Using ImageSharp to resize images in ASP.NET Core – a comparison with CoreCompat.System.Drawing ALM-Rangers/Breakpoint-Generator: Automatically generate breakpoints for all the public entry points in your solution. Google’s next trick for Android is ‘copyless pasting’ Removing the MVC Razor dependencies from the Web API template in ASP.NET…

  • ASP.NET Core WebAPI should/ (must?) have

    I am trying to have an extensive list about what an ASP.NET Core WebAPI project should / must have . After al,can be easy integrated into a VS project – or a wizard. I have put into 3 categories: Development – you need at development time. Testing – needed at testing time Production – needed…

  • Friday Links 391

    daveaglick/Scripty: Tools to let you use Roslyn-powered C# scripts for code generation Server.MapPath Equivalent in ASP.NET Core – CodeProject Add nice icons to your Visual Studio Code experience – A Developer’s Experience I was wrong,reflecting on the .NET design choices – Ayende @ Rahien Codealike: Powerful Metrics for High Performance Developers Open XML SDK for…

  • ASP.NET Core : Add controllers at runtime and detecting changes done by others

    Part 1 Adding controllers at runtime Adding controllers at runtime in ASP.NET Core involves the ApplicationPartManager and IActionDescriptorChangeProvider. Let’s say that we hardcode the creation of the controller     Then we will load into ApplicationParts and the code for is and it is added to the DI services by Usually,you do not need Part…

  • Friday Links 390

    Getting Started with Headless Chrome  |  Web  |  Google Developers Download | Minecraft: Education Edition The 9 questions that uncover the most surprising insights from employees Technical Foundations of Informatics: A modern introduction to R Technical Foundations of Informatics rstudio/bookdown: Authoring Books and Technical Documents with R Markdown good_enough_testing.pdf hrbt.pdf Felderer2014TaxonomyRiskBasedTesting.pdf Improvements to Model Binding…

  • Integrating SPA ( Angular,React,Vue) with .NET Core for production

    If you have a .NET Core WebAPI application ( that only serves data ) and  a SPA application ( Angular,Vue,  React) you can have just one application following this 2 steps: 1.  In .NET Core add in Startup.cs ( with using Microsoft.AspNetCore.Builder from Microsoft.AspNetCore.StaticFiles ) app.UseDefaultFiles(); app.UseStaticFiles(); app.UseRouting(); app.UseAuthorization(); app.UseEndpoints(endpoints =>             {                             // If…

  • Friday Links 389

    Visual Studio Design Patterns add-in – Source Code Best Answer to “Sell Me This Pen” I Have Ever Seen | Girish Amanapu | Pulse | LinkedIn The curious case of async,await,and IDisposable – Bill Wagner JSON.net not just for serialization | ASP.NET Monsters modeln.github.io/sDashboard/example/ex.html Milton Erickson’s Rules of Life | Ericksonian Info Reversing the Lies…

  • Angular base href for web,desktop,mobile ( and paths for services)

    My current stack is .NET Core (backend) + Angular ( frontend) ( For  database,it is usual SqlServer – but I use Sqlite,Mongo,local storage ….) With Angular I can have Mobile application ( by Cordova ) and Windows Desktop ( with Electron) But the BaseHref it is a PIA …. even for Web,if you host into…

  • Friday Links 388

    BugDrone – Core Automation and Tech – Confluence.ea.com RickStrahl/WestWindWebSurge: Quick and easy URL and Load Testing for your Web applications on Windows 26 Mind-Blowing Psychology Facts That You Never Knew About People Just Another .NET AOP Framework: NConcern – CodeProject Virtuoze/NConcern: NConcern .NET AOP Framework Virtuoze/CNeptune: CNeptune improve productivity & efficiency by urbanize .net module…

I am ok , you are ok