11
Cool .NET Tools, Techniques and Libraries aka. More .NET Stuff that Doesn’t Suck Presented by Gregory M. Sohl

Cool .NET tools, techniques and libraries

Embed Size (px)

Citation preview

Page 1: Cool .NET tools, techniques and libraries

Cool .NET Tools, Techniques and Libraries

aka. More .NET Stuff that Doesn’t Suck

Presented byGregory M. Sohl

Page 2: Cool .NET tools, techniques and libraries

PDF Merge (and split too)

GIOS PDF Split / Merge Open Source License: LGPL http://www.paologios.com/products/Default2.aspx?type=src

Page 3: Cool .NET tools, techniques and libraries

Easily Expose Unmanaged Interface

DLLExport Automated tool for exposing .NET static methods as an

unmanaged interface Uses Cecil to rewrite the IL after compile NuGet: https://www.nuget.org/packages/UnmanagedExports/ Project Info:

https://sites.google.com/site/robertgiesecke/Home/uploads/unmanagedexports

Page 4: Cool .NET tools, techniques and libraries

Using NuGet Safely

Open Source LicensesNuGet.org Trust issuesUse of feeds / repositoriesReview the Package Contents

Page 5: Cool .NET tools, techniques and libraries

Open Source Licenses

They’re not all created equalWhat’s your policy?

Page 6: Cool .NET tools, techniques and libraries

NuGet Trust Issues

No true author identificationNo package signingMany non-official packagesReference Phil Haack – http://bit.ly/haack-trust NuGet Goals - http://bit.ly/NuGet-Goals

Page 7: Cool .NET tools, techniques and libraries

Use of Feeds & Repositories

NuGet.orgMicrosoft Curated FeedSelf-Hosted RepositorySet up Visual Studio to use repositories in this order Self-Hosted Repo Microsoft Curated NuGet.org

Page 8: Cool .NET tools, techniques and libraries

Review the Package Contents

PowerShell Executes on install

Init.ps1 - runs the first time a package is installed in a solutionInstall.ps1 runs when a package is installed in a project

Executes on uninstallUninstall.ps1 runs every time a package is uninstalled

Source Code Embedded "other" 3rd party source - Check it's license too No Source? Review the DLL with disassembler

Page 9: Cool .NET tools, techniques and libraries

Compare .NET Objects

Kellerman Software - .NET Object Comparison Open Source License: Microsoft Public License (Ms-PL) Produced by Kellerman Software Provides type-independent deep comparison

Good control for special conditions https://comparenetobjects.codeplex.com/ We use it in serialization unit tests

Page 10: Cool .NET tools, techniques and libraries

View / Filter Large FilesTextAnalysisTool.NET Opens huge files Provides filtering by plain text and regex

Multiple filters, toggle on and off http://textanalysistool.github.io/ https://github.com/TextAnalysisTool Run It Other tools

Log Parser - https://technet.microsoft.com/en-us/scriptcenter/dd919274.aspxLog Fusion - http://www.logfusion.ca/

Page 11: Cool .NET tools, techniques and libraries

Questions

@gregsohl http://cwi-websoft.com