C# Corner

Resources  
  • 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.
  • Aspect Oriented Programming In C# Using DispatchProxyDec 06, 2017. Example of implementing logging using Aspect Oriented approach with DispatchProxy class.
  • 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.
  • 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.
  • 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.
  • Building API Gateway Using Ocelot In ASP.NET Core - Part TwoNov 27, 2017. In this article, I will continue with the topic of Building API Gateway In ASP.NET Core and will show you something about authentication later.
  • Pug Vs HTMLNov 26, 2017. In the holy wars of "Pug vs HTML", it is really confusing sometimes to realize which one of these to use. The same is true for SQL vs NoSQL, and the similar is true for Java vs Python. Then people think why not talk about Pug vs HTML as well. HTML is always the perfect language to consider, however for the case of Pug there might be a bit of confusion. Some developers don't know Pug, and some who know it, know it as a Jade framework.
  • Angular 5 App With ASP.NET Core 2.0 Web APINov 26, 2017. Today, we will see one of the simplest ways to create an Angular 5 app & how to integrate it with ASP.NET Core 2.0 Web API. So, let’s start by having a look at what are the steps involved in creating such an application and we will go through each step in detail.
  • CRUD Operation With ASP.NET Core MVC Using Visual Studio Code And ADO.NETNov 23, 2017. In this article we are going to create a web application using ASP Core MVC with the help of Visual Studio Code and ADO.NET.
  • ASP.NET Core 2.0 Secret ManagerNov 22, 2017. I discussed in the previous post how configuration settings can be stored in configuration files. However, these files are checked in the source control and not suitable to store confidential settings. In a production environment these settings can be stored in environment variables or Azure Key Vault however, for development ASP.NET Core provides an alternate solution: Secret Manager.
  • Validation Tag Helpers In ASP.NET Core MVCNov 22, 2017. This article explains about the validation tag helpers found in ASP.NET Core MVC.
  • Building API Gateway Using Ocelot In ASP.NET CoreNov 21, 2017. Ocelot is aimed at people using .NET running a micro services / service orientated architecture who need a unified point of entry into their system.
  • Form Tag Helper And Other Common Tag Helpers In ASP.NET Core MVCNov 20, 2017. Form tag helper and other common tag helpers in ASP.net core MVC
  • Creating CRUD API In ASP.NET Core 2.0Nov 17, 2017. ASP.NET Core gives a unified mechanism for creating MVC and Web API application. The key difference is that Web API will return JSON (or XML) and HTTP status codes instead of views, in order to communicate with the client.
  • ASP.NET Core 2.0 Razor PagesNov 16, 2017. Razor Pages are introduced in ASP.NET Core 2.0 to make building simple web applications quicker and is a good way to play with various ASP.NET Core concepts like Razor, Layout Pages and Tag Helpers etc.
  • Configure Application Insight For .NET Core 2.0Nov 16, 2017. We developers work hard to write code, but these QA guys find bugs in our code. We don’t have any choice but to find and fix the bug ASAP. After all this hard work we push everything to production, then new questions from people arise like why is this page slow? why is this operation taking time? why this and that? To answer these questions, we need proper logging mechanism to identify and takes hours of coding and analysis. What if we have a mechanism to track this with less hours of code to analyse and more time on fix. Application insights come to picture to solve our logging work with best analysis tools.
  • Auto Complete with ngTagInput using Web API in AngularJSNov 16, 2017. AutoComplete,ngTagInput,Web API,AngularJS,AutoComplete in AngularJS using Web API
  • Passing Parameters To Middleware In ASP.NET Core 2.0Nov 15, 2017. I discussed in an earlier post that it is good practice to define middleware in a separate class and add to the pipeline using extension methods. We may also need to pass information to our middleware classes though and I’ve come across two patterns for this when digging into ASP.NET Core source code and other samples online.
  • Azure Table Storage In ASP.NET Core 2.0Nov 14, 2017. Add a class to encapsulate storage access. Add a private helper method to access storage
  • ASP.NET Core 2.0 MVC FiltersNov 13, 2017. Filter runs after an action method has been selected to execute. MVC provides built-in filters for things like authorization and caching. Custom filters are very useful to encapsulate reusable code that you want to run before or after action methods.
  • Getting Started With Angular 5 And ASP.NET CoreNov 13, 2017. I hope you all know that Angular 5 has been released. In this article, we will see how to start working with Angular 5 and ASP.NET Core using Angular5TemplateCore.
  • Upload/ Download Files In ASP.NET Core 2.0Nov 10, 2017. ASP.NET Core MVC model binding provides IFormFile interface to upload one or more files. The HTML form must have encoding type set to multipart/form-data and an input element with type attribute set to file.
  • ASP.NET Core 2.0 MVC Distributed Cache Tag HelperNov 09, 2017. Cache and Distributed Cache Tag Helper help improve performance of your application by caching view’s content, either in-memory or in a distributed cache (e.g. Redis). Distributed Cache Tag Helper uses IDistributedCache to store contents in a distributed cache. To learn more about distributed caching, please refer to an earlier post here.
  • Working With View Components In ASP.NET Core MVCNov 09, 2017. View component is newly introduced feature in asp.net core MVC. It is very similar to partial view but it very powerful compared to partial view. It does not use model binding but works only with the data we provide when calling into it.
  • ASP.NET Core 2.0 MVC Custom Tag HelpersNov 08, 2017. As discussed in the previous post, Tag Helpers help generate HTML by attaching attributes to existing HTML elements or by creating new elements. In this post we’ve created a new tag to display employee information.
  • ASP.NET Core 2.0 MVC Tag HelpersNov 07, 2017. Tag Helpers help generate HTML by attaching attributes to existing HTML elements or by creating new elements. Although they look like HTML elements and attributes, Tag Helpers are processed by Razor (server-side).
  • ASP.NET Core 2.0 MVC AreasNov 06, 2017. Razor pages inside Areas folder can use the Layout page located outside it (e.g. in /Views/Shared folder). You can define a separate Layout page for each Area too. Yet another approach is to define a common Layout page outside Areas folder and Layout pages inside Areas folder and use them as their layout, creating a nested Layout page structure. Below is a Layout page for Area2 that uses shared layout page (note you need an absolute path to shared layout).
  • ASP.NET Core 2.0 MVC View ComponentsNov 05, 2017. View Components are special types of views that are rendered inside other views. They are useful for reusing parts of a view or splitting a large view into smaller components.
  • ASP.NET Core 2.0 MVC Partial ViewsNov 03, 2017. Partial views are special type of views that are rendered inside other views. They are useful for reusing parts of a view or splitting a large view into smaller components.
  • ASP.NET Core 2.0 MVC Layout PagesNov 02, 2017. Layout page is added to the Views/Shared folder and is named (as a convention) _Layout.cshtml. There can be more than one layout pages in your application too.
  • Dependency Injection Into Views In ASP.NET Core MVCNov 01, 2017. The dependency injection in ASP.net core is not limited to middleware, controller, and models. It also supports dependency injection into view.
  • ASP.NET Core 2.0 MVC Dependency Injection In ViewsNov 01, 2017. In ASP.NET Core dependency injection is not limited to middleware, controllers and models etc. Views can also benefit from the services configured in the service container.
  • ASP.NET Core 2.0 MVC RazorOct 31, 2017. ASP.NET Core MVC middleware will find and execute the Razor template (.cshtml file) when the Controller returns ViewResult. Razor templates use syntax that combine C# and HTML to produce the final HTML page.
  • New Features Of .NET Core MVCOct 30, 2017. By releasing ASP.NET Core, Microsoft has joined a big community of free, open source and platform independent software services.
  • Running ASP.NET Core 2.0 Via MonoOct 30, 2017. In this article, you will learn how to run your ASP.NET Core 2.0 project via Mono . Most of time , we will use .NET Core CLI to run our ASP.NET Core web application , such as dotnet run and dotnet xxx.dll .
  • ASP.NET Core 2.0 MVC Model BindingOct 30, 2017. In a previous post on Routing, I showed how MVC maps URLs to Controller and actions to execute. We touched on the topic of the model binding mechanism through which MVC binds routing template tokens to action parameters.
  • Logging Framework In ASP.NET Core 2.0Oct 29, 2017. Logging is a very critical and essential part of any software. It helps us in the investigation of the essence of problems. Before ASP.NET Core, we had to use third party libraries for logging our application.
  • Add Class Library In ASP.NET Core Using .NET Core Command-Line Interface (CLI)Oct 29, 2017. This article explains how to add Class Library in ASP.NET Core using .NET Core Command-Line Interface (CLI) with a simple way. Before reading this article, read the previous parts of this article using below article link.
  • ASP.NET Core 2.0 MVC [Remote] ValidationOct 27, 2017. In this article, you will learn about ASP.NET Core 2.0 MVC [Remote] Validation.
  • Pager Visibility In Kendo GridOct 26, 2017. From this article you will learn how to use pager visibility in Kendo grid based on your requirement.
  • Working With ASP.NET Core From Command LineOct 26, 2017. In this article, let's see how to work with ASP.NET Core from Command Line.
  • Emailing Via Azure In .NET Core 2.0Oct 26, 2017. In this article, you will learn about emailing Via Azure in .NET Core 2.0.
  • Azure Cache In ASP.NET Core 2.0Oct 25, 2017. In this article, you will learn about Azure Cache in ASP.NET Core 2.0.
  • ASP.NET Core MVC Project (Event Management)Oct 24, 2017. This Project is developed in Asp.net MVC Core 1.0.0 with Windows dependencies.
  • Azure Service Bus In .NET Core 2.0Oct 24, 2017. In this article, you will learn about Azure Service Bus In .NET Core 2.0.
  • ASP.NET Core 2.0 MVC RoutingOct 23, 2017. Routing in ASP.NET Core MVC is the mechanism through which incoming requests are mapped to controllers and their actions. This is achieved by adding Routing middleware to the pipeline and using IRouteBuilder to map URL pattern (template) to a controller and action.
  • ASP.NET Core 2.0 Response CompressionOct 16, 2017. When you’re unable to use the compression features of web servers (IIS, Apache, Nginx), ASP.NET Core provides an alternate option, Response Compression middleware. It’s performance won’t match server based compression features though.
  • Endless Scrolling In Kendo GridOct 16, 2017. From this article, you will learn how to implement endless scrolling in Kendo grid
  • Getting Started With Entity Framework Core 2.0 ASP.NET Core 2.0Oct 13, 2017. This article shows how to create Entity Framework Core 2.0 MVC Web application using Visual Studio 2017 Asp.Net Core and how to create CRUD operations.
  • ASP.NET Core 2.0 Response CachingOct 13, 2017. As you navigate between a controller with caching enabled (Home) and another one without it (Movies), you’ll notice that time isn’t been updated i.e. it's not coming from server but rather from cache.
  • ASP.NET Core 2.0 CachingOct 12, 2017. Caching frequently used data can improve the performance of a web application. For applications hosted on multiple servers, using distributed caching means the application can access data regardless of the instance server. Caching should be considered an alternate to using Session State.
  • What Is The Easiest And Quickest Way To Test An Application's Web APIsOct 12, 2017. The easiest way to test an application's API is the use of Windows PowerShell or Visual Studio Package Manager Console. I will show you step-by-step how to use PowerShell or PM(Package Manager Console) to test an application's Web APIs.
  • 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.
  • ASP.NET Core 2.0 File ProvidersOct 11, 2017. ASP.NET Core provides an encapsulation of System.IO.File type in order to limit the access to file systems via PhysicalFileProvider type, which is an implementation of IFileProvider.
  • 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.
  • ASP.NET Core 2.0 URL RewritingOct 11, 2017. URL Rewriting is about modifying the request URL based on custom rules in order to decouple the address from the underlying resource. This could be for reasons like security, SEO, user friendly URL and redirect HTTP to HTTPS etc.
  • Broadcasting Message From ASP.NET Core To Angular Client Using SignalROct 10, 2017. Recently, the .NET team has announced SignalR for ASP.NET Core. So, in this article, I am trying to show how we can use SignalR with ASP.NET Core for an Angular client.
  • Publishing ASP.NET Core 2 Angular 4 SPA Template Application Using .NET CLIOct 10, 2017. First, we need to create ASP.NET Core 2 Angular 4 SPA application using dotnet new angular, Type dotnet new angular command in command prompt, and this will create application and restore NuGet dependencies.
  • Installing And Using .NET 4.7.x, .NET Core 2.0, And C# 7.x With VS 2017Oct 09, 2017. This article explains how to install and use .NET Framework 4.7, .NET Framework 4.7.1 & .NET Core 2.0 and troubleshooting if you are getting an exception while installing these latest components. This article also explains how to use the different versions of C#, e.g. C# 7, C# 7.1, C# 7.2 with Visual Studio 2017 and installing multiple instances of Visual Studio 2017 side by side.
  • 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.
  • Azure Blob Storage In ASP.NET Core 2.0Oct 06, 2017. In this article you will learn how to use Azure Blob storage in ASP.NET Core.
  • .NET Entity Framework Core Generic Async Operations With Unit Of Work Generic RepositoryOct 05, 2017. The advantage of generic repository is that you can inherit from it, pass an entity type, and you will get CRUD operations. It will save you a lot of coding time when your domain objects are likely to grow over 50+. Another advantage is change history functionality; you can inherit your entities from the change history interface.
  • Getting Started With ASP.NET Core MVC Apps Using VS CodeOct 05, 2017. In this article, we will discuss how we can create a HelloWorld app with ASP.NET Core 2.0 using Visual Studio Code. We will learn how to create an ASP.NET Core MVC application, how to create new Controller, how to create new View, and how to run the HelloWorld app etc.
  • CRUD Operation With ASP.NET Core MVC Web App Using ADO.NETOct 05, 2017. In this article, I am going to explain how to create a MVC web application in ASP.NET Core 2.0 using ADO.NET.
  • ASP.NET Core 2.0 Structured LoggingOct 05, 2017. This article is about how to work with structured logging in ASP.NET Core and Serilog
  • How To Log Messages (Information, Errors, Warnings) In ASP.NET CoreOct 04, 2017. Framework provides logging capability through ILoggerFactory, to which you could attach one or more providers. Providers act on the logged data in some form i.e., log it to file, database, Azure etc.
  • 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.
  • Getting Started With ASP.NET Core And jQuery CRUD Using WEB APIOct 03, 2017. A lab exercise for you to demonstrate what have you learned from this training material to create your own Todo CRUD operation using TodoRepository included in this training material.
  • Razor Page Web Application With ASP.NET Core Using ADO.NETOct 03, 2017. In this article, I am going to explain how to create a web application in ASP.NET core using Razor pages and ADO.NET.
  • Integrating Kendo Sortable In GridOct 03, 2017. From this article you will learn how to integrate the kendo sortable in grid using ASP.NET CORE API.
  • ASP.NET Core 2.0 Uses SignalR TechnologySep 30, 2017. I am using the current highest version in this example, of course the version number is likely to change every day, the latest version of the SignalR is not compatible with the .NET Core SDK 2.0 Preview 1 by default when creating the project Microsoft.AspNetCore.All l.
  • 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.
  • What's New In ASP.NET Core 2.0Sep 29, 2017. Learn What's New in ASP.NET Core 2.0
  • What's New In Entity Framework Core 2.0Sep 27, 2017. Entity Framework Core is a lightweight, extensible, and cross-platform version of the popular Entity Framework data access technology. Entity Framework 2.0 is the latest release of EF.
  • Configuring Startup Page In ASP.NET CoreSep 27, 2017. In this article, we will explain how to Configure Startup Page In ASP.NET Core.
  • CRUD Operation With Razor Pages In ASP.NET Core 2.0Sep 27, 2017. In this article, we are going to learn how to perform CRUD operations with Razor Pages in ASP.NET CORE 2.0
  • Azure NoSQL In ASP.NET Core 2.0Sep 26, 2017. The sample code will require you to set up an Azure account, NoSQL database and collection.
  • Unit Test In .NET Core Application Using MStestSep 26, 2017. In this article, I am going to explain how to perform unit testing in .NET core using MStest.
  • 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.
  • How To Write Simple Todo CRUD ASP.NET MVC ApplicationSep 22, 2017. This article includes a lab exercise for you to demonstrate what have you learned from this training material to create your own Employee CRUD operation using EmployeeRepository
  • CRUD Operation In ASP.NET Core MVC Using Visual Studio CodeSep 21, 2017. In this article, I am going to explain how to create a basic web application using ASP.Net Core MVC and Visual Studio Code in Windows System.
  • How To Create To-Do CRUD Operation With ASP.NET MVC Core, Angular 4.0Sep 21, 2017. We want to create below single page application with CRUD operation, Add, Update and Remove functionality with in-memory TodoRepository Database.
  • What Is New In iOS 11?Sep 19, 2017. iOS 11 sets a new standard for the world’s most advanced mobile operating system. Your apps can now become more intelligent using the power of machine learning with Core ML. You can create incredible augmented reality experiences with ARKit. And you can deliver a more unified and immersive user experience with new multitasking features, including drag and drop for iPad, the new Files app, new camera APIs, new SiriKit domains, Apple Music integration, and more
  • Create A Website Having Azure Active Directory Authentication Using Visual StudioSep 19, 2017. Azure Active Directory (Azure AD) is Microsoft’s multi-tenant, cloud based directory and identity management service. Azure AD combines core directory services, advanced identity governance, and application access management. Azure AD also offers a rich, standards-based platform that enables developers to deliver access control to their applications, based on centralized policy and rules.
  • Serve Static Files In ASP.NET Core Using Visual Studio 2017Sep 18, 2017. This article explains about static files and how to set default page using static files in ASP.NET using Visual Studio 2017 in a step by step way.
  • Introduction To Tag Helpers In ASP.NET CoreSep 18, 2017. Tag helper is a new feature in ASP.net MVC. It enables server-side code to create and render HTML elements in Razor View. It is feature of Razor View engine. They are the C# classes which participate in view generation by creating the HTML elements. Using the tag helper, we can change the content of HTML element and add additional attributes to the HTML element. It is very similar to HTML helper in ASP.net MVC.
  • Razor Pages In ASP.NET CoreSep 17, 2017. Razor Pages is a new feature of ASP.Net Core MVC. We can use this approach when there are some page focused scenarios.
  • Using jQuery DataTables Grid With ASP.NET CORE MVCSep 13, 2017. In this article, we are going to learn how to use Client side Grid (DataTables Grid) with ASP.NET Core MVC in a step by step way.
  • ASP.NET Core 2.0 Static FilesSep 13, 2017. Static files can also be served from folders outside wwwroot by passing in StaticFileOptions to middleware and setting a FileProvider and RequestPath. This is useful when you want authorised access to files e.g. by returning FileResult action result from a secure controller.
  • 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.
  • ASP.NET Core 2.0 ConfigurationSep 11, 2017. ASP.NET Core has a simple mechanism to read application settings from various sources like JSON files, Environment variables or even custom data sources. It is also simple to use the settings, thanks to Dependency Injection.
  • ASP.NET Core 2.0 And SignalR Core (Alpha)Sep 08, 2017. In this article, we will learn how to use SignalR Core in ASP.NET Core 2.0 web applications to provide real-time communication.
  • New Features In ASP.NET Core 2.0Sep 07, 2017. ASP.NET core is a significant redesign of ASP.NET. It is an open source, cross platform framework for developing cloud based applications like web applications, IoT applications, and mobile backend applications.
  • ASP.NET Core 2.0 Dependency InjectionSep 07, 2017. Here e will learn how to use ASP.NET Core service container for dependency injection.
  • Getting Started With ASP.NET Core And Angular 4 Using WEB APISep 06, 2017. In this article, let’s see how to get started with ASP.NET Core and using Web API. Select depending on your need and install the Visual Studio 2017 on your computer. If you have already installed Visual Studio 2017 then skip this part.
  • ASP.NET Core 2.0 Empty ProjectSep 06, 2017. In this article, we will create an empty ASP.NET Core project that doesn’t include default features, i.e., an empty shell.
  • 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.

About Core-Java-article

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!