C# Corner

Resources  
  • Making An E-Learning Platform For Microsoft Azure - Part OneOct 23, 2017. As web developers with a 'traditional' VB or C# asp / .net background, we are quite blessed with the sheer breadth of infrastructure, components, libraries and tooling given to us not only by Microsoft by default, but also by the wider projects in open source made available by the many generous members of the wider .net community.
  • 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.
  • .NET Highcharts With ASP.NET MVCOct 22, 2017. This article will demonstrate how to implement DotNet Highcharts with Asp.Net MVC application. Highcharts is a JavaScript library to implement charting functionality like line chart, bar chart, column chart etc. We can create different types of charts using highcharts. Today with this article, I will try to show you how to create Highcharts in Asp.Net MVC from server side.
  • What's New In Microsoft .NET Framework 4.7.1Oct 20, 2017. In this article I will be discussing the new features introduced as part of the .NET Framework 4.7.1 release
  • Hosting Website With Filezilla To AzureOct 19, 2017. We can use the FTP client Filezilla for website hosting to Azure. And it is an FTP method. And sometimes we may face some errors in it. And the solution is also mentioned in this article.
  • Endless Scrolling In Kendo GridOct 16, 2017. From this article, you will learn how to implement endless scrolling in Kendo grid
  • 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.
  • 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.
  • 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.
  • Create Angular Project By Using ASP.NETOct 13, 2017. Angular 2 is an open source JavaScript framework to build web applications in HTML and JavaScript. This tutorial looks at the various aspects of Angular 2 framework which includes the basics of the framework, the setup of Angular and how to work with the various aspects of the framework. Other topics discussed in the tutorial are advanced chapters such as interfaces, nested components and services within Angular. Topics such as routing, modules, and arrays are also dealt with in this tutorial.
  • An Easy Way To Encode And Decode File In ASP.NETOct 13, 2017. In this article, I’ll explain a way to encode and decode a file in ASP.NET using C# and VB.NET with example.
  • 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 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.
  • 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.
  • 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 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.
  • Overview Of Partial View In ASP.NET MVCOct 11, 2017. In ASP.NET MVC, View gets activated or executed with the help of a controller. All the incoming browser requests first knock to the controller then controller functionality will decide which view or action should be executed.
  • An Overview Of Cookies In ASP.NETOct 10, 2017. In this article explain cookies in Asp.Net
  • 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.
  • Dependency Injection In ASP.NET MVC 5Oct 10, 2017. I have seen many articles about Dependency Injection and thought to write an article about using it in Asp.Net MVC5.
  • 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.
  • How To Use DataList Control In ASP.NET With Example in C#Oct 08, 2017. In this article I’ll present a tutorial with an example, a way to use the DataList control in Asp.Net for the displaying of information/ records from the database with using SqlDataSource.
  • Amazon SNS (Simple Notification Service) Using Visual StudioOct 07, 2017. This is the working example of the ASNS (Amazon simple notification service) you can follow the step and can implement the notification service, message service, email service using this.
  • ASP.NET - Connect To Azure Cosmos DBOct 07, 2017. This article will show how to configure and use CosmoDB on an ASP.Net MVC web application, The tasks will be stored as JSON documents in Azure Cosmos DB.
  • Create Simple Azure FunctionOct 07, 2017. Azure functions allow up to run the code in a server-less manner. That means we do not have to create the VM to host the running code nor do we have to create a web application and publish code to web applications to run continuously.
  • How To Implement Dependency Injection In MVC ProjectOct 07, 2017. Here I am going to explain how to implement dependency injection in MVC Project in detail including separate layers for getting data through Services and Repositories.
  • ASP.NET - Connect to MySQL Azure DatabaseOct 07, 2017. Using MVC, Entity Framework, ASP.NET Scaffolding, and Azure MySQL you can create a web application that stores your information on an MongoDB Azure database. This demo shows you how to create a web application with MVC and Entity Framework 7, that communicate with a MySQL Azure database.
  • 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.
  • How To Change/Switch The Database Dynamically In An ASP.NET MVC ApplicationOct 06, 2017. This is an example with code snippets to show how to switch or change the database (Connection string) dynamically while running a program in ASP.NET MVC 5 applications.
  • Always Encrypted In SQL Server 2016 - Step By Step Guide - Part OneOct 06, 2017. Lets say, we have a requirement to encrypt the PII data for an existing ASP.NET web application. Data needs to be encrypted at rest as well as on transit. Considering the existing PROD data, we need to identify an encryption approach that best suits the requirement. I'm going to share my experience in finding the encryption approach and implementing it on a sample database.
  • 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
  • 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.
  • .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.
  • 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.
  • Read Data From Excel With Preview In ASP.NET MVC Using AngularOct 03, 2017. In this article we will see how to Read data from excel and show preview and after we can update to database with Asp.net Mvc using Angular.
  • How To Use Bootstrap DateTime Picker In ASP.NET MVC With Angular As DirectiveOct 03, 2017. We can create Bootstrap DateTime Picker in MVC easily but if we use normally like how we refer like normal asp.net mvc as we will face some problems that date picker wont works as expected in order to avoid that we need to do it in angular way so we will create it as a directive and we can use it where ever we want in our project.
  • TextBox Validation Client Side And Server Side In ASP.NET WebFormOct 03, 2017. Validation is main thing to process the data. We store the textbox value into database table. Before moving to storing and storing data into database first we check the value of each textbox.
  • 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.
  • Steps To Fix Project File Could Not Be Loaded Issue After Rename Project In ASP.NET MVCSep 29, 2017. I created one MVC application named "SatyaExportMVC". Then I will rename it Satyaprakash of Project name and Solution file name.
  • What's New In ASP.NET Core 2.0Sep 29, 2017. Learn What's New in ASP.NET Core 2.0
  • WebGrid Custom Paging Links To Avoid Load On Server Using Stored Procedure And ASP.NET MVCSep 27, 2017. I will show you how to fetch the data dynamically from the database and bind to the WebGrid control, using the stored procedure in MVC 4.0. In this blog, today, I will show you how to write code in ASP.NET MVC for implementation of WebGrid Control using Static Data. In later sessions, I will show you the process of using GridView Dynamically, that means using SQL Server data source.
  • 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.
  • Local Data Caching In ASP.NET Web ApplicationSep 24, 2017. In this article, you will learn some solutions about local data caching in ASP.NET Web Application .
  • 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.
  • Stored Procedure With Input And Output Parameter Using Entity Framework In ASP.NET MVCSep 23, 2017. In this article, we are going to learn how to get list and output value from a stored procedure using Entity Framework in ASP.NET MVC.
  • How To Implement Angular Data Table With CRUD Using ASP.NET MVC And AngularSep 22, 2017. In this article, we will discuss how to implement Angular Data Table with (Insert, Update, and Delete) Short Form (CRUD) using Asp.net MVC + Angular JS in one page without any full page reloads. This table will be similar to JQuery Data Table and this one is implemented using Angular Data table.
  • 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
  • Use Log4net In ASP.NET MVC ApplicationSep 22, 2017. You may have read several articles on how to use log4net , however my article explains how you can use it without having to initialize several times.
  • How To Create WebAPI In ASP.NET MVC With C#Sep 21, 2017. This article demonstrates how to create and use an insert update and delete record using Web API in MVC with C# technology
  • Binding Dynamic Menu Depending On User Role In ASP MVCSep 21, 2017. In this article, we are going to learn how to bind a dynamic menu depending on the User Role in ASP MVC.
  • Basic PDF Export Using JQuery In ASP.NET MVC RazorSep 21, 2017. Here i will show you after insert records how to export the record in pdf format using jquery.
  • 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.
  • 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.
  • CRUD Operations In MVC Using Entity Framework With AJAX Call, jQuery, And All ValidationsSep 19, 2017. This article describes how to perform basic CRUD operations in an Asp.Net MVC application using Entity Framework with Ajax call and j query. with using Datatable Grid ,Toaster messagebox and also Bootstrap css.
  • 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.
  • 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.
  • 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.
  • CRUD Operation In ASP.NET MVC Razor Using SignalR And Entity FrameworkSep 15, 2017. SignalR is a library for ASP.NET developers that simplifies the process of adding real-time web functionality to applications.
  • File Upload With JQuery Progress Bar In ASP MVCSep 14, 2017. First we have to create an Asp Mvc project in visual studio. To do that, Open Visual Studio -> New Project -> A new dialog window will appear -> In left pane select C# ->select Web -> Select "ASP.NET MVC 4 Application" name your project and click ok.
  • 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.
  • How To Insert Form Data In Multiple Table In DatabaseSep 13, 2017. In this article, we gonna learn about how to insert from data in multiple tables using jquery ajax in asp.net web application.In real time applications it is not a good practice to save all customer data in one table.They save data in multiple tables and link them using relations(using foreign keys).
  • 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 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 MVC CRUD Operation Using Entity Framework Without Writing Single CodeSep 11, 2017. Here, you will learn to do CRUD (Create,Read,Update and Delete) operations in MVC using Entity Framework without writing a single line of code.
  • 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.
  • Use Of HttpResponseMessage In WebAPISep 11, 2017. Here, you will learn the uses of HttpResponseMessage WebApi. For better understanding we will go step by step with simple examples.
  • Azure Cosmos DB With SQL Query Cheat Sheet PDFSep 08, 2017. Microsoft Azure Cosmos DB supports querying documents using SQL (Structured Query Language) as a JSON query language. Cosmos DB is truly schema-free. By its commitment to the JSON data model directly within the database engine, it provides automatic indexing of JSON documents without requiring explicit schema or creation of secondary indexes.
  • 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 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.
  • 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.
  • How To Use Razor Pages In ASP.NET Core 2.0Sep 04, 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.
  • Basics Of ASP.NET Core Using Visual Studio 2017 - Part TwoSep 01, 2017. In this article, I have explained about ASP.NET Core using Visual Studio 2017 and how to create ASP.NET Core applications in simple ways. Before reading this article please read the previous part of this article using the below link.
  • Facebook Notification App Using SignalR, jQuery, And EF 6.0 In ASP.NET MVCAug 31, 2017. SignalR can be used to add any sort of "real-time" web functionality to your MVC application.progress updates, and real-time forms.
  • Extend Built In Label Tag Helper In ASP.NET Core ApplicationAug 31, 2017. Tag helpers is one of the new feature introduced in ASP.NET Core which allows us to add server side code while creating and rendering HTML elements. They are similar to HTML helpers in ASP.NET MVC. ASP.NET Core comes with various built in tag helpers for rendering HTML elements like label, input, img, select etc.
  • More Details About Razor Pages In ASP.NET Core 2.0Aug 27, 2017. I built a simple web app to show you the new feature named Razor Pages in ASP.NET Core 2.0 . However it doesn't contain some useful and basic functions. So I decided to write one more article to show more details of Razor Pages.
  • Azure API App With ASP.NET WEB APIAug 27, 2017. In this article, we will see how to create Azure Web Api with your Visual Studio tool. Create a sample Web API Application in VS 2015 and publish Web api in Azure.
  • Responsive GridView Using DataTables Plug-inAug 24, 2017. In this article, we will learn how to make an ASP GridView responsive using jQuery based DataTables plug-in.
  • Building A Simple Web App Using Razor PagesAug 23, 2017. In this article , you will learn how to build a simple CRUD web app using Razor Pages , which is new in ASP.NET Core 2.0. This web app is about the management of the students , and all operations of the database will be through API building by NancyFx.
  • REST CRUD Operations Using SharePoint Hosted App Office 365 - Part TwoAug 23, 2017. You can perform basic create, read, update, and delete (CRUD) operations by using the Representational State Transfer (REST) interface provided by SharePoint.In this article, we will do CRUD operations using REST.
  • Dynamic Menu Using Entity Framework And AngularJS In ASP.NET MVC Aug 23, 2017. The logic behind this is all main menus should have parentid = 0 and whatever ID column value of Main menu that ID value should be mentioned in parentid column of sub menu. Then the sub menu will appear for corresponding Main Menu.
  • Responsive GridView Using FootableAug 22, 2017. This article explains how to make an ASP GridView responsive.
  • REST CRUD (Insert,Update,Delete,Get) Operations Using SharePoint Hosted App - Office 365 - Part OneAug 22, 2017. SharePoint adds the ability for you to remotely interact with SharePoint sites by using REST. Now, you can interact directly with SharePoint objects by using any technology that supports standard REST capabilities.
  • Work With Configuration In ASP.NET CoreAug 21, 2017. Before going into the new configuration system, let’s discuss in brief how we used to have a configuration system in the earlier versions of .NET applications.
  • Areas In ASP.NET Core MVCAug 20, 2017. Area is a beautiful feature of ASP.net MVC that allows you to organize related functionality into a group. We can create a hierarchy for the physical grouping of the functionality or business component.
  • Mission Impossible - Migrating .NET Core 1.x To 2.0Aug 20, 2017. Everybody is praising the new edition of .NET Core framework, and everybody is so interested in publishing new articles on .NET Core, and ASP.NET Core or the Entity Framework Core. Yeah, I get that, but... what about migration from older editions? I personally have had a very tough time with the migration of my ASP.NET Core 1.1 application to ASP.NET Core 2.0 application.
  • Developing ASP.NET Apps With Azure Active DirectoryAug 19, 2017. In this article, we will see how to authorize our MVC application using Azure Active Directory.
  • Creating A Web App Service Using AzureAug 18, 2017. In this article, you’re going to learn how to host your web app using Azure and how to update your app using Staging slot and external repository such as GitHub.

About free-asp-hosting

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!