C# Corner

Resources  
  • 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
  • Read Excel File In C# WinFormOct 13, 2017. Here we are going to learn to read Excel files in C# windows form applications.
  • 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.
  • 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.
  • 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.
  • 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 Create Windows Local User Account Using C#Oct 11, 2017. Here, we are going to learn to make a Windows local user account using C#. Here we are going to make a c-sharp console application and write code in it to make user accounts via C#.
  • Learn Universal Windows Programming Via Modern C++ (SplitView Control)Oct 11, 2017. In this article, we are going to learn about Splitview control in Modern C++.
  • 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.
  • Learn Universal Windows Programming Via Modern C++ (CommandBar Control)Oct 11, 2017. In this article, we are going to learn about CommandBar control in Modern C++. The CommandBar control is a new control in Universal windows programming, it’s a like a Toolbar control, it has more features compared to Toolbar control.
  • Custom Script Extension For WindowsOct 11, 2017. In this article, we will see how to work with custom script extension in Azure Virtual Machines.
  • 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.
  • Shared Storage Using Azure File ServiceOct 10, 2017. In most cases, the virtual disks we are creating for an Azure VM are connected to that particular VM with a 1:1 relationship which can’t be accessed by another VM at the same time. In case you need a shared storage by multiple VMs you should use Azure File Shares. Azure File shares can be mounted concurrently by cloud or on-premises deployments of Windows, Linux, and macOS. This is mostly used in case of any requirement of something like a shared application setting or if you need to share any tools or utilities between developers and administrators.
  • An Overview Of Cookies In ASP.NETOct 10, 2017. In this article explain cookies in Asp.Net
  • 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.
  • 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.
  • 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 Ratings In Lists And Libraries Using Rating Settings, Server Side Coding And PowerShell CommandsOct 09, 2017. In this article I will discuss how to make use of ratings with your lists & libraries. Ratings are the features introduced by Microsoft which allow users to evaluate & rate the authors. Here I will explain how to use ratings on the lists & libraries.
  • 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.
  • 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.
  • 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.
  • Deploying A Virtual Machine Using Unmanaged DiskOct 07, 2017. In the previous article, we deployed a Windows VM using the managed disk. In this article, we are going to see how we can deploy a VM using an unmanaged disk. For demo purpose, I am using a Linux VM instead of windows here.
  • 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.
  • Deploying A Windows Virtual Machine In The Azure PortalOct 04, 2017. Azure Virtual Machine (VM) is one of the several types of on-demand, scalable computing resources that Azure offers. Typically, you choose a VM when you need more control over the computing environment than the other choices offer. Let's see how to create an Azure VM from the portal.
  • ColorPicker Control In UWP (Windows 10 Fall Creators Update Features)Oct 04, 2017. This article explains how to implement ColorPicker control in UWP application. A ColorPicker control is a new control in UWP programming
  • 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.
  • Executing Exchange Online PowerShell Command Through SharePoint Online PowerShellOct 02, 2017. For Office 365 administrators there are lists of Exchange Online PowerShell cmdlets available. We can execute these cmdlets through SharePoint Online Management Shell or Windows PowerShell by creating remote PowerShell session with Exchange Online. In this article I’ll explain how to create remote PowerShell session to Exchange Online and then execute Exchange Online PowerShell cmdlets.
  • 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.
  • Convert HTML Files To DOCX Files With MariGold.OpenXHTMLSep 30, 2017. This tutorial explains how to create an HTML to DOCX converter with a C# windows application.
  • NodeServices - Where JavaScript And .NET Meet Back On The Other SideSep 30, 2017. JavaScript is everywhere. It's in the browser, on the server, and it's climbing through your windows and snatching your people up. And because it's a fairly trivial language to pick up (but impossible to master), it can be extremely useful when you want to do something on the server.
  • Get Started With Cortana DevelopmentSep 29, 2017. Cortana is Microsoft's AI assistant built-in to Windows 10 devices. Cortana now will also be available via speaker. C# and .NET developers can start building Cortana skills using Visual Studio 2017. Cortana can use your bots, connect with services, work with websites, and even be used to build standalone apps, similar to Alexa. Cortana standalone apps are called Cortana Skills.
  • What's New In ASP.NET Core 2.0Sep 29, 2017. Learn What's New in ASP.NET Core 2.0
  • 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.
  • 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.
  • Creating A Wave Audio Player Using WinMM The APISep 28, 2017. This is the part two of my three part trilogy concerning the use of windows mixer controls, playing an existing wave file through some available speaker, or recording and saving a wave file from an available audio input device such as a microphone. You might be wondering about the order I am presenting these tutorials. Simple, ...when my father taught me to play pool, we would often come upon a scenario where there are multiple shots available.
  • Configuring Startup Page In ASP.NET CoreSep 27, 2017. In this article, we will explain how to Configure Startup Page In ASP.NET Core.
  • Understanding And Controlling The Windows Mixer APISep 27, 2017. This tutorial is going to be a three part introduction to playing and recording audio files using winmm.dll (a WinAPI). This first part is about understanding, opening and controlling windows mixers. The other tutorials will be about recording and playing audio .wav files. We will not be working with .mp3 (you can see the documentation to understand those functions.)
  • 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.
  • 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
  • What's New In XamarinSep 26, 2017. Xamarin enables developers to build native iOS, Android, and Windows mobile apps using C# and .NET.
  • Build Desktop Chat App With Angular 2 And Electron - Part OneSep 26, 2017. In this article series, we are going to develop a desktop chat application using Angular 2 and Electron. In this part, we are going to set up an Angular 2 application with electron. We will extend this application in future article parts to use it as chat window.
  • 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.
  • Create Windows Scheduler Task By PowerShell AutomationSep 26, 2017. In this article, we will see simple steps to configure Windows Scheduler tasks using PowerShell Automation.
  • 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.
  • 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 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
  • 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
  • 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.
  • 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.
  • 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.
  • Learn Universal Windows Programming Via Modern C++ (Check Box)Sep 19, 2017. In the button control, we are using the IInspectable to set the content of the text. How do we get the value from the IInspectable interface ? By IPropertyValue; using the “as” operator, we can convert from IInspectable to IPropertyValue.
  • 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.
  • Learn Universal Windows Programming Via Modern C++(Border Control)Sep 18, 2017. In this article, we are going to learn about Border control in Modern C++
  • 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.
  • Learn Universal Windows Programming Via Modern C++ (Combo box)Sep 18, 2017. Combobox control is contains the collection of the items. It represents Drop-down list of the items. The user can select the items from the list, when the combobox is open its display all the items, once item has been selected dropdown list will close automatically.
  • Start The App In Windows Startup In UWP (Windows 10 Fall Creators Update Features)Sep 17, 2017. A long-awaited feature (other features are LaunchApp, Restart App) has come to Universal Windows Programming i.e. we can run our application on Windows startup (User log in to the system), Previously we had done some workaround to run the app in windows startup, now it's time to say good bye to the workaround.
  • 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.
  • Print Dialog And Print Preview Tools Using Entire Windows Form To PrintSep 15, 2017. In this article, we will discuss how to print an entire Windows form using print dialog & print preview tools step-by-step in a Windows Forms application step-by-step.
  • Multiple Pages On The Form Using Panel Control In A Simple Windows Forms ApplicationSep 15, 2017. In this article, we will learn how to show multiple pages on the form using Panel Control in a simple Windows Application.
  • 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.
  • Using MPMoviePlayer In Xamarin iOSSep 15, 2017. Xamarin is a platform to develop cross-platform and multi-platform apps (for example, Windows Phone, Android, iOS). In Xamarin platform, the code sharing concept is used. In Xamarin Studio, Visual Studio is also available.
  • 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.
  • Learn Universal Windows Programming Via Modern C++ (RadioButton)Sep 14, 2017. RadioButton is used to allow to the user select single items, whereas checkbox allows users to multiselect.
  • 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.
  • 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.
  • 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).
  • 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.
  • 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.

About windows-asp-hosting-europe

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!