Wednesday, December 26, 2018

DotPeek Tool: A .NET Decompiler

The dotPeek decompiler tool was initially introduced by Microsoft. It's a free-of-charge, standalone tool-based decompiler for any .NET assemblies. It converts .NET assemblies into equivalent C# code and optionally shows the underlying IL code. A dotPeek application can decompile different kinds of assembly files, such as Libraries (.dll), Executable files (.exe), Windows 8 metadata files (.winmd), Archives (.zip), NuGet packages (.nupkg), and Microsoft Visual Studio Extensions packages (.vsix).

Creating Different Types of Charts in ASP.NET MVC

Creating charts and displaying them in a Web page is a common requirement. As a developer, you might think "What is chart? And, how do I create charts in an ASP.NET application?"
One of the popular chart libraries is canvas.js. The canvas.js library is a simple and robust JavaScript API for the HTML5 element. This library could be used to generate interactive 2D graphs in a Web browser, by using lines, shapes, paths, images, and text. In this article, we will see how to use canvas.js to create various charts, such as Line, Column, Area, and Pie for ASP.NET MVC applications.

List Down Your Google Drive Files Using .NET

The Google Drive platform provides a list of APIs, along with client libraries, language-specific examples, and documentation for developers to integrate Drive functionalities with Web and Mobile applications. Core functionalities of Google Drive are to download and upload. However, the Drive also provides searching, sharing and collaboration, file listing, and exporting functions.

Integrating ASP.NET MVC with GitHub

Git is the most popular open-source, Cloud-based version control system. Git was started by Linus Trovalds (Founder of Linux) of in 2005; recently, Microsoft has acquired it. Git is the preferred version control system of most developers and enterprises because it stores file changes more efficiently and better ensures better file integrity. Git also allows developers to easily collaborate; they can download a new version of the software, make changes, and upload the newest revision. In this article, I will demonstrate how to integrate Git with Visual Studio so that you can create local branch and push changes, and also pull requests.

Connecting to an Azure SQL Database and Query Data from VS Code

Azure Service provides SQL relational database-as-a-service with high performance, reliability, and security. Developers can write C# code to connect to an Azure SQL database by using the .NET code framework from Visual Studio or Visual Studio Code editor. As a prerequisite, you need to install the latest version of Visual Studio or Visual Studio Code and you should have created the server level firewall rule in Azure to access the database from your development environment.

Encryption and Decryption in C Sharp Using TripleDES

The Triple Data Encryption Standard (DES) is a symmetric key encryption algorithm for computerized cryptography. As per the algorithm, the same key is used for encryption and decryption. Also, the same block cipher algorithms are applied three times to each data block. To implement TripleDES, .NET provides a TripleDES class present in the System.Security.Cryptography namespace. The TripleDES class represents the base class for .NET Triple Data Encryption Standard algorithms, from which all TripleDES implementations are derived.

Mocking API Responses in Azure API Management Portal

A mock API imitates a real API call by providing a realistic JSON or XML response to the requester. Mock APIs can be designed on a developer...