bicep
Our great sponsors
.NET Compiler Platform ("Roslyn") Analyzers | bicep | |
---|---|---|
11 | 74 | |
1,513 | 3,097 | |
1.5% | 1.6% | |
9.8 | 0.0 | |
6 days ago | 1 day ago | |
C# | Bicep | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
.NET Compiler Platform ("Roslyn") Analyzers
-
.NET Compiler Platform ("Roslyn") Analyzers VS Metalama - a user suggested alternative
2 projects | 7 Dec 2023
-
Microsoft.CodeAnalysis.BannedApiAnalyzers
See the following page
-
I wrote useful Microsoft ILogger<TCategoryName> analyzer, which helps you to find mistakes in your code
The other comment here is probably a good start. There may be some guidance over at https://github.com/dotnet/roslyn-analyzers on how to write high-performance analyzers. But your code is simple enough that I'm not sure it's a huge concern.
- Welcome to C# 11
- Which linters are you using for CI environments?
-
Errors and suspicious code fragments in .NET 6 sources
Moreover, in the Roslyn Analyzers issue tracker, was created the task of developing a new diagnostic that would detect such cases.
-
Improving your code for style, quality, maintainability, design... with Roslyn Analyzers
Microsoft.CodeAnalysis.PublicApiAnalyzers: Helps library authors monitor changes to their public APIs (more info).
bicep
-
Rethinking Infrastructure as Code from Scratch
Bicep has limitations which makes it non-declarative even though it is marketed as declarative: https://learn.microsoft.com/en-us/azure/azure-resource-manag...
MSFT is trying to add features to make this better, but it is not in production yet: https://github.com/Azure/bicep/issues/10460
Additionally, Bicep does not support interacting with Azure Active Directory: https://github.com/Azure/bicep/issues/7724
So it really is not very useful. Terraform is better in almost every single conceivable way.
-
Create your first Azure Bicep Template
Since its launch Bicep has become popular within the IT community. You can find blog posts, tweets, conference sessions, and plenty of interaction on the official Bicep GitHub space. Bicep became production ready at v0.3. It is supported by Microsoft Support Plans.
-
How to pass Bicep outputs between YAML steps
In addition, check the similar issue on GitHub.
-
Bicep code design best practice - input very much appreciated!
There is an ongoing thread here https://github.com/Azure/bicep/issues/1853
-
APIM JSON Schema Validation done easy
Let's assume I already have an APIM bicep template that provisions API Management Instance.
- Ask HN: Who is hiring? (June 2022)
-
Bicep Mode
I just created my first Emacs package, a major mode for the Bicep Language. I have to say it was quite easy to get to this. The Emacs docs are great and using LSP made it easy to add completion.
-
Farmer VS Pulumi
Bicep unfortunately chose to create a DSL instead of just exposing the dotnet API to allow IaC. Now there is a nuget package for Bicep core (https://github.com/Azure/bicep/pull/5826) you may be able to use dotnet code.
-
Would I replace Terraform with Bicep ? ๐ช๐ฝ
Bicep is open source with a strong community supporting it. All the binaries for the different supported operating systems can be downloaded from the official releases page of the Bicep open source project.
-
[HIRING] Senior Software Engineer - Microsoft
The backend code is C#, with CosmosDb/TableStorage for persistence. Our client tools are also mostly C#, with some TypeScript, and some Python. Our backend code is currently closed-source, but our Bicep repo gives an example of our coding style.
What are some alternatives?
StyleCop - Analyzes C# source code to enforce a set of style and consistency rules.
Pulumi - Pulumi - Infrastructure as Code in any programming language. Build infrastructure intuitively on any cloud using familiar languages ๐
Pester - Pester is the ubiquitous test and mock framework for PowerShell.
CodeMaid - CodeMaid is an open source Visual Studio extension to cleanup and simplify our C#, C++, F#, VB, PHP, PowerShell, JSON, XAML, XML, ASP, HTML, CSS, LESS, SCSS, JavaScript and TypeScript coding.
Gendarme - Gendarme is a extensible rule-based tool to find problems in .NET applications and libraries. Gendarme inspects programs and libraries that contain code in ECMA CIL format (Mono and .NET) and looks for common problems with the code, problems that compiler do not typically check or have not historically checked.
azure-cli - Azure Command-Line Interface
BenchmarkDotNet - Powerful .NET library for benchmarking
azure-quickstart-templates - Azure Quickstart Templates
terraform - Terraform enables you to safely and predictably create, change, and improve infrastructure. It is a source-available tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned.
NsDepCop - NsDepCop is a static code analysis tool that helps to enforce namespace dependency rules in C# projects. No more unplanned or unnoticed dependencies in your system.
infracost - Cloud cost estimates for Terraform in pull requests๐ฐ๐ Shift FinOps Left!
App.Metrics - App Metrics is an open-source and cross-platform .NET library used to record and report metrics within an application.