C# Corner

Resources  
  • First Application In ASP.NET Core MVC 2.0Jan 20, 2018. Recently Microsoft announced anew version of Asp.Net Core and that is Asp.Net Core 2.0, which has new and amazing features which not only improve performance as well as increase productivity and enhance your application making it more robust and reliable.
  • Enabling Swagger In Your .NET Core 2.0 Application - A Step By Step GuideJan 19, 2018. If you have ever worked with APIs, then you might be familiar with Swagger. If you have not heard about Swagger, then this post will help you know the basics of Swagger and the steps to configure Swagger with your .NET Core 2.0 application.
  • Publish Nuget Packages In .NET CoreJan 19, 2018. Now that you have a registry and key to upload your packages, let’s create and push a package. I am using here a simple .NET Core class library I wrote to work with CSV files, the source code can be found on GitHub. You can of course use any of your projects.
  • Upgrading Your Application In Azure Managed KubernetesJan 18, 2018. In the previous article, we deployed an ASP.NET Core 2.0 API app in AKS (Azure Managed Kubernetes). Now, let's quickly look into how to upgrade the application when there is a change in code. Please make sure you read the previous article to follow through this one.
  • ASP.NET Core 2.0 - Applying Bootstrap TemplateJan 18, 2018. This article walks you through the steps for creating an ASP.NET Core 2.0 Web Application using Bootstrap as the template for layout.
  • Deploying ASP.NET Core 2.0 App To Azure Using DockerJan 18, 2018. Azure provides a highly scalable, configurable and easy to use Platform-as-a-Service (PaaS) environment for our ASP.NET Core web applications. Azure Web App is one of the simplest ways to host web applications and the new Web App Container makes it really easy to host Docker containers.
  • Custom Model Binding In ASP.NET Core 2.0Jan 17, 2018. In an earlier post I discussed how to prevent insecure object references by encrypting the internal references (e.g. table primary keys) using Data Protection API. To avoid duplication of code that encrypts/decrypts on every controller I used filters in that example. In this post I’ll use another complimentary technique: custom model binding.
  • Deploy Your First ASP.NET Core 2.0 App In Azure Managed KubernetesJan 17, 2018. This guide will help you to get started with AKS. We are going to deploy our first ASP.NET Core 2.0 App in AKS and then do some cool stuff like scaling up and down.
  • Database First In .Net Core 2.0 CRUD Operation - Part OneJan 17, 2018. In my previous post, I have explained how to create an Angular 5 application in Visual Studio 2017 using .NET Core templates which you can find here.
  • CRUD Operation In MVC Using Elastic SearchJan 17, 2018. Elastic search is a search engine based on Lucene. It provides a distributed, multitenant-capable full-text search engine with an HTTP web interface and schema-free JSON documents. Elastic search is developed in Java and is released as open source under the terms of the Apache License.
  • Learn Basics Of MVC ArchitectureJan 16, 2018. Recently, I learned the basics of MVC by going through various articles. And I thought to write an article based on my learning which, I think, may help at least few who are looking forward to learn MVC.
  • Basics Of Angular And Its Versions - Part ThreeJan 16, 2018. In this article, I am going to explain more on one of the 8 main building blocks, that is, Services.
  • Identity Server 4 With ASP.NET Core 2.0Jan 16, 2018. OAuth 2 provides several flows or grant types for various use cases. I personally group them into two categories; flows that require user interaction with authorization server and flows that don’t.
  • Create Your First ASP.NET Core 2.0 Service Fabric Container Application In WindowsJan 16, 2018. Learn how to create your first ASP.NET Core 2.0 Service Fabric Container application in Windows.
  • How To Use Sessions In ASP.NET CoreJan 16, 2018. In this article, we will learn the very simple way to use Sessions state in ASP.NET Core applications.
  • Using CSP Header In ASP.NET Core 2.0Jan 15, 2018. Content Security Policy (CSP) is an additional level of security that could help prevent Cross Site Scripting (XSS) attacks. In these attacks malicious scripts are executed on user’s browser since browser doesn’t know whether the source of the script is trustworthy or not.
  • ASP.NET Core 2.0 - How To Use Dependency InjectionJan 15, 2018. In this article, I'll show you the new feature introduced in ASP .NET Core that allows you to inject dependencies directly into a View using the dependency injection container.
  • Basics Of Angular And Its Versions - Part TwoJan 15, 2018. Module is nothing but a package like a package in Java, a namespace in C# and like a header-file in C / C++. Java, C#, and C++ have their own modularity system which contains classes, interfaces, enumerations etc. In the same way, Angular also has its own modularity system called NgModules which helps to organize an application into adhesive blocks of functionality. Every Angular application should have at least one NgModule and the root module is called AppModule.
  • Basics Of Kotlin - JVM ImplementationJan 15, 2018. Hello Guys, we already knew that Google announced that Kotlin is a new first class language for Android Development. Kotlin is now an official language on Android. It's expressive, concise, and powerful. Best of all, it's interoperable with our existing Android languages and runtime.
  • Bulletproof Disposable Types In .NET CoreJan 14, 2018. Whenever I do code review on .NET projects, hands down the number one issue is developers not calling .Dispose() on disposable objects. Ever since .NET was released, I have been preaching how important this is. If not done properly, it’s most likely to create virtual memory issues that will eventually cause the application to stop and possibly freeze server or users’ computer.
  • ASP.NET Core 1.0 - Change Bootstrap Layout In Three StepsJan 14, 2018. This article walks you through the steps for creating a ASP.NET Core Web Application using Bootstrap as template for layout and changing it to a new one.
  • Angular 5 CRUD Operation Using Node, Express, MongoDBJan 13, 2018. In this article, we’ll learn to create basic CRUD application using angular 5, Nodejs, Express and Mongodb nosql database.
  • How To Control An LED Using Raspberry Pi 3, Windows IoT Core, And Visual Studio UWPJan 13, 2018. This is an introduction to Raspberry Pi 3 Model B. We will explore what Raspberry Pi 3 has to offer in terms of its features and performance.
  • Google Chart With ASP.NET Core And Visual Studio CodeJan 13, 2018. The Google Chart API lets you dynamically generate charts with a URL string and embed these charts on a web page, or download the image for local or offline use. The Google Chart Tools enable adding live charts to any web page. They provide advantages such as a rich gallery of visualizations provided as image charts and interactive charts and they can read live data from a variety of data sources. Users embed the data and formatting parameters in an HTTP request, and Google returns a PNG image of the chart. Many types of chart are supported, and by making the request into an image tag the chart can be included in a web page.
  • Preventing CSRF Attacks In ASP.NET Core 2.0Jan 12, 2018. OWASP 2013 classifies Cross Site Request Forgery (CSRF) as one of the Top 10 risks and is present if attacker can force the victim's browser to send forged request to your web application and it considers it a legitimate request.
  • Install Windows 10 IoT Core And Remote Login On Raspberry Pi 3Jan 12, 2018. Windows 10 IoT Core is a version of Windows 10 that is optimized for smaller devices with or without a display, and that runs on the Raspberry Pi 2 and 3, Arrow DragonBoard 410c & MinnowBoard MAX. Windows 10 IoT Core utilizes the rich, extensible Universal Windows Platform (UWP) API for building great solutions. If you're new to Windows 10 IoT, this post will go through how to get Windows 10 IoT installed on a Raspberry Pi 3.
  • ASP.NET Core 2.0 Status Code PagesJan 11, 2018. Exception handling middleware (as discussed here) will catch unhandled exceptions however if you want to display error pages for individual HTTP status codes then framework provides another middleware for this purpose.
  • Configure Windows Authentication In ASP.NET CoreJan 11, 2018. Using Windows authentication, users are authenticated in ASP.NET Core application with help of operating system. Windows Authentication is a very useful in intranet application where users are in same domain.
  • Preventing Insecure Object References In ASP.NET Core 2.0Jan 10, 2018. How to prevent insecure direct object reference in ASP.NET Core.
  • Basic Components In .NET FrameworkJan 09, 2018. A .NET gathering is a standard for segments created with the Microsoft.NET.
  • Basics Of Angular And Its Versions - Part OneJan 09, 2018. Angular is the next version of Google’s highly popular MV* framework for building complex web applications.
  • Preventing Redirect Attacks In ASP.NET Core 2.0Jan 09, 2018. When your controllers redirect to another location based on user input (e.g. via query string), it is important to ensure that the location is not malicious and prevent open redirect attacks. The simplest way to ensure this is by examining the URL provided by the user.
  • Hashing In ASP.NET Core 2.0Jan 08, 2018. The new Data Protection API in .NET Core includes functionality to create hashes using PBKDF2algorithm. ASP.NET Core uses this behind the scenes in PasswordHasher class, which is used in ASP.NET Core Identity.
  • Statistical And Standard DAX Functions In Power BIJan 06, 2018. This article describes the Power BI DAX functions and their definition, overview, basic syntax and use. This article specially describes the statistical and standard DAX functions of Power BI.
  • Navigation And Parameterized Routes In Angular 5Jan 05, 2018. We have seen the basics of the Routing in Angular in the last article. Now let’s see how Angular offers navigation and how we can use the parameterized routes in Angular. Let’s try to understand how to navigate programmatically from the component and from the template.
  • Understanding Q# Programming LanguageJan 05, 2018. In this article I going to give basic information to understand the Q# Programming Language.
  • Using HTTPS In ASP.NET Core 2.0Jan 05, 2018. Create an empty project and update Startup to add services and middleware for MVC, including the filter for HTTPS.
  • Understanding Process, Application Domain And AssembliesJan 05, 2018. We usually come across these terms: Process, Application Domain or App Domain, Assemblies. It is good to have a basic knowledge of these terms and how each one is related to each other.
  • FormFlow In Microsoft Bot Framework - Part OneJan 04, 2018. In this series we are going to explore a few basic and advanced features of formflow in Microsoft bot framework. In Part 1 we will see what is formflow, and how to implement a basic formflow.
  • CORS In ASP.NET Core 2.0Jan 04, 2018. To allow clients from a different origin to access your ASP.NET Core Web API, you’ll need to allow Cross-Origin Requests (CORS). Here same origin means clients who have identical schemes, hosts and ports.
  • Exploring ASP.NET Core 2.0 And Docker On MacOSJan 04, 2018. Last year, I wrote an article about “.NET Core On Mac - Building An ASP.NET Core App With Web API, EF, PostgreSQL And Running It On Docker”. The article was using .NET Core 1.1 version and If you’ve been following the same steps mentioned from the article using .NET Core/ ASP.NET Core 2.0, then it’s expected that the steps won’t work anymore.
  • Create Angular 5 Application Using .Net Core 2.0 Template In Visual Studio 2017Jan 04, 2018. Angular 5 has been announced recently and we already have a template added in the Visual Studio 2017 with .Net Core 2.0.
  • Custom Service Dependency Injection In .Net Core 1.1Jan 04, 2018. In this article we will go through one of the key features of .Net Core, Custom Service dependency injection in .Net core 1.1, particularly at controller’s action level .
  • Share Code Between ASP.NET Core MicroServicesJan 04, 2018. Microservice architecture or microservices is a method of developing software applications as a suite of independently deployable, small, modular services in which each service runs a unique process and communicates through a well-defined, lightweight mechanism to serve a business goal.
  • Angular From Basic To Expert - Day ThreeJan 03, 2018. In the previous articles - AngularJS from basic to expert Day One and Day Two, we have learned what AngularJS is, its basics, and usage of AngularJS expression and directives. Here we will learn Models, Modules, and Controllers in AngularJS.
  • ASP.NET Core 2.0 AuthorizationJan 03, 2018. Authorization is about deciding permissions users have and resources they can access. In ASP.NET Core this is achieved by first assigning claims to the user and then based on those claims defining policies to determine user permissions.
  • Exploring Angular Fundamental With Visual Studio 2017Jan 02, 2018. This article explains the fundamentals of Angular by creating a simple Angular application with Visual Studio 2017 using the default template available with .NET Core.
  • Using Collection In KotlinJan 02, 2018. Collections are used to store groups of related Objects in memory. Like java, kotlin also supports collection frameworks.
  • Learn Angular 4.0 In 10 Days - Directives - Day FourJan 02, 2018. A Directive modifies the DOM to change appearance, behavior or layout of DOM elements. Directives are one of the core building blocks Angular 4 uses to build applications. In fact, Angular 4 components are in large part directives with templates. From an Angular 1 perspective, Angular 4 components have assumed a lot of the roles directives used to. The majority of issues that involve templates and dependency injection rules will be done through components, and issues that involve modifying generic behavior is done through directives.
  • Routing And Navigation With Angular 5Jan 02, 2018. Angular routing helps navigation across the application from one view to another view, it also allows us to maintain the state, implement modules and load the modules based on the role of the user. Let’s see in this article how we configure the routing and some basic concepts with it.
  • CRUD Operations With ASP.NET Core Using Angular 5 And ADO.NETJan 02, 2018. Here, I am going to explain how to create an MVC web application in ASP.NET Core 2.0 with Angular 5.
  • Invoking Web Application From Console Application (.NET Core) Via Command PromptJan 02, 2018. This article is mainly for the command prompt lovers who want to use it to launch their web application build on .Net Core.
  • Host ASP.NET Core On Linux With JexusJan 02, 2018. In this article, you will learn a new and easy way to host your ASP.NET Core project on Linux with Jexus Web Server.
  • R Services In SQL Server 2017Jan 02, 2018. Hello Everyone. In this article I will be demonstrating how to use R Services in SQL Server 2017. This article is intended for those who have a basic idea of R language. If you don't, still no worries. You can still go through and grab it easily. I will go into details of R language in some other article.
  • Hide The Running Batch File Using Visual Basic ScriptJan 02, 2018. This how-to article is straightforward and to the point. In this post, you will learn how to run batch files in hidden mode.
  • ASP.NET Core 2.0 Cookie AuthenticationJan 02, 2018. Cookie Authentication allows developers to hook into events at various lifecycle stages of the authentication process. For instance you could log successful sign-ins using OnSignedIn or use OnValidatePrincipal (runs on every request) to invalidate the user (e.g. if you want to force sign-out).
  • ASP.NET Core 2.0 Bearer AuthenticationJan 02, 2018. Bearer Tokens (or just Tokens) are commonly used to authenticate Web APIs because they are framework independent, unlike something like Cookie Authentication that is tightly coupled with ASP.NET Core framework.
  • ASP.NET Core And EF Core 2.0 TestingDec 29, 2017. The single biggest selling point of MVC architecture in general and ASP.NET Core in particular is that it makes testing much simpler. ASP.NET team has done a great job in making a framework that is pluggable, thus enabling testing of controllers, repositories and even the entire application a breeze.
  • The Basics Of YAML In 5 Minutes Or Less!Dec 29, 2017. This quick read will teach you the basics of YAML markup language in the time it takes to make a cup of tea :)
  • Creating A CRUD With ASP.NET Core And EF CoreDec 28, 2017. Entity Framework Core (EF) is an ORM that makes it simpler to work with database by using POCO classes that map to database entities and DbContext to interact with them.
  • Entity Framework Core Migrations Using ASP.NET COREDec 27, 2017. Let us learn about Entity Framework Core migrations using ASP.NET CORE.
  • Consuming ASP.NET Core 2.0 Web API Using HttpClientDec 26, 2017. We’ll create a library to wrap the functionality of HttpClient. I’ll use builder pattern for this purpose. Add a class with methods for storing parts of HttpClient.
  • Understanding Data Structures - Linked ListsDec 26, 2017. In this article we will go through the basics of linked list data structure and implementation of it in various programming languages like C, C++, C#, Java, Python, VB.Net
  • ASP.NET MVC 5 - Buttons In Datatables jQuery PluginDec 26, 2017. Table view is one of the most important and basic forms of presenting data on a web page. However, adding action to each row is equally important simply because action for each row leads to different results. Jquery Datatables plugin is one of the most used plugins, as I have demonstrated its integration in ASP.NET MVC5 - Datables Plugin Server Side Integration in one of my articles.
  • Create And Deploy An ASP.NET Core Web App In AzureDec 23, 2017. This article will help you to create & deploy an ASP.NET Core web app in Azure.
  • Asynchronous Messaging Using ASP.NET Core 2.0 Web APIDec 21, 2017. How to implement asynchronous messaging using ASP.NET Core Web API. Create an empty project and update the Startup class to add services and middleware for MVC.
  • How To Host ASP.NET Core Application on IIS ServerDec 21, 2017. In this article, you will learn how to host ASP.NET Core Application on IIS Server.
  • Documenting ASP.NET Core 2.0 Web APIDec 20, 2017. Documents generated by Swagger can include XML documentation.
  • Create Web API With .NET CoreDec 20, 2017. This article explains the way to create webapi using Asp.net core and Microsoft visual studio core.
  • Weather Updates In Console Application Using APIDec 20, 2017. Here, I am writing an article to give a basic idea of consuming a Web API from Yahoo Weather and display it in the Console.
  • Understand HTTP.sys Web Server In ASP.NET CoreDec 19, 2017. HTTP.sys is a Windows-based web server for ASP.NET Core. It is an alternative to Kestrel server and it has some features that are not supported by Kestrel.
  • How To Create Azure Function App To Delete SharePoint Online List Using CSOMDec 19, 2017. Azure Functions are used for executing a small piece of code or “functions” in a cloud and you will pay only for the time your code executes. You can use development language of choice such as C#, F#, PHP, Java etc. Some of the key features of Functions are Choice of language, Pay-per-use pricing model, bring your own dependencies, integrated security, simplified integration, flexible development, and open-source. Please refer Azure Functions for more details.
  • Formatters In ASP.NET Core 2.0 Web APIDec 19, 2017. Let us learn about formatters used in ASP.NET Core 2.0 Web API.
  • Getting Started With Apache SparkDec 18, 2017. In Big Data, Hadoop components such as Hive (SQL construct) , Pig ( Scripting construct), and MapReduce (Java programming) are used to perform all the data transformations and aggregation . Now with Apache Spark the same is being achieved with many more advantages like unified API performance, and support for multiple languages, 10X-100X faster than MapReduce.
  • How To Create A Simple Azure Function App Using C#Dec 18, 2017. Azure Functions are used for executing a small piece of code or “functions” in a cloud and you will pay only for the time your code executes. You can use development language of your choice such as C#, F#, PHP, Java etc. Some of the key features of Functions are Choice of language, Pay-per-use pricing model, bring your own dependencies, integrated security, simplified integration, flexible development, and open-source. Please refer to Azure Functions for more details. In this article you will see how to create a simple Azure Function using C# that will run whenever an HTTP request is received.
  • Building Multitenant Architecture Using ASP.NET Core And Micro ServicesDec 18, 2017. Instead of deploying an application per client, organizations prefer multitenancy to save infrastructure cost and deployment time. Multitenant architecture helps to adapt changes for different clients under the hood. In this article I am not going to discuss database design for multitenant applications but I will be focused on achieving separation for different clients.
  • ASP.NET Core 2.0 Tag Helper ComponentDec 18, 2017. In case you’re wondering if the solution above is missing a Tag Helper for head HTML element, it’s not. ASP.NET Core team has provided us with two built-in Tag Helpers, one targets head and the other targets the body element: HeadTagHelper and BodyTagHelper.
  • Kendo Tree View Remote DatabindingDec 17, 2017. From this article, you will learn how to implement the Kendo tree view with remote data-binding.
  • Configure Identity In ASP.NET Core 2.xDec 15, 2017. Identity is a membership system that allows us to add login functionality to our application. In my previous article, I have explained about the overview of Identity in ASP.net Core. There are some default behaviors that can be overridden easily in our application in ConfigureService method of startup class.
  • Overview Of Identity In ASP.NET Core 2.0Dec 15, 2017. It is a membership system that allows us to add login functionality to our application. User may create account and login using credential or can use external login provider such as Google, Microsoft Account, Twitter, Facebook etc.
  • Handling Concurrency In ASP.NET Core 2.0 Web APIDec 15, 2017. We add a magic value to the response based on data we hold at the time. Usually ETag header is added for this purpose containing hashed value based on data/body of response.
  • ASP.NET Core 2.0 Web API AND HATEOASDec 14, 2017. The idea behind HATEOAS (Hypermedia As The Engine Of Application State) is to transfer links in the resource representations. The sample demonstrates how links can be provided for a collection and individual resources. The links represent the actions that can be performed on the resource at a given point in time.
  • An Introduction To Quantum ComputingDec 13, 2017. In this article, I am going to cover some of the basics of Quantum computing and also set up an environment on our local machine with Visual Studio 2017 to get started with Quantum programming.
  • Versioning ASP.NET Core 2.0 Web APIDec 13, 2017. As your Web API changes, you would need to add versioning support in order for clients to continue working correctly. Adding versioning support in ASP.NET Core involves first configuring services in Startup and then choosing a versioning strategy i.e. via query string, URL or HTTP header.
  • Building API Gateway Using Ocelot In ASP.NET Core - Part Three - LoggingDec 12, 2017. In this article, we will discuss Logging when we build API Gateway using Ocelot in ASP.NET Core.
  • Sorting In ASP.NET Core 2.0 Web APIDec 12, 2017. Sorting information is usually received via query parameters. The POCO SortingParams simply hold this information and passes to service (or repository).
  • Paging In ASP.NET Core 2.0 Web APIDec 11, 2017. Paging information; i.e., page number and page size, is usually received via query parameters. The POCO PagingParams simply holds this information and passes it to service (or repository).
  • Filtering In ASP.NET Core 2.0 Web APIDec 10, 2017. Filtering information is usually received via query parameters. The POCO FilteringParamssimply hold this information and passes to service (or repository).
  • Sending SMS Using ASP.NET Core With Twilio SMS APIDec 07, 2017. In this article, we will explain how to Send SMS using ASP.NET Core With Twilio SMS API. Twilio provides third party SMS API for sending sms over the global network.
  • Azure Face API - Hands-On Using Python (Basic)Dec 06, 2017. In this article, I will be working on Azure 's Face recognition API. I will be showing you how to exploit this very powerful API in order to add recognition capabilities to your applications by detecting human faces in images.
  • Callback Concept And Events In Node.jsDec 06, 2017. Hello friends, today I explain you about callbacks and events in Node JS. People who are new to Node JS please learn previous articles NodeJS - Getting Started With Some Basic Functions .
  • Building First Console Application Using Command Prompt In .NET Core 2.0Dec 06, 2017. In this post, we will create our very first console application in .NET Core, and we will see how we can build .NET Core based applications without using any IDE or Visual Studio.
  • Aspect Oriented Programming In C# Using DispatchProxyDec 06, 2017. Example of implementing logging using Aspect Oriented approach with DispatchProxy class.
  • Building An ASP.NET Core Application With Web API And Code First DevelopmentDec 05, 2017. In the previous article, we’ve learned the high-level overview of what Entity Framework is all about and learned how to build a web application quickly using Entity Framework’s Database-First development.
  • NodeJS - Getting Started With Some Basic FunctionsDec 02, 2017. Today, I am explaining about getting started with NodeJS. Node.js is a powerful JavaScript-based framework/platform built on Google Chrome's JavaScript Engine.
  • Security In ASP.NET Core 2.0Dec 01, 2017. Securing your web applications with ASP.NET Core 2.0
  • Getting Started With Kotlin - BasicsNov 29, 2017. Google announced Kotlin as an official language for Android Application development in Google I/O 2017.Kotlin is a statically-typed language, developed by JetBrains and Open source Contributors in the 2011, that runs on JVM(Java Virtual Machine) and is compiled to JavaScript source code. It is very suitable for server-side application development with full compatibility of Java frameworks. You can use multiple frameworks like - Spring, Vert.x, Ktor etc. for web application development.
  • Creating Custom Tag Helpers With ASP.NET Core MVCNov 29, 2017. The tag helper enables us to run server-side code to generate HTML, CSS, Javascript code in Razor view.
  • Angular 5, ASP.NET Core CRUD For Inventory Management Using EF And WEB APINov 29, 2017. In my previous article, I have explained how to get started with Angular5 and ASP.NET Core. Now in this article let's see in depth on how to work with WEB API, EF for performing a CRUD operation for Angular5 and ASP.NET Core application.
  • Angular 5 BasicsNov 27, 2017. In this article, I ‘m going to discuss a basic introduction and the project setup of Angular 5. Angular 5 contains new features, performance improvements and log of bug fixes and many other things A few of them are mentioned below.

About core-java-basics

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!