C# Corner

Resources  
  • Publish ASP.NET Core 2.0 Application On Azure With SQL ServicesFeb 15, 2018. In this article, we will learn how to deploy or publish an Asp.Net Core 2.0 application on Azure.
  • Application Initialization And Configuration In ASP.NET VersionsFeb 14, 2018. Most of us might have worked upon various versions of ASP.NET and few of you must be aware about the major changes happened in application initialization and configuration phase. In this article, I'll be outlining few of those major changes starting from ASP.NET MVC, ASP.NET Core 1.x and ASP.NET 2.x.
  • Authentication Using Google In ASP.NET Core 2.0Feb 14, 2018. In this article, we are going to look into authentication of ASP.NET Core app using a Google account.
  • Authentication Using Twitter In ASP.NET Core 2.0Feb 13, 2018. In this article, we are going to look into authentication of ASP.NET Core app using Twitter.
  • Chat Application With ASP.NET MVC Using RabbitMQFeb 08, 2018. In this article, you will learn how to develop a chat application in ASP.NET MVC using RabbitMQ.
  • Cookie Authentication With ASP.NET Core 2.0Feb 07, 2018. Authentication is an integral part of web security. ASP.NET Core provides multiple ways to implement authentication in a web application. We will be looking into on such technique - Cookie authentication in this article.
  • Multiple Submit Buttons In ASP.NET MVCFeb 06, 2018. Let's learn how to create multiple "Submit" buttons in ASP.NET MVC.
  • Using EasyCaching In ASP.NET Core - Part OneFeb 05, 2018. In this article, you will learn how to use an open source library named EasyCaching to handle caching in ASP.NET Core.
  • CRUD Operations In ASP.NET Core 2 Razor Page With Dapper And Repository PatternFeb 04, 2018. This article will demonstrate how to perform CRUD operations in Razor Page which were introduced with Asp.Net Core 2 using Dapper and Repository Pattern.
  • Getting Started With Razor Pages In ASP.NET Core 2.0Feb 01, 2018. Today, we will talk about more about Razor pages - what actually a Razor page is, how to create Razor page applications, and some of the fundamentals of Razor pages.
  • Full Calendar - ASP.NET Web API And AngularJSJan 31, 2018. In this article, we will demonstrate how we can use a Full Calendar plugin based on ASP.Net Web API (Back-end) and AngularJS (Front-end). Here what we are doing exactly is to customize the FullCalendar plugin in order to be able to perform CRUD operations. I'd like to remind you that you should have some basic knowledge of Web API and AngularJS. I hope you will like it.
  • Performing CRUD Operations On Azure SQL Database Using SharePoint Framework Web Part And ASP.NET Web API - Part TwoJan 30, 2018. Normally, you would want to put your css classes in the .scss file (i.e. YourWebpartName.scss) and import it into the YourWebpartName.ts file (this is actually done automatically during project creation). But I decided to put it in a SharePoint list because my css selectors are grouped and I could not reference them using "styles.selector".
  • Exception Handling In ASP.NET MVCJan 30, 2018. This default way of handling exception where we write our source code into the try bock and catch exception in catch block. However you can have multiple catch blocks for a try block. Even you can have Try –catch block inside Try block.
  • Continuous Integration Using TeamCity And Docker For ASP.NET CoreJan 29, 2018. Please read the previous posts before continuing with this one. I have discussed the basics of Docker and shown how to deploy simple and multiple applications using Docker. In this post, I will use the code from the first post and demonstrate the continuous integration with TeamCity.
  • Publish ASP.NET Core 2.0 Application on IISJan 28, 2018. This article will teach you how you can deploy or host your Asp.Net Core 2.0 web application on IIS.
  • Cache Tag Helper In ASP.NET Core MVCJan 25, 2018. Caching tag helper can improve the performance and scalability of the application dramatically and it cache the data into the internal ASP.NET Core cache provider.
  • Versioning ASP.NET Core 2.0 Web API - Part OneJan 25, 2018. In this article series, we are going to explore REST API versioning best practices. At the end of the article series you will be able to pick the best solution for your project needs.
  • Performing CRUD Operations On Azure SQL Database Using SharePoint Framework Web Part And ASP.NET Web API - Part OneJan 24, 2018. Supposing there is an existing data in an SQL database, be it Azure or an on-premise database server, you are required to make the data available for CRUD operations in SharePoint for your users. This is a scenario where this article will be of help to you. In this article, I will show you how you can perform CRUD operations on Azure SQL database from a SharePoint web part. Note that the steps are same for on-premise SQL database except for the steps required in setting up Azure database.
  • CRUD Operation With Angular 5 HTTP Client And ASP.NET Core Web APIJan 23, 2018. HTTP is the messaging system between the client and the server-client which sends the request and server responds with the proper message. Angular HTTP client is the toolkit which enables us to send and receive the data over the restful Http endpoints.
  • Top 10 New Features Of ASP.NET Core 2.0Jan 22, 2018. .NET is now .NET Core and known as cross-platform and open source platform where you can build your all types of applications. An application could be a web app, desktop app, mobile app or gaming app. All type apps can be created using a single platform and it’s none other than .NET Core.
  • Deploying Multiple ASP.NET Core Apps To Docker And AzureJan 22, 2018. API - has controller with CRUD operations for a movies database. It uses a class library Data, which contains repositories. Database is hosted in Azure and connection string stored in application settings (appsettings.json).
  • Learn ASP.NET Core WEB API With Angular 5 Using ngForJan 22, 2018. In this article, we will learn ASP.NET Core web API with Angular 5 data binding using with ngFor.
  • First Application In ASP.NET Core MVC 2.0Jan 20, 2018. Recently Microsoft announced anew version of Asp.Net Core and that is Asp.Net Core 2.0, which has new and amazing features which not only improve performance as well as increase productivity and enhance your application making it more robust and reliable.
  • Deploying ASP.NET Core 2.0 App To Azure Using DockerJan 18, 2018. Azure provides a highly scalable, configurable and easy to use Platform-as-a-Service (PaaS) environment for our ASP.NET Core web applications. Azure Web App is one of the simplest ways to host web applications and the new Web App Container makes it really easy to host Docker containers.
  • Custom Model Binding In ASP.NET Core 2.0Jan 17, 2018. In an earlier post I discussed how to prevent insecure object references by encrypting the internal references (e.g. table primary keys) using Data Protection API. To avoid duplication of code that encrypts/decrypts on every controller I used filters in that example. In this post I’ll use another complimentary technique: custom model binding.
  • Deploy Your First ASP.NET Core 2.0 App In Azure Managed KubernetesJan 17, 2018. This guide will help you to get started with AKS. We are going to deploy our first ASP.NET Core 2.0 App in AKS and then do some cool stuff like scaling up and down.
  • Create Your First ASP.NET Core 2.0 Service Fabric Container Application In WindowsJan 16, 2018. Learn how to create your first ASP.NET Core 2.0 Service Fabric Container application in Windows.
  • Identity Server 4 With ASP.NET Core 2.0Jan 16, 2018. OAuth 2 provides several flows or grant types for various use cases. I personally group them into two categories; flows that require user interaction with authorization server and flows that don’t.
  • How To Use Sessions In ASP.NET CoreJan 16, 2018. In this article, we will learn the very simple way to use Sessions state in ASP.NET Core applications.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • Entity Framework Core Migrations Using ASP.NET COREDec 27, 2017. Let us learn about Entity Framework Core migrations using ASP.NET CORE.
  • 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
  • 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.
  • 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.
  • 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
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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).
  • 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).
  • 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.
  • 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 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.
  • 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.
  • 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
  • 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.
  • 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.
  • 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.
  • 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
  • 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
  • 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.
  • 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.
  • Validation Tag Helpers In ASP.NET Core MVCNov 22, 2017. This article explains about the validation tag helpers found in ASP.NET Core MVC.
  • QUIZ Application With ASP.NET MVC 5Nov 21, 2017. So many people asked in forums how we can build a quiz application using Asp.Net MVC. I would like to share with them a simple solution to achieve this application. In this post we will build our quiz application with an easy and simple approach. But you should have some basic skills in Asp.Net MVC 5 and JQuery, Bootstrap. I hope it will be helpful for you.
  • Building API Gateway Using Ocelot In ASP.NET CoreNov 21, 2017. Ocelot is aimed at people using .NET running a micro services / service orientated architecture who need a unified point of entry into their system.

About asp.net

asp.net
Web Development Outsourcing
Looking to add more bandwidth to your software team? Web Developers, designers, testers are now available on demand. Flexible hours, very competitive rates, expert team and High Quality work.