C# Corner

Resources  
  • Using CSP Header In ASP.NET Core 2.0Jan 15, 2018. Content Security Policy (CSP) is an additional level of security that could help prevent Cross Site Scripting (XSS) attacks. In these attacks malicious scripts are executed on user’s browser since browser doesn’t know whether the source of the script is trustworthy or not.
  • ASP.NET Core 2.0 - How To Use Dependency InjectionJan 15, 2018. In this article, I'll show you the new feature introduced in ASP .NET Core that allows you to inject dependencies directly into a View using the dependency injection container.
  • ASP.NET Core 1.0 - Change Bootstrap Layout In Three StepsJan 14, 2018. This article walks you through the steps for creating a ASP.NET Core Web Application using Bootstrap as template for layout and changing it to a new one.
  • Google Chart With ASP.NET Core And Visual Studio CodeJan 13, 2018. The Google Chart API lets you dynamically generate charts with a URL string and embed these charts on a web page, or download the image for local or offline use. The Google Chart Tools enable adding live charts to any web page. They provide advantages such as a rich gallery of visualizations provided as image charts and interactive charts and they can read live data from a variety of data sources. Users embed the data and formatting parameters in an HTTP request, and Google returns a PNG image of the chart. Many types of chart are supported, and by making the request into an image tag the chart can be included in a web page.
  • Bind Menu And Sub Menu Dynamically In ASP.NET MVC From Database Using LINQJan 12, 2018. Many times we need to create a menu for a simple application. We ususally get stuck on how to bind the menu. Here in this article we you will learn how to bind menu and sub menu dynamically in ASP.NET MVC from database using linq.
  • SignalR Chat App With ASP.NET WebForm And BootStrap - Part ThreeJan 12, 2018. In a previous article we have learned how to create a real-time chat application using SignalR and Bootstrap. So far we learned creation of group chat, Creation of Private Chat, Title Bar Notification Alert system, Message Count and Clear Chat History. And now we are going to learn the most trending feature in Chat Application which is “Emoji” or “Smiley” which makes our application more interactive.
  • Preventing CSRF Attacks In ASP.NET Core 2.0Jan 12, 2018. OWASP 2013 classifies Cross Site Request Forgery (CSRF) as one of the Top 10 risks and is present if attacker can force the victim's browser to send forged request to your web application and it considers it a legitimate request.
  • Configure Windows Authentication In ASP.NET CoreJan 11, 2018. Using Windows authentication, users are authenticated in ASP.NET Core application with help of operating system. Windows Authentication is a very useful in intranet application where users are in same domain.
  • ASP.NET Core 2.0 Status Code PagesJan 11, 2018. Exception handling middleware (as discussed here) will catch unhandled exceptions however if you want to display error pages for individual HTTP status codes then framework provides another middleware for this purpose.
  • Preventing Insecure Object References In ASP.NET Core 2.0Jan 10, 2018. How to prevent insecure direct object reference in ASP.NET Core.
  • Preventing Redirect Attacks In ASP.NET Core 2.0Jan 09, 2018. When your controllers redirect to another location based on user input (e.g. via query string), it is important to ensure that the location is not malicious and prevent open redirect attacks. The simplest way to ensure this is by examining the URL provided by the user.
  • State Management In ASP.NET MVCJan 08, 2018. HTTP is a stateless protocol. Each HTTP request does not know about the previous request. If you are redirecting from one page to other pages, then you have to maintain or persist your data so that you can access it further. To do this, there were many techniques available in Asp.Net like ViewState, SessionState, ApplicationState etc.
  • Hashing In ASP.NET Core 2.0Jan 08, 2018. The new Data Protection API in .NET Core includes functionality to create hashes using PBKDF2algorithm. ASP.NET Core uses this behind the scenes in PasswordHasher class, which is used in ASP.NET Core Identity.
  • Using HTTPS In ASP.NET Core 2.0Jan 05, 2018. Create an empty project and update Startup to add services and middleware for MVC, including the filter for HTTPS.
  • Share Code Between ASP.NET Core MicroServicesJan 04, 2018. Microservice architecture or microservices is a method of developing software applications as a suite of independently deployable, small, modular services in which each service runs a unique process and communicates through a well-defined, lightweight mechanism to serve a business goal.
  • CORS In ASP.NET Core 2.0Jan 04, 2018. To allow clients from a different origin to access your ASP.NET Core Web API, you’ll need to allow Cross-Origin Requests (CORS). Here same origin means clients who have identical schemes, hosts and ports.
  • Exploring ASP.NET Core 2.0 And Docker On MacOSJan 04, 2018. Last year, I wrote an article about “.NET Core On Mac - Building An ASP.NET Core App With Web API, EF, PostgreSQL And Running It On Docker”. The article was using .NET Core 1.1 version and If you’ve been following the same steps mentioned from the article using .NET Core/ ASP.NET Core 2.0, then it’s expected that the steps won’t work anymore.
  • ASP.NET Core 2.0 AuthorizationJan 03, 2018. Authorization is about deciding permissions users have and resources they can access. In ASP.NET Core this is achieved by first assigning claims to the user and then based on those claims defining policies to determine user permissions.
  • SignalR Chat App With ASP.NET WebForm And BootStrap - Part TwoJan 03, 2018. In previous articles, we learned how to create a real-time chat application using SignalR.
  • User Specific Notifications Using ASP.NET MVC And SignalRJan 03, 2018. In this post, we are going to explore how to implement user-based notification using ASP.Net MVC & SignalR.
  • Using jTable Grid With ASP.NET MVCJan 03, 2018. In this article, we are going to learn how to use jTable Grid with ASP.NET MVC, and along with that we are going to use Entity framework for accessing the database.
  • CRUD Operations With ASP.NET Core Using Angular 5 And ADO.NETJan 02, 2018. Here, I am going to explain how to create an MVC web application in ASP.NET Core 2.0 with Angular 5.
  • Repository Pattern In ASP.NET MVCJan 02, 2018. In this article, we will learn about Repository pattern which is mostly used to create enterprise applications. Repository pattern divides application’s UI, business logic and data access components into different layers that are easily maintainable and testable.
  • Host ASP.NET Core On Linux With JexusJan 02, 2018. In this article, you will learn a new and easy way to host your ASP.NET Core project on Linux with Jexus Web Server.
  • ASP.NET Core 2.0 Cookie AuthenticationJan 02, 2018. Cookie Authentication allows developers to hook into events at various lifecycle stages of the authentication process. For instance you could log successful sign-ins using OnSignedIn or use OnValidatePrincipal (runs on every request) to invalidate the user (e.g. if you want to force sign-out).
  • List Of Items In Query String From JavaScript And Fetch It In Code Behind In ASP.NETJan 02, 2018. When there is a situation where we have to pass more parameters and it exceeds browser character limit we can consider using JSON Array.
  • ASP.NET Core 2.0 Bearer AuthenticationJan 02, 2018. Bearer Tokens (or just Tokens) are commonly used to authenticate Web APIs because they are framework independent, unlike something like Cookie Authentication that is tightly coupled with ASP.NET Core framework.
  • Custom Authentication With ASP.NET MVCDec 30, 2017. In this article, we will demonstrate how we can build authentication system using ASP.NET MVC
  • Using DataTables Grid With ASP.NET MVCDec 29, 2017. In this article, we are going to learn how to use DataTables Grid with ASP.NET MVC in step by step way.
  • ASP.NET Core And EF Core 2.0 TestingDec 29, 2017. The single biggest selling point of MVC architecture in general and ASP.NET Core in particular is that it makes testing much simpler. ASP.NET team has done a great job in making a framework that is pluggable, thus enabling testing of controllers, repositories and even the entire application a breeze.
  • Dashboard Application With ASP.NET MVC 5 And jQueryDec 28, 2017. As you know, the dashboard system has become very important because it's helpful for managers in order to take the right decisions.
  • Create Your First Virtual Machine (VM) Using Azure PortalDec 28, 2017. In this article, we will talk about different free Azure subscriptions available for developers and end users. With this, we will also learn how we can create a virtual machine using Azure Portal.
  • Creating A CRUD With ASP.NET Core And EF CoreDec 28, 2017. Entity Framework Core (EF) is an ORM that makes it simpler to work with database by using POCO classes that map to database entities and DbContext to interact with them.
  • ASP.NET MVC 5 - Full Calendar jQuery PluginDec 27, 2017. This article is about using Full Calendar jQuery Plugin with ASP.NET MVC5 server side.
  • Entity Framework Core Migrations Using ASP.NET COREDec 27, 2017. Let us learn about Entity Framework Core migrations using ASP.NET CORE.
  • Consuming ASP.NET Core 2.0 Web API Using HttpClientDec 26, 2017. We’ll create a library to wrap the functionality of HttpClient. I’ll use builder pattern for this purpose. Add a class with methods for storing parts of HttpClient.
  • ASP.NET MVC5 - Kendo UI Grid CRUD Operation Using ASP.NET Web API And EFDec 26, 2017. In this article, I will demonstrate how to do the CRUD operations using Kendo UI Grid in ASP.Net MVC5 Web Application
  • ASP.NET MVC 5 - Buttons In Datatables jQuery PluginDec 26, 2017. Table view is one of the most important and basic forms of presenting data on a web page. However, adding action to each row is equally important simply because action for each row leads to different results. Jquery Datatables plugin is one of the most used plugins, as I have demonstrated its integration in ASP.NET MVC5 - Datables Plugin Server Side Integration in one of my articles.
  • Working With Kendo UI TreeList And Custom Template In ASP.NET MVC 5 Web ApplicationDec 24, 2017. In this article, I will demonstrate how to work with KendoTreeList View and custom template in ASP.Net MVC5 using Kendo UI and EF
  • Kendo UI TreeList Remote DataBinding With ASP.NET MVC 5 Using ASP.NET WEB APIDec 24, 2017. This article tells you how to construct the kendo TreeView with complex JSON object, which is the response of the REST API developed using ASP.NET Web API.
  • Create And Deploy An ASP.NET Core Web App In AzureDec 23, 2017. This article will help you to create & deploy an ASP.NET Core web app in Azure.
  • How To Host ASP.NET Core Application on IIS ServerDec 21, 2017. In this article, you will learn how to host ASP.NET Core Application on IIS Server.
  • Asynchronous Messaging Using ASP.NET Core 2.0 Web APIDec 21, 2017. How to implement asynchronous messaging using ASP.NET Core Web API. Create an empty project and update the Startup class to add services and middleware for MVC.
  • Create Web API With .NET CoreDec 20, 2017. This article explains the way to create webapi using Asp.net core and Microsoft visual studio core.
  • Documenting ASP.NET Core 2.0 Web APIDec 20, 2017. Documents generated by Swagger can include XML documentation.
  • Using Gijgo Grid With ASP.NET MVCDec 20, 2017. In this article, we are going to learn how to use Gijgo Grid with ASP.NET MVC along with that we are going to use Entity framework for accessing the database.
  • Weather Updates In Console Application Using APIDec 20, 2017. Here, I am writing an article to give a basic idea of consuming a Web API from Yahoo Weather and display it in the Console.
  • Application To Build Resume/CV With ASP.NET MVC 5 And jQueryDec 20, 2017. In this article, we will demonstrate how we can build resume CV application. As you know resume CV has different parts such as personal information, education, work experiences, skills, certifications, languages. We are using Asp.net MVC 5, jQuery and bootstrap in order to build our application. I hope you will like it.
  • SignalR Chat App With ASP.NET WebForm And BootStrap - Part OneDec 20, 2017. Here, we are going to learn to create a real-time chat application using SignalR, Bootstrap and jQuery Modal Popup.
  • Understand HTTP.sys Web Server In ASP.NET CoreDec 19, 2017. HTTP.sys is a Windows-based web server for ASP.NET Core. It is an alternative to Kestrel server and it has some features that are not supported by Kestrel.
  • Formatters In ASP.NET Core 2.0 Web APIDec 19, 2017. Let us learn about formatters used in ASP.NET Core 2.0 Web API.
  • ASP.NET MVC 5 - Clickable Google ChartsDec 18, 2017. This article is about Google Charts interactivity through click event on the chart.
  • List Of Users With Roles In ASP.NET MVC IdentityDec 18, 2017. This article demonstrates how to list users with associated user roles using Identity in ASP.NEt MVC applications.
  • ASP.NET Core 2.0 Tag Helper ComponentDec 18, 2017. In case you’re wondering if the solution above is missing a Tag Helper for head HTML element, it’s not. ASP.NET Core team has provided us with two built-in Tag Helpers, one targets head and the other targets the body element: HeadTagHelper and BodyTagHelper.
  • Building Multitenant Architecture Using ASP.NET Core And Micro ServicesDec 18, 2017. Instead of deploying an application per client, organizations prefer multitenancy to save infrastructure cost and deployment time. Multitenant architecture helps to adapt changes for different clients under the hood. In this article I am not going to discuss database design for multitenant applications but I will be focused on achieving separation for different clients.
  • Kendo Tree View Remote DatabindingDec 17, 2017. From this article, you will learn how to implement the Kendo tree view with remote data-binding.
  • How To Build Secure WebsitesDec 16, 2017. Here are some tips for Web developers and administrators on how to build and host secure websites.
  • Configure Identity In ASP.NET Core 2.xDec 15, 2017. Identity is a membership system that allows us to add login functionality to our application. In my previous article, I have explained about the overview of Identity in ASP.net Core. There are some default behaviors that can be overridden easily in our application in ConfigureService method of startup class.
  • Overview Of Identity In ASP.NET Core 2.0Dec 15, 2017. It is a membership system that allows us to add login functionality to our application. User may create account and login using credential or can use external login provider such as Google, Microsoft Account, Twitter, Facebook etc.
  • Handling Concurrency In ASP.NET Core 2.0 Web APIDec 15, 2017. We add a magic value to the response based on data we hold at the time. Usually ETag header is added for this purpose containing hashed value based on data/body of response.
  • ASP.NET MVC 5 - Google Charts API IntegrationDec 14, 2017. Today, I shall be demonstrating the integration of Google Charts API with ASP.NET MVC5.
  • ASP.NET Core 2.0 Web API AND HATEOASDec 14, 2017. The idea behind HATEOAS (Hypermedia As The Engine Of Application State) is to transfer links in the resource representations. The sample demonstrates how links can be provided for a collection and individual resources. The links represent the actions that can be performed on the resource at a given point in time.
  • Versioning ASP.NET Core 2.0 Web APIDec 13, 2017. As your Web API changes, you would need to add versioning support in order for clients to continue working correctly. Adding versioning support in ASP.NET Core involves first configuring services in Startup and then choosing a versioning strategy i.e. via query string, URL or HTTP header.
  • Generate Thumbnail From Live URL Of Microsoft Office And PDF file in ASP.NET MVCDec 13, 2017. Recently, I got a chance to create thumbnail images from the live URL. The URLs were not of images but of some DOCX file, some XLSX file, or PDF file. We don’t have any custom library which can directly generate the thumbnail from a live URL. So, here, we will learn how we can customize our code to generate the thumbnail in .NET.
  • Getting Started With CosmosDBDec 12, 2017. DocumentDB is a NoSQL database which is massively scalable and it works with schema free JSON documents.
  • Building API Gateway Using Ocelot In ASP.NET Core - Part Three - LoggingDec 12, 2017. In this article, we will discuss Logging when we build API Gateway using Ocelot in ASP.NET Core.
  • Sorting In ASP.NET Core 2.0 Web APIDec 12, 2017. Sorting information is usually received via query parameters. The POCO SortingParams simply hold this information and passes to service (or repository).
  • Using jqGrid With ASP.NET MVCDec 12, 2017. If you belong from a background of asp.net web forms then there is grid view which we used most but in some scenario if data was large then it would use to break, but in MVC we do not have that kind of grid which has all readymade event, but there is html helper which help you to generate html is Web grid in that we need to use different package for handling paging of grid, and also we need to pass a strongly typed model to view for rendering the grid.
  • Paging In ASP.NET Core 2.0 Web APIDec 11, 2017. 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).
  • Integrate Google ReCaptcha And Validate It With ASP.NET MVC 5 And Entity FrameworkDec 11, 2017. In this Article, I will demonstrate how to integrate Google ReCaptcha and Validate it with ASP.Net MVC5.
  • Filtering In ASP.NET Core 2.0 Web APIDec 10, 2017. Filtering information is usually received via query parameters. The POCO FilteringParamssimply hold this information and passes to service (or repository).
  • Hands-Free Security Scanning Within .NET ApplicationsDec 10, 2017. I'm sure if you follow any news sources at all, you see countless hacks, breaches, and leaks from various big-name companies which you might assume would be better at protecting your information. Now most of these incidents can probably be related to non-technical issues like social engineering, but not all of them.
  • Partial View In ASP.NET MVC Using Entity FrameworkDec 10, 2017. A partial view is same as user control in ASP.NET MVC that is used for code re-usability. Partial views help us to reduce code duplication. Hence partial views can be used for views like as Header and Footer views.
  • 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.
  • Creating Server And Host HTML Page Using Node.jsDec 07, 2017. Today my mission is to explain about creating server in Node JS and hosting html pages on this server and accessing it from web browser.
  • DropDownList In ASP.NET MVCDec 06, 2017. In this article you will come know how to bind data and get dropdownlist selected value in Asp.Net MVC in Client Side and Server Side.
  • 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.
  • How To Delete Attachments Of SharePoint List Item Using Rest APIDec 05, 2017. I have created a custom list named “Attachments” in the host site and have added multiple items with attachments, now let’s say that we want to “Delete” the attachments on any particular item which we want.
  • How To Create Three-Layer Architecture Of ASP.NET ApplicationDec 03, 2017. Three-layer architecture is made of Presentation, Business, and Data access layer. In this article, I will create three layered architecture with the help of a simple asp.net application.
  • Integration Of Google reCAPTCHA V2 In WebsitesDec 03, 2017. In this article, I will discuss Google reCAPTCHA.
  • Picasso Library Visual Flair Using Android ApplicationDec 02, 2017. Images add much-needed context and visual flair to an Android application. Picasso allows hassle-free image loading in your application - often in one line of code!.
  • Security In ASP.NET Core 2.0Dec 01, 2017. Securing your web applications with ASP.NET Core 2.0
  • Tips And Best Practices To Improve ASP.NET Web Application PerformanceDec 01, 2017. This article suggests you a few tips to improve the performance of an ASP.Net application. There are many more things which may ensure a better performance and faster response time for a web application. I am discussing only a few of the best practices that will help you avoid some unwanted performance hitters from your application. So, you will have a more light weight application which runs quicker and gives a better response time.
  • Charts In ASP.NET MVC Using Chart.jsDec 01, 2017. This article demonstrates how to create charts in ASP.NET MVC using Chart.js and C#. This article starts with how to use Chart.js in your MVC project. After that, it demonstrates how to add charts in a view.
  • How To Add Test Data For SharePoint Online Using Test Data AppNov 29, 2017. In this article, we will learn how we can add Test dummy data with SharePoint Online List , Document Library , Calendar List , Tasks and Events. We will use one third party utility which is totally free to use.
  • View Product Details Using Kendo ScrollView In ASP.NET MVC5 With Entity FrameworkNov 29, 2017. Here, I will demonstrate how to work with Kendo ScrollView to View the product details from a database using Entity Framework in ASP.Net MVC5
  • Creating Blob Storage In Microsoft Azure Using C# ASP.NETNov 29, 2017. This article will discuss how can we create/Use MS Azure storage in ASP.NET Web application using MS Libraries. I am not an expert to discuss all the part of Azure Storage, but I am sharing the things about Blob Storage.
  • A Beginner's Guide To Windows Server SetupNov 29, 2017. All developers must be familiar with how to interact with a server for various project requirements. This server interaction varies depends on the project requirements. Some of may be just connecting to an SQL Server database server through an application, some of you may be hosting your application to an IIS server.
  • 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.
  • Virtual Entity - New Way Of Integration - Part TwoNov 28, 2017. This is our second article regarding virtual entity, if you have not checked our earlier article, we suggest you check that first here. In this article we are going to demonstrate about create OData Web API without Entity Framework and hosting it in Azure to consume into Dynamics 365. Let say we have employees data that we want to show into virtual entity, so let’s get started!!
  • Workflow Designer Re-HostingNov 28, 2017. This article starts by explaining what designer re-hosting is, what workflow designer re-hosting is, and how it can be of benefit in dynamically editing workflows and rules.
  • Play Videos Using Kendo Media Player And ListView In ASP.NET MVC5Nov 27, 2017. In this Article, I will demonstrate how to the play video(s) in Media Player Using Kendo UI Media Player and Listview in ASP.NET MVC5
  • 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.
  • 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.
  • Comments System With ASP.NET MVC 5 And jQueryNov 25, 2017. In this article, we will implement comments system by using ASP.NET MVC 5 and jQuery, Bootstrap
  • Anchor Tag Helper In ASP.NET MVCNov 23, 2017. The Anchor Tag Helper generates HTML anchor (<a> </a>) element by adding a new attribute. The "href" attribute of the anchor tag is created by using new attributes.
  • 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.

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!