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.
  • How to use NPM Install (The Command) behind Corporate Proxy ServerOct 14, 2017. When you want to install packages for angular, angular CLI, typescript etc. via NPM using Command Prompt and you are working in an office environment where everything runs behind a corporate proxy server, you will most probably get the below exception.
  • 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.
  • User-Defined Types In SQL ServerOct 13, 2017. When we are working with any programming language, we create user defined types as per our requirement. It is a better idea to have this feature in the SQL server.
  • 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.
  • Deploying A Virtual Machine Using Azure PowerShellOct 11, 2017. Azure PowerShell provides a set of cmdlets that use the Azure Resource Manager model for managing your Azure resources. You can use it in your browser with Azure Cloud Shell, or you can install it on your local machine and use it in any PowerShell session. It is optimized for managing and administering Azure resources from the command line, and for building automation scripts that work against the Azure Resource Manager.
  • Custom Script Extension For WindowsOct 11, 2017. In this article, we will see how to work with custom script extension in Azure Virtual Machines.
  • Work Item Rule In Visual Studio Team ServiceOct 10, 2017. In this article, I’m going to show you how to create a work item rule in VSTS and how it will work effectively in day to day processes
  • Sending Bot Reply Message With Attachment Using Bot FrameworkOct 07, 2017. The Bot Framework enables you to build bots that support different types of interactions with users. You can design conversations in your bot to be freeform. Your bot can also have more guided interactions where it provides the user choices or actions. The conversation can use simple text strings, the message with an attachment like the image, File (pdf, word, excel, ppt), mp3, Video or more complex rich cards.
  • 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.
  • Understand Azure Machine Learning WorkbenchOct 07, 2017. Understand Azure Machine Learning Workbench and see what is new and how it works.
  • 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.
  • Auto-Complete People Picker In SharePoint Using Angular And jQueryOct 06, 2017. This article will help beginners and developers who want to work with Angular js and jQuery for people picker columns.
  • .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.
  • 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
  • How To Change User Language Settings In SharePointOct 04, 2017. In this article, I will discuss how to change language settings for a particular user using two ways. When you create a site , you also specify user language setting such as Time Zone, local display for numbers, dates, and time, sort order, calendar type, work week, and time format (12 or 24 hour) settings in both SharePoint On premise and Online.
  • New Power BI Feature - Drill Through Filter In Power BIOct 04, 2017. Drill through feature was introduced recently, in the September update. It’s a most useful filter. Sometimes there is a situation in which we want to redirect our one report page to another report page. This filter made our work much easier.
  • 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.
  • Azure Deployment Details And LogsOct 03, 2017. I am working on Microsoft Azure services from last 3-4 years. I always like to work on cloud platform provided by Microsoft. Microsoft always comes up with new services, features with their products. I have observed one thing with Azure that creating any resources or creating design is not big deal. There are lots of technical material and forums provided by Microsoft. Most challenging thing with azure is troubleshoot any issue till you actual route cause.
  • How To Work With 16/2 LCD DisplayOct 03, 2017. In this article, we are going to see how to work with 16/2 LCD Display using Arduino. We are going to Display Hello world cursor from left to right.
  • How To Secure PII Data In SQL Server Using CLE (Column Level Encryption)Oct 03, 2017. PII (personally identifiable information) which is used to identify individual identity such as SSN, DOB, Bank Account Number etc. When you are working with financial application you face the scenario where you have to store the data in encrypted format, so no one can see the actual data.
  • 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.
  • Create Value Object In C#Sep 28, 2017. Create a class that abstracts away (encapsulate) ‘data’ in your domain and provide methods to work on it. Below is a class I don’t consider a good Value Object.
  • 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.)
  • XAML Value Converter With A Simple ExampleSep 27, 2017. In this article, I'm going to show you how you can use value converter in XAML to convert one format of data into another format. In our case, we'll convert a string value (value in the textbox) to a Boolean value (checked status of a checkbox).
  • Getting Started With Customizing A FormFlow Using Microsoft Bot FrameworkSep 25, 2017. The Bot Framework enables you to build bots that support different types of interactions with users. You can design conversations in your bot to be freeform. Your bot can also have more guided interactions where it provides the user choices or actions. The conversation can use simple text strings or more complex rich cards that contain text, images, and action buttons. And you can add natural language interactions, which let your users interact with your bots in a natural and expressive way.
  • How To Secure PII Data In SQL Server Using .NET AssemblySep 21, 2017. PII (Personally Identifiable Information) is used to identify individual identity markers such as SSN, DOB, Bank Account Number etc. When you are working with financial applications you face a scenario where you have to store the data in encrypted format, so no one can see the actual data.
  • Exposing Local Web Server To Internet Using NgrokSep 19, 2017. I was recently working on some bot framework applications where I wanted to test if my bot application was working properly with different available channels like Facebook messenger, Skype etc. But there was one problem. Before I could integrate my bot with different channels, I needed to publish my bot application and register it on http://dev.botframework.com/ site. Also the endpoint should support HTTPS. This is where ngrok comes into play.
  • Fetch User Details And Profile Picture From Person Or Group Field Using REST APISep 18, 2017. In one of my projects (on Office 365) I have a requirement to scroll key contacts of a project with the use's Full Name, Department, Job Title, Phone (Work/ Mobile) and Picture URL. Since all contacts are internal employees I don’t have to input user details, I just need a person and group field in a list to capture the user.
  • Update Managed Metadata Field Using SharePoint Designer 2013 WorkflowSep 12, 2017. In this article, I am going to explain how we can update a managed metadata field using SharePoint 2013 Designer Workflow. This solution will work for both SharePoint 2013 On-Premise and SharePoint Online (Office 365). I tested the below solution in Office 365 environment.
  • Working With Azure Tables - Part TwoSep 09, 2017. Let us look at the basic sample, which retrieves the Azure table data into the applications using Node JS.
  • SharePoint Permissions Issue - Deny - Add And Customize PagesSep 09, 2017. A day before everything was working fine in the application and later on, everything stopped working because of a permissions issue. Users reported that they were not able to see documents, web parts etc. It was discovered that my client IT Administrator had done some permission changes and now that needed to be fixed. Let’s discuss systematically what the issue was and how to resolve it.
  • New String Function In SQL Server 2017Sep 06, 2017. It requires one separator argument and a minimum of two arguments otherwise it raises an error. All the arguments are implicitly converted to string types and then they are concatenated.
  • Resolving The "Legacy Issue Detected" ErrorSep 04, 2017. While working on SharePoint Migration from 2010 to 2016. I thought it will be smooth because the environment doesn’t have any customizations and neither they have any custom solution deployed on it.
  • User Guide To Enroll iOS Device With Microsoft Intune And Configuring Outlook AppSep 04, 2017. If your company or school uses Microsoft Intune for Mobile Device Management and Mobile application management, you can enroll your iOS device to get access to company email, files, and other resources. When you enroll your devices, your IT department can manage the resources, keep them secure, and give you the freedom to use your preferred device to get your work done.
  • Getting Started With Raspberry Pi - How To Use BreadboardSep 04, 2017. In my previous article – Understanding Raspberry Pi - GPIO, we talked in about GPIO (General Purpose Input Output). In this article we will discuss about a handy tool – Breadboard – It a must tool for everyone working on building simple to complex circuits and also must when using Raspberry Pi.
  • How To Backup A Mirrored Database Using SQL AgentSep 04, 2017. Database mirroring is a primarily software solution for increasing database availability. Mirroring is implemented on a per-database basis and works only with databases that use the full recovery model. The simple and bulk-logged recovery models do not support database mirroring. Therefore, all bulk operations are always fully logged. Database mirroring works with any supported database compatibility level.
  • Working With Azure Tables - Part OneAug 31, 2017. You will see the introduction to Azure tables, accessing the table using emulator, and managing tables manually.
  • 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.
  • Getting Started With Dialog Using Microsoft Bot FrameworkAug 28, 2017. The Bot Framework enables you to build bots that support different types of interactions with users. You can design conversations in your bot to be freeform. Your bot can also have more guided interactions where it provides the user choices or actions. The conversation can use simple text strings or more complex rich cards that contain text, images, and action buttons. And you can add natural language interactions, which let your users interact with your bots in a natural and expressive way.
  • Working With JSON In SQL Server 2016Aug 28, 2017. JSON (JavaScript Object Notation) is a lightweight data interchange format. It is language independent, easy to understand and self-describing. It is used as an alternative to XML. JSON is a very popular data interchange format nowadays. Most modern services return the data into the JSON text.
  • A Simple Windows Forms Application - Using With LoaderAug 27, 2017. In this article, we will learn how the Loader works in between two forms of Windows Application.
  • Create Your Own Home .NET /Apache Web Server In 30 MinutesAug 25, 2017. Most C# developers have been yearning to install their work on Apache and Linux, using the Mono project for years. Unfortunately this has been historically very difficult, since the documentation for how to do this has been lacking. In addition, securing and configuring the system after you've installed it, often requires a whole slew of knowledge with which most C# developers are not very familiar.
  • 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.
  • How To Use Microsoft Graph Provider In Visual Studio Connected ServicesAug 22, 2017. In this article, I am introducing the newly added Microsoft Graph Provider in Visual Studio 15.3.1. This article demonstrates how a developer can use this feature to work with Microsoft Graph API.
  • Work With Configuration In ASP.NET CoreAug 21, 2017. Before going into the new configuration system, let’s discuss in brief how we used to have a configuration system in the earlier versions of .NET applications.
  • Custom Model Binding In ASP.NET Core MVCAug 17, 2017. Model binding in MVC maps HTTP request data to the parameters of the controller's action method. The parameter may either be of simple type like integers, strings, double etc. or complex types. MVC binds the request data to the action parameter by parameter name.
  • Docker And Docker Tool In Visual Studio 2015Aug 17, 2017. Docker is an open-source project for automating the deployment of applications as portable, self-sufficient containers that can run on the cloud or on-premises. Build Once and Run Anywhere is the mantra for Docker. Docker is also a company that promotes and evolves this technology, working in collaboration with cloud, Linux, and Windows vendors, including Microsoft. Docker image containers can run natively on Windows and Linux. The blog is mainly focused on explaining Docker, how to install Docker on development environments and how to run the ASP.Net Core application on it.
  • SharePoint REST API ID Manipulation BUGAug 11, 2017. I was working for a customer’s SharePoint Migration Project of lists and libraries from 2007(wss 3.0) to 2016 using Content Migration Tools Customer declined the idea of migrating entire Content DB and this forced us to use tools to get the job done.
  • 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.
  • Building Container Image Through AutomationAug 10, 2017. The following is the continuation of the previous document. Here we will work with the automation concept through which the container images can be created.
  • 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.
  • An Overview Of ASP.NET CoreAug 10, 2017. ASP.NET Core is completely rewritten following the earlier versions that work on the .NET framework.
  • Making The Switch As A Software DeveloperAug 09, 2017. After nearly seven years at my previous position, I've decided to finally make a change. When this post goes live, I'll officially be working for the engineering team at Bay Dynamics, a San Francisco-based Risk Management and Cyber Security firm. I'm extraordinarily excited to get to join the amazing team there and be a part of something much larger than anything I've worked within the past.
  • ASP.NET MVC - Using Resource Files To Manage String ConstantsAug 08, 2017. In this article, we will see how we can save strings in a resource file instead of constants spread all over the application.
  • 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.
  • Running Windows Containers On Windows Container HostsAug 03, 2017. In this module, we will be seeing the different commanding techniques that can be used to work with the containers. We will check on how to start and stop a container, and to run them interactively or even in the background.
  • Pulling Base Container ImagesAug 03, 2017. So far, we have deployed our container in the Nano Server VM and Windows Server VM. The next piece of work is to pull down the Images for these containers. The Docker is the container which we have created so far. In the following lab, we will pull some image for that container form the Microsoft Container images repository.
  • Azure Portal New Preview Of App Service DomainAug 02, 2017. Azure team continues working on improvement of their website, and keeps adding more user-friendly and easy options for users. In this series, now they have launched a new preview of app service domain.
  • Creating Windows Server Machine On Virtual Network And Load Balancing itAug 01, 2017. Welcome back to an article about creating another Windows Server Machine on Virtual Network and to work with Load Balancing. Here with this demo article we will be working with the Virtual Network and we will be creating a Load Balancer on it.
  • 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.
  • Entity Framework Core Triggers In Action (Unofficial Package)Jul 24, 2017. This article shows you how to work with database triggers in Entity Framework Core using a third party library.
  • Execution Of Test Cases In Sequential And Parallel Using Selenium WebdriverJul 18, 2017. Selenium is an open source tool, which is used to execute the test scripts or the test cases on web applications. As we know Selenium is an open source tool, which supports various programming languages such as Java,C#, PHP,JavaScript, Ruby etc. Selenium supports various operating systems to execute the test scripts on web applications like Windows, Linux, MacOS etc. Selenium is written using one of the famous programming languages; i.e. Java, and its a cross-platform.
  • 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.
  • Arithmetic Operation In ASP.NET MVCJul 16, 2017. In action result method I passed one string parameter named command and using this command I assigned some arithmetic operation string value and based on that the operation will be performed.
  • ABC Of WPFJul 15, 2017. Basically I am working on .Net/Sql. For the project requirements I went through the WPF. I visited so many online tutorials and videos to get the knowledge. In this article I am going to share my understanding with you.
  • How Autodiscover Service Works In ExchangeJul 14, 2017. In this article, we will cover how Autodiscover works in Exchange to configure outlook profile for users without manual intermission of the user or administrator. Let’s begin!!
  • Connecting And Working With Azure SQL Database Using Visual Studio 2017Jul 12, 2017. This article shows how to connect and work with the Azure SQL Database. In this article, I am going to demonstrate how to connect and work with the Azure SQL Database using Visual Studio 2017.
  • 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.
  • React Tutorials - Day Five - RouterJul 10, 2017. Today we learn about the routing in React, we learn how to setup routing configuration and also learn how routes work in React. If we want to create a single page application then we need the routing to redirect from one page to another and read the route parameters. To perform the routing in React we should have to install the “react-router-dom” packages.
  • Custom Observable In KnockoutJSJul 10, 2017. Knockout JS is famous and widely used for its two-way binding concept. While developing application we uses ko.observable() to declare a knockout object. Here we will discuss how to create our own custom observable which will work same as observable but with our own functionality.
  • 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.
  • Get Started With Azure DevTest Creating Server Machines With ArtifactsJul 07, 2017. Azure DevTest is an effective resource that Azure has come up with for supporting developers and testers to avoid environment delays, allow self-service actions on turning the VM’s (Virtual Machines) on or off, and works with simple cost effective solutions to leverage the application which we host on the cloud.
  • Building Applications Using Angularfire2 And Deploying On FirebaseJul 05, 2017. Angularfire2 is really a great library to work with angular and firebase. In this tutorial I am going to show you how you can build the application using firebase and angular. And at the end I will show you how you can host your application to firebase.
  • Getting Started With MongoDB - MongoDB With C#Jul 01, 2017. In my previous article, you got a little knowledge of MongoDB basics. This article will focus on doing CRUD operations from a C# console application. The working mechanism will be same for web applications and desktop applications. Open up the mongod.exe in the command prompt to keep the MongoDB server running while executing our C# application.
  • Working With Templates And Events In Kendo Combo Box For AngularJun 30, 2017. In this article, you will learn how to implement the template sand events in kendo combo box for Angular 2.
  • Working With Variables In Windows PowerShellJun 27, 2017. Windows PowerShell variables are quite different when you compare them with Cmd.exe variables. In Command-prompt, all the variables are environment variables and they can only store a string of text. But in Windows PowerShell, variables can store more than just text, they store objects.These variables help you to create reliable scripts.
  • Working With Objects In Windows PowerShellJun 27, 2017. Everything in PowerShell is an Object. An Object is a programmatic representation of anything. Each object has properties and methods.
  • Getting Started With Area In ASP.NET MVCJun 27, 2017. In Asp.Net mvc you can classify the working. Division of website section called Area. This was introduced in ASP.NET MVC 2 version. Each Area will have seperate Model,View and Controller, Web.Config file.
  • Working With PowerShell DrivesJun 25, 2017. Windows PowerShell drives are data store locations that you can access like any other ?le system drives in Windows PowerShell. The Windows PS providers create some drives for you, such as the ?le system drives (including C: and D:). Below examples provides you how to work with PowerShell Drives in Windows PowerShell.
  • Working With XML In Windows PowerShellJun 23, 2017. In this article, you will learn about XMLs In Windows PowerShell.
  • Why String Is ImmutableJun 20, 2017. Why String Is Immutable.
  • Working With CSVs In Windows PowerShellJun 19, 2017. Working With CSVs In Windows PowerShell.
  • Working With Video Player In Android ApplicationJun 16, 2017. Working With Video Player In Android Application.
  • Understanding React Components On SPFxJun 13, 2017. In this article, let us see how React JS components work along with multiple class hierarchy using SharePoint Framework components.
  • Working With SQLite In Android AppsJun 13, 2017. Working With SQLite In Android Apps.
  • 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 Four - Working with Serializer Settings And Content Negotiation In ASP.NET Core APIJun 06, 2017. Create API With ASP.NET Core - Working with Serializer Settings And Content Negotiation In ASP.NET Core API.
  • 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.
  • SharePoint URL TokensMay 30, 2017. In this article we will see useful SharePoint URL tokens that can be used while working with SharePoint Apps.
  • Working With Bootstrap Buttons And BadgesMay 25, 2017. Working With Bootstrap Buttons And Badges.
  • Working With Microsoft's Azure Cloud ShellMay 24, 2017. Working With Microsoft's Azure Cloud Shell.
  • Xamarin Android - Working With Xamarin HockeyAppMay 22, 2017. In this article, you will create Android HockeyApp.
  • Working With Azure CLI 2.0May 20, 2017. Working with Azure CLI 2.0.
  • Working With Raspberry Pi And 16 X 2 LCD DisplayMay 19, 2017. In this tutorial we will be talking about how to interface the raspberry pi and 16 X 2 LCD using GPIO and Python.
  • Azure Traffic Manager - Part TwoMay 17, 2017. In part one, we saw how to work with geographic regions. In this we will see about performance which will switch the endpoints in case of failure.
  • A First Look At The New Microsoft Graph Explorer - Part OneMay 09, 2017. In this article, I will introduce you to the new Microsoft Graph Explorer and how you can work with it.
  • Working With Types In TypeScriptMay 08, 2017. In this article, we will learn how to declare variables and use type annotations in Typescript.
  • Add TOC (Table Of Contents) To Your Wordpress Posts Or PagesMay 07, 2017. In this post, we are going to a see how we can add Table of Contents to our WordPress posts and pages. Here, we are going to install a plugin to do this work. I have chosen this plugin because it is so simple and yet does the work very well. It doesn’t have more settings and features but the way it is created is 100% apt for what it is meant to be.
  • Xamarin Android - Working With Xamarin Insights May 06, 2017. In this article, we will create an Android app with Xamarin Insights.

About Working-with-Strings-in-PHP-articles

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!