C# Corner

Related resources for ASP.NET Core 2.0
  • Paging In ASP.NET Core 2.0 Web API12/11/2017 4:17:18 PM. 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 API12/10/2017 11:31:52 PM. Filtering information is usually received via query parameters. The POCO FilteringParamssimply hold this information and passes to service (or repository).
  • Security In ASP.NET Core 2.012/1/2017 12:14:08 PM. Securing your web applications with ASP.NET Core 2.0
  • Angular 5 App With ASP.NET Core 2.0 Web API11/26/2017 4:15:47 AM. 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 creat
  • ASP.NET Core 2.0 Secret Manager11/22/2017 6:07:12 PM. 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
  • Creating CRUD API In ASP.NET Core 2.011/17/2017 7:19:51 PM. 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 commun
  • ASP.NET Core 2.0 Razor Pages11/16/2017 4:29:54 PM. 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 et
  • Passing Parameters To Middleware In ASP.NET Core 2.011/15/2017 10:43:51 AM. 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
  • Azure Table Storage In ASP.NET Core 2.011/14/2017 6:15:47 PM. Add a class to encapsulate storage access. Add a private helper method to access storage
  • ASP.NET Core 2.0 MVC Filters11/13/2017 2:06:45 PM. 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 th
  • Upload/ Download Files In ASP.NET Core 2.011/10/2017 1:06:12 PM. 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 t
  • ASP.NET Core 2.0 MVC Distributed Cache Tag Helper11/9/2017 12:56:40 PM. 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 use
  • ASP.NET Core 2.0 MVC Custom Tag Helpers11/8/2017 10:54:33 AM. 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 employe
  • ASP.NET Core 2.0 MVC Tag Helpers11/7/2017 10:40:15 AM. 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 (
  • ASP.NET Core 2.0 MVC Areas11/6/2017 3:39:35 PM. 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
  • ASP.NET Core 2.0 MVC View Components11/6/2017 11:28:07 AM. 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.
  • How To Create To-Do CRUD Operation With ASP.NET MVC Core, Angular 4.011/4/2017 12:10:12 AM. We want to create below single page application with CRUD operation, Add, Update and Remove functionality with in-memory TodoRepository Database.
  • ASP.NET Core 2.0 MVC Partial Views11/3/2017 12:41:48 PM. 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 Dependency Injection In Views11/2/2017 8:31:09 PM. 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 Layout Pages11/2/2017 11:11:32 AM. 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.
  • ASP.NET Core 2.0 MVC Razor10/31/2017 6:03:46 PM. 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 HTM
  • ASP.NET Core 2.0 MVC Model Binding10/30/2017 11:43:15 AM. 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 t
  • Running ASP.NET Core 2.0 Via Mono10/30/2017 11:15:05 AM. 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
  • Logging Framework In ASP.NET Core 2.010/29/2017 2:48:28 PM. 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 app
  • ASP.NET Core 2.0 MVC [Remote] Validation10/27/2017 11:33:51 AM. In this article, you will learn about ASP.NET Core 2.0 MVC [Remote] Validation.
  • Azure Cache In ASP.NET Core 2.010/25/2017 3:46:01 PM. In this article, you will learn about Azure Cache in ASP.NET Core 2.0.
  • ASP.NET Core 2.0 MVC Routing10/23/2017 10:49:32 AM. 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 IRoute
  • ASP.NET Core 2.0 Response Compression10/16/2017 10:15:48 AM. 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
  • ASP.NET Core 2.0 Response Caching10/13/2017 10:52:52 AM. 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 c
  • ASP.NET Core 2.0 URL Rewriting10/11/2017 1:00:55 PM. 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 an
  • ASP.NET Core 2.0 File Providers10/11/2017 12:47:45 PM. 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.
  • ASP.NET Core 2.0 Session State10/9/2017 5:11:56 PM. 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.010/6/2017 1:05:51 PM. In this article you will learn how to use Azure Blob storage in ASP.NET Core.
  • ASP.NET Core 2.0 Structured Logging10/5/2017 12:18:12 PM. This article is about how to work with structured logging in ASP.NET Core and Serilog
  • Getting Started With ASP.NET Core MVC Apps Using VS Code10/5/2017 11:46:49 AM. 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 Contr
  • ASP.NET Core 2.0 Uses SignalR Technology10/3/2017 2:08:31 AM. 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 Previ
  • What's New In ASP.NET Core 2.09/30/2017 12:09:07 PM. Learn What's New in ASP.NET Core 2.0
  • ASP.NET Core 2.0 Error Pages9/29/2017 11:48:09 AM. 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 l
  • CRUD Operation With Razor Pages In ASP.NET Core 2.09/27/2017 12:16:07 PM. 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.09/26/2017 10:48:43 AM. The sample code will require you to set up an Azure account, NoSQL database and collection.
  • How To Write Simple Todo CRUD ASP.NET MVC Application9/22/2017 1:11:00 PM. 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
  • Enabling Swagger in ASP.NET Core 2.0 RESTful Web APIs using Swashbuckle9/19/2017 1:41:48 AM. This video shows how to enable Swagger UI in ASP.NET Core 2.0 RESTful Web APIs using Swashbuckle.
  • How to Change Bootstrap Theme for ASP.NET Core 2.0 MVC Web Application9/16/2017 3:29:41 AM. In this video will have quick look on how to change Bootstrap Theme for ASP.NET Core 2.0 MVC Web Applications.
  • ASP.NET Core 2.0 Static Files9/13/2017 12:49:15 PM. 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
  • ASP.NET Core 2.0 Environments9/12/2017 11:51:00 AM. 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 Configuration9/11/2017 3:31:33 PM. 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
  • ASP.NET Core 2.0 And SignalR Core (Alpha)9/8/2017 4:12:38 PM. In this article, we will learn how to use SignalR Core in ASP.NET Core 2.0 web applications to provide real-time communication.
  • ASP.NET Core 2.0 Middleware9/8/2017 2:00:07 AM. 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
  • ASP.NET Core 2.0 Empty Project9/7/2017 4:05:57 PM. 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 Dependency Injection9/7/2017 2:32:54 PM. Here e will learn how to use ASP.NET Core service container for dependency injection.
  • New Features In ASP.NET Core 2.09/7/2017 2:30:18 PM. 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 ap
  • Getting Started With ASP.NET Core 2.0 Applications And Microsoft Azure Web Apps9/5/2017 2:21:46 AM. In this video, will have quick look on getting started with ASP.NET Core 2.0 application and deploying this applications to Microsoft Public Cloud i.e. Microsoft Azure using Visual Studio 2017 v15.3.
  • What Is New In ASP.NET Core 2.08/16/2017 12:51:51 AM. What Is New In ASP.NET Core 2.0
  • ASP.NET Core 2.0 Released8/15/2017 8:54:27 AM. Microsoft’s ASP.NET team has announced the release of ASP.NET Core 2.0.
  • Cache Headers For MVC File Action Result (ASP.NET Core 2.0 Preview 2)7/25/2017 12:51:49 PM. I’m pretty sure that you are familiar with StaticFiles middleware of the framework. All it does is serve static files (CSS, JavaScript, image, etc.) from a predefined/configurable file location (typic
  • Handle Refresh Token Using ASP.NET Core 2.0 And JSON Web Token7/21/2017 12:14:28 AM. In this article , you will learn how to deal with the refresh token when you use jwt (JSON Web Token) as your access_token.
  • ASP.NET Core 2.0 Preview 2 Released6/29/2017 4:15:42 AM. crosoft has launched the Preview 2 of ASP.NET Core 2.0.
C# Language Specification 5.0
This book provides a complete description of the C# language 5.0.
Download