C# Corner

Resources  
  • Find And Replace Text In Word Document Using C#Oct 18, 2017. On Microsoft Word, we can find special text strings and replace them with new text strings easily. We can replace all the searched text automatically at one time and we can also only replace some of them from the searched results. This article will mention various approaches of the finding and replacing feature on the word document by using a .NET API Spire.Doc independently (without using any third-party code) as below.
  • 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 SharePoint Framework For SharePoint 2016 On-PremisesOct 12, 2017. Once you have installed and upgraded the September 2017 Public Update for SharePoint 2016, you will be able to upload and deploy SharePoint Framework packages that contain web parts via the SharePoint App Catalog just as you would with SharePoint Add-ins.
  • Understanding Computer Vision API In AzureOct 11, 2017. The Computer Vision API gives you the tools to understand the contents of any image. Create tags identifying objects, beings, or actions present in the image, and then craft coherent sentences to describe it.
  • 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#.
  • 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.
  • What Is Version Control And Why You Should Use ItOct 09, 2017. In this article, we will learn what Version Control is, and what are the benefits of version control. Version Control means keeping the copies of your code or files from every stage in its lifecycle. Version control system allows us to manage all versions of our code with representing single version at a time.
  • 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.
  • Xamarin.Forms - Create MVVM Data Binding Application Oct 07, 2017. Xamarin Forms Platform using Create MVVM Data Binding application using xml and c# code
  • 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.
  • 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.
  • Create New Record To SharePoint List Using Angular With Rest APIOct 04, 2017. In this article, I am going to explain how to create SharePoint list item using Angular js. This will help to create a new record for long SharePoint lists which contain 100+ fields since we no longer specify field names in this code.
  • HTML 5 Web Workers In ActionOct 01, 2017. In a nutshell, web worker is a JavaScript code that runs in the background (without refreshing the page) and without adding any performance overhead on the page. So that means, you can continue using your site by clicking here and there while web worker is doing its assigned functionality in the background.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • GitHub Extension In Visual Studio 2017Sep 13, 2017. In this article, I will explore the GitHub Extension for Visual Studio 2017. GitHub is a web-based graphical interface Git or version control repository that mostly used for code. It provides for each project access control and several collaboration features like bug tracking, feature requests, task management, and wikis.
  • 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.
  • 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.
  • SharePoint 2016/2013/Online - How To Upload Files To SharePoint Document Libraries By PowerShell AutomationSep 02, 2017. In this demo we will explore the PowerShell code to upload the file to SharePoint Online/On Premise Implementations which represents just a part of the complete automation process.
  • Learn About Azure Cognitive ServicesSep 01, 2017. Microsoft Cognitive Services (earlier known as Project Oxford) provides us the ability to build intelligent applications, just by writing a few lines of code. These applications or services are deployed on major platforms like Windows, iOS, and Android. All the APIs are based on machine learning APIs and enable developers to easily add intelligent features – such as emotion and video detection; facial, speech and vision recognition; and speech and language understanding – into their applications.
  • 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.
  • How To Work With Multiple Modules In Angular v4Aug 29, 2017. In this article, we will learn how to configure Angular application using multiple module.
  • Create Office Web Add-In Project Using Visual StudioAug 24, 2017. In this article, I would like to share the steps to create Office web add-in projects using Visual Studio. In this article, we have explored what Office add-ins are and how to create Office web add-in projects using Visual Studio 2015.
  • Page Linking Tags And URL Parameters In Ruby On RailsAug 22, 2017. In this article will learn about creating HTML and ERB page linking tags and how to create URL parameters in Ruby on Rails templates.
  • IoT With HTML5 Game Engine And Node.JSAug 21, 2017. In this article, I will tell you how to use node.js as a bridge between an HTML 5 game and IoT by using Johnnyfive.io and Phaser.io.
  • JavaScript Code For Validating U.S. Format Phone NumbersAug 21, 2017. In this article, we shall learn how to do client side validation of US format phone numbers in three textbox fields. It means the application will be more responsive because the load on the server is reduced. JavaScript uses the client machine processing power.
  • Building Serverless Mobile App With Azure Functions Using Xamarin.FormsAug 20, 2017. Azure Functions is a solution for easily running small pieces of code in the cloud. We can create, execute, and test our custom logic function without creating a VM or web applications and also without needing to install any software or infrastructure to run the function. In this article, we'll learn how to implement azure functions and directly call through HTTP from Xamarin Forms Application
  • Reading An Excel File Using HTML 5 And jQueryAug 18, 2017. This article explains how to export data from an Excel file to an HTML table using jQuery & HTML5.
  • Using ERB Tags In Ruby On Rails Default HTML TemplatesAug 18, 2017. In this article, you will learn about the view templates, template file naming, ERB tags, and how to use ERB tags in HTML templates.
  • 3 Tips To Reduce Cyclomatic Complexity In C#Aug 17, 2017. Is this article I suggest tips to help you to reduce Cyclomatic Complexity in your C# code to improve readability and make code less complex.
  • QR-Code Scanning Using Android StudioAug 17, 2017. Android is one of the most popular operating system for mobile. In this article how to scan QR code without camera options using Android studio Android is kernel based operating system that allows the user to modify the GUI component and source code.
  • Getting Started With Microsoft Azure Functions Using Visual Studio 2017Aug 17, 2017. Azure Functions is a solution for easily running small pieces of code in the cloud. We can create, execute, and test our custom logic function without creating a VM or web applications and also without needing to install any software or infrastructure to run the function.
  • Understanding Media Services In AzureAug 17, 2017. Azure helps you to build custom media workflows in the cloud. It’s an end-to-end solution that delivers audio and video virtually in any device anywhere. It offers end-to-end workflow which is very highly scalable in coding, packaging, storing and distribution of media content to a wide range of devices including TV, PC, and mobile devices.
  • How To Create And Test Azure Functions Using Azure PortalAug 15, 2017. Azure Functions is a solution for easily running small pieces of code in the cloud. We can create, execute, and test our custom logic function without creating a VM or web applications and also without needing to install any software or infrastructure to run the function. In this article, you will learn about create and test azure functions using azure Portal.
  • CRUD Operation With JSON File Data In C#Aug 15, 2017. This article will demonstrate how to implement CRUD functionality with JSON file in a project using C# code.
  • Universal SMTP Code To Send Emails In .NET AppsAug 13, 2017. As already mentioned quite clearly in the tagline, the only reason to write this article is to cover the basic requirements of every SMTP vendor's code in .NET applications, If your vendor is Google's mail service, — Gmail — then you can most likely leave this article and go back to the article, which I wrote quite a lot of time ago to share how to send emails through a C# programs, sending emails over .NET framework, and general problems – using C# code.
  • Working With The Container TagsAug 11, 2017. The container tags help us easily handle and work with our containers rather than always using their ID at the time of approaching.
  • CRUD Operation Using Code First Approach, Web API, Repository Pattern, Unit Of Work, And jqGrid In MVCAug 10, 2017. Today, in this article, I will explain how to perform CRUD operations in MVC using Code First Approach.
  • Dependency Injection - Part Two - Five Reasons To Write Loosely Coupled CodeAug 09, 2017. A loosely coupled application has good isolation among its classes, modules and assemblies. Therefore, if we make a change to one part of the application, we only need to update the relevant modules. We do not need to make changes throughout the application.
  • Getting Started With Azure Functions Using Azure Free Trial AccountAug 09, 2017. Azure Functions is a solution for easily running small pieces of code in the cloud. Azure Functions let you develop serverless applications on Microsoft Azure. In this article, you will learn how to create Azure Functions without creating an Azure account.
  • Aligning And Formatting The C# And ASPX/CSHTML Code Using Visual Studio 2017Aug 09, 2017. Aligning code in the code-behind as well as in front-end makes the code more professional look. The Visual Studio Code Editor gives you the ability to format your code with options such as hiding text, displaying URLs, and so forth.
  • Shooting Game Using Construct 2Aug 08, 2017. Construct 2 is an HTML5 based 2D game editor developed by Scirra. Construct 2 is a powerful game creator specifically designed for 2D games.
  • How To Work With Dropdown In Angular 2, 4 Using Visual Studio CodeAug 05, 2017. In this article, I am going to explain how to work with Dropdown in Angular 2 using Visual Studio Code.
  • Facebook Login Using Xamarin.Auth In Xamarin iOSAug 04, 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.
  • How To Use Content Delivery Network (CDN) With A Fallback MechanismAug 03, 2017. In this article we will understand the benefits of using CDNs in Web Applications and how to implement it in code.
  • C# Code To Overcome "The Process Cannot Access The File XYZ Because It Is Being Used By Another Process" ErrorAug 03, 2017. In this article, I going to give the shortest solution for the error “The Process Cannot Access the file XXX because it is being used by another Process”.
  • Making Web Sites Look Like Native Apps Without the App StoreAug 02, 2017. Earning a place on a user's home screen is key to engagement with customers. The automatic Add to Home Screen Experience provides this capability to progressive web applications. This is driven by the web manifest file, providing valuable meta information to the browser.
  • Creating Bullet-Shooting Game Using Constructor 2Aug 02, 2017. Constructor is used for 2D game creation without writing a lot of code. Now in this article, I will explain how to design the game start page using Constructor. Constructor 2 is a powerful HTML 5 game creator designed especially for 2D Game Developer.
  • Writing Code With Programming Ligatures In Visual StudioAug 01, 2017. Almost all visual studio developers are already in love with Consolas font. Consolas is an awesome, top ranked font to write code. But sadly, Consolas doesn't has any ligature support for us. What is ligature in a language? Typographic ligature occurs when two or more letters are joined as a single letter. For example AE > Æ, OE > Œ etc. So how can we carry ligature in our code in visual studio? There are plenty of fonts to write code with ligature support, such like- Fira Code, HasKlig, Monoid and etc.
  • Getting Started With Visual Studio CodeJul 31, 2017. In this article, we will discuss in detail about the Visual Studio Code, how to install the VS Code in Windows and walk through with VS Code features and how to add extensions to VS Code.
  • Agile Principles That Apply To DevOpsJul 31, 2017. DevOps is a “culture”, where development, test, and operations work together in a collaborative manner to automate delivery of quality software. DevOps culture develops “production-first mindset”. I.e. applying DevOps ensures that your code is always ready to be deployed to production.
  • Measure Your Code Using Code MetricsJul 31, 2017. As a developer, when you are developing applications, how optimistic you are about delivering quality code? Quality code means not only bug free code but also understandable, maintainable, extensible, less complex and loosely coupled code.
  • Learn About Angular Bindings - Part TwoJul 30, 2017. This article demonstrates how to configure various types of Binding in Angular. This article starts with Event Databinding. After that, it demonstrates Two-Way Binding, Event Emitter, Input and Output properties with a source-code explanation.In the end, the article discusses ngModel. Kindly refer to my old article Angular Bindings Part One to understand other bindings Interpolation and Property Binding.
  • Creating Web API With ASP.NET Core Using Visual Studio CodeJul 28, 2017. Web API is is framework that allows us to build web or http based endpoints. If you are building services today for mobile, HTML 5, and even client-server desktop applications, all these different types of applications need services in the backend.
  • Getting Started With Visual Studio Team ServicesJul 28, 2017. In this article, we will discuss in detail about the Visual Studio Team Services, walk through VSTS features, compare with VSTS and TFS, learn how to create VSTS account and how to publish the source code to VSTS.
  • How To Check Long Server-Side Process Progress In Real TimeJul 26, 2017. Today, I will show you a way to monitor a long server-side process (like, a long running process, file generation etc.) in real time in your web application. The whole demonstration will be covered through asp.net C# but you can also implement the same sort of code in other languages.
  • Learn MVC : Using Angular PDF File ViewerJul 23, 2017. This article demonstrates the way of using Angular pdf file viewer in Visual Studio 2017. Angular portable document format (PDF) file viewer that is built with html5 & this viewer supported by Mozilla Labs. It is a web standards- based platform for parsing and rendering PDFs.
  • Confessions Of An Angry ProgrammerJul 23, 2017. Recently, after doing the keynote session about code quality at a conference in Denver, I received a comment from one of the attendees. He said my session was “too much angry coder”. After receiving many great comments about the session, this one took me by surprise. I thought about it for awhile and commented back, via Twitter…
  • Code First Development Approach With Entity FrameworkJul 20, 2017. Which one to use in your project is completely your choice and also what you already have in place. Meaning are you designing/developing something from scratch or you already have got DB or domain classes, and also what are your preferences, meaning do you prefer to design classes first and then let your DB gets developed from those classes or you like to design visual class diagram first.
  • UITableView : Swipe-Right In Xamarin iOS AppJul 19, 2017. In this article, you will learn how to Swipe Right Using UITableView in Xamarin iOS, using Xamarin Studio. 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.
  • Working With Filters In ASP.NET Core MVCJul 18, 2017. Filters allow us to run custom code before or after executing the action method. It provides ways to do common repetitive tasks on our action method. The filters are invoked in certain stages in the request processing pipeline.
  • UITableView in Xamarin iOS AppJul 18, 2017. In this article, you will learn how to create a list using UITableView in Xamarin iOS, using Xamarin Studio. 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.
  • Custom Actions Using CSOM For SharePoint OnlineJul 18, 2017. In this post, we will see how to add and remove Menu(ECB) and Ribbon custom actions to different types of lists (Custom List, Document Library and Calendar) in SharePoint online using CSOM (.NET managed) code.
  • Best Practices For MVCJul 14, 2017. Add a class library project to the solution, named Store.Model. This library is where we ‘ll keep all of our domain objects. Entity Framework will count on them in order to build the database but we are not going to configure Code First using DataAnnotations attributes on this project. Instead, we are going to put all the Code First configuration in specific Configuration classes using the Fluent API. Add a folder named Models.
  • How To Fix TF30063 Error - You Are Not Authorized To Access Team Foundation Service ErrorJul 10, 2017. Recently I was working with Microsoft Visual Studio 2017 and got the following error with TFS, which says, “You are not authorized to access Team Foundation Service”. The error code was TF30063. This was a surprise for me because it was working earlier. I do not have any clue about this.
  • Create SharePoint Project And Deployment Steps Using Visual Studio 2015Jul 07, 2017. In this article, I would like to share the steps to Create SharePoint project using Visual studio 2015. It is hosted in IIS Worked process i.e. W3WP.exe can affect the whole farm when we run the code. IIS application pool will be recycled when we retract or deploy the farm solutions.
  • The Principles Of Good ProgrammingJul 05, 2017. Programming principles have helped me over the years become a better programmer, and I believe, this article will help any developer become more efficient and to produce code which is easier to maintain
  • Go Serverless C# With Azure Functions Because Cost MattersJul 05, 2017. This article demystifies Azure Functions with its serverless mechanism and it will also explain how you can write down your PaaS code in cost-effective way.
  • Drawing Playground Using HTML 5 Canvas And JavaScriptJul 04, 2017. In this article we will learn about how to draw object on canvas using HTML5 canvas and JavaScript.
  • Creating TreeView For MVC 5Jul 03, 2017. We're going to extend JsTree from JS to MVC and we'll render HTML tags from the database using custom development in the model.
  • AngularJS Vs. ReactJS - A Critical AnalysisJul 01, 2017. Every entrepreneur wants their business website to flourish and to achieve that, the selection of the JavaScript framework becomes quite crucial. It plays a key role not only in the steadiness of the project, but also helps to maintain code and deadlines etc. However, choosing an apt framework to suit your requirements isn’t a cake walk.
  • Create Stop Watch Android ApplicationJun 30, 2017. Android is one of the most popular operating systems for mobile. So, I will show you how to create stop watch Android applications using Android studio. Android is the kernel based operating system. It allows the user to modify the GUI components and source code.
  • ECMAScript5 Features - Strict Mode, JSON And MoreJun 28, 2017. Strict Mode is a new feature in ECMAScript 5 that allows you to place a program, or a function, in a “strict” operating context. This strict context prevents certain actions from being taken and throws more exceptions (generally providing the user with more information and a tapered-down coding experience).
  • How To Create Azure SQL Database And Access It Through Visual Studio CodeJun 26, 2017. In this article, I’m going to cover how to create Azure SQL database and how you can access it through Visual Studio code.
  • My Workflow Before I Submit Code ChangesJun 25, 2017. In this article, you will learn about my Workflow before I submit code changes.
  • How To Operate With Data Persistence In Xamarin.Forms - Part TwoJun 23, 2017. In this one, I’ll show you how to use the file system to save data using Xamarin with the .Forms UI Technology and the PCL (Portable Class Library) code sharing strategy.
  • Getting Location Address From Latitude And Longitude Using Google Maps Geocoding APIJun 20, 2017. Location Address From Latitude And Longitude Using Geo Coding.
  • Entity-Framework Code First Migration With WebAPI 2.0 - Extending ASP.NET Identity DatabaseJun 18, 2017. Here, we will see how to extend ASP.NET Identity database using Code First migration in Web API 2.0.
  • A Day With A Software Engineer Who Changes Text Labels OnlyJun 16, 2017. This article will explain the way Software Engineers, who never focus on technical learning and remain busy in text label changing only.
  • Code Improvement Techniques In C#Jun 13, 2017. General code improvement technique over string.empty, string.Equals, string.Intern, StringBuilder, string.Format, case insensitive comparisons, using Block and Linq - First, FirstOrDefault, Single and SingleOrDefault. Main focus points are - what are the advantages and the purpose to use these.
  • Create API With ASP.NET Core - Day Three - Working With HTTP Status Codes In ASP.NET Core APIJun 06, 2017. Create API With ASP.NET Core - Working With HTTP Status Codes In ASP.NET Core API.
  • Build ReactJS App with Visual Studio CodeJun 04, 2017. Explore ReactJS App with Visual Studio Code.
  • How To Write Effective CodeJun 03, 2017. How To Write Effective Code.
  • Manage Your Cloud Infrastructure As Code With Terraform.ioMay 31, 2017. How to use Terraform.io to manage resources on multiple cloud platforms. Code once, deploy to many!
  • SharePoint Best Practices - COM Objects DisposalMay 30, 2017. In this article, we will look for the best practices used for disposing SharePoint COM Component used from managed code.
  • Time And Date Query Code And Analysis - Part OneMay 30, 2017. Time and Date query code and analysis.
  • Deploying Page Layouts On SharePoint Using PnP Core CSOMMay 24, 2017. In this article, you will learn how to deploy a page layout, using PnP Client Side Object Model code.
  • Debugging Angular Using Visual Studio Code (VSCode)May 22, 2017. Debugging Angular using Visual Studio Code (VSCode).
  • Filter In Angular 4May 17, 2017. This article will explain the concept and the code of Filter in Angular 4.
  • Write HTML Code In Xamarin Cross Platform With Table ExampleMay 17, 2017. You build your mobile app entirely in HTML, however those apps can suffer from performance problems when trying to accomplish complex processing or UI effects and are also limited in the platform features which they can access.
  • SharePoint Remote Timer Jobs With Azure Functions Using CSOMMay 17, 2017. In this article, you will see how to create SharePoint Online remote timer jobs with client side code using Azure functions.
  • Creating Web API Using Code-First Approach In Entity FrameworkMay 16, 2017. This article enables you to create a Web API, using Code-First Approach In Entity Framework.
  • QR Code Generator In ASP.NET Core Using ZXING.NETMay 12, 2017. In this article, we will explain how to create a QR Code Generator in ASP.NET Core 1.0, using Zxing.Net.
  • Manage Codes With GIT Using Visual Team Foundation Services - Part OneMay 12, 2017. In this article, we will learn how to create a Git Repo, using Visual Studio Team Services, create a simple project and set up repo in Visual Studio to manage the codes. We will be using Visual Studio to manage and push the codes to IT repo.
  • Jump Start .Net Core - Day OneMay 02, 2017. In this article, we will discuss why .NET Core is required and how to start coding in this environment.
  • Important Tips To Write Clean Code In C#Apr 30, 2017. In this article, we will see how to write clean code in C# .

About code-tag-in-HTML5

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!