C# Corner

Resources  
  • C# 7.0 And C# 7.1 New Features - Part TwoOct 16, 2017. This article explains the new features of C# 7.0 & C#7.1. It covers new features like Discards, Pattern Matching, Generalized async return types, Async Main (Main Method returning Task), Infer Tuple Element Names, Default Literal Expressions & Type Inference and Pattern Matching with Generics.
  • Power BI - Get Data From SharePoint List / LibraryOct 16, 2017. In this article, we will explore two methods to get data from SharePoint List / Library in Power BI.
  • Angular Components (With Examples)Oct 12, 2017. A Component is nothing but a simple typescript class, where you can create your own methods and properties as per your requirement which is used to bind with an UI (html or cshtml page) of our application.
  • Getting Started With Entity Framework Core - Database-First DevelopmentOct 12, 2017. This article is the first part of the series on Getting Started with Entity Framework Core. In this post, we will build an ASP.NET Core MVC application that performs basic data access using Entity Framework Core. We will explore the database-first approach and see how models are created from an existing database. We will also take a look at how classes become the link between the database and ASP.NET Core MVC Controller.
  • How To Use Fiddler With ASP.NET Web API TestingOct 11, 2017. If you are developer, tester or a manager, sometimes understanding the various methods of API can be a challenge when building and consuming the application.
  • A Simple Login Application In AndroidOct 10, 2017. In this post, I will create a simple Login application. This post will give you a brief idea about how to develop an application which handles user interactions.
  • ASP.NET Core 2.0 Session StateOct 09, 2017. Using an empty project from a previous post, amend Startup class ConfigureServicee() method, and add services for session and its backing store.
  • Direct Dependencies And EnumerationOct 09, 2017. In this post, we will be talking about the two most commonly used types of relationships, namely, direct dependency relationship and enumeration.
  • How To Use Postman With ASP.NET Core Web API TestingOct 04, 2017. If you are developer, tester, or a manager, sometimes understanding the various methods of API can be a challenge when building and consuming the application.
  • ASP.NET Core 2.0 Error PagesSep 29, 2017. Starting from an empty project, created in a previous post, amend the Configure() method of Startup class to use middleware needed for error handling. Below I’ve used a custom middleware (defined as lambda) to handle production exceptions.
  • Create Value Object In C#Sep 28, 2017. Create a class that abstracts away (encapsulate) ‘data’ in your domain and provide methods to work on it. Below is a class I don’t consider a good Value Object.
  • How To Use Swagger With ASP.NET Core Web APIsSep 24, 2017. If you are developer, tester or a manager, sometimes understanding the various methods of API can be a challenge when building and consuming the application.
  • Dependency Injection - Part 7 - Service Locator PatternSep 18, 2017. Service locator pattern is one of the most commonly used patterns. In general, this pattern is used along with other patterns like Adapter Pattern, Observer Pattern, Dependency Injection Principles and many more. In this post, however, we will be talking about its use with dependency injection, which is one its many uses.
  • Create Immutable Type In C#Sep 14, 2017. A public constructor that accepts initialization data is required so that the client can pass-in minimum state for the type to be valid. Private constructor, on the other hand, is used by methods to construct a new object and set its entire state.
  • ASP.NET Core 2.0 EnvironmentsSep 12, 2017. Starting from an empty project, discussed in a previous post, modify the Configure() method to use the IHostingEnvironment to call different middleware based on current environment.
  • Kickstart Azure Database For PostgreSQLSep 10, 2017. This blog post will walk you through creating an Azure Database for PostgreSQL in Azure Portal. PostgreSQL is a powerful, open source object-relational database system and has capability to handle workloads ranging from small single-machine applications to large Internet-facing applications with many concurrent users. Azure Database for PostgreSQL is a managed service which enables you to run, manage, and scale PostgreSQL databases in the cloud.
  • Visual Studio Team Service - Trigger A Build Using Any HTTP ClientSep 07, 2017. In this post, we are going to see how easily we can trigger a new build in VSTS from any of our widely used HTTP clients likeFfiddler or Postman.
  • ASP.NET Core 2.0 MiddlewareSep 06, 2017. Create a Hello World app using ASP.NET Core Middleware. Middleware components are called in the order they appear in Configure() method; i.e., the order in which they're added to the pipeline. The response, on its way back to the client, also passes through the same middleware pipeline.
  • How Should We Store Images And Blob Files In SQL ServerSep 06, 2017. There is always a requirement from developers: How should I store images and BLOB files in SQL Server ? In this post let's explore the data types and methods used for storing Binary Large Objects also know as BLOBs, such as images and sounds, into SQL Server.
  • Getting Started With Bing Speech API In WPF ApplicationsSep 06, 2017. Cognitive services are a set of APIs that are designed to democratize artificial intelligence by enabling systems to see, hear, speak, understand and interpret our needs using natural methods of communication.
  • Integration Testing In .NET Core 2.0Sep 01, 2017. This blog post shows you how to create an in-memory integration testing framework that is quick and easy to setup for a .NET Core 2.0 Web Service.
  • Getting Started With Voice Of The CustomerAug 29, 2017. In any industry customer satisfaction plays a very important role. It provides a real picture about our happy and unhappy customers which helps us to manage and plan our business effectively. We can get a customer satisfaction matrix using different methods and one of them is to use customer satisfaction surveys.
  • Creating Login Form For Users With Image Uploading For Password RecallAug 27, 2017. The article is an alternate method of creating a login form where the conventional way of giving a password hint will be given as a question. In this, you can add an image which can be your hint if you forget your password.
  • Custom Extension Method In C#Aug 23, 2017. Here, I am going to explain how to create and use the extension method.
  • Dependency Injection - Part Four -Embracing AbstractionAug 18, 2017. Dependency Injection (DI) is a technique that helps us achieve loose coupling between objects and their collaborators. In this post, we will use constructor based dependency injection, however, we are not going to use any DI container for now.
  • Custom Model Binding In ASP.NET Core MVCAug 17, 2017. Model binding in MVC maps HTTP request data to the parameters of the controller's action method. The parameter may either be of simple type like integers, strings, double etc. or complex types. MVC binds the request data to the action parameter by parameter name.
  • Swift Programming - Zero To Hero - Part ThreeAug 17, 2017. Statements are the building blocks of any program. We can perform any function with the help of statements, such as checking values or declaring variables, calling methods, or even creating objects.
  • Who Is An Enterprise ArchitectAug 10, 2017. Earlier, I wrote two posts on the basics of EA, but in this post, I am taking a step back and trying to explain the difference between an IT Architecture and an Enterprise Architecture and sequentially I will explain the difference between a Solution provider (often called as solutioner) and an Architect.
  • Overview Of Filters In MVC - Part TwoAug 10, 2017. In ASP.NET MVC, a user request is routed to the appropriate Controller and Action Method. We need situations where we want to execute some logic before or after an action method executes. ASP.NET MVC provides Filters for this.
  • Creating A Flow To Get New Posts From Microsoft Flow Official Blog AutomaticallyAug 09, 2017. Today, we are going to create a simple flow using Microsoft Flow to get new posts from Microsoft Flow Official Blog automatically, so we can be updated and notified when something new shows up.
  • Making The Switch As A Software DeveloperAug 09, 2017. After nearly seven years at my previous position, I've decided to finally make a change. When this post goes live, I'll officially be working for the engineering team at Bay Dynamics, a San Francisco-based Risk Management and Cyber Security firm. I'm extraordinarily excited to get to join the amazing team there and be a part of something much larger than anything I've worked within the past.
  • Overview Of Filters In MVCAug 06, 2017. In ASP.NET MVC, a user request is routed to the appropriate controller and action method. We need situations where you want to execute some logic before or after an action method executes. ASP.NET MVC provides filters for this.
  • Introduction To jQuery And Web API 2 Controller’s Method Relationship Using jQuery AJAX In ASP.NET MVC RazorAug 06, 2017. ASP.NET Web API is a smart framework to build HTTP services which can be consumed by Multi platform clients including desktops or smart phone devices, irrespective of browsers or Operating Systems being used.
  • Building Your Own Container ImagesAug 04, 2017. Here, we will be building our own container images. For doing this we have two different ways, namely manual method and automated method. Let us see both ways.
  • Pre/Post Build Events Command Line In Visual StudioAug 02, 2017. Pre/Post build events are useful when we wish to perform some operation before/after a project is built. These operations are nothing but the Shell commands being used from the command line. A build event can be formed using a single, multiple, or conditional commands.
  • Implementing Equality In Value TypeAug 02, 2017. This post is to focus on implementing Equality in Value Types; i.e., overriding Equality behavior for our own implemented Value Types which is basically defining how to decide two object of a type are equal or not.
  • Null Object Design PatternJul 29, 2017. A null object is also known as a Stub, an Active Nothing or an Active Null. It helps our program logic to get rid of null checks where ever possible. We all know, that we can not call methods on a null reference as it results in a NullReferenceException. The null object pattern provides a non-functional object in place of a null reference and therefore allows methods to be called on it.
  • Fog Networks / Fog Computing - An OverviewJul 27, 2017. Like I mentioned in earlier posts, technology is evolving at a very fast pace, though this post will throw light on an up-coming technology, which is set to disrupt most of our networking/cloud compute environments. And the name is FOG
  • Component In Angular 2 and How to Create Nested Component in Angular 2Jul 25, 2017. In this article, we will learn about Angular 2 components and we will also see how to create a nested component.
  • Way Of Adding Angular In Visual Studio 2017 With a Simple MethodJul 24, 2017. This article explains how to add Angular in a simple way. We can add AngularJS in a different way to develop an application in Visual Studio but this article explains how to add angularJS in Visual Studio 2017 using a simple method.
  • Custom Actions Using CSOM For SharePoint Online - Part TwoJul 20, 2017. This is the second post of the Custom Actions Using CSOM for SharePoint Online series. In this post we will see how to create Ribbon Custom actions for different types of lists (Custom List, Document Library and Calendar).
  • Setting Up And Executing Basic Ansible PlaybookJul 20, 2017. This post will give you a brief overview of ansible and walk you through how to setup and run ansible playbooks.
  • Working With Filters In ASP.NET Core MVCJul 18, 2017. Filters allow us to run custom code before or after executing the action method. It provides ways to do common repetitive tasks on our action method. The filters are invoked in certain stages in the request processing pipeline.
  • Custom Actions Using CSOM For SharePoint OnlineJul 18, 2017. In this post, we will see how to add and remove Menu(ECB) and Ribbon custom actions to different types of lists (Custom List, Document Library and Calendar) in SharePoint online using CSOM (.NET managed) code.
  • Ability To Develop HTTP Methods Or Verbs (GET, POST, PUT, DELETE etc)Jul 17, 2017. Before going to explain the significant verbs or methods (GET, POST, PUT, DELETE, HEAD, OPTIONS, TRACE and CONNECT) for the communication among different clients and servers, first of all we should understand what HTTP methods are and how they are useful in real time.
  • Arithmetic Operation In ASP.NET MVCJul 16, 2017. In action result method I passed one string parameter named command and using this command I assigned some arithmetic operation string value and based on that the operation will be performed.
  • Introduction To SharePoint Event ReceiversJul 12, 2017. Event Receiver is a important feature in SharePoint . The use of Event Receiver is to handle the events. It is like a method that is triggered when an action occurs on a specified SharePoint object.
  • AddMvc And AddMvcCore Method In ASP.NET Core MVCJul 07, 2017. In this article, you will learn the differences between AddMVC() method and AddMvcCore() in ASP.NETcore MVC. ASP.NET Core is a modular complete rewrite of .NET cross platform framework.
  • Update Entity Form JS Library Without Removing Event Handlers - Quick WorkaroundJul 06, 2017. Let’s say we have one entity with a good amount of custom fields and we have developed a web resource for the main form. Many of the fields have onchange event associated with them. Now we have a new requirement where we need to implement a similar kind of form with some new functionality for different types of users and some of the existing methods also need to be modified. The requirement is to replace new form JS library with updated new JS library but without removing dependent handlers (as we are using many onchange event handlers as it is) with minimum effort.
  • Angular 4 Authentication With Auth0Jul 04, 2017. In this post we will quickly walkthrough how to do an authentication in an angular 4 app with a third party authentication provider called Auth0.
  • Two-Class Boosted Decision TreeJul 03, 2017. Two-Class Boosted Decision Tree module creates a machine learning model that is based on the boosted decision trees algorithm. A boosted decision tree is an ensemble learning method in which the second tree corrects for the errors of the first tree, the third tree corrects for the errors of the first and second trees, and so forth. Predictions are based on the entire ensemble of trees together that make the prediction.
  • Working With Objects In Windows PowerShellJun 27, 2017. Everything in PowerShell is an Object. An Object is a programmatic representation of anything. Each object has properties and methods.
  • Fix For 404 ResourceNotFound Error After Uploading To Azure ContainerJun 16, 2017. Here, in this post, we will see how we can resolve 404 ResourceNotFound Error after uploading to Azure CDN . It is obvious that you may feel very sad, if you are unable to see the image you recently uploaded to Azure container.
  • Marking Methods "Obsolete" In C# Class LibraryJun 14, 2017. In this article, I will explain how a method can be marked as obsolete in C# class library.
  • Azure Content Delivery Network (CDN) - A Walk ThroughJun 04, 2017. This post is going to walk through the Azure Content Delivery Network (CDN). Before we go deep into Azure CDN, it is recommended that you know what a CDN is and what the use of a CDN is. So let’s go and try to answer those questions.
  • Upload Content To Azure Container, CDN In WordPress Folder FormatJun 03, 2017. Here, in this article we are going to a see how we upload contents to our Azure container in our CDN storage in a WordPress folder format. You may be thinking what is so special in WrdPress folder format, what makes the difference in other formats? When I say WordPress folder format, I mean one folder in an another folder. In WordPress we usually have the structure as wwwroot/wp-content/uploads/2017/05/. The real problem is, we can not create a container inside a container. Yeah, you heard it right. But, you don’t need to worry about it, there are always few ways we can achieve this need, in this post I am going to show you that. I hope you will like this. Now let’s begin.
  • Extension Method In C#May 23, 2017. Extension Method In C#.
  • Data Structures And Algorithms - Part Two - A Word About Big-O NotationMay 22, 2017. This article is an introduction to Big-O Notation, which is used to measure the running time of a function/ method.
  • Reasons Why Even I Would Still Fail An InterviewMay 19, 2017. In this post, I will share only a few of the reasons why even a Microsoft MVP, C# Corner MVP and CodeProject MVP would fail an interview and get rejected straight away.
  • Azure Traffic Manager - Part OneMay 16, 2017. In the following article we will see how to create and add endpoints to Azure Traffic Manager profile with a geographical routing method
  • LINQ Basic To Advanced - MVC Demo ApplicationMay 16, 2017. Here, in this post, we are going to see some basic and advanced LINQ queries
  • Installing ASP.NET Core Docker For WindowsMay 08, 2017. In this post, we are going to see how we can install ASP.NET Core Docker in our Windows.
  • Publishing A Website To Azure, The FTP MethodMay 07, 2017. In the article given below, we will see how to publish a Website via FTP.
  • Add TOC (Table Of Contents) To Your Wordpress Posts Or PagesMay 07, 2017. In this post, we are going to a see how we can add Table of Contents to our WordPress posts and pages. Here, we are going to install a plugin to do this work. I have chosen this plugin because it is so simple and yet does the work very well. It doesn’t have more settings and features but the way it is created is 100% apt for what it is meant to be.
  • Publishing A Website To Azure, The Visual Studio MethodMay 06, 2017. The article given below will give you a demo on how to deploy a Website on Azure, using Visual Studio.
  • Dirsync Tweaks Post InstallationMay 05, 2017. Dirsync Tweaks Post Installation.
  • REST Features In WEB API With The Verbs GET, POST, PUT, DELETE, PATCHApr 24, 2017. In this article, I am going to explain about REST features with the verbs GET, POST, PUT, DELETE in WEB API.
  • How To Post FormData To WebAPI Using Angular 2Apr 17, 2017. In this article, I am going to explain how to upload an image to WebAPI, using Angular2, and post formData.
  • Software Testing!! BDD, AAA-Structure And Mocking For Unit TestingApr 16, 2017. In this article, you will learn about naming conventions, body structure and object mocking of the test method for unit testing.
  • SQL Server - ServicesApr 10, 2017. MS SQL Server provides services which are mandatory for database creation and maintenance. This article shows how to start and stop Services, using different types of methods.
  • Back Tracking Of Issues - Before Escalating To DeveloperApr 06, 2017. In the software testing world, Issued identification is a must have skill. In this blog post I have taken a simple scenario to show you how to back track the issues.
  • Making Method Parameters Optional In C#Apr 06, 2017. In this article, you will learn about how to make method parameters optional in C#.
  • Factory Method Design Pattern In C#Mar 31, 2017. Factory Method Design Pattern In C#.
  • AngularJS 2.0 From The Beginning - Http Module Part Two - Day EighteenMar 23, 2017. In this article, we will discuss about the http module post method.
  • Anonymous Methods And Lambda Expressions In C#Mar 22, 2017. In this article, you will learn about anonymous methods and lambda expressions in C#.NET.
  • To Execute the Workflow Instance through Power-Shell ScriptMar 20, 2017.
  • Read Posted Excel File Using NPOI Library In ASP MVC With AJAXMar 17, 2017. In this article, we will learn how to read posted Excel file from AJAX, using NPOI DLL in our ASP MVC Application.
  • Logging And Tracing With Post SharpMar 17, 2017. This article enables you to understand logging and tracing with Post Sharp.
  • IBM Watson Conversation ServiceMar 12, 2017. This post focuses on creating a conversation BOT, using IBM Bluemix Watson Service and some things which I learned along the way.
  • Creating Google Maps AutoComplete DropDown With Multiple Map PointersMar 03, 2017. Using this method, you can implement complete Google Maps implementation.This code is written in AngularJS and MVC , but you can use in pure JavaScript also.
  • Calling Method InformationFeb 27, 2017. In this article, you will learn about calling method Information.
  • Integrating SharePoint With Other Services Using Azure Logic App - Part TwoFeb 26, 2017. In this article, you will see how to post the data from Twitter to SharePoint portal, using Azure logic app.
  • How To Create Animation Using ViewAnimator In Xamarin With Visual Studio 2015Feb 25, 2017. In this article, we will learn how to create an animation using ViewAnimator, about the methods of ViewAnimator, and how set an animation effect, using ViewAnimator in Xamarin with Visual Studio 2015.
  • Coding Challenge - Lesson LearnedFeb 22, 2017. Here, I am sharing some note from the coding challenge: NumberStyles, Tuple, Generic Extension Method, Group string from right to left.
  • Creating An Internal Load Balancer In Microsoft AzureFeb 12, 2017. In the following article, I have explained the method of creating a load balancer in between two different VMs.
  • Custom Action Methods In ASP.NET Web APIFeb 10, 2017. In this article, you will learn about Custom Action Methods in ASP.NET Web API.
  • HTTP Get, Put, Post And Delete Verbs In ASP.NET WEB APIFeb 06, 2017. In this article, you will learn about HTTP Get, Put, Post and Delete verbs in ASP.NET WEB API.
  • Bind GridView Using jQuery Load In ASP.NET With No Page ReloadFeb 06, 2017. This tutorial explains how to bind GridView with no page reloading, using jQuery Load method.
  • Partial Methods In C#Feb 05, 2017. In this article, you will learn about Partial Methods in C#.
  • Creating Backup And Recovery Vault In AzureFeb 03, 2017. Here, I have explained the concept of creating an Azure backup and recovery vault and the methods of connecting a virtual machine to the vault for backup purposes.
  • Creating IoT Hub In Microsoft AzureJan 31, 2017. The following article teaches you about IoT hub and all its uses. I have also explained the methods to configure IoT Hub.
  • Calling A C# Function With jQuery AJAX In ASP.NET MVCJan 31, 2017. This article explains how to use jQuery AJAX method in ASP.NET MVC.
  • Delegates, Anonymous Method, And Lambda Expression In C#Jan 25, 2017. This article discusses Delegates, Anonymous Methods, and Lambda Expression in C#.
  • Building A Chatbot Using Azure Bot ServicesJan 16, 2017. This post focuses on building a chatbot, using Azure bot Services, and some of the things which I learned along the way.
  • Getting Started With .NET Core On Visual Studio 2017Jan 12, 2017. This post focuses on setting up .NET Core on Visual Studio 2017 and building a C# Hello World application with .NET Core.
  • Publishing Applications On Windows StoreJan 09, 2017. This article helps you learning the method of uploading your application package on the Windows Store.
  • Voice Login System Using Microsoft Visual StudioJan 07, 2017. In this article, I will explain the method of creating a login system, which works with the help of voice inputs. You can make use of this in the Automation programs for security purposes.
  • Setting Up GitHub Repository On Azure Web AppsDec 31, 2016. This post focuses on how to setup GitHub on Azure web apps.
  • What I Learned In 2016 And What I Expect In 2017Dec 29, 2016. In this post, I am sharing my top experiences- ideas I had, bad events I faced, along with what I am looking forward to in 2017.
  • C# Tutorial Part 2 - The First Error In Your ApplicationDec 28, 2016. This article gives an introduction to namespace, class, and methods used when an error occurs.

About Post-Method

NA
File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!