C# Corner

Resources  
  • Introduction To Blazor With .NET CoreApr 25, 2018. The Blazor is .net web framework which can run in any browser. We can create Blazor application using C#/Razor and HTML. The Blazor application runs in the browser on a real.NET runtime (Mono) via WebAssembly. It enables full stack web development with consistency, stability and productivity of .NET. Normally, it works with latest browser that support WebAssembly and it works in older browser by falling back to asm.js based .net runtime.
  • ASP.NET Core - CRUD With React.js And Entity Framework CoreApr 24, 2018. CRUD Operations in ASP.NET Core application using React.js, Web API and Entity Framework Core DB first approach with the help of VS 2017.
  • CRUD Operations In Android SQLite - KotlinApr 18, 2018. In this article, we will learn how to perform CRUD (Create Read Update Delete) operations SQLite using Kotlin, the official first-class programming language for Android development. It is very easy and similar to implement like Java. We will learn SQLite implementation by building Simple TODO Application.
  • GitHub Repository Integration With VSTS CICDApr 17, 2018. I have been working for awhile on Microsoft ALM tools. It is an awesome experience to explore and integrate different MS tools, such as VSTS CI, Release Management etc. Since the developer community has been exploding with an exponential growth of developers in the last decade, Microsoft has forseen that if it wants to stay in the game for long and climb up the ladder, they will have to focus on non-Microsoft technology devs, such as Ruby, Java, and PHP etc.
  • Using Azure Redis Cache On Your .NET Core Application - Part TwoApr 16, 2018. In this article, we will see how to use Azure Redis cache to cache your data and provide a faster way of loading the web pages to the users.
  • How To Design A .Net Core + Angular 5 Web App From The Ground UpApr 16, 2018. In this article, you will learn to design a .Net Core + Angular 5 Web App from the ground up.
  • All About Tag Helpers In ASP.NET Core 2.0Apr 11, 2018. This article will provide insight about the tag helpers in the terms of what, where and how.
  • CRUD Operation In Angular - Angular + Core 2.0 CRUD Operation - Part TwoApr 11, 2018. In my previous post (Part I), I explained how to do Database first in .Net Core 2.0 and we created Employee Web API by Database first approach.
  • ASP.NET Core Using TypeScript (2.6) With RequireJS In C#Apr 10, 2018. This article demonstrates how to create and use an application in ASP.NET Core using TypeScript (2.6) with RequireJS (2.3.5) in C#.
  • ASP.NET Core - CRUD Using Blazor And Entity Framework CoreApr 09, 2018. Microsoft has recently announced the release of a new .NET web framework – Blazor. In this article we are going to create a web application using Blazor with the help of Entity Framework Core. We will be creating a sample Employee Record Management system and perform CRUD operations on it.
  • ASP.NET Core 2.0 User Role Base Menu Management Using Dependency InjectionApr 03, 2018. In this article we will see in detail how to display role based dynamic menu after user logs in. For this we will create a Menu Master table and insert few records to display the menu and URL to menu based on logged in user role.
  • Building API Gateway Using Ocelot In ASP.NET Core - Load BalancingApr 02, 2018. In this article, we will discuss the load balancing module of Ocelot when building API Gateway.
  • Combining Angular 5 CLI Project And ASP.NET Core ProjectApr 02, 2018. Angular 5 is catching the attention of all the developers. And Dot Net Core from Microsoft is already popular. So what happens if you create an Angular project in the command line, and then you want to integrate it with Asp.Net core framework?
  • CRUD Operations In .NET Core With Angular And Entity FrameworkApr 01, 2018. In this article, we will learn how to implement CRUD (Create, Read Update, Delete) operations using .NET Core (2.0) with angular and Web API with Entity Framework using Visual Studio 2017.
  • Single Page Application Using ASP.NET Core - AngularMar 31, 2018. In this post, we are going to create a Single Page Application (SPA) with AngularJS and ASP.Net Core. We will use Angular-UI-Router for our application routing instead of MVC routing.
  • ASP.NET Core - Getting Started With BlazorMar 30, 2018. In this article, we will understand the new .NET framework – Blazor and create a sample calculator application using ASP.NET Core and Blazor.
  • Custom Editor With Dropdown List In Kendo GridMar 28, 2018. From this article you will learn how to implement the custom editor with dropdown list in kendo grid
  • ASP.NET Core - Two Factor Authentication Using Google AuthenticatorMar 26, 2018. We will generate a QR code in our ASP.NET Core application and use it to configure Google Authenticator app in our smartphone which will generate a six-digit time-based one-time password (TOTP) to implement two-factor authentication in our web application.
  • Create A New Application In DotVVMMar 23, 2018. In this article, we will learn the step-by-step method to create your first DotVVM application in .NET Core.
  • File Logging And MS SQL Logging Using Serilog With ASP.NET Core 2.0Mar 22, 2018. In this article, you will learn File Logging and MS SQL Logging using Serilog with ASP.NET Core 2.0.
  • Secure .NET Core Applications From CSRF Attack: .NET Core Security - Part TwoMar 20, 2018. If we compare .NET Core with .NET as far as the resolution of CSRF attacks is concerned, The ValidateAntiForgeryToken attribute and The AntiForgeryToken HTML helper(@Html.AntiForgeryToken()) are still there in .NET Core. On top of these, there are some more powerful options we have in .NET Core.
  • Using Azure Redis Cache On Your .NET Core Application - Part oneMar 18, 2018. In this article, we will see how to use Azure Redis cache to cache your data and provide a faster way of loading the web pages to the users
  • Angular From Basic To Expert - Day FourMar 18, 2018. Angular, Scope in AngularJS
  • Building API Gateway Using Ocelot In ASP.NET Core - QoS (Quality of Service)Mar 17, 2018. In this article, we will discuss QoS (Quality of Service) module of Ocelot when build API Gateway.
  • Getting Started With ASP.NET Core 2.0 Identity And Role ManagementMar 17, 2018. In this article, we will see in detail how to use ASP.NET Core Identity in MVC Application for creating user roles and displaying the menu depending on user roles.
  • All About Pages In ASP.NET Core 2.0Mar 17, 2018. This article is about @Page and all the different kinds of pages which come by default with ASP.NET Core 2.0 template.
  • Host An ASP.NET Core Application As A Windows ServiceMar 15, 2018. ASP.net core applications can be hosted using various way such as Hosted with IIS, Hosted with HTTP.sys Server, etc. This article is to about hosting ASP.net core application as Windows service. Windows services feature is available only with Windows platform. This is one of the way to host Asp.net core application on Windows platform without using IIS.
  • Setting Up Entity Framework Core Database With FactoryMar 14, 2018. In this write-up, I will explain how to easily and quickly set up your database using Entity Framework Core in a .NETCore project using the factory pattern to connect your entities to your database.
  • ASP.NET Core - CRUD Using Angular 5 And Entity Framework CoreMar 13, 2018. CRUD Operations in ASP.NET Core application using Angular 5 , Web API and Entity Framework Core DB first approach with the help of VS 2017.
  • Mapping Similar Objects In ASP.NET Core 2.0Mar 13, 2018. This article is about mapping similar objects of two different classes with reduced lines of code using ASP.NET Core Automapper.
  • Migrating to ASP.NET Core Tag HelpersMar 13, 2018. When ASP.NET Core was released, Tag Helpers were introduced—a new feature for encapsulating HTML markup. The purpose of adding Tag Helpers to the framework was to give developers an HTML-like experience when using server-rendered bits of markup. The idea here isn't to replace HTML Helpers, but to offer another approach that follows the same conventions as HTML by using tags and attributes.
  • Java Mail API Using GMAIL OAuth API In AndroidMar 11, 2018. In this article, we will learn how to send mail directly from Android application using Gmail API OAuth 2.0. To run the process successfully, you need to follow the steps carefully.
  • Shadow Properties In Entity Framework CoreMar 10, 2018. Entity framework core added many new features that are already present in older entity framework versions. One of the features of Entity framework core is "Shadow Properties". The feature "Shadow Properties" was originally introduced in EF 7.
  • First Look At ASP.NET Core 2.1 Preview One - Convert Existing .NET Core Application To .NET Core 2.1Mar 07, 2018. Finally, .NET Core 2.1 preview is out for people to try. Two days ago, the .NET team has announced the first preview of .NET Core 2.1. Let us see some of the highlights for this release.
  • Dependency Injection In ASP.NET Core 2.0Mar 06, 2018. In this article, we will see in detail how to use Dependency Injection in ASP.NET Core 2.0.
  • Authentication Using Facebook In ASP.NET Core 2.0Mar 06, 2018. In this article we are going to look into authentication of ASP.NET Core app using a Facebook account.
  • Table Splitting In Entity Framework Core 2.0Mar 06, 2018. One of the major benefits of the Entity Framework is that our entity model does not need to match our database model. With Table Splitting, it is possible to map multiple entities to the single database table.
  • Entity Framework Core Feature - Global Query FiltersMar 02, 2018. This feature is also refer as Model-level query filters. It allows to specify filter in the model level that are automatically applied to all queries that executed on the context on the specified type. It means that entity framework automatically adds the filter in where clause before executing the LINQ queries. Usually Global query filters are applied in OnModelCreating method of context. This filters are also automatically applied to LINQ queries involving the entity types referenced indirectly like included as navigation property.
  • No Tracking With Entity Framework CoreMar 02, 2018. DbContext in Entity Framework is responsible for tracking the changes made on the entity or object, so the correct update is done to the database when the SaveChange() method of context is called. When we retrieve entities using an object query, the Entity Framework puts these entities in a cache and tracks whatever changes are made on these entities until the savechanges method is called. Entity Framework tracks the query results that return entity types.
  • Using EasyCaching In ASP.NET Core - Caching InterceptMar 02, 2018. In this article, you will learn how to use EasyCaching to simplify caching operations
  • New Features Of Entity Framework Core 2.0Feb 28, 2018. Entity Framework Core is a lightweight and extensible version of Entity Framework. It is based on an ORM (Object-Relational Mapper) which enables us to work with databases using .NET objects. This article explains about the new feature of EF Core 2.0.
  • Using NPoco ORM In ASP.NET CoreFeb 27, 2018. As you know, we have so many ORM available such as NHibernate, Entity Framework, Dapper.Net which are used to communicate with database in order to perform CRUD (Create, Read, Update, Delete), and also retrieving data based on criteria.
  • ASP.NET Core 2.0 Project Structure And A Few Important Folders/ FilesFeb 26, 2018. Despite having been widely accepted as a development platform, ASP.Net was facing a big challenge in that it is only made for Windows servers and can only be executed on IIS.
  • Part Four - Building API Gateway Using Ocelot In ASP.NET Core - Rate LimitingFeb 21, 2018. In the previous articles of this series, we discussed how to build the API Gateway in ASP.NET Core.
  • Authentication Using LinkedIn In ASP.NET Core 2.0Feb 20, 2018. In this article, we are going to look into authentication of ASP.NET Core app using a LinkedIn account.
  • Enforce SSL And Use HSTS In .Net Core(2.0) Security - Part OneFeb 20, 2018. SSL (Secure Sockets Layer)is a standard security protocol for establishing encrypted links between a web server and a browser in an online communication.
  • Creating PDF In ASP.NET Core MVC Using Rotativa.AspNetCoreFeb 20, 2018. In this article, we are going to learn how to use Rotativa.AspNetCore tool to create PDFs from Views in ASP.NET Core. If you have worked with ASP.NET MVC, the Rotativa tool is already available there, which we can use for generating pdfs.
  • All About Appsettings.json In ASP.NET Core 2.0Feb 19, 2018. This article talks about the use of maintaining multiple configuration files for a single solution file and how to do this.
  • How To Install .Net Core On UbuntuFeb 19, 2018. This article is your roadmap to install .NET Core on Linux
  • Import And Export Data Using EPPlus.CoreFeb 19, 2018. In this post, we will see how we can import and export excel data in Asp.net Core. We are using EPPlus.Core library which helps us to perform import and export operations. I hope you will like it.
  • Publish ASP.NET Core 2.0 Application On Azure With SQL ServicesFeb 15, 2018. In this article, we will learn how to deploy or publish an Asp.Net Core 2.0 application on Azure.
  • Moq - Unit Test In .NET Core App Using Mock ObjectFeb 14, 2018. The Unit test is a block of code that helps us in verifying the expected behavior of the other code in isolation; i.e., there is no dependency between the tests. This is good way to test the application code before it goes for quality assurance (QA). There are three different test frameworks for Unit Testing supported by ASP.NET Core: MSTest, XUnit, and NUnit. All Unit test frameworks, offer a similar end goal and help us to write unit tests that are simpler, easier and faster.
  • Authentication Using Google In ASP.NET Core 2.0Feb 14, 2018. In this article, we are going to look into authentication of ASP.NET Core app using a Google account.
  • Application Initialization And Configuration In ASP.NET VersionsFeb 14, 2018. Most of us might have worked upon various versions of ASP.NET and few of you must be aware about the major changes happened in application initialization and configuration phase. In this article, I'll be outlining few of those major changes starting from ASP.NET MVC, ASP.NET Core 1.x and ASP.NET 2.x.
  • Authentication Using Twitter In ASP.NET Core 2.0Feb 13, 2018. In this article, we are going to look into authentication of ASP.NET Core app using Twitter.
  • Top 10 Most Popular Charts In Angular With .NET Core APIFeb 09, 2018. This article explains how to create charts in an Angular application.
  • ASP.NET Core 2.1 Features - Part OneFeb 09, 2018. In this post, we will see some of the top features of ASP.NET Core 2.1.
  • Unit Test In .NET Core Application Using NUnitFeb 08, 2018. There are three different test frameworks that are supported by ASP.NET Core for unit testing - MSTest, xUnit, and NUnit. These allow us to test our code in a consistent way. In this article, I will explain about the unit test using NUnit.
  • Unit Test In .NET Core Application Using MSTestFeb 07, 2018. In this article, I will explain about the unit test in asp.net core using MSTest.
  • Unit Test In .NET Core Application Using XUnitFeb 07, 2018. There are three different test frameworks for Unit Testing supported by ASP.NET Core: MSTest, xUnit, and NUnit; that allow us to test our code in a consistent way. In this article, I will explain about the xUnit framework. the XUnit is an open souce test framework and main focus of this framework are extensibility and flexibility. It follows more community focus to being expand.
  • Cookie Authentication With ASP.NET Core 2.0Feb 07, 2018. Authentication is an integral part of web security. ASP.NET Core provides multiple ways to implement authentication in a web application. We will be looking into on such technique - Cookie authentication in this article.
  • Using EasyCaching In ASP.NET Core - Part OneFeb 05, 2018. In this article, you will learn how to use an open source library named EasyCaching to handle caching in ASP.NET Core.
  • Facebook Login Setup In .Net Core(2.0) - Step By Step GuideFeb 05, 2018. In this post, we will see how to add Facebook Login in your .Net Core project.
  • CRUD Operations In ASP.NET Core 2 Razor Page With Dapper And Repository PatternFeb 04, 2018. This article will demonstrate how to perform CRUD operations in Razor Page which were introduced with Asp.Net Core 2 using Dapper and Repository Pattern.
  • What Is New In .NET Core 2.1Feb 03, 2018. What Is New In .NET Core 2.1
  • Getting Started With Razor Pages In ASP.NET Core 2.0Feb 01, 2018. Today, we will talk about more about Razor pages - what actually a Razor page is, how to create Razor page applications, and some of the fundamentals of Razor pages.
  • ASP.NET Core 2.0 IdentityJan 30, 2018. In a previous post, I showed how to use cookie authentication middleware to protect your web application. ASP.NET Core also provides a richer set of services, called Identity, to work with user authentication and management scenarios. For instance, in addition to authentication and password hashing, it provides features for registering new users, creating forgot & reset password tokens and their validation, two-factor authentication and authentication using external providers.
  • Build Angular App With .Net Core 2.0 Template(VS 2017) + Deploy On Azure - Step By Step GuideJan 30, 2018. In this article, we will see how to create your Angular application using Visual Studio 2017(.NET Core 2.) and will deploy it to Azure.
  • Continuous Integration Using TeamCity And Docker For ASP.NET CoreJan 29, 2018. Please read the previous posts before continuing with this one. I have discussed the basics of Docker and shown how to deploy simple and multiple applications using Docker. In this post, I will use the code from the first post and demonstrate the continuous integration with TeamCity.
  • Publish ASP.NET Core 2.0 Application on IISJan 28, 2018. This article will teach you how you can deploy or host your Asp.Net Core 2.0 web application on IIS.
  • Cache Tag Helper In ASP.NET Core MVCJan 25, 2018. Caching tag helper can improve the performance and scalability of the application dramatically and it cache the data into the internal ASP.NET Core cache provider.
  • Versioning ASP.NET Core 2.0 Web API - Part OneJan 25, 2018. In this article series, we are going to explore REST API versioning best practices. At the end of the article series you will be able to pick the best solution for your project needs.
  • ASP.NET Core Apps In Docker Swarm Deployed To AzureJan 24, 2018. In the previous post, I deployed a Docker Swarm on VMs setup on my local PC, which is fine for testing. In this post I’ll deploy the same services on a Docker Swarm hosted in Azure using “Docker EE for Azure”. Let’s start.
  • ASP.NET Core Apps In Docker SwarmJan 23, 2018. First, we need a few Virtual Machines to make a cluster of machines to run Docker on. I am using Windows 10 and will use Hyper-V for this purpose. If you’re using another OS then skip the first part of the tutorial where I setup VMs.
  • CRUD Operation With Angular 5 HTTP Client And ASP.NET Core Web APIJan 23, 2018. HTTP is the messaging system between the client and the server-client which sends the request and server responds with the proper message. Angular HTTP client is the toolkit which enables us to send and receive the data over the restful Http endpoints.
  • Top 10 New Features Of ASP.NET Core 2.0Jan 22, 2018. .NET is now .NET Core and known as cross-platform and open source platform where you can build your all types of applications. An application could be a web app, desktop app, mobile app or gaming app. All type apps can be created using a single platform and it’s none other than .NET Core.
  • Getting Started With Kubernetes On Windows 10 Using HyperV And MiniKubeJan 22, 2018. Today we are going to get started with Kubernetes on Windows machines running windows 10 OS. Mostly this is for all the developers like us who have windows 10 machines for their day to day use and want to quickly get started with Kubernetes.
  • Step By Step Installation Of .NET Core 2.0Jan 22, 2018. In my previous post, I have explained how to set up for .Net Core 2.0 which you can find here. But in that post, it mainly focuses on how to do the setup if you already have .Net Core. So in this post, I will explain how to install .Net core 2.0(Without having Core 1.0) on your machine.
  • Learn ASP.NET Core WEB API With Angular 5 Using ngForJan 22, 2018. In this article, we will learn ASP.NET Core web API with Angular 5 data binding using with ngFor.
  • Deploying Multiple ASP.NET Core Apps To Docker And AzureJan 22, 2018. API - has controller with CRUD operations for a movies database. It uses a class library Data, which contains repositories. Database is hosted in Azure and connection string stored in application settings (appsettings.json).
  • ASP.NET Core 2.0 - Implementing A Third Party Web APIJan 22, 2018. A common task for a developer when working with or building an application is implementing and interacting with APIs. In this post we will look at what an API is. We will then move onto creating our own .NET Core 2.0 Web API that implements a 3rd party Web API.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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 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.
  • 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.
  • 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.

About Core-Java-article

NA
Hire a remote developer
Looking to add more bandwidth to your software team? Web Developers, designers, testers are now available on demand. Flexible hours, very competitive rates, expert team and High Quality work.
X

Build smarter apps with Machine Learning, Bots, Cognitive Services - Start free.

Start Learning Now